]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_controls_wrap.cpp
various changes to get up to date with CVS
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxCursor swig_types[40]
2507 #define SWIGTYPE_p_wxDC swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime swig_types[44]
2511 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDuplexMode swig_types[49]
2516 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvent swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2524 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFont swig_types[59]
2526 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2527 #define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGauge swig_types[64]
2531 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2532 #define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2533 #define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2534 #define SWIGTYPE_p_wxGridSizer swig_types[68]
2535 #define SWIGTYPE_p_wxHelpEvent swig_types[69]
2536 #define SWIGTYPE_p_wxHelpProvider swig_types[70]
2537 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2539 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIcon swig_types[74]
2541 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2543 #define SWIGTYPE_p_wxImage swig_types[77]
2544 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2545 #define SWIGTYPE_p_wxImageList swig_types[79]
2546 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2547 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2548 #define SWIGTYPE_p_wxItemContainer swig_types[82]
2549 #define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2550 #define SWIGTYPE_p_wxKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2552 #define SWIGTYPE_p_wxListBox swig_types[86]
2553 #define SWIGTYPE_p_wxListEvent swig_types[87]
2554 #define SWIGTYPE_p_wxListItem swig_types[88]
2555 #define SWIGTYPE_p_wxListItemAttr swig_types[89]
2556 #define SWIGTYPE_p_wxListView swig_types[90]
2557 #define SWIGTYPE_p_wxListbook swig_types[91]
2558 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMemoryDC swig_types[94]
2561 #define SWIGTYPE_p_wxMenu swig_types[95]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[96]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotebook swig_types[105]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxObject swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPickerBase swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPyApp swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyControl swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyImageHandler swig_types[121]
2588 #define SWIGTYPE_p_wxPyListCtrl swig_types[122]
2589 #define SWIGTYPE_p_wxPySizer swig_types[123]
2590 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPyTreeItemData swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRadioBox swig_types[128]
2595 #define SWIGTYPE_p_wxRadioButton swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxScrollBar swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSlider swig_types[141]
2608 #define SWIGTYPE_p_wxSpinButton swig_types[142]
2609 #define SWIGTYPE_p_wxSpinCtrl swig_types[143]
2610 #define SWIGTYPE_p_wxSpinEvent swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBitmap swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBox swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStaticLine swig_types[148]
2615 #define SWIGTYPE_p_wxStaticText swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxString swig_types[151]
2618 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextAttr swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextUrlEvent swig_types[156]
2623 #define SWIGTYPE_p_wxToggleButton swig_types[157]
2624 #define SWIGTYPE_p_wxToolBar swig_types[158]
2625 #define SWIGTYPE_p_wxToolBarBase swig_types[159]
2626 #define SWIGTYPE_p_wxToolBarToolBase swig_types[160]
2627 #define SWIGTYPE_p_wxToolbook swig_types[161]
2628 #define SWIGTYPE_p_wxToolbookEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTreeEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTreeItemId swig_types[164]
2631 #define SWIGTYPE_p_wxTreebook swig_types[165]
2632 #define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowBase swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info *swig_types[176];
2642 static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2645
2646 /* -------- TYPES TABLE (END) -------- */
2647
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2651 # endif
2652 #endif
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2655 #endif
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2658 #endif
2659 #ifndef METH_O
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2661 #endif
2662
2663 /*-----------------------------------------------
2664 @(target):= _controls_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_controls_
2667
2668 #define SWIG_name "_controls_"
2669
2670 #define SWIGVERSION 0x010329
2671
2672
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2675
2676
2677 #include <stdexcept>
2678
2679
2680 namespace swig {
2681 class PyObject_ptr {
2682 protected:
2683 PyObject *_obj;
2684
2685 public:
2686 PyObject_ptr() :_obj(0)
2687 {
2688 }
2689
2690 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2691 {
2692 Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2696 {
2697 if (initial_ref) Py_XINCREF(_obj);
2698 }
2699
2700 PyObject_ptr & operator=(const PyObject_ptr& item)
2701 {
2702 Py_XINCREF(item._obj);
2703 Py_XDECREF(_obj);
2704 _obj = item._obj;
2705 return *this;
2706 }
2707
2708 ~PyObject_ptr()
2709 {
2710 Py_XDECREF(_obj);
2711 }
2712
2713 operator PyObject *() const
2714 {
2715 return _obj;
2716 }
2717
2718 PyObject *operator->() const
2719 {
2720 return _obj;
2721 }
2722 };
2723 }
2724
2725
2726 namespace swig {
2727 struct PyObject_var : PyObject_ptr {
2728 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2729
2730 PyObject_var & operator = (PyObject* obj)
2731 {
2732 Py_XDECREF(_obj);
2733 _obj = obj;
2734 return *this;
2735 }
2736 };
2737 }
2738
2739
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742
2743 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2744 static const wxString wxPyEmptyString(wxEmptyString);
2745 static const wxString wxPyControlNameStr(wxControlNameStr);
2746
2747 const wxArrayString wxPyEmptyStringArray;
2748
2749 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2750
2751 #define SWIG_From_long PyInt_FromLong
2752
2753
2754 SWIGINTERNINLINE PyObject *
2755 SWIG_From_int (int value)
2756 {
2757 return SWIG_From_long (value);
2758 }
2759
2760
2761 #include <limits.h>
2762 #ifndef LLONG_MIN
2763 # define LLONG_MIN LONG_LONG_MIN
2764 #endif
2765 #ifndef LLONG_MAX
2766 # define LLONG_MAX LONG_LONG_MAX
2767 #endif
2768 #ifndef ULLONG_MAX
2769 # define ULLONG_MAX ULONG_LONG_MAX
2770 #endif
2771
2772
2773 SWIGINTERN int
2774 SWIG_AsVal_long (PyObject* obj, long* val)
2775 {
2776 if (PyNumber_Check(obj)) {
2777 if (val) *val = PyInt_AsLong(obj);
2778 return SWIG_OK;
2779 }
2780 return SWIG_TypeError;
2781 }
2782
2783
2784 SWIGINTERN int
2785 SWIG_AsVal_int (PyObject * obj, int *val)
2786 {
2787 long v;
2788 int res = SWIG_AsVal_long (obj, &v);
2789 if (SWIG_IsOK(res)) {
2790 if ((v < INT_MIN || v > INT_MAX)) {
2791 return SWIG_OverflowError;
2792 } else {
2793 if (val) *val = static_cast< int >(v);
2794 }
2795 }
2796 return res;
2797 }
2798
2799 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2800
2801 SWIGINTERN int
2802 SWIG_AsVal_bool (PyObject *obj, bool *val)
2803 {
2804 if (obj == Py_True) {
2805 if (val) *val = true;
2806 return SWIG_OK;
2807 } else if (obj == Py_False) {
2808 if (val) *val = false;
2809 return SWIG_OK;
2810 } else {
2811 long v = 0;
2812 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2813 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2814 return res;
2815 }
2816 }
2817
2818 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2819 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2820 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2821 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2822 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2823 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2824
2825 #include <wx/checklst.h>
2826
2827 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2828 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2829 if (clientData)
2830 {
2831 wxPyClientData* data = new wxPyClientData(clientData);
2832 self->Insert(item, pos, data);
2833 }
2834 else
2835 self->Insert(item, pos);
2836 }
2837
2838 SWIGINTERN int
2839 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2840 {
2841 long v = 0;
2842 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2843 return SWIG_TypeError;
2844 }
2845 else if (val)
2846 *val = (unsigned long)v;
2847 return SWIG_OK;
2848 }
2849
2850
2851 SWIGINTERN int
2852 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2853 {
2854 unsigned long v;
2855 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2856 if (SWIG_IsOK(res)) {
2857 if ((v > UINT_MAX)) {
2858 return SWIG_OverflowError;
2859 } else {
2860 if (val) *val = static_cast< unsigned int >(v);
2861 }
2862 }
2863 return res;
2864 }
2865
2866 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2867 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2868 wxArrayInt lst;
2869 self->GetSelections(lst);
2870 PyObject *tup = PyTuple_New(lst.GetCount());
2871 for (size_t i=0; i<lst.GetCount(); i++)
2872 {
2873 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2874 }
2875 wxPyEndBlockThreads(blocked);
2876 return tup;
2877 }
2878 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2879 #ifdef __WXMSW__
2880 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2881 self->GetItem(item)->SetTextColour(c);
2882 #endif
2883 }
2884 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2885 #ifdef __WXMSW__
2886 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2887 self->GetItem(item)->SetBackgroundColour(c);
2888 #endif
2889 }
2890 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2891 #ifdef __WXMSW__
2892 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2893 self->GetItem(item)->SetFont(f);
2894 #endif
2895 }
2896 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2897 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2898 self->AppendText(text);
2899 }
2900 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2901 return self->GetValue().Mid(from, to - from);
2902 }
2903 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2904 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2905 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2906 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2907 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2908
2909 SWIGINTERNINLINE PyObject*
2910 SWIG_From_unsigned_SS_long (unsigned long value)
2911 {
2912 return (value > LONG_MAX) ?
2913 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2914 }
2915
2916
2917 SWIGINTERNINLINE PyObject *
2918 SWIG_From_size_t (size_t value)
2919 {
2920 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2921 }
2922
2923
2924 SWIGINTERNINLINE PyObject *
2925 SWIG_From_unsigned_SS_int (unsigned int value)
2926 {
2927 return SWIG_From_unsigned_SS_long (value);
2928 }
2929
2930
2931 #include <wx/slider.h>
2932
2933
2934 static const wxString wxPySliderNameStr(wxSliderNameStr);
2935 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2936
2937 #if !wxUSE_TOGGLEBTN
2938 // implement dummy items for platforms that don't have this class
2939
2940 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2941
2942 class wxToggleButton : public wxControl
2943 {
2944 public:
2945 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2946 const wxPoint&, const wxSize&, long,
2947 const wxValidator&, const wxString&)
2948 { wxPyRaiseNotImplemented(); }
2949
2950 wxToggleButton()
2951 { wxPyRaiseNotImplemented(); }
2952 };
2953 #endif
2954
2955 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2956
2957 SWIGINTERNINLINE int
2958 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2959 {
2960 unsigned long v;
2961 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2962 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2963 return res;
2964 }
2965
2966 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2967 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2968 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2969 if (udata) {
2970 Py_INCREF(udata->m_obj);
2971 return udata->m_obj;
2972 } else {
2973 Py_INCREF(Py_None);
2974 return Py_None;
2975 }
2976 }
2977 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2978 self->SetClientData(new wxPyUserData(clientData));
2979 }
2980 SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
2981 wxPyUserData* udata = NULL;
2982 if (clientData && clientData != Py_None)
2983 udata = new wxPyUserData(clientData);
2984 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2985 shortHelp, longHelp, udata);
2986 }
2987 SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
2988 wxPyUserData* udata = NULL;
2989 if (clientData && clientData != Py_None)
2990 udata = new wxPyUserData(clientData);
2991 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2992 shortHelp, longHelp, udata);
2993 }
2994 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
2995 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2996 if (udata) {
2997 Py_INCREF(udata->m_obj);
2998 return udata->m_obj;
2999 } else {
3000 Py_INCREF(Py_None);
3001 return Py_None;
3002 }
3003 }
3004 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3005 self->SetToolClientData(id, new wxPyUserData(clientData));
3006 }
3007
3008 #include <wx/listctrl.h>
3009
3010 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3011 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3012 // Python aware sorting function for wxPyListCtrl
3013 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3014 int retval = 0;
3015 PyObject* func = (PyObject*)funcPtr;
3016 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3017
3018 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3019 PyObject* result = PyEval_CallObject(func, args);
3020 Py_DECREF(args);
3021 if (result) {
3022 retval = PyInt_AsLong(result);
3023 Py_DECREF(result);
3024 }
3025
3026 wxPyEndBlockThreads(blocked);
3027 return retval;
3028 }
3029
3030 // C++ Version of a Python aware class
3031 class wxPyListCtrl : public wxListCtrl {
3032 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3033 public:
3034 wxPyListCtrl() : wxListCtrl() {}
3035 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3036 const wxPoint& pos,
3037 const wxSize& size,
3038 long style,
3039 const wxValidator& validator,
3040 const wxString& name) :
3041 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3042
3043 bool Create(wxWindow* parent, wxWindowID id,
3044 const wxPoint& pos,
3045 const wxSize& size,
3046 long style,
3047 const wxValidator& validator,
3048 const wxString& name) {
3049 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3050 }
3051
3052 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3053 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3054
3055 // use the virtual version to avoid a confusing assert in the base class
3056 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3057 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3058
3059 PYPRIVATE;
3060 };
3061
3062 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3063
3064 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3065 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3066 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3067 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3068
3069
3070 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3071 wxListItem item;
3072 item.SetMask( wxLIST_MASK_STATE |
3073 wxLIST_MASK_TEXT |
3074 wxLIST_MASK_IMAGE |
3075 wxLIST_MASK_DATA |
3076 wxLIST_SET_ITEM |
3077 wxLIST_MASK_WIDTH |
3078 wxLIST_MASK_FORMAT
3079 );
3080 if (self->GetColumn(col, item))
3081 return new wxListItem(item);
3082 else
3083 return NULL;
3084 }
3085 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3086 wxListItem* info = new wxListItem;
3087 info->m_itemId = itemId;
3088 info->m_col = col;
3089 info->m_mask = 0xFFFF;
3090 self->GetItem(*info);
3091 return info;
3092 }
3093 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3094 wxPoint pos;
3095 self->GetItemPosition(item, pos);
3096 return pos;
3097 }
3098 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3099 wxRect rect;
3100 self->GetItemRect(item, rect, code);
3101 return rect;
3102 }
3103 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3104 if (!PyCallable_Check(func))
3105 return false;
3106 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3107 }
3108 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3109
3110 return self;
3111
3112
3113
3114 }
3115
3116 #include <wx/treectrl.h>
3117 #include "wx/wxPython/pytree.h"
3118
3119 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3120 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3121 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3122 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3123
3124 static wxTreeItemId wxNullTreeItemId;
3125
3126 // C++ version of Python aware wxTreeCtrl
3127 class wxPyTreeCtrl : public wxTreeCtrl {
3128 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3129 public:
3130 wxPyTreeCtrl() : wxTreeCtrl() {}
3131 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3132 const wxPoint& pos,
3133 const wxSize& size,
3134 long style,
3135 const wxValidator& validator,
3136 const wxString& name) :
3137 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3138
3139 bool Create(wxWindow *parent, wxWindowID id,
3140 const wxPoint& pos,
3141 const wxSize& size,
3142 long style,
3143 const wxValidator& validator,
3144 const wxString& name) {
3145 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3146 }
3147
3148
3149 int OnCompareItems(const wxTreeItemId& item1,
3150 const wxTreeItemId& item2) {
3151 int rval = 0;
3152 bool found;
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3155 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3156 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3157 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3158 Py_DECREF(o1);
3159 Py_DECREF(o2);
3160 }
3161 wxPyEndBlockThreads(blocked);
3162 if (! found)
3163 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3164 return rval;
3165 }
3166 PYPRIVATE;
3167 };
3168
3169 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3170
3171
3172 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3173 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3174 if (data == NULL) {
3175 data = new wxPyTreeItemData();
3176 data->SetId(item); // set the id
3177 self->SetItemData(item, data);
3178 }
3179 return data;
3180 }
3181 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3182 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3183 if (data == NULL) {
3184 data = new wxPyTreeItemData();
3185 data->SetId(item); // set the id
3186 self->SetItemData(item, data);
3187 }
3188 return data->GetData();
3189 }
3190 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3195 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3196 if (data == NULL) {
3197 data = new wxPyTreeItemData(obj);
3198 data->SetId(item); // set the id
3199 self->SetItemData(item, data);
3200 } else
3201 data->SetData(obj);
3202 }
3203 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3204 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3205 PyObject* rval = PyList_New(0);
3206 wxArrayTreeItemIds array;
3207 size_t num, x;
3208 num = self->GetSelections(array);
3209 for (x=0; x < num; x++) {
3210 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3211 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3212 PyList_Append(rval, item);
3213 Py_DECREF(item);
3214 }
3215 wxPyEndBlockThreads(blocked);
3216 return rval;
3217 }
3218 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3219 void* cookie = 0;
3220 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 PyObject* tup = PyTuple_New(2);
3223 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3224 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3225 wxPyEndBlockThreads(blocked);
3226 return tup;
3227 }
3228 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3229 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3230 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3231 PyObject* tup = PyTuple_New(2);
3232 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3233 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3234 wxPyEndBlockThreads(blocked);
3235 return tup;
3236 }
3237 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3238 wxRect rect;
3239 if (self->GetBoundingRect(item, rect, textOnly)) {
3240 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3241 wxRect* r = new wxRect(rect);
3242 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3243 wxPyEndBlockThreads(blocked);
3244 return val;
3245 }
3246 else
3247 RETURN_NONE();
3248 }
3249 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3250
3251 SWIGINTERNINLINE PyObject*
3252 SWIG_From_bool (bool value)
3253 {
3254 return PyBool_FromLong(value ? 1 : 0);
3255 }
3256
3257 // C++ version of Python aware wxControl
3258 class wxPyControl : public wxControl
3259 {
3260 DECLARE_DYNAMIC_CLASS(wxPyControl)
3261 public:
3262 wxPyControl() : wxControl() {}
3263 wxPyControl(wxWindow* parent, const wxWindowID id,
3264 const wxPoint& pos = wxDefaultPosition,
3265 const wxSize& size = wxDefaultSize,
3266 long style = 0,
3267 const wxValidator& validator=wxDefaultValidator,
3268 const wxString& name = wxPyControlNameStr)
3269 : wxControl(parent, id, pos, size, style, validator, name) {}
3270
3271 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
3272
3273 bool DoEraseBackground(wxDC* dc) {
3274 #ifdef __WXMSW__
3275 return wxWindow::DoEraseBackground(dc->GetHDC());
3276 #else
3277 dc->SetBackground(wxBrush(GetBackgroundColour()));
3278 dc->Clear();
3279 return true;
3280 #endif
3281 }
3282
3283 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3284 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3285 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3286 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3287
3288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3289 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3291
3292 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3293 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3294
3295 DEC_PYCALLBACK__(InitDialog);
3296 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3297 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3298 DEC_PYCALLBACK_BOOL_(Validate);
3299
3300 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3301 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3302 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3303
3304 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3305 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3306
3307 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3308 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3309
3310 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3311
3312 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3313
3314 PYPRIVATE;
3315 };
3316
3317 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3318
3319 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3320 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3321 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3322 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3323
3324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3325 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3327
3328 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3329 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3330
3331 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3332 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3333 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3335
3336 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3337 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3338 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3339
3340 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3341 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3342
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3344 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3345
3346 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3347
3348 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3349
3350
3351
3352 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3353
3354 #include <wx/generic/dragimgg.h>
3355
3356 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3357 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3358 wxDateTime rv;
3359 self->GetRange(&rv, NULL);
3360 return rv;
3361 }
3362 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3363 wxDateTime rv;
3364 self->GetRange(NULL, &rv);
3365 return rv;
3366 }
3367 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3368 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3369 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3370 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3371 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3372 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3373 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3374 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3375 #ifdef __cplusplus
3376 extern "C" {
3377 #endif
3378 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3379 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3380 return 1;
3381 }
3382
3383
3384 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3385 PyObject *pyobj = 0;
3386
3387 {
3388 #if wxUSE_UNICODE
3389 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3390 #else
3391 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3392 #endif
3393 }
3394 return pyobj;
3395 }
3396
3397
3398 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj = 0;
3400 wxWindow *arg1 = (wxWindow *) 0 ;
3401 int arg2 = (int) -1 ;
3402 wxString const &arg3_defvalue = wxPyEmptyString ;
3403 wxString *arg3 = (wxString *) &arg3_defvalue ;
3404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3406 wxSize const &arg5_defvalue = wxDefaultSize ;
3407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3408 long arg6 = (long) 0 ;
3409 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3410 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3411 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3412 wxString *arg8 = (wxString *) &arg8_defvalue ;
3413 wxButton *result = 0 ;
3414 void *argp1 = 0 ;
3415 int res1 = 0 ;
3416 int val2 ;
3417 int ecode2 = 0 ;
3418 bool temp3 = false ;
3419 wxPoint temp4 ;
3420 wxSize temp5 ;
3421 long val6 ;
3422 int ecode6 = 0 ;
3423 void *argp7 = 0 ;
3424 int res7 = 0 ;
3425 bool temp8 = false ;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
3432 PyObject * obj6 = 0 ;
3433 PyObject * obj7 = 0 ;
3434 char * kwnames[] = {
3435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3436 };
3437
3438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3440 if (!SWIG_IsOK(res1)) {
3441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3442 }
3443 arg1 = reinterpret_cast< wxWindow * >(argp1);
3444 if (obj1) {
3445 ecode2 = SWIG_AsVal_int(obj1, &val2);
3446 if (!SWIG_IsOK(ecode2)) {
3447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3448 }
3449 arg2 = static_cast< int >(val2);
3450 }
3451 if (obj2) {
3452 {
3453 arg3 = wxString_in_helper(obj2);
3454 if (arg3 == NULL) SWIG_fail;
3455 temp3 = true;
3456 }
3457 }
3458 if (obj3) {
3459 {
3460 arg4 = &temp4;
3461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3462 }
3463 }
3464 if (obj4) {
3465 {
3466 arg5 = &temp5;
3467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3468 }
3469 }
3470 if (obj5) {
3471 ecode6 = SWIG_AsVal_long(obj5, &val6);
3472 if (!SWIG_IsOK(ecode6)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3474 }
3475 arg6 = static_cast< long >(val6);
3476 }
3477 if (obj6) {
3478 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3479 if (!SWIG_IsOK(res7)) {
3480 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3481 }
3482 if (!argp7) {
3483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3484 }
3485 arg7 = reinterpret_cast< wxValidator * >(argp7);
3486 }
3487 if (obj7) {
3488 {
3489 arg8 = wxString_in_helper(obj7);
3490 if (arg8 == NULL) SWIG_fail;
3491 temp8 = true;
3492 }
3493 }
3494 {
3495 if (!wxPyCheckForApp()) SWIG_fail;
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3502 {
3503 if (temp3)
3504 delete arg3;
3505 }
3506 {
3507 if (temp8)
3508 delete arg8;
3509 }
3510 return resultobj;
3511 fail:
3512 {
3513 if (temp3)
3514 delete arg3;
3515 }
3516 {
3517 if (temp8)
3518 delete arg8;
3519 }
3520 return NULL;
3521 }
3522
3523
3524 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3525 PyObject *resultobj = 0;
3526 wxButton *result = 0 ;
3527
3528 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3529 {
3530 if (!wxPyCheckForApp()) SWIG_fail;
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (wxButton *)new wxButton();
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj = 0;
3545 wxButton *arg1 = (wxButton *) 0 ;
3546 wxWindow *arg2 = (wxWindow *) 0 ;
3547 int arg3 = (int) -1 ;
3548 wxString const &arg4_defvalue = wxPyEmptyString ;
3549 wxString *arg4 = (wxString *) &arg4_defvalue ;
3550 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3551 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3552 wxSize const &arg6_defvalue = wxDefaultSize ;
3553 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3554 long arg7 = (long) 0 ;
3555 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3556 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3557 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3558 wxString *arg9 = (wxString *) &arg9_defvalue ;
3559 bool result;
3560 void *argp1 = 0 ;
3561 int res1 = 0 ;
3562 void *argp2 = 0 ;
3563 int res2 = 0 ;
3564 int val3 ;
3565 int ecode3 = 0 ;
3566 bool temp4 = false ;
3567 wxPoint temp5 ;
3568 wxSize temp6 ;
3569 long val7 ;
3570 int ecode7 = 0 ;
3571 void *argp8 = 0 ;
3572 int res8 = 0 ;
3573 bool temp9 = false ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj2 = 0 ;
3577 PyObject * obj3 = 0 ;
3578 PyObject * obj4 = 0 ;
3579 PyObject * obj5 = 0 ;
3580 PyObject * obj6 = 0 ;
3581 PyObject * obj7 = 0 ;
3582 PyObject * obj8 = 0 ;
3583 char * kwnames[] = {
3584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3585 };
3586
3587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3589 if (!SWIG_IsOK(res1)) {
3590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3591 }
3592 arg1 = reinterpret_cast< wxButton * >(argp1);
3593 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3594 if (!SWIG_IsOK(res2)) {
3595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3596 }
3597 arg2 = reinterpret_cast< wxWindow * >(argp2);
3598 if (obj2) {
3599 ecode3 = SWIG_AsVal_int(obj2, &val3);
3600 if (!SWIG_IsOK(ecode3)) {
3601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3602 }
3603 arg3 = static_cast< int >(val3);
3604 }
3605 if (obj3) {
3606 {
3607 arg4 = wxString_in_helper(obj3);
3608 if (arg4 == NULL) SWIG_fail;
3609 temp4 = true;
3610 }
3611 }
3612 if (obj4) {
3613 {
3614 arg5 = &temp5;
3615 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3616 }
3617 }
3618 if (obj5) {
3619 {
3620 arg6 = &temp6;
3621 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3622 }
3623 }
3624 if (obj6) {
3625 ecode7 = SWIG_AsVal_long(obj6, &val7);
3626 if (!SWIG_IsOK(ecode7)) {
3627 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3628 }
3629 arg7 = static_cast< long >(val7);
3630 }
3631 if (obj7) {
3632 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3633 if (!SWIG_IsOK(res8)) {
3634 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3635 }
3636 if (!argp8) {
3637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3638 }
3639 arg8 = reinterpret_cast< wxValidator * >(argp8);
3640 }
3641 if (obj8) {
3642 {
3643 arg9 = wxString_in_helper(obj8);
3644 if (arg9 == NULL) SWIG_fail;
3645 temp9 = true;
3646 }
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3656 }
3657 {
3658 if (temp4)
3659 delete arg4;
3660 }
3661 {
3662 if (temp9)
3663 delete arg9;
3664 }
3665 return resultobj;
3666 fail:
3667 {
3668 if (temp4)
3669 delete arg4;
3670 }
3671 {
3672 if (temp9)
3673 delete arg9;
3674 }
3675 return NULL;
3676 }
3677
3678
3679 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3680 PyObject *resultobj = 0;
3681 wxButton *arg1 = (wxButton *) 0 ;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3691 }
3692 arg1 = reinterpret_cast< wxButton * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 (arg1)->SetDefault();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 resultobj = SWIG_Py_Void();
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3707 PyObject *resultobj = 0;
3708 wxSize result;
3709
3710 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = wxButton::GetDefaultSize();
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj = 0;
3726 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3727 SwigValueWrapper<wxVisualAttributes > result;
3728 int val1 ;
3729 int ecode1 = 0 ;
3730 PyObject * obj0 = 0 ;
3731 char * kwnames[] = {
3732 (char *) "variant", NULL
3733 };
3734
3735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3736 if (obj0) {
3737 ecode1 = SWIG_AsVal_int(obj0, &val1);
3738 if (!SWIG_IsOK(ecode1)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3740 }
3741 arg1 = static_cast< wxWindowVariant >(val1);
3742 }
3743 {
3744 if (!wxPyCheckForApp()) SWIG_fail;
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = wxButton::GetClassDefaultAttributes(arg1);
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3751 return resultobj;
3752 fail:
3753 return NULL;
3754 }
3755
3756
3757 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3758 PyObject *obj;
3759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3760 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3761 return SWIG_Py_Void();
3762 }
3763
3764 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3765 return SWIG_Python_InitShadowInstance(args);
3766 }
3767
3768 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = 0;
3770 wxWindow *arg1 = (wxWindow *) 0 ;
3771 int arg2 = (int) -1 ;
3772 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3773 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3776 wxSize const &arg5_defvalue = wxDefaultSize ;
3777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3778 long arg6 = (long) wxBU_AUTODRAW ;
3779 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3780 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3781 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3782 wxString *arg8 = (wxString *) &arg8_defvalue ;
3783 wxBitmapButton *result = 0 ;
3784 void *argp1 = 0 ;
3785 int res1 = 0 ;
3786 int val2 ;
3787 int ecode2 = 0 ;
3788 void *argp3 = 0 ;
3789 int res3 = 0 ;
3790 wxPoint temp4 ;
3791 wxSize temp5 ;
3792 long val6 ;
3793 int ecode6 = 0 ;
3794 void *argp7 = 0 ;
3795 int res7 = 0 ;
3796 bool temp8 = false ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 PyObject * obj2 = 0 ;
3800 PyObject * obj3 = 0 ;
3801 PyObject * obj4 = 0 ;
3802 PyObject * obj5 = 0 ;
3803 PyObject * obj6 = 0 ;
3804 PyObject * obj7 = 0 ;
3805 char * kwnames[] = {
3806 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3807 };
3808
3809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3811 if (!SWIG_IsOK(res1)) {
3812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3813 }
3814 arg1 = reinterpret_cast< wxWindow * >(argp1);
3815 if (obj1) {
3816 ecode2 = SWIG_AsVal_int(obj1, &val2);
3817 if (!SWIG_IsOK(ecode2)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3819 }
3820 arg2 = static_cast< int >(val2);
3821 }
3822 if (obj2) {
3823 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3824 if (!SWIG_IsOK(res3)) {
3825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3826 }
3827 if (!argp3) {
3828 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3829 }
3830 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3831 }
3832 if (obj3) {
3833 {
3834 arg4 = &temp4;
3835 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3836 }
3837 }
3838 if (obj4) {
3839 {
3840 arg5 = &temp5;
3841 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3842 }
3843 }
3844 if (obj5) {
3845 ecode6 = SWIG_AsVal_long(obj5, &val6);
3846 if (!SWIG_IsOK(ecode6)) {
3847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3848 }
3849 arg6 = static_cast< long >(val6);
3850 }
3851 if (obj6) {
3852 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3853 if (!SWIG_IsOK(res7)) {
3854 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3855 }
3856 if (!argp7) {
3857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3858 }
3859 arg7 = reinterpret_cast< wxValidator * >(argp7);
3860 }
3861 if (obj7) {
3862 {
3863 arg8 = wxString_in_helper(obj7);
3864 if (arg8 == NULL) SWIG_fail;
3865 temp8 = true;
3866 }
3867 }
3868 {
3869 if (!wxPyCheckForApp()) SWIG_fail;
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3876 {
3877 if (temp8)
3878 delete arg8;
3879 }
3880 return resultobj;
3881 fail:
3882 {
3883 if (temp8)
3884 delete arg8;
3885 }
3886 return NULL;
3887 }
3888
3889
3890 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3891 PyObject *resultobj = 0;
3892 wxBitmapButton *result = 0 ;
3893
3894 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3895 {
3896 if (!wxPyCheckForApp()) SWIG_fail;
3897 PyThreadState* __tstate = wxPyBeginAllowThreads();
3898 result = (wxBitmapButton *)new wxBitmapButton();
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj = 0;
3911 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3912 wxWindow *arg2 = (wxWindow *) 0 ;
3913 int arg3 = (int) -1 ;
3914 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3915 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3916 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3917 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3918 wxSize const &arg6_defvalue = wxDefaultSize ;
3919 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3920 long arg7 = (long) wxBU_AUTODRAW ;
3921 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3922 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3923 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3924 wxString *arg9 = (wxString *) &arg9_defvalue ;
3925 bool result;
3926 void *argp1 = 0 ;
3927 int res1 = 0 ;
3928 void *argp2 = 0 ;
3929 int res2 = 0 ;
3930 int val3 ;
3931 int ecode3 = 0 ;
3932 void *argp4 = 0 ;
3933 int res4 = 0 ;
3934 wxPoint temp5 ;
3935 wxSize temp6 ;
3936 long val7 ;
3937 int ecode7 = 0 ;
3938 void *argp8 = 0 ;
3939 int res8 = 0 ;
3940 bool temp9 = false ;
3941 PyObject * obj0 = 0 ;
3942 PyObject * obj1 = 0 ;
3943 PyObject * obj2 = 0 ;
3944 PyObject * obj3 = 0 ;
3945 PyObject * obj4 = 0 ;
3946 PyObject * obj5 = 0 ;
3947 PyObject * obj6 = 0 ;
3948 PyObject * obj7 = 0 ;
3949 PyObject * obj8 = 0 ;
3950 char * kwnames[] = {
3951 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3952 };
3953
3954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3956 if (!SWIG_IsOK(res1)) {
3957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3958 }
3959 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3961 if (!SWIG_IsOK(res2)) {
3962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3963 }
3964 arg2 = reinterpret_cast< wxWindow * >(argp2);
3965 if (obj2) {
3966 ecode3 = SWIG_AsVal_int(obj2, &val3);
3967 if (!SWIG_IsOK(ecode3)) {
3968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3969 }
3970 arg3 = static_cast< int >(val3);
3971 }
3972 if (obj3) {
3973 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3974 if (!SWIG_IsOK(res4)) {
3975 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3976 }
3977 if (!argp4) {
3978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3979 }
3980 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3981 }
3982 if (obj4) {
3983 {
3984 arg5 = &temp5;
3985 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3986 }
3987 }
3988 if (obj5) {
3989 {
3990 arg6 = &temp6;
3991 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3992 }
3993 }
3994 if (obj6) {
3995 ecode7 = SWIG_AsVal_long(obj6, &val7);
3996 if (!SWIG_IsOK(ecode7)) {
3997 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3998 }
3999 arg7 = static_cast< long >(val7);
4000 }
4001 if (obj7) {
4002 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4003 if (!SWIG_IsOK(res8)) {
4004 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4005 }
4006 if (!argp8) {
4007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4008 }
4009 arg8 = reinterpret_cast< wxValidator * >(argp8);
4010 }
4011 if (obj8) {
4012 {
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
4015 temp9 = true;
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4026 }
4027 {
4028 if (temp9)
4029 delete arg9;
4030 }
4031 return resultobj;
4032 fail:
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return NULL;
4038 }
4039
4040
4041 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *resultobj = 0;
4043 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4044 wxBitmap result;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 PyObject *swig_obj[1] ;
4048
4049 if (!args) SWIG_fail;
4050 swig_obj[0] = args;
4051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4052 if (!SWIG_IsOK(res1)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4054 }
4055 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (arg1)->GetBitmapLabel();
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4070 PyObject *resultobj = 0;
4071 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4072 wxBitmap result;
4073 void *argp1 = 0 ;
4074 int res1 = 0 ;
4075 PyObject *swig_obj[1] ;
4076
4077 if (!args) SWIG_fail;
4078 swig_obj[0] = args;
4079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4080 if (!SWIG_IsOK(res1)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4082 }
4083 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (arg1)->GetBitmapDisabled();
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4098 PyObject *resultobj = 0;
4099 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4100 wxBitmap result;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 PyObject *swig_obj[1] ;
4104
4105 if (!args) SWIG_fail;
4106 swig_obj[0] = args;
4107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4108 if (!SWIG_IsOK(res1)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4110 }
4111 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 result = (arg1)->GetBitmapFocus();
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4128 wxBitmap result;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4138 }
4139 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (arg1)->GetBitmapSelected();
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4154 PyObject *resultobj = 0;
4155 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4156 wxBitmap result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 PyObject *swig_obj[1] ;
4160
4161 if (!args) SWIG_fail;
4162 swig_obj[0] = args;
4163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4164 if (!SWIG_IsOK(res1)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4166 }
4167 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 result = (arg1)->GetBitmapHover();
4171 wxPyEndAllowThreads(__tstate);
4172 if (PyErr_Occurred()) SWIG_fail;
4173 }
4174 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4175 return resultobj;
4176 fail:
4177 return NULL;
4178 }
4179
4180
4181 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4182 PyObject *resultobj = 0;
4183 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4184 wxBitmap *arg2 = 0 ;
4185 void *argp1 = 0 ;
4186 int res1 = 0 ;
4187 void *argp2 = 0 ;
4188 int res2 = 0 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char * kwnames[] = {
4192 (char *) "self",(char *) "bitmap", NULL
4193 };
4194
4195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4197 if (!SWIG_IsOK(res1)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4199 }
4200 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4202 if (!SWIG_IsOK(res2)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4204 }
4205 if (!argp2) {
4206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4207 }
4208 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4209 {
4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
4211 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = SWIG_Py_Void();
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj = 0;
4224 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4225 wxBitmap *arg2 = 0 ;
4226 void *argp1 = 0 ;
4227 int res1 = 0 ;
4228 void *argp2 = 0 ;
4229 int res2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char * kwnames[] = {
4233 (char *) "self",(char *) "bitmap", NULL
4234 };
4235
4236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4238 if (!SWIG_IsOK(res1)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4240 }
4241 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4243 if (!SWIG_IsOK(res2)) {
4244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4245 }
4246 if (!argp2) {
4247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4248 }
4249 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 resultobj = SWIG_Py_Void();
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj = 0;
4265 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4266 wxBitmap *arg2 = 0 ;
4267 void *argp1 = 0 ;
4268 int res1 = 0 ;
4269 void *argp2 = 0 ;
4270 int res2 = 0 ;
4271 PyObject * obj0 = 0 ;
4272 PyObject * obj1 = 0 ;
4273 char * kwnames[] = {
4274 (char *) "self",(char *) "bitmap", NULL
4275 };
4276
4277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4279 if (!SWIG_IsOK(res1)) {
4280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4281 }
4282 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4284 if (!SWIG_IsOK(res2)) {
4285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4286 }
4287 if (!argp2) {
4288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4289 }
4290 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = SWIG_Py_Void();
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj = 0;
4306 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4307 wxBitmap *arg2 = 0 ;
4308 void *argp1 = 0 ;
4309 int res1 = 0 ;
4310 void *argp2 = 0 ;
4311 int res2 = 0 ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 char * kwnames[] = {
4315 (char *) "self",(char *) "bitmap", NULL
4316 };
4317
4318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4320 if (!SWIG_IsOK(res1)) {
4321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4322 }
4323 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4324 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4325 if (!SWIG_IsOK(res2)) {
4326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4327 }
4328 if (!argp2) {
4329 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4330 }
4331 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4348 wxBitmap *arg2 = 0 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 void *argp2 = 0 ;
4352 int res2 = 0 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char * kwnames[] = {
4356 (char *) "self",(char *) "hover", NULL
4357 };
4358
4359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4361 if (!SWIG_IsOK(res1)) {
4362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4363 }
4364 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4366 if (!SWIG_IsOK(res2)) {
4367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4368 }
4369 if (!argp2) {
4370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4371 }
4372 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_Py_Void();
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4389 int arg2 ;
4390 int arg3 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 int val2 ;
4394 int ecode2 = 0 ;
4395 int val3 ;
4396 int ecode3 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "x",(char *) "y", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4408 }
4409 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4410 ecode2 = SWIG_AsVal_int(obj1, &val2);
4411 if (!SWIG_IsOK(ecode2)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4413 }
4414 arg2 = static_cast< int >(val2);
4415 ecode3 = SWIG_AsVal_int(obj2, &val3);
4416 if (!SWIG_IsOK(ecode3)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4418 }
4419 arg3 = static_cast< int >(val3);
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->SetMargins(arg2,arg3);
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_Py_Void();
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4434 PyObject *resultobj = 0;
4435 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4436 int result;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 PyObject *swig_obj[1] ;
4440
4441 if (!args) SWIG_fail;
4442 swig_obj[0] = args;
4443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4444 if (!SWIG_IsOK(res1)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4446 }
4447 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = SWIG_From_int(static_cast< int >(result));
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4462 PyObject *resultobj = 0;
4463 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4464 int result;
4465 void *argp1 = 0 ;
4466 int res1 = 0 ;
4467 PyObject *swig_obj[1] ;
4468
4469 if (!args) SWIG_fail;
4470 swig_obj[0] = args;
4471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4472 if (!SWIG_IsOK(res1)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4474 }
4475 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_From_int(static_cast< int >(result));
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4490 PyObject *obj;
4491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4493 return SWIG_Py_Void();
4494 }
4495
4496 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4497 return SWIG_Python_InitShadowInstance(args);
4498 }
4499
4500 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4501 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4502 return 1;
4503 }
4504
4505
4506 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4507 PyObject *pyobj = 0;
4508
4509 {
4510 #if wxUSE_UNICODE
4511 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4512 #else
4513 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4514 #endif
4515 }
4516 return pyobj;
4517 }
4518
4519
4520 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj = 0;
4522 wxWindow *arg1 = (wxWindow *) 0 ;
4523 int arg2 = (int) -1 ;
4524 wxString const &arg3_defvalue = wxPyEmptyString ;
4525 wxString *arg3 = (wxString *) &arg3_defvalue ;
4526 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4527 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4528 wxSize const &arg5_defvalue = wxDefaultSize ;
4529 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4530 long arg6 = (long) 0 ;
4531 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4532 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4533 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4534 wxString *arg8 = (wxString *) &arg8_defvalue ;
4535 wxCheckBox *result = 0 ;
4536 void *argp1 = 0 ;
4537 int res1 = 0 ;
4538 int val2 ;
4539 int ecode2 = 0 ;
4540 bool temp3 = false ;
4541 wxPoint temp4 ;
4542 wxSize temp5 ;
4543 long val6 ;
4544 int ecode6 = 0 ;
4545 void *argp7 = 0 ;
4546 int res7 = 0 ;
4547 bool temp8 = false ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj2 = 0 ;
4551 PyObject * obj3 = 0 ;
4552 PyObject * obj4 = 0 ;
4553 PyObject * obj5 = 0 ;
4554 PyObject * obj6 = 0 ;
4555 PyObject * obj7 = 0 ;
4556 char * kwnames[] = {
4557 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4558 };
4559
4560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4562 if (!SWIG_IsOK(res1)) {
4563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4564 }
4565 arg1 = reinterpret_cast< wxWindow * >(argp1);
4566 if (obj1) {
4567 ecode2 = SWIG_AsVal_int(obj1, &val2);
4568 if (!SWIG_IsOK(ecode2)) {
4569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4570 }
4571 arg2 = static_cast< int >(val2);
4572 }
4573 if (obj2) {
4574 {
4575 arg3 = wxString_in_helper(obj2);
4576 if (arg3 == NULL) SWIG_fail;
4577 temp3 = true;
4578 }
4579 }
4580 if (obj3) {
4581 {
4582 arg4 = &temp4;
4583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4584 }
4585 }
4586 if (obj4) {
4587 {
4588 arg5 = &temp5;
4589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4590 }
4591 }
4592 if (obj5) {
4593 ecode6 = SWIG_AsVal_long(obj5, &val6);
4594 if (!SWIG_IsOK(ecode6)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4596 }
4597 arg6 = static_cast< long >(val6);
4598 }
4599 if (obj6) {
4600 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4601 if (!SWIG_IsOK(res7)) {
4602 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4603 }
4604 if (!argp7) {
4605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4606 }
4607 arg7 = reinterpret_cast< wxValidator * >(argp7);
4608 }
4609 if (obj7) {
4610 {
4611 arg8 = wxString_in_helper(obj7);
4612 if (arg8 == NULL) SWIG_fail;
4613 temp8 = true;
4614 }
4615 }
4616 {
4617 if (!wxPyCheckForApp()) SWIG_fail;
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4624 {
4625 if (temp3)
4626 delete arg3;
4627 }
4628 {
4629 if (temp8)
4630 delete arg8;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp3)
4636 delete arg3;
4637 }
4638 {
4639 if (temp8)
4640 delete arg8;
4641 }
4642 return NULL;
4643 }
4644
4645
4646 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4647 PyObject *resultobj = 0;
4648 wxCheckBox *result = 0 ;
4649
4650 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4651 {
4652 if (!wxPyCheckForApp()) SWIG_fail;
4653 PyThreadState* __tstate = wxPyBeginAllowThreads();
4654 result = (wxCheckBox *)new wxCheckBox();
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4668 wxWindow *arg2 = (wxWindow *) 0 ;
4669 int arg3 = (int) -1 ;
4670 wxString const &arg4_defvalue = wxPyEmptyString ;
4671 wxString *arg4 = (wxString *) &arg4_defvalue ;
4672 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4673 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4674 wxSize const &arg6_defvalue = wxDefaultSize ;
4675 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4676 long arg7 = (long) 0 ;
4677 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4678 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4679 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4680 wxString *arg9 = (wxString *) &arg9_defvalue ;
4681 bool result;
4682 void *argp1 = 0 ;
4683 int res1 = 0 ;
4684 void *argp2 = 0 ;
4685 int res2 = 0 ;
4686 int val3 ;
4687 int ecode3 = 0 ;
4688 bool temp4 = false ;
4689 wxPoint temp5 ;
4690 wxSize temp6 ;
4691 long val7 ;
4692 int ecode7 = 0 ;
4693 void *argp8 = 0 ;
4694 int res8 = 0 ;
4695 bool temp9 = false ;
4696 PyObject * obj0 = 0 ;
4697 PyObject * obj1 = 0 ;
4698 PyObject * obj2 = 0 ;
4699 PyObject * obj3 = 0 ;
4700 PyObject * obj4 = 0 ;
4701 PyObject * obj5 = 0 ;
4702 PyObject * obj6 = 0 ;
4703 PyObject * obj7 = 0 ;
4704 PyObject * obj8 = 0 ;
4705 char * kwnames[] = {
4706 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4707 };
4708
4709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4711 if (!SWIG_IsOK(res1)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4713 }
4714 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4716 if (!SWIG_IsOK(res2)) {
4717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4718 }
4719 arg2 = reinterpret_cast< wxWindow * >(argp2);
4720 if (obj2) {
4721 ecode3 = SWIG_AsVal_int(obj2, &val3);
4722 if (!SWIG_IsOK(ecode3)) {
4723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4724 }
4725 arg3 = static_cast< int >(val3);
4726 }
4727 if (obj3) {
4728 {
4729 arg4 = wxString_in_helper(obj3);
4730 if (arg4 == NULL) SWIG_fail;
4731 temp4 = true;
4732 }
4733 }
4734 if (obj4) {
4735 {
4736 arg5 = &temp5;
4737 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4738 }
4739 }
4740 if (obj5) {
4741 {
4742 arg6 = &temp6;
4743 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4744 }
4745 }
4746 if (obj6) {
4747 ecode7 = SWIG_AsVal_long(obj6, &val7);
4748 if (!SWIG_IsOK(ecode7)) {
4749 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4750 }
4751 arg7 = static_cast< long >(val7);
4752 }
4753 if (obj7) {
4754 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4755 if (!SWIG_IsOK(res8)) {
4756 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4757 }
4758 if (!argp8) {
4759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4760 }
4761 arg8 = reinterpret_cast< wxValidator * >(argp8);
4762 }
4763 if (obj8) {
4764 {
4765 arg9 = wxString_in_helper(obj8);
4766 if (arg9 == NULL) SWIG_fail;
4767 temp9 = true;
4768 }
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4778 }
4779 {
4780 if (temp4)
4781 delete arg4;
4782 }
4783 {
4784 if (temp9)
4785 delete arg9;
4786 }
4787 return resultobj;
4788 fail:
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp9)
4795 delete arg9;
4796 }
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4802 PyObject *resultobj = 0;
4803 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4804 bool result;
4805 void *argp1 = 0 ;
4806 int res1 = 0 ;
4807 PyObject *swig_obj[1] ;
4808
4809 if (!args) SWIG_fail;
4810 swig_obj[0] = args;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4814 }
4815 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 result = (bool)(arg1)->GetValue();
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828 }
4829
4830
4831 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832 PyObject *resultobj = 0;
4833 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4834 bool result;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 PyObject *swig_obj[1] ;
4838
4839 if (!args) SWIG_fail;
4840 swig_obj[0] = args;
4841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4842 if (!SWIG_IsOK(res1)) {
4843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4844 }
4845 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (bool)(arg1)->IsChecked();
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj = 0;
4863 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4864 bool arg2 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 bool val2 ;
4868 int ecode2 = 0 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 char * kwnames[] = {
4872 (char *) "self",(char *) "state", NULL
4873 };
4874
4875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4877 if (!SWIG_IsOK(res1)) {
4878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4879 }
4880 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4882 if (!SWIG_IsOK(ecode2)) {
4883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4884 }
4885 arg2 = static_cast< bool >(val2);
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetValue(arg2);
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 resultobj = SWIG_Py_Void();
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4900 PyObject *resultobj = 0;
4901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4902 wxCheckBoxState result;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 PyObject *swig_obj[1] ;
4906
4907 if (!args) SWIG_fail;
4908 swig_obj[0] = args;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 resultobj = SWIG_From_int(static_cast< int >(result));
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj = 0;
4929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4930 wxCheckBoxState arg2 ;
4931 void *argp1 = 0 ;
4932 int res1 = 0 ;
4933 int val2 ;
4934 int ecode2 = 0 ;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char * kwnames[] = {
4938 (char *) "self",(char *) "state", NULL
4939 };
4940
4941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4943 if (!SWIG_IsOK(res1)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4945 }
4946 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4947 ecode2 = SWIG_AsVal_int(obj1, &val2);
4948 if (!SWIG_IsOK(ecode2)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4950 }
4951 arg2 = static_cast< wxCheckBoxState >(val2);
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 (arg1)->Set3StateValue(arg2);
4955 wxPyEndAllowThreads(__tstate);
4956 if (PyErr_Occurred()) SWIG_fail;
4957 }
4958 resultobj = SWIG_Py_Void();
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4966 PyObject *resultobj = 0;
4967 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4968 bool result;
4969 void *argp1 = 0 ;
4970 int res1 = 0 ;
4971 PyObject *swig_obj[1] ;
4972
4973 if (!args) SWIG_fail;
4974 swig_obj[0] = args;
4975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4976 if (!SWIG_IsOK(res1)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4978 }
4979 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4980 {
4981 PyThreadState* __tstate = wxPyBeginAllowThreads();
4982 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 {
4987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4988 }
4989 return resultobj;
4990 fail:
4991 return NULL;
4992 }
4993
4994
4995 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4996 PyObject *resultobj = 0;
4997 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4998 bool result;
4999 void *argp1 = 0 ;
5000 int res1 = 0 ;
5001 PyObject *swig_obj[1] ;
5002
5003 if (!args) SWIG_fail;
5004 swig_obj[0] = args;
5005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5006 if (!SWIG_IsOK(res1)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5008 }
5009 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 {
5017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5018 }
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj = 0;
5027 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5028 SwigValueWrapper<wxVisualAttributes > result;
5029 int val1 ;
5030 int ecode1 = 0 ;
5031 PyObject * obj0 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "variant", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5037 if (obj0) {
5038 ecode1 = SWIG_AsVal_int(obj0, &val1);
5039 if (!SWIG_IsOK(ecode1)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5041 }
5042 arg1 = static_cast< wxWindowVariant >(val1);
5043 }
5044 {
5045 if (!wxPyCheckForApp()) SWIG_fail;
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5052 return resultobj;
5053 fail:
5054 return NULL;
5055 }
5056
5057
5058 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5059 PyObject *obj;
5060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5061 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5062 return SWIG_Py_Void();
5063 }
5064
5065 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5066 return SWIG_Python_InitShadowInstance(args);
5067 }
5068
5069 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5070 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5071 return 1;
5072 }
5073
5074
5075 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5076 PyObject *pyobj = 0;
5077
5078 {
5079 #if wxUSE_UNICODE
5080 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5081 #else
5082 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5083 #endif
5084 }
5085 return pyobj;
5086 }
5087
5088
5089 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj = 0;
5091 wxWindow *arg1 = (wxWindow *) 0 ;
5092 int arg2 = (int) -1 ;
5093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5095 wxSize const &arg4_defvalue = wxDefaultSize ;
5096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5097 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5098 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5099 long arg6 = (long) 0 ;
5100 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5101 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5102 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5103 wxString *arg8 = (wxString *) &arg8_defvalue ;
5104 wxChoice *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 int val2 ;
5108 int ecode2 = 0 ;
5109 wxPoint temp3 ;
5110 wxSize temp4 ;
5111 bool temp5 = false ;
5112 long val6 ;
5113 int ecode6 = 0 ;
5114 void *argp7 = 0 ;
5115 int res7 = 0 ;
5116 bool temp8 = false ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 PyObject * obj2 = 0 ;
5120 PyObject * obj3 = 0 ;
5121 PyObject * obj4 = 0 ;
5122 PyObject * obj5 = 0 ;
5123 PyObject * obj6 = 0 ;
5124 PyObject * obj7 = 0 ;
5125 char * kwnames[] = {
5126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5127 };
5128
5129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5131 if (!SWIG_IsOK(res1)) {
5132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5133 }
5134 arg1 = reinterpret_cast< wxWindow * >(argp1);
5135 if (obj1) {
5136 ecode2 = SWIG_AsVal_int(obj1, &val2);
5137 if (!SWIG_IsOK(ecode2)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5139 }
5140 arg2 = static_cast< int >(val2);
5141 }
5142 if (obj2) {
5143 {
5144 arg3 = &temp3;
5145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5146 }
5147 }
5148 if (obj3) {
5149 {
5150 arg4 = &temp4;
5151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5152 }
5153 }
5154 if (obj4) {
5155 {
5156 if (! PySequence_Check(obj4)) {
5157 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5158 SWIG_fail;
5159 }
5160 arg5 = new wxArrayString;
5161 temp5 = true;
5162 int i, len=PySequence_Length(obj4);
5163 for (i=0; i<len; i++) {
5164 PyObject* item = PySequence_GetItem(obj4, i);
5165 wxString* s = wxString_in_helper(item);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 arg5->Add(*s);
5168 delete s;
5169 Py_DECREF(item);
5170 }
5171 }
5172 }
5173 if (obj5) {
5174 ecode6 = SWIG_AsVal_long(obj5, &val6);
5175 if (!SWIG_IsOK(ecode6)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5177 }
5178 arg6 = static_cast< long >(val6);
5179 }
5180 if (obj6) {
5181 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5182 if (!SWIG_IsOK(res7)) {
5183 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5184 }
5185 if (!argp7) {
5186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5187 }
5188 arg7 = reinterpret_cast< wxValidator * >(argp7);
5189 }
5190 if (obj7) {
5191 {
5192 arg8 = wxString_in_helper(obj7);
5193 if (arg8 == NULL) SWIG_fail;
5194 temp8 = true;
5195 }
5196 }
5197 {
5198 if (!wxPyCheckForApp()) SWIG_fail;
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5205 {
5206 if (temp5) delete arg5;
5207 }
5208 {
5209 if (temp8)
5210 delete arg8;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp5) delete arg5;
5216 }
5217 {
5218 if (temp8)
5219 delete arg8;
5220 }
5221 return NULL;
5222 }
5223
5224
5225 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5226 PyObject *resultobj = 0;
5227 wxChoice *result = 0 ;
5228
5229 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5230 {
5231 if (!wxPyCheckForApp()) SWIG_fail;
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 result = (wxChoice *)new wxChoice();
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxChoice *arg1 = (wxChoice *) 0 ;
5247 wxWindow *arg2 = (wxWindow *) 0 ;
5248 int arg3 = (int) -1 ;
5249 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5250 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5251 wxSize const &arg5_defvalue = wxDefaultSize ;
5252 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5253 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5254 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5255 long arg7 = (long) 0 ;
5256 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5257 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5258 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5259 wxString *arg9 = (wxString *) &arg9_defvalue ;
5260 bool result;
5261 void *argp1 = 0 ;
5262 int res1 = 0 ;
5263 void *argp2 = 0 ;
5264 int res2 = 0 ;
5265 int val3 ;
5266 int ecode3 = 0 ;
5267 wxPoint temp4 ;
5268 wxSize temp5 ;
5269 bool temp6 = false ;
5270 long val7 ;
5271 int ecode7 = 0 ;
5272 void *argp8 = 0 ;
5273 int res8 = 0 ;
5274 bool temp9 = false ;
5275 PyObject * obj0 = 0 ;
5276 PyObject * obj1 = 0 ;
5277 PyObject * obj2 = 0 ;
5278 PyObject * obj3 = 0 ;
5279 PyObject * obj4 = 0 ;
5280 PyObject * obj5 = 0 ;
5281 PyObject * obj6 = 0 ;
5282 PyObject * obj7 = 0 ;
5283 PyObject * obj8 = 0 ;
5284 char * kwnames[] = {
5285 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5286 };
5287
5288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5290 if (!SWIG_IsOK(res1)) {
5291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5292 }
5293 arg1 = reinterpret_cast< wxChoice * >(argp1);
5294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5295 if (!SWIG_IsOK(res2)) {
5296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5297 }
5298 arg2 = reinterpret_cast< wxWindow * >(argp2);
5299 if (obj2) {
5300 ecode3 = SWIG_AsVal_int(obj2, &val3);
5301 if (!SWIG_IsOK(ecode3)) {
5302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5303 }
5304 arg3 = static_cast< int >(val3);
5305 }
5306 if (obj3) {
5307 {
5308 arg4 = &temp4;
5309 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5310 }
5311 }
5312 if (obj4) {
5313 {
5314 arg5 = &temp5;
5315 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5316 }
5317 }
5318 if (obj5) {
5319 {
5320 if (! PySequence_Check(obj5)) {
5321 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5322 SWIG_fail;
5323 }
5324 arg6 = new wxArrayString;
5325 temp6 = true;
5326 int i, len=PySequence_Length(obj5);
5327 for (i=0; i<len; i++) {
5328 PyObject* item = PySequence_GetItem(obj5, i);
5329 wxString* s = wxString_in_helper(item);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 arg6->Add(*s);
5332 delete s;
5333 Py_DECREF(item);
5334 }
5335 }
5336 }
5337 if (obj6) {
5338 ecode7 = SWIG_AsVal_long(obj6, &val7);
5339 if (!SWIG_IsOK(ecode7)) {
5340 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5341 }
5342 arg7 = static_cast< long >(val7);
5343 }
5344 if (obj7) {
5345 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5346 if (!SWIG_IsOK(res8)) {
5347 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5348 }
5349 if (!argp8) {
5350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5351 }
5352 arg8 = reinterpret_cast< wxValidator * >(argp8);
5353 }
5354 if (obj8) {
5355 {
5356 arg9 = wxString_in_helper(obj8);
5357 if (arg9 == NULL) SWIG_fail;
5358 temp9 = true;
5359 }
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5369 }
5370 {
5371 if (temp6) delete arg6;
5372 }
5373 {
5374 if (temp9)
5375 delete arg9;
5376 }
5377 return resultobj;
5378 fail:
5379 {
5380 if (temp6) delete arg6;
5381 }
5382 {
5383 if (temp9)
5384 delete arg9;
5385 }
5386 return NULL;
5387 }
5388
5389
5390 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5391 PyObject *resultobj = 0;
5392 wxChoice *arg1 = (wxChoice *) 0 ;
5393 int result;
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
5396 PyObject *swig_obj[1] ;
5397
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5403 }
5404 arg1 = reinterpret_cast< wxChoice * >(argp1);
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 resultobj = SWIG_From_int(static_cast< int >(result));
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj = 0;
5420 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5421 SwigValueWrapper<wxVisualAttributes > result;
5422 int val1 ;
5423 int ecode1 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 char * kwnames[] = {
5426 (char *) "variant", NULL
5427 };
5428
5429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5430 if (obj0) {
5431 ecode1 = SWIG_AsVal_int(obj0, &val1);
5432 if (!SWIG_IsOK(ecode1)) {
5433 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5434 }
5435 arg1 = static_cast< wxWindowVariant >(val1);
5436 }
5437 {
5438 if (!wxPyCheckForApp()) SWIG_fail;
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = wxChoice::GetClassDefaultAttributes(arg1);
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *obj;
5453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5455 return SWIG_Py_Void();
5456 }
5457
5458 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5459 return SWIG_Python_InitShadowInstance(args);
5460 }
5461
5462 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5463 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5464 return 1;
5465 }
5466
5467
5468 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5469 PyObject *pyobj = 0;
5470
5471 {
5472 #if wxUSE_UNICODE
5473 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5474 #else
5475 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5476 #endif
5477 }
5478 return pyobj;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = 0;
5484 wxWindow *arg1 = (wxWindow *) 0 ;
5485 int arg2 = (int) -1 ;
5486 wxString const &arg3_defvalue = wxPyEmptyString ;
5487 wxString *arg3 = (wxString *) &arg3_defvalue ;
5488 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5489 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5490 wxSize const &arg5_defvalue = wxDefaultSize ;
5491 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5492 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5493 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5494 long arg7 = (long) 0 ;
5495 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5496 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5497 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5498 wxString *arg9 = (wxString *) &arg9_defvalue ;
5499 wxComboBox *result = 0 ;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 int val2 ;
5503 int ecode2 = 0 ;
5504 bool temp3 = false ;
5505 wxPoint temp4 ;
5506 wxSize temp5 ;
5507 bool temp6 = false ;
5508 long val7 ;
5509 int ecode7 = 0 ;
5510 void *argp8 = 0 ;
5511 int res8 = 0 ;
5512 bool temp9 = false ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 PyObject * obj2 = 0 ;
5516 PyObject * obj3 = 0 ;
5517 PyObject * obj4 = 0 ;
5518 PyObject * obj5 = 0 ;
5519 PyObject * obj6 = 0 ;
5520 PyObject * obj7 = 0 ;
5521 PyObject * obj8 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_int(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5536 }
5537 arg2 = static_cast< int >(val2);
5538 }
5539 if (obj2) {
5540 {
5541 arg3 = wxString_in_helper(obj2);
5542 if (arg3 == NULL) SWIG_fail;
5543 temp3 = true;
5544 }
5545 }
5546 if (obj3) {
5547 {
5548 arg4 = &temp4;
5549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5550 }
5551 }
5552 if (obj4) {
5553 {
5554 arg5 = &temp5;
5555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5556 }
5557 }
5558 if (obj5) {
5559 {
5560 if (! PySequence_Check(obj5)) {
5561 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5562 SWIG_fail;
5563 }
5564 arg6 = new wxArrayString;
5565 temp6 = true;
5566 int i, len=PySequence_Length(obj5);
5567 for (i=0; i<len; i++) {
5568 PyObject* item = PySequence_GetItem(obj5, i);
5569 wxString* s = wxString_in_helper(item);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 arg6->Add(*s);
5572 delete s;
5573 Py_DECREF(item);
5574 }
5575 }
5576 }
5577 if (obj6) {
5578 ecode7 = SWIG_AsVal_long(obj6, &val7);
5579 if (!SWIG_IsOK(ecode7)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5581 }
5582 arg7 = static_cast< long >(val7);
5583 }
5584 if (obj7) {
5585 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5586 if (!SWIG_IsOK(res8)) {
5587 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5588 }
5589 if (!argp8) {
5590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5591 }
5592 arg8 = reinterpret_cast< wxValidator * >(argp8);
5593 }
5594 if (obj8) {
5595 {
5596 arg9 = wxString_in_helper(obj8);
5597 if (arg9 == NULL) SWIG_fail;
5598 temp9 = true;
5599 }
5600 }
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5609 {
5610 if (temp3)
5611 delete arg3;
5612 }
5613 {
5614 if (temp6) delete arg6;
5615 }
5616 {
5617 if (temp9)
5618 delete arg9;
5619 }
5620 return resultobj;
5621 fail:
5622 {
5623 if (temp3)
5624 delete arg3;
5625 }
5626 {
5627 if (temp6) delete arg6;
5628 }
5629 {
5630 if (temp9)
5631 delete arg9;
5632 }
5633 return NULL;
5634 }
5635
5636
5637 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5638 PyObject *resultobj = 0;
5639 wxComboBox *result = 0 ;
5640
5641 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5642 {
5643 if (!wxPyCheckForApp()) SWIG_fail;
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxComboBox *)new wxComboBox();
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = 0;
5658 wxComboBox *arg1 = (wxComboBox *) 0 ;
5659 wxWindow *arg2 = (wxWindow *) 0 ;
5660 int arg3 = (int) -1 ;
5661 wxString const &arg4_defvalue = wxPyEmptyString ;
5662 wxString *arg4 = (wxString *) &arg4_defvalue ;
5663 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5664 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5665 wxSize const &arg6_defvalue = wxDefaultSize ;
5666 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5667 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5668 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5669 long arg8 = (long) 0 ;
5670 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5671 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5672 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5673 wxString *arg10 = (wxString *) &arg10_defvalue ;
5674 bool result;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 void *argp2 = 0 ;
5678 int res2 = 0 ;
5679 int val3 ;
5680 int ecode3 = 0 ;
5681 bool temp4 = false ;
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
5684 bool temp7 = false ;
5685 long val8 ;
5686 int ecode8 = 0 ;
5687 void *argp9 = 0 ;
5688 int res9 = 0 ;
5689 bool temp10 = false ;
5690 PyObject * obj0 = 0 ;
5691 PyObject * obj1 = 0 ;
5692 PyObject * obj2 = 0 ;
5693 PyObject * obj3 = 0 ;
5694 PyObject * obj4 = 0 ;
5695 PyObject * obj5 = 0 ;
5696 PyObject * obj6 = 0 ;
5697 PyObject * obj7 = 0 ;
5698 PyObject * obj8 = 0 ;
5699 PyObject * obj9 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5708 }
5709 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5711 if (!SWIG_IsOK(res2)) {
5712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5713 }
5714 arg2 = reinterpret_cast< wxWindow * >(argp2);
5715 if (obj2) {
5716 ecode3 = SWIG_AsVal_int(obj2, &val3);
5717 if (!SWIG_IsOK(ecode3)) {
5718 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5719 }
5720 arg3 = static_cast< int >(val3);
5721 }
5722 if (obj3) {
5723 {
5724 arg4 = wxString_in_helper(obj3);
5725 if (arg4 == NULL) SWIG_fail;
5726 temp4 = true;
5727 }
5728 }
5729 if (obj4) {
5730 {
5731 arg5 = &temp5;
5732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5733 }
5734 }
5735 if (obj5) {
5736 {
5737 arg6 = &temp6;
5738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5739 }
5740 }
5741 if (obj6) {
5742 {
5743 if (! PySequence_Check(obj6)) {
5744 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5745 SWIG_fail;
5746 }
5747 arg7 = new wxArrayString;
5748 temp7 = true;
5749 int i, len=PySequence_Length(obj6);
5750 for (i=0; i<len; i++) {
5751 PyObject* item = PySequence_GetItem(obj6, i);
5752 wxString* s = wxString_in_helper(item);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 arg7->Add(*s);
5755 delete s;
5756 Py_DECREF(item);
5757 }
5758 }
5759 }
5760 if (obj7) {
5761 ecode8 = SWIG_AsVal_long(obj7, &val8);
5762 if (!SWIG_IsOK(ecode8)) {
5763 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5764 }
5765 arg8 = static_cast< long >(val8);
5766 }
5767 if (obj8) {
5768 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5769 if (!SWIG_IsOK(res9)) {
5770 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5771 }
5772 if (!argp9) {
5773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5774 }
5775 arg9 = reinterpret_cast< wxValidator * >(argp9);
5776 }
5777 if (obj9) {
5778 {
5779 arg10 = wxString_in_helper(obj9);
5780 if (arg10 == NULL) SWIG_fail;
5781 temp10 = true;
5782 }
5783 }
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 {
5791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5792 }
5793 {
5794 if (temp4)
5795 delete arg4;
5796 }
5797 {
5798 if (temp7) delete arg7;
5799 }
5800 {
5801 if (temp10)
5802 delete arg10;
5803 }
5804 return resultobj;
5805 fail:
5806 {
5807 if (temp4)
5808 delete arg4;
5809 }
5810 {
5811 if (temp7) delete arg7;
5812 }
5813 {
5814 if (temp10)
5815 delete arg10;
5816 }
5817 return NULL;
5818 }
5819
5820
5821 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5822 PyObject *resultobj = 0;
5823 wxComboBox *arg1 = (wxComboBox *) 0 ;
5824 wxString result;
5825 void *argp1 = 0 ;
5826 int res1 = 0 ;
5827 PyObject *swig_obj[1] ;
5828
5829 if (!args) SWIG_fail;
5830 swig_obj[0] = args;
5831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5832 if (!SWIG_IsOK(res1)) {
5833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5834 }
5835 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = ((wxComboBox const *)arg1)->GetValue();
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 {
5843 #if wxUSE_UNICODE
5844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5845 #else
5846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5847 #endif
5848 }
5849 return resultobj;
5850 fail:
5851 return NULL;
5852 }
5853
5854
5855 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj = 0;
5857 wxComboBox *arg1 = (wxComboBox *) 0 ;
5858 wxString *arg2 = 0 ;
5859 void *argp1 = 0 ;
5860 int res1 = 0 ;
5861 bool temp2 = false ;
5862 PyObject * obj0 = 0 ;
5863 PyObject * obj1 = 0 ;
5864 char * kwnames[] = {
5865 (char *) "self",(char *) "value", NULL
5866 };
5867
5868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5870 if (!SWIG_IsOK(res1)) {
5871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5872 }
5873 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5874 {
5875 arg2 = wxString_in_helper(obj1);
5876 if (arg2 == NULL) SWIG_fail;
5877 temp2 = true;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetValue((wxString const &)*arg2);
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
5885 resultobj = SWIG_Py_Void();
5886 {
5887 if (temp2)
5888 delete arg2;
5889 }
5890 return resultobj;
5891 fail:
5892 {
5893 if (temp2)
5894 delete arg2;
5895 }
5896 return NULL;
5897 }
5898
5899
5900 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5901 PyObject *resultobj = 0;
5902 wxComboBox *arg1 = (wxComboBox *) 0 ;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 }
5913 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 (arg1)->Copy();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_Py_Void();
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5928 PyObject *resultobj = 0;
5929 wxComboBox *arg1 = (wxComboBox *) 0 ;
5930 void *argp1 = 0 ;
5931 int res1 = 0 ;
5932 PyObject *swig_obj[1] ;
5933
5934 if (!args) SWIG_fail;
5935 swig_obj[0] = args;
5936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 }
5940 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 (arg1)->Cut();
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_Py_Void();
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5955 PyObject *resultobj = 0;
5956 wxComboBox *arg1 = (wxComboBox *) 0 ;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 PyObject *swig_obj[1] ;
5960
5961 if (!args) SWIG_fail;
5962 swig_obj[0] = args;
5963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5964 if (!SWIG_IsOK(res1)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 }
5967 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 (arg1)->Paste();
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 resultobj = SWIG_Py_Void();
5975 return resultobj;
5976 fail:
5977 return NULL;
5978 }
5979
5980
5981 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxComboBox *arg1 = (wxComboBox *) 0 ;
5984 long arg2 ;
5985 void *argp1 = 0 ;
5986 int res1 = 0 ;
5987 long val2 ;
5988 int ecode2 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "pos", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5999 }
6000 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6001 ecode2 = SWIG_AsVal_long(obj1, &val2);
6002 if (!SWIG_IsOK(ecode2)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6004 }
6005 arg2 = static_cast< long >(val2);
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 (arg1)->SetInsertionPoint(arg2);
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 resultobj = SWIG_Py_Void();
6013 return resultobj;
6014 fail:
6015 return NULL;
6016 }
6017
6018
6019 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6020 PyObject *resultobj = 0;
6021 wxComboBox *arg1 = (wxComboBox *) 0 ;
6022 long result;
6023 void *argp1 = 0 ;
6024 int res1 = 0 ;
6025 PyObject *swig_obj[1] ;
6026
6027 if (!args) SWIG_fail;
6028 swig_obj[0] = args;
6029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6030 if (!SWIG_IsOK(res1)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6032 }
6033 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 resultobj = SWIG_From_long(static_cast< long >(result));
6041 return resultobj;
6042 fail:
6043 return NULL;
6044 }
6045
6046
6047 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6048 PyObject *resultobj = 0;
6049 wxComboBox *arg1 = (wxComboBox *) 0 ;
6050 long result;
6051 void *argp1 = 0 ;
6052 int res1 = 0 ;
6053 PyObject *swig_obj[1] ;
6054
6055 if (!args) SWIG_fail;
6056 swig_obj[0] = args;
6057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6058 if (!SWIG_IsOK(res1)) {
6059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6060 }
6061 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = SWIG_From_long(static_cast< long >(result));
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj = 0;
6077 wxComboBox *arg1 = (wxComboBox *) 0 ;
6078 long arg2 ;
6079 long arg3 ;
6080 wxString *arg4 = 0 ;
6081 void *argp1 = 0 ;
6082 int res1 = 0 ;
6083 long val2 ;
6084 int ecode2 = 0 ;
6085 long val3 ;
6086 int ecode3 = 0 ;
6087 bool temp4 = false ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 char * kwnames[] = {
6093 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6094 };
6095
6096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6098 if (!SWIG_IsOK(res1)) {
6099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6100 }
6101 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6102 ecode2 = SWIG_AsVal_long(obj1, &val2);
6103 if (!SWIG_IsOK(ecode2)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6105 }
6106 arg2 = static_cast< long >(val2);
6107 ecode3 = SWIG_AsVal_long(obj2, &val3);
6108 if (!SWIG_IsOK(ecode3)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6110 }
6111 arg3 = static_cast< long >(val3);
6112 {
6113 arg4 = wxString_in_helper(obj3);
6114 if (arg4 == NULL) SWIG_fail;
6115 temp4 = true;
6116 }
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = SWIG_Py_Void();
6124 {
6125 if (temp4)
6126 delete arg4;
6127 }
6128 return resultobj;
6129 fail:
6130 {
6131 if (temp4)
6132 delete arg4;
6133 }
6134 return NULL;
6135 }
6136
6137
6138 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = 0;
6140 wxComboBox *arg1 = (wxComboBox *) 0 ;
6141 long arg2 ;
6142 long arg3 ;
6143 void *argp1 = 0 ;
6144 int res1 = 0 ;
6145 long val2 ;
6146 int ecode2 = 0 ;
6147 long val3 ;
6148 int ecode3 = 0 ;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 char * kwnames[] = {
6153 (char *) "self",(char *) "from",(char *) "to", NULL
6154 };
6155
6156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6158 if (!SWIG_IsOK(res1)) {
6159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6160 }
6161 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6162 ecode2 = SWIG_AsVal_long(obj1, &val2);
6163 if (!SWIG_IsOK(ecode2)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6165 }
6166 arg2 = static_cast< long >(val2);
6167 ecode3 = SWIG_AsVal_long(obj2, &val3);
6168 if (!SWIG_IsOK(ecode3)) {
6169 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6170 }
6171 arg3 = static_cast< long >(val3);
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetSelection(arg2,arg3);
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_Py_Void();
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6186 PyObject *resultobj = 0;
6187 wxComboBox *arg1 = (wxComboBox *) 0 ;
6188 long *arg2 = (long *) 0 ;
6189 long *arg3 = (long *) 0 ;
6190 void *argp1 = 0 ;
6191 int res1 = 0 ;
6192 long temp2 ;
6193 int res2 = SWIG_TMPOBJ ;
6194 long temp3 ;
6195 int res3 = SWIG_TMPOBJ ;
6196 PyObject *swig_obj[1] ;
6197
6198 arg2 = &temp2;
6199 arg3 = &temp3;
6200 if (!args) SWIG_fail;
6201 swig_obj[0] = args;
6202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6203 if (!SWIG_IsOK(res1)) {
6204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6205 }
6206 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 (arg1)->GetSelection(arg2,arg3);
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = SWIG_Py_Void();
6214 if (SWIG_IsTmpObj(res2)) {
6215 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6216 } else {
6217 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6218 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6219 }
6220 if (SWIG_IsTmpObj(res3)) {
6221 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6222 } else {
6223 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6224 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6225 }
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxComboBox *arg1 = (wxComboBox *) 0 ;
6235 int result;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 resultobj = SWIG_From_int(static_cast< int >(result));
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxComboBox *arg1 = (wxComboBox *) 0 ;
6263 wxString *arg2 = 0 ;
6264 bool result;
6265 void *argp1 = 0 ;
6266 int res1 = 0 ;
6267 bool temp2 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "string", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6278 }
6279 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = true;
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6293 }
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return NULL;
6305 }
6306
6307
6308 SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj = 0;
6310 wxComboBox *arg1 = (wxComboBox *) 0 ;
6311 int arg2 ;
6312 wxString *arg3 = 0 ;
6313 void *argp1 = 0 ;
6314 int res1 = 0 ;
6315 int val2 ;
6316 int ecode2 = 0 ;
6317 bool temp3 = false ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 char * kwnames[] = {
6322 (char *) "self",(char *) "n",(char *) "string", NULL
6323 };
6324
6325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6327 if (!SWIG_IsOK(res1)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6329 }
6330 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6331 ecode2 = SWIG_AsVal_int(obj1, &val2);
6332 if (!SWIG_IsOK(ecode2)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6334 }
6335 arg2 = static_cast< int >(val2);
6336 {
6337 arg3 = wxString_in_helper(obj2);
6338 if (arg3 == NULL) SWIG_fail;
6339 temp3 = true;
6340 }
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 (arg1)->SetString(arg2,(wxString const &)*arg3);
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 resultobj = SWIG_Py_Void();
6348 {
6349 if (temp3)
6350 delete arg3;
6351 }
6352 return resultobj;
6353 fail:
6354 {
6355 if (temp3)
6356 delete arg3;
6357 }
6358 return NULL;
6359 }
6360
6361
6362 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj = 0;
6364 wxComboBox *arg1 = (wxComboBox *) 0 ;
6365 bool arg2 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 bool val2 ;
6369 int ecode2 = 0 ;
6370 PyObject * obj0 = 0 ;
6371 PyObject * obj1 = 0 ;
6372 char * kwnames[] = {
6373 (char *) "self",(char *) "editable", NULL
6374 };
6375
6376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6378 if (!SWIG_IsOK(res1)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 }
6381 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6382 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6383 if (!SWIG_IsOK(ecode2)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 }
6386 arg2 = static_cast< bool >(val2);
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 (arg1)->SetEditable(arg2);
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_Py_Void();
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6401 PyObject *resultobj = 0;
6402 wxComboBox *arg1 = (wxComboBox *) 0 ;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 PyObject *swig_obj[1] ;
6406
6407 if (!args) SWIG_fail;
6408 swig_obj[0] = args;
6409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 }
6413 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj = 0;
6429 wxComboBox *arg1 = (wxComboBox *) 0 ;
6430 long arg2 ;
6431 long arg3 ;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 long val2 ;
6435 int ecode2 = 0 ;
6436 long val3 ;
6437 int ecode3 = 0 ;
6438 PyObject * obj0 = 0 ;
6439 PyObject * obj1 = 0 ;
6440 PyObject * obj2 = 0 ;
6441 char * kwnames[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6443 };
6444
6445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6447 if (!SWIG_IsOK(res1)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 }
6450 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6451 ecode2 = SWIG_AsVal_long(obj1, &val2);
6452 if (!SWIG_IsOK(ecode2)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 }
6455 arg2 = static_cast< long >(val2);
6456 ecode3 = SWIG_AsVal_long(obj2, &val3);
6457 if (!SWIG_IsOK(ecode3)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 }
6460 arg3 = static_cast< long >(val3);
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->Remove(arg2,arg3);
6464 wxPyEndAllowThreads(__tstate);
6465 if (PyErr_Occurred()) SWIG_fail;
6466 }
6467 resultobj = SWIG_Py_Void();
6468 return resultobj;
6469 fail:
6470 return NULL;
6471 }
6472
6473
6474 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6475 PyObject *resultobj = 0;
6476 wxComboBox *arg1 = (wxComboBox *) 0 ;
6477 bool result;
6478 void *argp1 = 0 ;
6479 int res1 = 0 ;
6480 PyObject *swig_obj[1] ;
6481
6482 if (!args) SWIG_fail;
6483 swig_obj[0] = args;
6484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6485 if (!SWIG_IsOK(res1)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 }
6488 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 {
6496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6497 }
6498 return resultobj;
6499 fail:
6500 return NULL;
6501 }
6502
6503
6504 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6505 PyObject *resultobj = 0;
6506 wxComboBox *arg1 = (wxComboBox *) 0 ;
6507 void *argp1 = 0 ;
6508 int res1 = 0 ;
6509 PyObject *swig_obj[1] ;
6510
6511 if (!args) SWIG_fail;
6512 swig_obj[0] = args;
6513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6514 if (!SWIG_IsOK(res1)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 }
6517 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->Undo();
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_Py_Void();
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6532 PyObject *resultobj = 0;
6533 wxComboBox *arg1 = (wxComboBox *) 0 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 PyObject *swig_obj[1] ;
6537
6538 if (!args) SWIG_fail;
6539 swig_obj[0] = args;
6540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6541 if (!SWIG_IsOK(res1)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 }
6544 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 (arg1)->Redo();
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = SWIG_Py_Void();
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *resultobj = 0;
6560 wxComboBox *arg1 = (wxComboBox *) 0 ;
6561 void *argp1 = 0 ;
6562 int res1 = 0 ;
6563 PyObject *swig_obj[1] ;
6564
6565 if (!args) SWIG_fail;
6566 swig_obj[0] = args;
6567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6568 if (!SWIG_IsOK(res1)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 }
6571 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SelectAll();
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6586 PyObject *resultobj = 0;
6587 wxComboBox *arg1 = (wxComboBox *) 0 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 PyObject *swig_obj[1] ;
6592
6593 if (!args) SWIG_fail;
6594 swig_obj[0] = args;
6595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 }
6599 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 {
6607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6608 }
6609 return resultobj;
6610 fail:
6611 return NULL;
6612 }
6613
6614
6615 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6616 PyObject *resultobj = 0;
6617 wxComboBox *arg1 = (wxComboBox *) 0 ;
6618 bool result;
6619 void *argp1 = 0 ;
6620 int res1 = 0 ;
6621 PyObject *swig_obj[1] ;
6622
6623 if (!args) SWIG_fail;
6624 swig_obj[0] = args;
6625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6626 if (!SWIG_IsOK(res1)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 }
6629 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = (bool)((wxComboBox const *)arg1)->CanCut();
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 {
6637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6638 }
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6646 PyObject *resultobj = 0;
6647 wxComboBox *arg1 = (wxComboBox *) 0 ;
6648 bool result;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 PyObject *swig_obj[1] ;
6652
6653 if (!args) SWIG_fail;
6654 swig_obj[0] = args;
6655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 }
6659 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
6667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6676 PyObject *resultobj = 0;
6677 wxComboBox *arg1 = (wxComboBox *) 0 ;
6678 bool result;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 PyObject *swig_obj[1] ;
6682
6683 if (!args) SWIG_fail;
6684 swig_obj[0] = args;
6685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6686 if (!SWIG_IsOK(res1)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 }
6689 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 {
6697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6698 }
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *resultobj = 0;
6707 wxComboBox *arg1 = (wxComboBox *) 0 ;
6708 bool result;
6709 void *argp1 = 0 ;
6710 int res1 = 0 ;
6711 PyObject *swig_obj[1] ;
6712
6713 if (!args) SWIG_fail;
6714 swig_obj[0] = args;
6715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6716 if (!SWIG_IsOK(res1)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 }
6719 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6738 SwigValueWrapper<wxVisualAttributes > result;
6739 int val1 ;
6740 int ecode1 = 0 ;
6741 PyObject * obj0 = 0 ;
6742 char * kwnames[] = {
6743 (char *) "variant", NULL
6744 };
6745
6746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6747 if (obj0) {
6748 ecode1 = SWIG_AsVal_int(obj0, &val1);
6749 if (!SWIG_IsOK(ecode1)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 }
6752 arg1 = static_cast< wxWindowVariant >(val1);
6753 }
6754 {
6755 if (!wxPyCheckForApp()) SWIG_fail;
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = wxComboBox::GetClassDefaultAttributes(arg1);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6769 PyObject *obj;
6770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6772 return SWIG_Py_Void();
6773 }
6774
6775 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6776 return SWIG_Python_InitShadowInstance(args);
6777 }
6778
6779 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6780 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6781 return 1;
6782 }
6783
6784
6785 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6786 PyObject *pyobj = 0;
6787
6788 {
6789 #if wxUSE_UNICODE
6790 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6791 #else
6792 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6793 #endif
6794 }
6795 return pyobj;
6796 }
6797
6798
6799 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj = 0;
6801 wxWindow *arg1 = (wxWindow *) 0 ;
6802 int arg2 = (int) -1 ;
6803 int arg3 = (int) 100 ;
6804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6806 wxSize const &arg5_defvalue = wxDefaultSize ;
6807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6808 long arg6 = (long) wxGA_HORIZONTAL ;
6809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6811 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6812 wxString *arg8 = (wxString *) &arg8_defvalue ;
6813 wxGauge *result = 0 ;
6814 void *argp1 = 0 ;
6815 int res1 = 0 ;
6816 int val2 ;
6817 int ecode2 = 0 ;
6818 int val3 ;
6819 int ecode3 = 0 ;
6820 wxPoint temp4 ;
6821 wxSize temp5 ;
6822 long val6 ;
6823 int ecode6 = 0 ;
6824 void *argp7 = 0 ;
6825 int res7 = 0 ;
6826 bool temp8 = false ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 PyObject * obj2 = 0 ;
6830 PyObject * obj3 = 0 ;
6831 PyObject * obj4 = 0 ;
6832 PyObject * obj5 = 0 ;
6833 PyObject * obj6 = 0 ;
6834 PyObject * obj7 = 0 ;
6835 char * kwnames[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6837 };
6838
6839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6841 if (!SWIG_IsOK(res1)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 }
6844 arg1 = reinterpret_cast< wxWindow * >(argp1);
6845 if (obj1) {
6846 ecode2 = SWIG_AsVal_int(obj1, &val2);
6847 if (!SWIG_IsOK(ecode2)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 }
6850 arg2 = static_cast< int >(val2);
6851 }
6852 if (obj2) {
6853 ecode3 = SWIG_AsVal_int(obj2, &val3);
6854 if (!SWIG_IsOK(ecode3)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 }
6857 arg3 = static_cast< int >(val3);
6858 }
6859 if (obj3) {
6860 {
6861 arg4 = &temp4;
6862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6863 }
6864 }
6865 if (obj4) {
6866 {
6867 arg5 = &temp5;
6868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6869 }
6870 }
6871 if (obj5) {
6872 ecode6 = SWIG_AsVal_long(obj5, &val6);
6873 if (!SWIG_IsOK(ecode6)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 }
6876 arg6 = static_cast< long >(val6);
6877 }
6878 if (obj6) {
6879 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6880 if (!SWIG_IsOK(res7)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6882 }
6883 if (!argp7) {
6884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 }
6886 arg7 = reinterpret_cast< wxValidator * >(argp7);
6887 }
6888 if (obj7) {
6889 {
6890 arg8 = wxString_in_helper(obj7);
6891 if (arg8 == NULL) SWIG_fail;
6892 temp8 = true;
6893 }
6894 }
6895 {
6896 if (!wxPyCheckForApp()) SWIG_fail;
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6903 {
6904 if (temp8)
6905 delete arg8;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6918 PyObject *resultobj = 0;
6919 wxGauge *result = 0 ;
6920
6921 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6922 {
6923 if (!wxPyCheckForApp()) SWIG_fail;
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (wxGauge *)new wxGauge();
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj = 0;
6938 wxGauge *arg1 = (wxGauge *) 0 ;
6939 wxWindow *arg2 = (wxWindow *) 0 ;
6940 int arg3 = (int) -1 ;
6941 int arg4 = (int) 100 ;
6942 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6943 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6944 wxSize const &arg6_defvalue = wxDefaultSize ;
6945 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6946 long arg7 = (long) wxGA_HORIZONTAL ;
6947 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6948 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6949 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6950 wxString *arg9 = (wxString *) &arg9_defvalue ;
6951 bool result;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 void *argp2 = 0 ;
6955 int res2 = 0 ;
6956 int val3 ;
6957 int ecode3 = 0 ;
6958 int val4 ;
6959 int ecode4 = 0 ;
6960 wxPoint temp5 ;
6961 wxSize temp6 ;
6962 long val7 ;
6963 int ecode7 = 0 ;
6964 void *argp8 = 0 ;
6965 int res8 = 0 ;
6966 bool temp9 = false ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 PyObject * obj2 = 0 ;
6970 PyObject * obj3 = 0 ;
6971 PyObject * obj4 = 0 ;
6972 PyObject * obj5 = 0 ;
6973 PyObject * obj6 = 0 ;
6974 PyObject * obj7 = 0 ;
6975 PyObject * obj8 = 0 ;
6976 char * kwnames[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6978 };
6979
6980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6982 if (!SWIG_IsOK(res1)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 }
6985 arg1 = reinterpret_cast< wxGauge * >(argp1);
6986 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6987 if (!SWIG_IsOK(res2)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 }
6990 arg2 = reinterpret_cast< wxWindow * >(argp2);
6991 if (obj2) {
6992 ecode3 = SWIG_AsVal_int(obj2, &val3);
6993 if (!SWIG_IsOK(ecode3)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 }
6996 arg3 = static_cast< int >(val3);
6997 }
6998 if (obj3) {
6999 ecode4 = SWIG_AsVal_int(obj3, &val4);
7000 if (!SWIG_IsOK(ecode4)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 }
7003 arg4 = static_cast< int >(val4);
7004 }
7005 if (obj4) {
7006 {
7007 arg5 = &temp5;
7008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7009 }
7010 }
7011 if (obj5) {
7012 {
7013 arg6 = &temp6;
7014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7015 }
7016 }
7017 if (obj6) {
7018 ecode7 = SWIG_AsVal_long(obj6, &val7);
7019 if (!SWIG_IsOK(ecode7)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 }
7022 arg7 = static_cast< long >(val7);
7023 }
7024 if (obj7) {
7025 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7026 if (!SWIG_IsOK(res8)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7028 }
7029 if (!argp8) {
7030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 }
7032 arg8 = reinterpret_cast< wxValidator * >(argp8);
7033 }
7034 if (obj8) {
7035 {
7036 arg9 = wxString_in_helper(obj8);
7037 if (arg9 == NULL) SWIG_fail;
7038 temp9 = true;
7039 }
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7049 }
7050 {
7051 if (temp9)
7052 delete arg9;
7053 }
7054 return resultobj;
7055 fail:
7056 {
7057 if (temp9)
7058 delete arg9;
7059 }
7060 return NULL;
7061 }
7062
7063
7064 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj = 0;
7066 wxGauge *arg1 = (wxGauge *) 0 ;
7067 int arg2 ;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
7070 int val2 ;
7071 int ecode2 = 0 ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char * kwnames[] = {
7075 (char *) "self",(char *) "range", NULL
7076 };
7077
7078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7080 if (!SWIG_IsOK(res1)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 }
7083 arg1 = reinterpret_cast< wxGauge * >(argp1);
7084 ecode2 = SWIG_AsVal_int(obj1, &val2);
7085 if (!SWIG_IsOK(ecode2)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 }
7088 arg2 = static_cast< int >(val2);
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 (arg1)->SetRange(arg2);
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_Py_Void();
7096 return resultobj;
7097 fail:
7098 return NULL;
7099 }
7100
7101
7102 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7103 PyObject *resultobj = 0;
7104 wxGauge *arg1 = (wxGauge *) 0 ;
7105 int result;
7106 void *argp1 = 0 ;
7107 int res1 = 0 ;
7108 PyObject *swig_obj[1] ;
7109
7110 if (!args) SWIG_fail;
7111 swig_obj[0] = args;
7112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7113 if (!SWIG_IsOK(res1)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 }
7116 arg1 = reinterpret_cast< wxGauge * >(argp1);
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (int)((wxGauge const *)arg1)->GetRange();
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 resultobj = SWIG_From_int(static_cast< int >(result));
7124 return resultobj;
7125 fail:
7126 return NULL;
7127 }
7128
7129
7130 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7131 PyObject *resultobj = 0;
7132 wxGauge *arg1 = (wxGauge *) 0 ;
7133 int arg2 ;
7134 void *argp1 = 0 ;
7135 int res1 = 0 ;
7136 int val2 ;
7137 int ecode2 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "pos", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 }
7149 arg1 = reinterpret_cast< wxGauge * >(argp1);
7150 ecode2 = SWIG_AsVal_int(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 }
7154 arg2 = static_cast< int >(val2);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->SetValue(arg2);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7169 PyObject *resultobj = 0;
7170 wxGauge *arg1 = (wxGauge *) 0 ;
7171 int result;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 PyObject *swig_obj[1] ;
7175
7176 if (!args) SWIG_fail;
7177 swig_obj[0] = args;
7178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7179 if (!SWIG_IsOK(res1)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 }
7182 arg1 = reinterpret_cast< wxGauge * >(argp1);
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 result = (int)((wxGauge const *)arg1)->GetValue();
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 resultobj = SWIG_From_int(static_cast< int >(result));
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7197 PyObject *resultobj = 0;
7198 wxGauge *arg1 = (wxGauge *) 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->Pulse();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = SWIG_Py_Void();
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7224 PyObject *resultobj = 0;
7225 wxGauge *arg1 = (wxGauge *) 0 ;
7226 bool result;
7227 void *argp1 = 0 ;
7228 int res1 = 0 ;
7229 PyObject *swig_obj[1] ;
7230
7231 if (!args) SWIG_fail;
7232 swig_obj[0] = args;
7233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7234 if (!SWIG_IsOK(res1)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 }
7237 arg1 = reinterpret_cast< wxGauge * >(argp1);
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)((wxGauge const *)arg1)->IsVertical();
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7246 }
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxGauge *arg1 = (wxGauge *) 0 ;
7256 int arg2 ;
7257 void *argp1 = 0 ;
7258 int res1 = 0 ;
7259 int val2 ;
7260 int ecode2 = 0 ;
7261 PyObject * obj0 = 0 ;
7262 PyObject * obj1 = 0 ;
7263 char * kwnames[] = {
7264 (char *) "self",(char *) "w", NULL
7265 };
7266
7267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7269 if (!SWIG_IsOK(res1)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 }
7272 arg1 = reinterpret_cast< wxGauge * >(argp1);
7273 ecode2 = SWIG_AsVal_int(obj1, &val2);
7274 if (!SWIG_IsOK(ecode2)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 }
7277 arg2 = static_cast< int >(val2);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 (arg1)->SetShadowWidth(arg2);
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_Py_Void();
7285 return resultobj;
7286 fail:
7287 return NULL;
7288 }
7289
7290
7291 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int result;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 PyObject *swig_obj[1] ;
7298
7299 if (!args) SWIG_fail;
7300 swig_obj[0] = args;
7301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7302 if (!SWIG_IsOK(res1)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 }
7305 arg1 = reinterpret_cast< wxGauge * >(argp1);
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate);
7310 if (PyErr_Occurred()) SWIG_fail;
7311 }
7312 resultobj = SWIG_From_int(static_cast< int >(result));
7313 return resultobj;
7314 fail:
7315 return NULL;
7316 }
7317
7318
7319 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = 0;
7321 wxGauge *arg1 = (wxGauge *) 0 ;
7322 int arg2 ;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 int val2 ;
7326 int ecode2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "w", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 }
7338 arg1 = reinterpret_cast< wxGauge * >(argp1);
7339 ecode2 = SWIG_AsVal_int(obj1, &val2);
7340 if (!SWIG_IsOK(ecode2)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 }
7343 arg2 = static_cast< int >(val2);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->SetBezelFace(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7358 PyObject *resultobj = 0;
7359 wxGauge *arg1 = (wxGauge *) 0 ;
7360 int result;
7361 void *argp1 = 0 ;
7362 int res1 = 0 ;
7363 PyObject *swig_obj[1] ;
7364
7365 if (!args) SWIG_fail;
7366 swig_obj[0] = args;
7367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7368 if (!SWIG_IsOK(res1)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 }
7371 arg1 = reinterpret_cast< wxGauge * >(argp1);
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 resultobj = SWIG_From_int(static_cast< int >(result));
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7388 SwigValueWrapper<wxVisualAttributes > result;
7389 int val1 ;
7390 int ecode1 = 0 ;
7391 PyObject * obj0 = 0 ;
7392 char * kwnames[] = {
7393 (char *) "variant", NULL
7394 };
7395
7396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7397 if (obj0) {
7398 ecode1 = SWIG_AsVal_int(obj0, &val1);
7399 if (!SWIG_IsOK(ecode1)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 }
7402 arg1 = static_cast< wxWindowVariant >(val1);
7403 }
7404 {
7405 if (!wxPyCheckForApp()) SWIG_fail;
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = wxGauge::GetClassDefaultAttributes(arg1);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7419 PyObject *obj;
7420 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7422 return SWIG_Py_Void();
7423 }
7424
7425 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7426 return SWIG_Python_InitShadowInstance(args);
7427 }
7428
7429 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7430 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7431 return 1;
7432 }
7433
7434
7435 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7436 PyObject *pyobj = 0;
7437
7438 {
7439 #if wxUSE_UNICODE
7440 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7441 #else
7442 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7443 #endif
7444 }
7445 return pyobj;
7446 }
7447
7448
7449 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7450 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7451 return 1;
7452 }
7453
7454
7455 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7456 PyObject *pyobj = 0;
7457
7458 {
7459 #if wxUSE_UNICODE
7460 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7461 #else
7462 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7463 #endif
7464 }
7465 return pyobj;
7466 }
7467
7468
7469 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7470 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7471 return 1;
7472 }
7473
7474
7475 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7476 PyObject *pyobj = 0;
7477
7478 {
7479 #if wxUSE_UNICODE
7480 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7481 #else
7482 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7483 #endif
7484 }
7485 return pyobj;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj = 0;
7491 wxWindow *arg1 = (wxWindow *) 0 ;
7492 int arg2 = (int) -1 ;
7493 wxString const &arg3_defvalue = wxPyEmptyString ;
7494 wxString *arg3 = (wxString *) &arg3_defvalue ;
7495 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7496 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7497 wxSize const &arg5_defvalue = wxDefaultSize ;
7498 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7499 long arg6 = (long) 0 ;
7500 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7501 wxString *arg7 = (wxString *) &arg7_defvalue ;
7502 wxStaticBox *result = 0 ;
7503 void *argp1 = 0 ;
7504 int res1 = 0 ;
7505 int val2 ;
7506 int ecode2 = 0 ;
7507 bool temp3 = false ;
7508 wxPoint temp4 ;
7509 wxSize temp5 ;
7510 long val6 ;
7511 int ecode6 = 0 ;
7512 bool temp7 = false ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 PyObject * obj2 = 0 ;
7516 PyObject * obj3 = 0 ;
7517 PyObject * obj4 = 0 ;
7518 PyObject * obj5 = 0 ;
7519 PyObject * obj6 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7528 }
7529 arg1 = reinterpret_cast< wxWindow * >(argp1);
7530 if (obj1) {
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 }
7537 if (obj2) {
7538 {
7539 arg3 = wxString_in_helper(obj2);
7540 if (arg3 == NULL) SWIG_fail;
7541 temp3 = true;
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
7550 if (obj4) {
7551 {
7552 arg5 = &temp5;
7553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7554 }
7555 }
7556 if (obj5) {
7557 ecode6 = SWIG_AsVal_long(obj5, &val6);
7558 if (!SWIG_IsOK(ecode6)) {
7559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7560 }
7561 arg6 = static_cast< long >(val6);
7562 }
7563 if (obj6) {
7564 {
7565 arg7 = wxString_in_helper(obj6);
7566 if (arg7 == NULL) SWIG_fail;
7567 temp7 = true;
7568 }
7569 }
7570 {
7571 if (!wxPyCheckForApp()) SWIG_fail;
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 {
7583 if (temp7)
7584 delete arg7;
7585 }
7586 return resultobj;
7587 fail:
7588 {
7589 if (temp3)
7590 delete arg3;
7591 }
7592 {
7593 if (temp7)
7594 delete arg7;
7595 }
7596 return NULL;
7597 }
7598
7599
7600 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7601 PyObject *resultobj = 0;
7602 wxStaticBox *result = 0 ;
7603
7604 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7605 {
7606 if (!wxPyCheckForApp()) SWIG_fail;
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 result = (wxStaticBox *)new wxStaticBox();
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj = 0;
7621 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7622 wxWindow *arg2 = (wxWindow *) 0 ;
7623 int arg3 = (int) -1 ;
7624 wxString const &arg4_defvalue = wxPyEmptyString ;
7625 wxString *arg4 = (wxString *) &arg4_defvalue ;
7626 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7627 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7628 wxSize const &arg6_defvalue = wxDefaultSize ;
7629 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7630 long arg7 = (long) 0 ;
7631 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7632 wxString *arg8 = (wxString *) &arg8_defvalue ;
7633 bool result;
7634 void *argp1 = 0 ;
7635 int res1 = 0 ;
7636 void *argp2 = 0 ;
7637 int res2 = 0 ;
7638 int val3 ;
7639 int ecode3 = 0 ;
7640 bool temp4 = false ;
7641 wxPoint temp5 ;
7642 wxSize temp6 ;
7643 long val7 ;
7644 int ecode7 = 0 ;
7645 bool temp8 = false ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 PyObject * obj4 = 0 ;
7651 PyObject * obj5 = 0 ;
7652 PyObject * obj6 = 0 ;
7653 PyObject * obj7 = 0 ;
7654 char * kwnames[] = {
7655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7656 };
7657
7658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7660 if (!SWIG_IsOK(res1)) {
7661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7662 }
7663 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7665 if (!SWIG_IsOK(res2)) {
7666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7667 }
7668 arg2 = reinterpret_cast< wxWindow * >(argp2);
7669 if (obj2) {
7670 ecode3 = SWIG_AsVal_int(obj2, &val3);
7671 if (!SWIG_IsOK(ecode3)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7673 }
7674 arg3 = static_cast< int >(val3);
7675 }
7676 if (obj3) {
7677 {
7678 arg4 = wxString_in_helper(obj3);
7679 if (arg4 == NULL) SWIG_fail;
7680 temp4 = true;
7681 }
7682 }
7683 if (obj4) {
7684 {
7685 arg5 = &temp5;
7686 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7687 }
7688 }
7689 if (obj5) {
7690 {
7691 arg6 = &temp6;
7692 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7693 }
7694 }
7695 if (obj6) {
7696 ecode7 = SWIG_AsVal_long(obj6, &val7);
7697 if (!SWIG_IsOK(ecode7)) {
7698 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7699 }
7700 arg7 = static_cast< long >(val7);
7701 }
7702 if (obj7) {
7703 {
7704 arg8 = wxString_in_helper(obj7);
7705 if (arg8 == NULL) SWIG_fail;
7706 temp8 = true;
7707 }
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7717 }
7718 {
7719 if (temp4)
7720 delete arg4;
7721 }
7722 {
7723 if (temp8)
7724 delete arg8;
7725 }
7726 return resultobj;
7727 fail:
7728 {
7729 if (temp4)
7730 delete arg4;
7731 }
7732 {
7733 if (temp8)
7734 delete arg8;
7735 }
7736 return NULL;
7737 }
7738
7739
7740 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj = 0;
7742 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7743 SwigValueWrapper<wxVisualAttributes > result;
7744 int val1 ;
7745 int ecode1 = 0 ;
7746 PyObject * obj0 = 0 ;
7747 char * kwnames[] = {
7748 (char *) "variant", NULL
7749 };
7750
7751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7752 if (obj0) {
7753 ecode1 = SWIG_AsVal_int(obj0, &val1);
7754 if (!SWIG_IsOK(ecode1)) {
7755 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7756 }
7757 arg1 = static_cast< wxWindowVariant >(val1);
7758 }
7759 {
7760 if (!wxPyCheckForApp()) SWIG_fail;
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7774 PyObject *obj;
7775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7777 return SWIG_Py_Void();
7778 }
7779
7780 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7781 return SWIG_Python_InitShadowInstance(args);
7782 }
7783
7784 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxWindow *arg1 = (wxWindow *) 0 ;
7787 int arg2 = (int) -1 ;
7788 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7789 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7790 wxSize const &arg4_defvalue = wxDefaultSize ;
7791 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7792 long arg5 = (long) wxLI_HORIZONTAL ;
7793 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7794 wxString *arg6 = (wxString *) &arg6_defvalue ;
7795 wxStaticLine *result = 0 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 int val2 ;
7799 int ecode2 = 0 ;
7800 wxPoint temp3 ;
7801 wxSize temp4 ;
7802 long val5 ;
7803 int ecode5 = 0 ;
7804 bool temp6 = false ;
7805 PyObject * obj0 = 0 ;
7806 PyObject * obj1 = 0 ;
7807 PyObject * obj2 = 0 ;
7808 PyObject * obj3 = 0 ;
7809 PyObject * obj4 = 0 ;
7810 PyObject * obj5 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7819 }
7820 arg1 = reinterpret_cast< wxWindow * >(argp1);
7821 if (obj1) {
7822 ecode2 = SWIG_AsVal_int(obj1, &val2);
7823 if (!SWIG_IsOK(ecode2)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7825 }
7826 arg2 = static_cast< int >(val2);
7827 }
7828 if (obj2) {
7829 {
7830 arg3 = &temp3;
7831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7832 }
7833 }
7834 if (obj3) {
7835 {
7836 arg4 = &temp4;
7837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7838 }
7839 }
7840 if (obj4) {
7841 ecode5 = SWIG_AsVal_long(obj4, &val5);
7842 if (!SWIG_IsOK(ecode5)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7844 }
7845 arg5 = static_cast< long >(val5);
7846 }
7847 if (obj5) {
7848 {
7849 arg6 = wxString_in_helper(obj5);
7850 if (arg6 == NULL) SWIG_fail;
7851 temp6 = true;
7852 }
7853 }
7854 {
7855 if (!wxPyCheckForApp()) SWIG_fail;
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7862 {
7863 if (temp6)
7864 delete arg6;
7865 }
7866 return resultobj;
7867 fail:
7868 {
7869 if (temp6)
7870 delete arg6;
7871 }
7872 return NULL;
7873 }
7874
7875
7876 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7877 PyObject *resultobj = 0;
7878 wxStaticLine *result = 0 ;
7879
7880 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7881 {
7882 if (!wxPyCheckForApp()) SWIG_fail;
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 result = (wxStaticLine *)new wxStaticLine();
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj = 0;
7897 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7898 wxWindow *arg2 = (wxWindow *) 0 ;
7899 int arg3 = (int) -1 ;
7900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7902 wxSize const &arg5_defvalue = wxDefaultSize ;
7903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7904 long arg6 = (long) wxLI_HORIZONTAL ;
7905 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7906 wxString *arg7 = (wxString *) &arg7_defvalue ;
7907 bool result;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 void *argp2 = 0 ;
7911 int res2 = 0 ;
7912 int val3 ;
7913 int ecode3 = 0 ;
7914 wxPoint temp4 ;
7915 wxSize temp5 ;
7916 long val6 ;
7917 int ecode6 = 0 ;
7918 bool temp7 = false ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 PyObject * obj2 = 0 ;
7922 PyObject * obj3 = 0 ;
7923 PyObject * obj4 = 0 ;
7924 PyObject * obj5 = 0 ;
7925 PyObject * obj6 = 0 ;
7926 char * kwnames[] = {
7927 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7928 };
7929
7930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7932 if (!SWIG_IsOK(res1)) {
7933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7934 }
7935 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7937 if (!SWIG_IsOK(res2)) {
7938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7939 }
7940 arg2 = reinterpret_cast< wxWindow * >(argp2);
7941 if (obj2) {
7942 ecode3 = SWIG_AsVal_int(obj2, &val3);
7943 if (!SWIG_IsOK(ecode3)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7945 }
7946 arg3 = static_cast< int >(val3);
7947 }
7948 if (obj3) {
7949 {
7950 arg4 = &temp4;
7951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7952 }
7953 }
7954 if (obj4) {
7955 {
7956 arg5 = &temp5;
7957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7958 }
7959 }
7960 if (obj5) {
7961 ecode6 = SWIG_AsVal_long(obj5, &val6);
7962 if (!SWIG_IsOK(ecode6)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7964 }
7965 arg6 = static_cast< long >(val6);
7966 }
7967 if (obj6) {
7968 {
7969 arg7 = wxString_in_helper(obj6);
7970 if (arg7 == NULL) SWIG_fail;
7971 temp7 = true;
7972 }
7973 }
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 {
7981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7982 }
7983 {
7984 if (temp7)
7985 delete arg7;
7986 }
7987 return resultobj;
7988 fail:
7989 {
7990 if (temp7)
7991 delete arg7;
7992 }
7993 return NULL;
7994 }
7995
7996
7997 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
8000 bool result;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 PyObject *swig_obj[1] ;
8004
8005 if (!args) SWIG_fail;
8006 swig_obj[0] = args;
8007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
8008 if (!SWIG_IsOK(res1)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8010 }
8011 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 {
8019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8020 }
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 int result;
8030
8031 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (int)wxStaticLine::GetDefaultSize();
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_From_int(static_cast< int >(result));
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj = 0;
8047 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8048 SwigValueWrapper<wxVisualAttributes > result;
8049 int val1 ;
8050 int ecode1 = 0 ;
8051 PyObject * obj0 = 0 ;
8052 char * kwnames[] = {
8053 (char *) "variant", NULL
8054 };
8055
8056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8057 if (obj0) {
8058 ecode1 = SWIG_AsVal_int(obj0, &val1);
8059 if (!SWIG_IsOK(ecode1)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8061 }
8062 arg1 = static_cast< wxWindowVariant >(val1);
8063 }
8064 {
8065 if (!wxPyCheckForApp()) SWIG_fail;
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 PyObject *obj;
8080 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8081 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8082 return SWIG_Py_Void();
8083 }
8084
8085 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8086 return SWIG_Python_InitShadowInstance(args);
8087 }
8088
8089 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj = 0;
8091 wxWindow *arg1 = (wxWindow *) 0 ;
8092 int arg2 = (int) -1 ;
8093 wxString const &arg3_defvalue = wxPyEmptyString ;
8094 wxString *arg3 = (wxString *) &arg3_defvalue ;
8095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8097 wxSize const &arg5_defvalue = wxDefaultSize ;
8098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8099 long arg6 = (long) 0 ;
8100 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8101 wxString *arg7 = (wxString *) &arg7_defvalue ;
8102 wxStaticText *result = 0 ;
8103 void *argp1 = 0 ;
8104 int res1 = 0 ;
8105 int val2 ;
8106 int ecode2 = 0 ;
8107 bool temp3 = false ;
8108 wxPoint temp4 ;
8109 wxSize temp5 ;
8110 long val6 ;
8111 int ecode6 = 0 ;
8112 bool temp7 = false ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 PyObject * obj3 = 0 ;
8117 PyObject * obj4 = 0 ;
8118 PyObject * obj5 = 0 ;
8119 PyObject * obj6 = 0 ;
8120 char * kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8122 };
8123
8124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8126 if (!SWIG_IsOK(res1)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8128 }
8129 arg1 = reinterpret_cast< wxWindow * >(argp1);
8130 if (obj1) {
8131 ecode2 = SWIG_AsVal_int(obj1, &val2);
8132 if (!SWIG_IsOK(ecode2)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8134 }
8135 arg2 = static_cast< int >(val2);
8136 }
8137 if (obj2) {
8138 {
8139 arg3 = wxString_in_helper(obj2);
8140 if (arg3 == NULL) SWIG_fail;
8141 temp3 = true;
8142 }
8143 }
8144 if (obj3) {
8145 {
8146 arg4 = &temp4;
8147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8148 }
8149 }
8150 if (obj4) {
8151 {
8152 arg5 = &temp5;
8153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8154 }
8155 }
8156 if (obj5) {
8157 ecode6 = SWIG_AsVal_long(obj5, &val6);
8158 if (!SWIG_IsOK(ecode6)) {
8159 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8160 }
8161 arg6 = static_cast< long >(val6);
8162 }
8163 if (obj6) {
8164 {
8165 arg7 = wxString_in_helper(obj6);
8166 if (arg7 == NULL) SWIG_fail;
8167 temp7 = true;
8168 }
8169 }
8170 {
8171 if (!wxPyCheckForApp()) SWIG_fail;
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8178 {
8179 if (temp3)
8180 delete arg3;
8181 }
8182 {
8183 if (temp7)
8184 delete arg7;
8185 }
8186 return resultobj;
8187 fail:
8188 {
8189 if (temp3)
8190 delete arg3;
8191 }
8192 {
8193 if (temp7)
8194 delete arg7;
8195 }
8196 return NULL;
8197 }
8198
8199
8200 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8201 PyObject *resultobj = 0;
8202 wxStaticText *result = 0 ;
8203
8204 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8205 {
8206 if (!wxPyCheckForApp()) SWIG_fail;
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxStaticText *)new wxStaticText();
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxStaticText *arg1 = (wxStaticText *) 0 ;
8222 wxWindow *arg2 = (wxWindow *) 0 ;
8223 int arg3 = (int) -1 ;
8224 wxString const &arg4_defvalue = wxPyEmptyString ;
8225 wxString *arg4 = (wxString *) &arg4_defvalue ;
8226 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8227 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8228 wxSize const &arg6_defvalue = wxDefaultSize ;
8229 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8230 long arg7 = (long) 0 ;
8231 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8232 wxString *arg8 = (wxString *) &arg8_defvalue ;
8233 bool result;
8234 void *argp1 = 0 ;
8235 int res1 = 0 ;
8236 void *argp2 = 0 ;
8237 int res2 = 0 ;
8238 int val3 ;
8239 int ecode3 = 0 ;
8240 bool temp4 = false ;
8241 wxPoint temp5 ;
8242 wxSize temp6 ;
8243 long val7 ;
8244 int ecode7 = 0 ;
8245 bool temp8 = false ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
8249 PyObject * obj3 = 0 ;
8250 PyObject * obj4 = 0 ;
8251 PyObject * obj5 = 0 ;
8252 PyObject * obj6 = 0 ;
8253 PyObject * obj7 = 0 ;
8254 char * kwnames[] = {
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8256 };
8257
8258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8260 if (!SWIG_IsOK(res1)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8262 }
8263 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8265 if (!SWIG_IsOK(res2)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8267 }
8268 arg2 = reinterpret_cast< wxWindow * >(argp2);
8269 if (obj2) {
8270 ecode3 = SWIG_AsVal_int(obj2, &val3);
8271 if (!SWIG_IsOK(ecode3)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8273 }
8274 arg3 = static_cast< int >(val3);
8275 }
8276 if (obj3) {
8277 {
8278 arg4 = wxString_in_helper(obj3);
8279 if (arg4 == NULL) SWIG_fail;
8280 temp4 = true;
8281 }
8282 }
8283 if (obj4) {
8284 {
8285 arg5 = &temp5;
8286 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8287 }
8288 }
8289 if (obj5) {
8290 {
8291 arg6 = &temp6;
8292 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8293 }
8294 }
8295 if (obj6) {
8296 ecode7 = SWIG_AsVal_long(obj6, &val7);
8297 if (!SWIG_IsOK(ecode7)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8299 }
8300 arg7 = static_cast< long >(val7);
8301 }
8302 if (obj7) {
8303 {
8304 arg8 = wxString_in_helper(obj7);
8305 if (arg8 == NULL) SWIG_fail;
8306 temp8 = true;
8307 }
8308 }
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 {
8316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8317 }
8318 {
8319 if (temp4)
8320 delete arg4;
8321 }
8322 {
8323 if (temp8)
8324 delete arg8;
8325 }
8326 return resultobj;
8327 fail:
8328 {
8329 if (temp4)
8330 delete arg4;
8331 }
8332 {
8333 if (temp8)
8334 delete arg8;
8335 }
8336 return NULL;
8337 }
8338
8339
8340 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8341 PyObject *resultobj = 0;
8342 wxStaticText *arg1 = (wxStaticText *) 0 ;
8343 int arg2 ;
8344 void *argp1 = 0 ;
8345 int res1 = 0 ;
8346 int val2 ;
8347 int ecode2 = 0 ;
8348 PyObject * obj0 = 0 ;
8349 PyObject * obj1 = 0 ;
8350 char * kwnames[] = {
8351 (char *) "self",(char *) "width", NULL
8352 };
8353
8354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8358 }
8359 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8360 ecode2 = SWIG_AsVal_int(obj1, &val2);
8361 if (!SWIG_IsOK(ecode2)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8363 }
8364 arg2 = static_cast< int >(val2);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 (arg1)->Wrap(arg2);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_Py_Void();
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj = 0;
8380 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8381 SwigValueWrapper<wxVisualAttributes > result;
8382 int val1 ;
8383 int ecode1 = 0 ;
8384 PyObject * obj0 = 0 ;
8385 char * kwnames[] = {
8386 (char *) "variant", NULL
8387 };
8388
8389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8390 if (obj0) {
8391 ecode1 = SWIG_AsVal_int(obj0, &val1);
8392 if (!SWIG_IsOK(ecode1)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8394 }
8395 arg1 = static_cast< wxWindowVariant >(val1);
8396 }
8397 {
8398 if (!wxPyCheckForApp()) SWIG_fail;
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = wxStaticText::GetClassDefaultAttributes(arg1);
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8412 PyObject *obj;
8413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8415 return SWIG_Py_Void();
8416 }
8417
8418 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8419 return SWIG_Python_InitShadowInstance(args);
8420 }
8421
8422 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj = 0;
8424 wxWindow *arg1 = (wxWindow *) 0 ;
8425 int arg2 = (int) -1 ;
8426 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8427 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8430 wxSize const &arg5_defvalue = wxDefaultSize ;
8431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8432 long arg6 = (long) 0 ;
8433 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8434 wxString *arg7 = (wxString *) &arg7_defvalue ;
8435 wxStaticBitmap *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 void *argp3 = 0 ;
8441 int res3 = 0 ;
8442 wxPoint temp4 ;
8443 wxSize temp5 ;
8444 long val6 ;
8445 int ecode6 = 0 ;
8446 bool temp7 = false ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 PyObject * obj2 = 0 ;
8450 PyObject * obj3 = 0 ;
8451 PyObject * obj4 = 0 ;
8452 PyObject * obj5 = 0 ;
8453 PyObject * obj6 = 0 ;
8454 char * kwnames[] = {
8455 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8456 };
8457
8458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8462 }
8463 arg1 = reinterpret_cast< wxWindow * >(argp1);
8464 if (obj1) {
8465 ecode2 = SWIG_AsVal_int(obj1, &val2);
8466 if (!SWIG_IsOK(ecode2)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8468 }
8469 arg2 = static_cast< int >(val2);
8470 }
8471 if (obj2) {
8472 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8473 if (!SWIG_IsOK(res3)) {
8474 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8475 }
8476 if (!argp3) {
8477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8478 }
8479 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8480 }
8481 if (obj3) {
8482 {
8483 arg4 = &temp4;
8484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8485 }
8486 }
8487 if (obj4) {
8488 {
8489 arg5 = &temp5;
8490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8491 }
8492 }
8493 if (obj5) {
8494 ecode6 = SWIG_AsVal_long(obj5, &val6);
8495 if (!SWIG_IsOK(ecode6)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8497 }
8498 arg6 = static_cast< long >(val6);
8499 }
8500 if (obj6) {
8501 {
8502 arg7 = wxString_in_helper(obj6);
8503 if (arg7 == NULL) SWIG_fail;
8504 temp7 = true;
8505 }
8506 }
8507 {
8508 if (!wxPyCheckForApp()) SWIG_fail;
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8515 {
8516 if (temp7)
8517 delete arg7;
8518 }
8519 return resultobj;
8520 fail:
8521 {
8522 if (temp7)
8523 delete arg7;
8524 }
8525 return NULL;
8526 }
8527
8528
8529 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8530 PyObject *resultobj = 0;
8531 wxStaticBitmap *result = 0 ;
8532
8533 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8534 {
8535 if (!wxPyCheckForApp()) SWIG_fail;
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (wxStaticBitmap *)new wxStaticBitmap();
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8549 PyObject *resultobj = 0;
8550 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8551 wxWindow *arg2 = (wxWindow *) 0 ;
8552 int arg3 = (int) -1 ;
8553 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8554 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8555 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8556 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8557 wxSize const &arg6_defvalue = wxDefaultSize ;
8558 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8559 long arg7 = (long) 0 ;
8560 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8561 wxString *arg8 = (wxString *) &arg8_defvalue ;
8562 bool result;
8563 void *argp1 = 0 ;
8564 int res1 = 0 ;
8565 void *argp2 = 0 ;
8566 int res2 = 0 ;
8567 int val3 ;
8568 int ecode3 = 0 ;
8569 void *argp4 = 0 ;
8570 int res4 = 0 ;
8571 wxPoint temp5 ;
8572 wxSize temp6 ;
8573 long val7 ;
8574 int ecode7 = 0 ;
8575 bool temp8 = false ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 PyObject * obj2 = 0 ;
8579 PyObject * obj3 = 0 ;
8580 PyObject * obj4 = 0 ;
8581 PyObject * obj5 = 0 ;
8582 PyObject * obj6 = 0 ;
8583 PyObject * obj7 = 0 ;
8584 char * kwnames[] = {
8585 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8586 };
8587
8588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8592 }
8593 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8595 if (!SWIG_IsOK(res2)) {
8596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8597 }
8598 arg2 = reinterpret_cast< wxWindow * >(argp2);
8599 if (obj2) {
8600 ecode3 = SWIG_AsVal_int(obj2, &val3);
8601 if (!SWIG_IsOK(ecode3)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8603 }
8604 arg3 = static_cast< int >(val3);
8605 }
8606 if (obj3) {
8607 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8608 if (!SWIG_IsOK(res4)) {
8609 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8610 }
8611 if (!argp4) {
8612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8613 }
8614 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8615 }
8616 if (obj4) {
8617 {
8618 arg5 = &temp5;
8619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8620 }
8621 }
8622 if (obj5) {
8623 {
8624 arg6 = &temp6;
8625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8626 }
8627 }
8628 if (obj6) {
8629 ecode7 = SWIG_AsVal_long(obj6, &val7);
8630 if (!SWIG_IsOK(ecode7)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8632 }
8633 arg7 = static_cast< long >(val7);
8634 }
8635 if (obj7) {
8636 {
8637 arg8 = wxString_in_helper(obj7);
8638 if (arg8 == NULL) SWIG_fail;
8639 temp8 = true;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 {
8649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8650 }
8651 {
8652 if (temp8)
8653 delete arg8;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp8)
8659 delete arg8;
8660 }
8661 return NULL;
8662 }
8663
8664
8665 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8678 }
8679 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (arg1)->GetBitmap();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj = 0;
8695 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8696 wxBitmap *arg2 = 0 ;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 void *argp2 = 0 ;
8700 int res2 = 0 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char * kwnames[] = {
8704 (char *) "self",(char *) "bitmap", NULL
8705 };
8706
8707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8711 }
8712 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8714 if (!SWIG_IsOK(res2)) {
8715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8716 }
8717 if (!argp2) {
8718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8719 }
8720 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_Py_Void();
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8737 wxIcon *arg2 = 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 void *argp2 = 0 ;
8741 int res2 = 0 ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj1 = 0 ;
8744 char * kwnames[] = {
8745 (char *) "self",(char *) "icon", NULL
8746 };
8747
8748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8750 if (!SWIG_IsOK(res1)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8752 }
8753 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8754 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8755 if (!SWIG_IsOK(res2)) {
8756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8757 }
8758 if (!argp2) {
8759 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8760 }
8761 arg2 = reinterpret_cast< wxIcon * >(argp2);
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 (arg1)->SetIcon((wxIcon const &)*arg2);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_Py_Void();
8769 return resultobj;
8770 fail:
8771 return NULL;
8772 }
8773
8774
8775 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj = 0;
8777 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8778 SwigValueWrapper<wxVisualAttributes > result;
8779 int val1 ;
8780 int ecode1 = 0 ;
8781 PyObject * obj0 = 0 ;
8782 char * kwnames[] = {
8783 (char *) "variant", NULL
8784 };
8785
8786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8787 if (obj0) {
8788 ecode1 = SWIG_AsVal_int(obj0, &val1);
8789 if (!SWIG_IsOK(ecode1)) {
8790 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8791 }
8792 arg1 = static_cast< wxWindowVariant >(val1);
8793 }
8794 {
8795 if (!wxPyCheckForApp()) SWIG_fail;
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8809 PyObject *obj;
8810 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8811 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8812 return SWIG_Py_Void();
8813 }
8814
8815 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8816 return SWIG_Python_InitShadowInstance(args);
8817 }
8818
8819 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8820 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8821 return 1;
8822 }
8823
8824
8825 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8826 PyObject *pyobj = 0;
8827
8828 {
8829 #if wxUSE_UNICODE
8830 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8831 #else
8832 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8833 #endif
8834 }
8835 return pyobj;
8836 }
8837
8838
8839 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj = 0;
8841 wxWindow *arg1 = (wxWindow *) 0 ;
8842 int arg2 = (int) -1 ;
8843 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8844 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8845 wxSize const &arg4_defvalue = wxDefaultSize ;
8846 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8847 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8848 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8849 long arg6 = (long) 0 ;
8850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8852 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8853 wxString *arg8 = (wxString *) &arg8_defvalue ;
8854 wxListBox *result = 0 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 int val2 ;
8858 int ecode2 = 0 ;
8859 wxPoint temp3 ;
8860 wxSize temp4 ;
8861 bool temp5 = false ;
8862 long val6 ;
8863 int ecode6 = 0 ;
8864 void *argp7 = 0 ;
8865 int res7 = 0 ;
8866 bool temp8 = false ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 PyObject * obj3 = 0 ;
8871 PyObject * obj4 = 0 ;
8872 PyObject * obj5 = 0 ;
8873 PyObject * obj6 = 0 ;
8874 PyObject * obj7 = 0 ;
8875 char * kwnames[] = {
8876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8877 };
8878
8879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8881 if (!SWIG_IsOK(res1)) {
8882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8883 }
8884 arg1 = reinterpret_cast< wxWindow * >(argp1);
8885 if (obj1) {
8886 ecode2 = SWIG_AsVal_int(obj1, &val2);
8887 if (!SWIG_IsOK(ecode2)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8889 }
8890 arg2 = static_cast< int >(val2);
8891 }
8892 if (obj2) {
8893 {
8894 arg3 = &temp3;
8895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8896 }
8897 }
8898 if (obj3) {
8899 {
8900 arg4 = &temp4;
8901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8902 }
8903 }
8904 if (obj4) {
8905 {
8906 if (! PySequence_Check(obj4)) {
8907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8908 SWIG_fail;
8909 }
8910 arg5 = new wxArrayString;
8911 temp5 = true;
8912 int i, len=PySequence_Length(obj4);
8913 for (i=0; i<len; i++) {
8914 PyObject* item = PySequence_GetItem(obj4, i);
8915 wxString* s = wxString_in_helper(item);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 arg5->Add(*s);
8918 delete s;
8919 Py_DECREF(item);
8920 }
8921 }
8922 }
8923 if (obj5) {
8924 ecode6 = SWIG_AsVal_long(obj5, &val6);
8925 if (!SWIG_IsOK(ecode6)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8927 }
8928 arg6 = static_cast< long >(val6);
8929 }
8930 if (obj6) {
8931 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8932 if (!SWIG_IsOK(res7)) {
8933 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8934 }
8935 if (!argp7) {
8936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8937 }
8938 arg7 = reinterpret_cast< wxValidator * >(argp7);
8939 }
8940 if (obj7) {
8941 {
8942 arg8 = wxString_in_helper(obj7);
8943 if (arg8 == NULL) SWIG_fail;
8944 temp8 = true;
8945 }
8946 }
8947 {
8948 if (!wxPyCheckForApp()) SWIG_fail;
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8955 {
8956 if (temp5) delete arg5;
8957 }
8958 {
8959 if (temp8)
8960 delete arg8;
8961 }
8962 return resultobj;
8963 fail:
8964 {
8965 if (temp5) delete arg5;
8966 }
8967 {
8968 if (temp8)
8969 delete arg8;
8970 }
8971 return NULL;
8972 }
8973
8974
8975 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8976 PyObject *resultobj = 0;
8977 wxListBox *result = 0 ;
8978
8979 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8980 {
8981 if (!wxPyCheckForApp()) SWIG_fail;
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (wxListBox *)new wxListBox();
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxListBox *arg1 = (wxListBox *) 0 ;
8997 wxWindow *arg2 = (wxWindow *) 0 ;
8998 int arg3 = (int) -1 ;
8999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9001 wxSize const &arg5_defvalue = wxDefaultSize ;
9002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9003 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9004 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9005 long arg7 = (long) 0 ;
9006 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9007 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9008 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9009 wxString *arg9 = (wxString *) &arg9_defvalue ;
9010 bool result;
9011 void *argp1 = 0 ;
9012 int res1 = 0 ;
9013 void *argp2 = 0 ;
9014 int res2 = 0 ;
9015 int val3 ;
9016 int ecode3 = 0 ;
9017 wxPoint temp4 ;
9018 wxSize temp5 ;
9019 bool temp6 = false ;
9020 long val7 ;
9021 int ecode7 = 0 ;
9022 void *argp8 = 0 ;
9023 int res8 = 0 ;
9024 bool temp9 = false ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 PyObject * obj3 = 0 ;
9029 PyObject * obj4 = 0 ;
9030 PyObject * obj5 = 0 ;
9031 PyObject * obj6 = 0 ;
9032 PyObject * obj7 = 0 ;
9033 PyObject * obj8 = 0 ;
9034 char * kwnames[] = {
9035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9036 };
9037
9038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9040 if (!SWIG_IsOK(res1)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9042 }
9043 arg1 = reinterpret_cast< wxListBox * >(argp1);
9044 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9045 if (!SWIG_IsOK(res2)) {
9046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9047 }
9048 arg2 = reinterpret_cast< wxWindow * >(argp2);
9049 if (obj2) {
9050 ecode3 = SWIG_AsVal_int(obj2, &val3);
9051 if (!SWIG_IsOK(ecode3)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9053 }
9054 arg3 = static_cast< int >(val3);
9055 }
9056 if (obj3) {
9057 {
9058 arg4 = &temp4;
9059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9060 }
9061 }
9062 if (obj4) {
9063 {
9064 arg5 = &temp5;
9065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9066 }
9067 }
9068 if (obj5) {
9069 {
9070 if (! PySequence_Check(obj5)) {
9071 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9072 SWIG_fail;
9073 }
9074 arg6 = new wxArrayString;
9075 temp6 = true;
9076 int i, len=PySequence_Length(obj5);
9077 for (i=0; i<len; i++) {
9078 PyObject* item = PySequence_GetItem(obj5, i);
9079 wxString* s = wxString_in_helper(item);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 arg6->Add(*s);
9082 delete s;
9083 Py_DECREF(item);
9084 }
9085 }
9086 }
9087 if (obj6) {
9088 ecode7 = SWIG_AsVal_long(obj6, &val7);
9089 if (!SWIG_IsOK(ecode7)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9091 }
9092 arg7 = static_cast< long >(val7);
9093 }
9094 if (obj7) {
9095 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9096 if (!SWIG_IsOK(res8)) {
9097 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9098 }
9099 if (!argp8) {
9100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9101 }
9102 arg8 = reinterpret_cast< wxValidator * >(argp8);
9103 }
9104 if (obj8) {
9105 {
9106 arg9 = wxString_in_helper(obj8);
9107 if (arg9 == NULL) SWIG_fail;
9108 temp9 = true;
9109 }
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 {
9118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9119 }
9120 {
9121 if (temp6) delete arg6;
9122 }
9123 {
9124 if (temp9)
9125 delete arg9;
9126 }
9127 return resultobj;
9128 fail:
9129 {
9130 if (temp6) delete arg6;
9131 }
9132 {
9133 if (temp9)
9134 delete arg9;
9135 }
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9141 PyObject *resultobj = 0;
9142 wxListBox *arg1 = (wxListBox *) 0 ;
9143 wxString *arg2 = 0 ;
9144 int arg3 ;
9145 PyObject *arg4 = (PyObject *) NULL ;
9146 void *argp1 = 0 ;
9147 int res1 = 0 ;
9148 bool temp2 = false ;
9149 int val3 ;
9150 int ecode3 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 PyObject * obj2 = 0 ;
9154 PyObject * obj3 = 0 ;
9155 char * kwnames[] = {
9156 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9157 };
9158
9159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9161 if (!SWIG_IsOK(res1)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9163 }
9164 arg1 = reinterpret_cast< wxListBox * >(argp1);
9165 {
9166 arg2 = wxString_in_helper(obj1);
9167 if (arg2 == NULL) SWIG_fail;
9168 temp2 = true;
9169 }
9170 ecode3 = SWIG_AsVal_int(obj2, &val3);
9171 if (!SWIG_IsOK(ecode3)) {
9172 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9173 }
9174 arg3 = static_cast< int >(val3);
9175 if (obj3) {
9176 arg4 = obj3;
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_Py_Void();
9185 {
9186 if (temp2)
9187 delete arg2;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp2)
9193 delete arg2;
9194 }
9195 return NULL;
9196 }
9197
9198
9199 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxListBox *arg1 = (wxListBox *) 0 ;
9202 wxArrayString *arg2 = 0 ;
9203 unsigned int arg3 ;
9204 void *argp1 = 0 ;
9205 int res1 = 0 ;
9206 bool temp2 = false ;
9207 unsigned int val3 ;
9208 int ecode3 = 0 ;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char * kwnames[] = {
9213 (char *) "self",(char *) "items",(char *) "pos", NULL
9214 };
9215
9216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9218 if (!SWIG_IsOK(res1)) {
9219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9220 }
9221 arg1 = reinterpret_cast< wxListBox * >(argp1);
9222 {
9223 if (! PySequence_Check(obj1)) {
9224 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9225 SWIG_fail;
9226 }
9227 arg2 = new wxArrayString;
9228 temp2 = true;
9229 int i, len=PySequence_Length(obj1);
9230 for (i=0; i<len; i++) {
9231 PyObject* item = PySequence_GetItem(obj1, i);
9232 wxString* s = wxString_in_helper(item);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 arg2->Add(*s);
9235 delete s;
9236 Py_DECREF(item);
9237 }
9238 }
9239 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9240 if (!SWIG_IsOK(ecode3)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9242 }
9243 arg3 = static_cast< unsigned int >(val3);
9244 {
9245 PyThreadState* __tstate = wxPyBeginAllowThreads();
9246 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9247 wxPyEndAllowThreads(__tstate);
9248 if (PyErr_Occurred()) SWIG_fail;
9249 }
9250 resultobj = SWIG_Py_Void();
9251 {
9252 if (temp2) delete arg2;
9253 }
9254 return resultobj;
9255 fail:
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return NULL;
9260 }
9261
9262
9263 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj = 0;
9265 wxListBox *arg1 = (wxListBox *) 0 ;
9266 wxArrayString *arg2 = 0 ;
9267 void *argp1 = 0 ;
9268 int res1 = 0 ;
9269 bool temp2 = false ;
9270 PyObject * obj0 = 0 ;
9271 PyObject * obj1 = 0 ;
9272 char * kwnames[] = {
9273 (char *) "self",(char *) "items", NULL
9274 };
9275
9276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9278 if (!SWIG_IsOK(res1)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9280 }
9281 arg1 = reinterpret_cast< wxListBox * >(argp1);
9282 {
9283 if (! PySequence_Check(obj1)) {
9284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9285 SWIG_fail;
9286 }
9287 arg2 = new wxArrayString;
9288 temp2 = true;
9289 int i, len=PySequence_Length(obj1);
9290 for (i=0; i<len; i++) {
9291 PyObject* item = PySequence_GetItem(obj1, i);
9292 wxString* s = wxString_in_helper(item);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 arg2->Add(*s);
9295 delete s;
9296 Py_DECREF(item);
9297 }
9298 }
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Set((wxArrayString const &)*arg2);
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 resultobj = SWIG_Py_Void();
9306 {
9307 if (temp2) delete arg2;
9308 }
9309 return resultobj;
9310 fail:
9311 {
9312 if (temp2) delete arg2;
9313 }
9314 return NULL;
9315 }
9316
9317
9318 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj = 0;
9320 wxListBox *arg1 = (wxListBox *) 0 ;
9321 int arg2 ;
9322 bool result;
9323 void *argp1 = 0 ;
9324 int res1 = 0 ;
9325 int val2 ;
9326 int ecode2 = 0 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 char * kwnames[] = {
9330 (char *) "self",(char *) "n", NULL
9331 };
9332
9333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9337 }
9338 arg1 = reinterpret_cast< wxListBox * >(argp1);
9339 ecode2 = SWIG_AsVal_int(obj1, &val2);
9340 if (!SWIG_IsOK(ecode2)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9342 }
9343 arg2 = static_cast< int >(val2);
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj = 0;
9361 wxListBox *arg1 = (wxListBox *) 0 ;
9362 int arg2 ;
9363 bool arg3 = (bool) true ;
9364 void *argp1 = 0 ;
9365 int res1 = 0 ;
9366 int val2 ;
9367 int ecode2 = 0 ;
9368 bool val3 ;
9369 int ecode3 = 0 ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj2 = 0 ;
9373 char * kwnames[] = {
9374 (char *) "self",(char *) "n",(char *) "select", NULL
9375 };
9376
9377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9379 if (!SWIG_IsOK(res1)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9381 }
9382 arg1 = reinterpret_cast< wxListBox * >(argp1);
9383 ecode2 = SWIG_AsVal_int(obj1, &val2);
9384 if (!SWIG_IsOK(ecode2)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9386 }
9387 arg2 = static_cast< int >(val2);
9388 if (obj2) {
9389 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9390 if (!SWIG_IsOK(ecode3)) {
9391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9392 }
9393 arg3 = static_cast< bool >(val3);
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetSelection(arg2,arg3);
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 resultobj = SWIG_Py_Void();
9402 return resultobj;
9403 fail:
9404 return NULL;
9405 }
9406
9407
9408 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9409 PyObject *resultobj = 0;
9410 wxListBox *arg1 = (wxListBox *) 0 ;
9411 int arg2 ;
9412 void *argp1 = 0 ;
9413 int res1 = 0 ;
9414 int val2 ;
9415 int ecode2 = 0 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char * kwnames[] = {
9419 (char *) "self",(char *) "n", NULL
9420 };
9421
9422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9424 if (!SWIG_IsOK(res1)) {
9425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9426 }
9427 arg1 = reinterpret_cast< wxListBox * >(argp1);
9428 ecode2 = SWIG_AsVal_int(obj1, &val2);
9429 if (!SWIG_IsOK(ecode2)) {
9430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9431 }
9432 arg2 = static_cast< int >(val2);
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Select(arg2);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_Py_Void();
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = 0;
9448 wxListBox *arg1 = (wxListBox *) 0 ;
9449 int arg2 ;
9450 void *argp1 = 0 ;
9451 int res1 = 0 ;
9452 int val2 ;
9453 int ecode2 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char * kwnames[] = {
9457 (char *) "self",(char *) "n", NULL
9458 };
9459
9460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9464 }
9465 arg1 = reinterpret_cast< wxListBox * >(argp1);
9466 ecode2 = SWIG_AsVal_int(obj1, &val2);
9467 if (!SWIG_IsOK(ecode2)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9469 }
9470 arg2 = static_cast< int >(val2);
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 (arg1)->Deselect(arg2);
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_Py_Void();
9478 return resultobj;
9479 fail:
9480 return NULL;
9481 }
9482
9483
9484 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxListBox *arg1 = (wxListBox *) 0 ;
9487 int arg2 = (int) -1 ;
9488 void *argp1 = 0 ;
9489 int res1 = 0 ;
9490 int val2 ;
9491 int ecode2 = 0 ;
9492 PyObject * obj0 = 0 ;
9493 PyObject * obj1 = 0 ;
9494 char * kwnames[] = {
9495 (char *) "self",(char *) "itemToLeaveSelected", NULL
9496 };
9497
9498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9502 }
9503 arg1 = reinterpret_cast< wxListBox * >(argp1);
9504 if (obj1) {
9505 ecode2 = SWIG_AsVal_int(obj1, &val2);
9506 if (!SWIG_IsOK(ecode2)) {
9507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9508 }
9509 arg2 = static_cast< int >(val2);
9510 }
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 (arg1)->DeselectAll(arg2);
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 resultobj = SWIG_Py_Void();
9518 return resultobj;
9519 fail:
9520 return NULL;
9521 }
9522
9523
9524 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj = 0;
9526 wxListBox *arg1 = (wxListBox *) 0 ;
9527 wxString *arg2 = 0 ;
9528 bool arg3 = (bool) true ;
9529 bool result;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 bool temp2 = false ;
9533 bool val3 ;
9534 int ecode3 = 0 ;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 PyObject * obj2 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "self",(char *) "s",(char *) "select", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 arg2 = wxString_in_helper(obj1);
9550 if (arg2 == NULL) SWIG_fail;
9551 temp2 = true;
9552 }
9553 if (obj2) {
9554 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9555 if (!SWIG_IsOK(ecode3)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9557 }
9558 arg3 = static_cast< bool >(val3);
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp2)
9571 delete arg2;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp2)
9577 delete arg2;
9578 }
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 PyObject *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9596 }
9597 arg1 = reinterpret_cast< wxListBox * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (PyObject *)wxListBox_GetSelections(arg1);
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = result;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj = 0;
9613 wxListBox *arg1 = (wxListBox *) 0 ;
9614 int arg2 ;
9615 void *argp1 = 0 ;
9616 int res1 = 0 ;
9617 int val2 ;
9618 int ecode2 = 0 ;
9619 PyObject * obj0 = 0 ;
9620 PyObject * obj1 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "n", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9629 }
9630 arg1 = reinterpret_cast< wxListBox * >(argp1);
9631 ecode2 = SWIG_AsVal_int(obj1, &val2);
9632 if (!SWIG_IsOK(ecode2)) {
9633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9634 }
9635 arg2 = static_cast< int >(val2);
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->SetFirstItem(arg2);
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = SWIG_Py_Void();
9643 return resultobj;
9644 fail:
9645 return NULL;
9646 }
9647
9648
9649 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj = 0;
9651 wxListBox *arg1 = (wxListBox *) 0 ;
9652 wxString *arg2 = 0 ;
9653 void *argp1 = 0 ;
9654 int res1 = 0 ;
9655 bool temp2 = false ;
9656 PyObject * obj0 = 0 ;
9657 PyObject * obj1 = 0 ;
9658 char * kwnames[] = {
9659 (char *) "self",(char *) "s", NULL
9660 };
9661
9662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9664 if (!SWIG_IsOK(res1)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9666 }
9667 arg1 = reinterpret_cast< wxListBox * >(argp1);
9668 {
9669 arg2 = wxString_in_helper(obj1);
9670 if (arg2 == NULL) SWIG_fail;
9671 temp2 = true;
9672 }
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 (arg1)->SetFirstItem((wxString const &)*arg2);
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = SWIG_Py_Void();
9680 {
9681 if (temp2)
9682 delete arg2;
9683 }
9684 return resultobj;
9685 fail:
9686 {
9687 if (temp2)
9688 delete arg2;
9689 }
9690 return NULL;
9691 }
9692
9693
9694 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9695 PyObject *resultobj = 0;
9696 wxListBox *arg1 = (wxListBox *) 0 ;
9697 int arg2 ;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 int val2 ;
9701 int ecode2 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char * kwnames[] = {
9705 (char *) "self",(char *) "n", NULL
9706 };
9707
9708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9710 if (!SWIG_IsOK(res1)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9712 }
9713 arg1 = reinterpret_cast< wxListBox * >(argp1);
9714 ecode2 = SWIG_AsVal_int(obj1, &val2);
9715 if (!SWIG_IsOK(ecode2)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9717 }
9718 arg2 = static_cast< int >(val2);
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->EnsureVisible(arg2);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727 fail:
9728 return NULL;
9729 }
9730
9731
9732 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxListBox *arg1 = (wxListBox *) 0 ;
9735 wxString *arg2 = 0 ;
9736 void *argp1 = 0 ;
9737 int res1 = 0 ;
9738 bool temp2 = false ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "s", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9749 }
9750 arg1 = reinterpret_cast< wxListBox * >(argp1);
9751 {
9752 arg2 = wxString_in_helper(obj1);
9753 if (arg2 == NULL) SWIG_fail;
9754 temp2 = true;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 resultobj = SWIG_Py_Void();
9763 {
9764 if (temp2)
9765 delete arg2;
9766 }
9767 return resultobj;
9768 fail:
9769 {
9770 if (temp2)
9771 delete arg2;
9772 }
9773 return NULL;
9774 }
9775
9776
9777 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9778 PyObject *resultobj = 0;
9779 wxListBox *arg1 = (wxListBox *) 0 ;
9780 bool result;
9781 void *argp1 = 0 ;
9782 int res1 = 0 ;
9783 PyObject *swig_obj[1] ;
9784
9785 if (!args) SWIG_fail;
9786 swig_obj[0] = args;
9787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9790 }
9791 arg1 = reinterpret_cast< wxListBox * >(argp1);
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (bool)((wxListBox const *)arg1)->IsSorted();
9795 wxPyEndAllowThreads(__tstate);
9796 if (PyErr_Occurred()) SWIG_fail;
9797 }
9798 {
9799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj = 0;
9809 wxListBox *arg1 = (wxListBox *) 0 ;
9810 wxPoint *arg2 = 0 ;
9811 int result;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 wxPoint temp2 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 char * kwnames[] = {
9818 (char *) "self",(char *) "pt", NULL
9819 };
9820
9821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9823 if (!SWIG_IsOK(res1)) {
9824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9825 }
9826 arg1 = reinterpret_cast< wxListBox * >(argp1);
9827 {
9828 arg2 = &temp2;
9829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_From_int(static_cast< int >(result));
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9845 PyObject *resultobj = 0;
9846 wxListBox *arg1 = (wxListBox *) 0 ;
9847 int arg2 ;
9848 wxColour *arg3 = 0 ;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 int val2 ;
9852 int ecode2 = 0 ;
9853 wxColour temp3 ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj2 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "item",(char *) "c", NULL
9859 };
9860
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9865 }
9866 arg1 = reinterpret_cast< wxListBox * >(argp1);
9867 ecode2 = SWIG_AsVal_int(obj1, &val2);
9868 if (!SWIG_IsOK(ecode2)) {
9869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9870 }
9871 arg2 = static_cast< int >(val2);
9872 {
9873 arg3 = &temp3;
9874 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9875 }
9876 {
9877 PyThreadState* __tstate = wxPyBeginAllowThreads();
9878 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_Py_Void();
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj = 0;
9891 wxListBox *arg1 = (wxListBox *) 0 ;
9892 int arg2 ;
9893 wxColour *arg3 = 0 ;
9894 void *argp1 = 0 ;
9895 int res1 = 0 ;
9896 int val2 ;
9897 int ecode2 = 0 ;
9898 wxColour temp3 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "item",(char *) "c", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9910 }
9911 arg1 = reinterpret_cast< wxListBox * >(argp1);
9912 ecode2 = SWIG_AsVal_int(obj1, &val2);
9913 if (!SWIG_IsOK(ecode2)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9915 }
9916 arg2 = static_cast< int >(val2);
9917 {
9918 arg3 = &temp3;
9919 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9920 }
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxListBox *arg1 = (wxListBox *) 0 ;
9937 int arg2 ;
9938 wxFont *arg3 = 0 ;
9939 void *argp1 = 0 ;
9940 int res1 = 0 ;
9941 int val2 ;
9942 int ecode2 = 0 ;
9943 void *argp3 = 0 ;
9944 int res3 = 0 ;
9945 PyObject * obj0 = 0 ;
9946 PyObject * obj1 = 0 ;
9947 PyObject * obj2 = 0 ;
9948 char * kwnames[] = {
9949 (char *) "self",(char *) "item",(char *) "f", NULL
9950 };
9951
9952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9956 }
9957 arg1 = reinterpret_cast< wxListBox * >(argp1);
9958 ecode2 = SWIG_AsVal_int(obj1, &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9964 if (!SWIG_IsOK(res3)) {
9965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9966 }
9967 if (!argp3) {
9968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9969 }
9970 arg3 = reinterpret_cast< wxFont * >(argp3);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9987 SwigValueWrapper<wxVisualAttributes > result;
9988 int val1 ;
9989 int ecode1 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "variant", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9996 if (obj0) {
9997 ecode1 = SWIG_AsVal_int(obj0, &val1);
9998 if (!SWIG_IsOK(ecode1)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10000 }
10001 arg1 = static_cast< wxWindowVariant >(val1);
10002 }
10003 {
10004 if (!wxPyCheckForApp()) SWIG_fail;
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = wxListBox::GetClassDefaultAttributes(arg1);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10018 PyObject *obj;
10019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10020 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10021 return SWIG_Py_Void();
10022 }
10023
10024 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 return SWIG_Python_InitShadowInstance(args);
10026 }
10027
10028 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxWindow *arg1 = (wxWindow *) 0 ;
10031 int arg2 = (int) -1 ;
10032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10034 wxSize const &arg4_defvalue = wxDefaultSize ;
10035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10036 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10037 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10038 long arg6 = (long) 0 ;
10039 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10040 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10041 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10042 wxString *arg8 = (wxString *) &arg8_defvalue ;
10043 wxCheckListBox *result = 0 ;
10044 void *argp1 = 0 ;
10045 int res1 = 0 ;
10046 int val2 ;
10047 int ecode2 = 0 ;
10048 wxPoint temp3 ;
10049 wxSize temp4 ;
10050 bool temp5 = false ;
10051 long val6 ;
10052 int ecode6 = 0 ;
10053 void *argp7 = 0 ;
10054 int res7 = 0 ;
10055 bool temp8 = false ;
10056 PyObject * obj0 = 0 ;
10057 PyObject * obj1 = 0 ;
10058 PyObject * obj2 = 0 ;
10059 PyObject * obj3 = 0 ;
10060 PyObject * obj4 = 0 ;
10061 PyObject * obj5 = 0 ;
10062 PyObject * obj6 = 0 ;
10063 PyObject * obj7 = 0 ;
10064 char * kwnames[] = {
10065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10066 };
10067
10068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res1)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10072 }
10073 arg1 = reinterpret_cast< wxWindow * >(argp1);
10074 if (obj1) {
10075 ecode2 = SWIG_AsVal_int(obj1, &val2);
10076 if (!SWIG_IsOK(ecode2)) {
10077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10078 }
10079 arg2 = static_cast< int >(val2);
10080 }
10081 if (obj2) {
10082 {
10083 arg3 = &temp3;
10084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10085 }
10086 }
10087 if (obj3) {
10088 {
10089 arg4 = &temp4;
10090 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10091 }
10092 }
10093 if (obj4) {
10094 {
10095 if (! PySequence_Check(obj4)) {
10096 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10097 SWIG_fail;
10098 }
10099 arg5 = new wxArrayString;
10100 temp5 = true;
10101 int i, len=PySequence_Length(obj4);
10102 for (i=0; i<len; i++) {
10103 PyObject* item = PySequence_GetItem(obj4, i);
10104 wxString* s = wxString_in_helper(item);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 arg5->Add(*s);
10107 delete s;
10108 Py_DECREF(item);
10109 }
10110 }
10111 }
10112 if (obj5) {
10113 ecode6 = SWIG_AsVal_long(obj5, &val6);
10114 if (!SWIG_IsOK(ecode6)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10116 }
10117 arg6 = static_cast< long >(val6);
10118 }
10119 if (obj6) {
10120 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10121 if (!SWIG_IsOK(res7)) {
10122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10123 }
10124 if (!argp7) {
10125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10126 }
10127 arg7 = reinterpret_cast< wxValidator * >(argp7);
10128 }
10129 if (obj7) {
10130 {
10131 arg8 = wxString_in_helper(obj7);
10132 if (arg8 == NULL) SWIG_fail;
10133 temp8 = true;
10134 }
10135 }
10136 {
10137 if (!wxPyCheckForApp()) SWIG_fail;
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10144 {
10145 if (temp5) delete arg5;
10146 }
10147 {
10148 if (temp8)
10149 delete arg8;
10150 }
10151 return resultobj;
10152 fail:
10153 {
10154 if (temp5) delete arg5;
10155 }
10156 {
10157 if (temp8)
10158 delete arg8;
10159 }
10160 return NULL;
10161 }
10162
10163
10164 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10165 PyObject *resultobj = 0;
10166 wxCheckListBox *result = 0 ;
10167
10168 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10169 {
10170 if (!wxPyCheckForApp()) SWIG_fail;
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxCheckListBox *)new wxCheckListBox();
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10177 return resultobj;
10178 fail:
10179 return NULL;
10180 }
10181
10182
10183 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj = 0;
10185 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10186 wxWindow *arg2 = (wxWindow *) 0 ;
10187 int arg3 = (int) -1 ;
10188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10190 wxSize const &arg5_defvalue = wxDefaultSize ;
10191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10192 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10193 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10194 long arg7 = (long) 0 ;
10195 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10196 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10197 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10198 wxString *arg9 = (wxString *) &arg9_defvalue ;
10199 bool result;
10200 void *argp1 = 0 ;
10201 int res1 = 0 ;
10202 void *argp2 = 0 ;
10203 int res2 = 0 ;
10204 int val3 ;
10205 int ecode3 = 0 ;
10206 wxPoint temp4 ;
10207 wxSize temp5 ;
10208 bool temp6 = false ;
10209 long val7 ;
10210 int ecode7 = 0 ;
10211 void *argp8 = 0 ;
10212 int res8 = 0 ;
10213 bool temp9 = false ;
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 PyObject * obj7 = 0 ;
10222 PyObject * obj8 = 0 ;
10223 char * kwnames[] = {
10224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10225 };
10226
10227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10229 if (!SWIG_IsOK(res1)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10231 }
10232 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10233 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10234 if (!SWIG_IsOK(res2)) {
10235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10236 }
10237 arg2 = reinterpret_cast< wxWindow * >(argp2);
10238 if (obj2) {
10239 ecode3 = SWIG_AsVal_int(obj2, &val3);
10240 if (!SWIG_IsOK(ecode3)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10242 }
10243 arg3 = static_cast< int >(val3);
10244 }
10245 if (obj3) {
10246 {
10247 arg4 = &temp4;
10248 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10249 }
10250 }
10251 if (obj4) {
10252 {
10253 arg5 = &temp5;
10254 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10255 }
10256 }
10257 if (obj5) {
10258 {
10259 if (! PySequence_Check(obj5)) {
10260 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10261 SWIG_fail;
10262 }
10263 arg6 = new wxArrayString;
10264 temp6 = true;
10265 int i, len=PySequence_Length(obj5);
10266 for (i=0; i<len; i++) {
10267 PyObject* item = PySequence_GetItem(obj5, i);
10268 wxString* s = wxString_in_helper(item);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 arg6->Add(*s);
10271 delete s;
10272 Py_DECREF(item);
10273 }
10274 }
10275 }
10276 if (obj6) {
10277 ecode7 = SWIG_AsVal_long(obj6, &val7);
10278 if (!SWIG_IsOK(ecode7)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10280 }
10281 arg7 = static_cast< long >(val7);
10282 }
10283 if (obj7) {
10284 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10285 if (!SWIG_IsOK(res8)) {
10286 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10287 }
10288 if (!argp8) {
10289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10290 }
10291 arg8 = reinterpret_cast< wxValidator * >(argp8);
10292 }
10293 if (obj8) {
10294 {
10295 arg9 = wxString_in_helper(obj8);
10296 if (arg9 == NULL) SWIG_fail;
10297 temp9 = true;
10298 }
10299 }
10300 {
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10308 }
10309 {
10310 if (temp6) delete arg6;
10311 }
10312 {
10313 if (temp9)
10314 delete arg9;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp6) delete arg6;
10320 }
10321 {
10322 if (temp9)
10323 delete arg9;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10332 unsigned int arg2 ;
10333 bool result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 unsigned int val2 ;
10337 int ecode2 = 0 ;
10338 PyObject * obj0 = 0 ;
10339 PyObject * obj1 = 0 ;
10340 char * kwnames[] = {
10341 (char *) "self",(char *) "index", NULL
10342 };
10343
10344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10346 if (!SWIG_IsOK(res1)) {
10347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10348 }
10349 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10350 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10351 if (!SWIG_IsOK(ecode2)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10353 }
10354 arg2 = static_cast< unsigned int >(val2);
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 result = (bool)(arg1)->IsChecked(arg2);
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 {
10362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10363 }
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10373 unsigned int arg2 ;
10374 int arg3 = (int) true ;
10375 void *argp1 = 0 ;
10376 int res1 = 0 ;
10377 unsigned int val2 ;
10378 int ecode2 = 0 ;
10379 int val3 ;
10380 int ecode3 = 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 PyObject * obj2 = 0 ;
10384 char * kwnames[] = {
10385 (char *) "self",(char *) "index",(char *) "check", NULL
10386 };
10387
10388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10392 }
10393 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10394 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10395 if (!SWIG_IsOK(ecode2)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10397 }
10398 arg2 = static_cast< unsigned int >(val2);
10399 if (obj2) {
10400 ecode3 = SWIG_AsVal_int(obj2, &val3);
10401 if (!SWIG_IsOK(ecode3)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10403 }
10404 arg3 = static_cast< int >(val3);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->Check(arg2,arg3);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_Py_Void();
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *resultobj = 0;
10421 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10422 int result;
10423 void *argp1 = 0 ;
10424 int res1 = 0 ;
10425 PyObject *swig_obj[1] ;
10426
10427 if (!args) SWIG_fail;
10428 swig_obj[0] = args;
10429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10430 if (!SWIG_IsOK(res1)) {
10431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10432 }
10433 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (int)(arg1)->GetItemHeight();
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 resultobj = SWIG_From_int(static_cast< int >(result));
10441 return resultobj;
10442 fail:
10443 return NULL;
10444 }
10445
10446
10447 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10448 PyObject *obj;
10449 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10450 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10451 return SWIG_Py_Void();
10452 }
10453
10454 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10455 return SWIG_Python_InitShadowInstance(args);
10456 }
10457
10458 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10459 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10460 return 1;
10461 }
10462
10463
10464 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10465 PyObject *pyobj = 0;
10466
10467 {
10468 #if wxUSE_UNICODE
10469 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10470 #else
10471 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10472 #endif
10473 }
10474 return pyobj;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxColour const &arg1_defvalue = wxNullColour ;
10481 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10482 wxColour const &arg2_defvalue = wxNullColour ;
10483 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10484 wxFont const &arg3_defvalue = wxNullFont ;
10485 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10486 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10487 wxTextAttr *result = 0 ;
10488 wxColour temp1 ;
10489 wxColour temp2 ;
10490 void *argp3 = 0 ;
10491 int res3 = 0 ;
10492 int val4 ;
10493 int ecode4 = 0 ;
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 PyObject * obj3 = 0 ;
10498 char * kwnames[] = {
10499 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10500 };
10501
10502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10503 if (obj0) {
10504 {
10505 arg1 = &temp1;
10506 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10507 }
10508 }
10509 if (obj1) {
10510 {
10511 arg2 = &temp2;
10512 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10513 }
10514 }
10515 if (obj2) {
10516 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10517 if (!SWIG_IsOK(res3)) {
10518 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10519 }
10520 if (!argp3) {
10521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10522 }
10523 arg3 = reinterpret_cast< wxFont * >(argp3);
10524 }
10525 if (obj3) {
10526 ecode4 = SWIG_AsVal_int(obj3, &val4);
10527 if (!SWIG_IsOK(ecode4)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10529 }
10530 arg4 = static_cast< wxTextAttrAlignment >(val4);
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 delete arg1;
10562
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10574 PyObject *resultobj = 0;
10575 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10576 void *argp1 = 0 ;
10577 int res1 = 0 ;
10578 PyObject *swig_obj[1] ;
10579
10580 if (!args) SWIG_fail;
10581 swig_obj[0] = args;
10582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10585 }
10586 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 (arg1)->Init();
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = SWIG_Py_Void();
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj = 0;
10602 wxTextAttr *arg1 = 0 ;
10603 wxTextAttr *arg2 = 0 ;
10604 wxTextAttr result;
10605 void *argp1 = 0 ;
10606 int res1 = 0 ;
10607 void *argp2 = 0 ;
10608 int res2 = 0 ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 char * kwnames[] = {
10612 (char *) "base",(char *) "overlay", NULL
10613 };
10614
10615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10616 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10617 if (!SWIG_IsOK(res1)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10619 }
10620 if (!argp1) {
10621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10622 }
10623 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10625 if (!SWIG_IsOK(res2)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10627 }
10628 if (!argp2) {
10629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10630 }
10631 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj = 0;
10647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10648 wxColour *arg2 = 0 ;
10649 void *argp1 = 0 ;
10650 int res1 = 0 ;
10651 wxColour temp2 ;
10652 PyObject * obj0 = 0 ;
10653 PyObject * obj1 = 0 ;
10654 char * kwnames[] = {
10655 (char *) "self",(char *) "colText", NULL
10656 };
10657
10658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10660 if (!SWIG_IsOK(res1)) {
10661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10662 }
10663 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10664 {
10665 arg2 = &temp2;
10666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 (arg1)->SetTextColour((wxColour const &)*arg2);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_Py_Void();
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj = 0;
10683 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10684 wxColour *arg2 = 0 ;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 wxColour temp2 ;
10688 PyObject * obj0 = 0 ;
10689 PyObject * obj1 = 0 ;
10690 char * kwnames[] = {
10691 (char *) "self",(char *) "colBack", NULL
10692 };
10693
10694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10696 if (!SWIG_IsOK(res1)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10698 }
10699 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10700 {
10701 arg2 = &temp2;
10702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10703 }
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 resultobj = SWIG_Py_Void();
10711 return resultobj;
10712 fail:
10713 return NULL;
10714 }
10715
10716
10717 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj = 0;
10719 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10720 wxFont *arg2 = 0 ;
10721 long arg3 = (long) wxTEXT_ATTR_FONT ;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 void *argp2 = 0 ;
10725 int res2 = 0 ;
10726 long val3 ;
10727 int ecode3 = 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 PyObject * obj2 = 0 ;
10731 char * kwnames[] = {
10732 (char *) "self",(char *) "font",(char *) "flags", NULL
10733 };
10734
10735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10739 }
10740 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10742 if (!SWIG_IsOK(res2)) {
10743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10744 }
10745 if (!argp2) {
10746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10747 }
10748 arg2 = reinterpret_cast< wxFont * >(argp2);
10749 if (obj2) {
10750 ecode3 = SWIG_AsVal_long(obj2, &val3);
10751 if (!SWIG_IsOK(ecode3)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10753 }
10754 arg3 = static_cast< long >(val3);
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_Py_Void();
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj = 0;
10771 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10772 wxTextAttrAlignment arg2 ;
10773 void *argp1 = 0 ;
10774 int res1 = 0 ;
10775 int val2 ;
10776 int ecode2 = 0 ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char * kwnames[] = {
10780 (char *) "self",(char *) "alignment", NULL
10781 };
10782
10783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10785 if (!SWIG_IsOK(res1)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10787 }
10788 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10789 ecode2 = SWIG_AsVal_int(obj1, &val2);
10790 if (!SWIG_IsOK(ecode2)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10792 }
10793 arg2 = static_cast< wxTextAttrAlignment >(val2);
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetAlignment(arg2);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj = 0;
10809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10810 wxArrayInt *arg2 = 0 ;
10811 void *argp1 = 0 ;
10812 int res1 = 0 ;
10813 bool temp2 = false ;
10814 PyObject * obj0 = 0 ;
10815 PyObject * obj1 = 0 ;
10816 char * kwnames[] = {
10817 (char *) "self",(char *) "tabs", NULL
10818 };
10819
10820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10822 if (!SWIG_IsOK(res1)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10824 }
10825 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10826 {
10827 if (! PySequence_Check(obj1)) {
10828 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10829 SWIG_fail;
10830 }
10831 arg2 = new wxArrayInt;
10832 temp2 = true;
10833 int i, len=PySequence_Length(obj1);
10834 for (i=0; i<len; i++) {
10835 PyObject* item = PySequence_GetItem(obj1, i);
10836 PyObject* number = PyNumber_Int(item);
10837 arg2->Add(PyInt_AS_LONG(number));
10838 Py_DECREF(item);
10839 Py_DECREF(number);
10840 }
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 resultobj = SWIG_Py_Void();
10849 {
10850 if (temp2) delete arg2;
10851 }
10852 return resultobj;
10853 fail:
10854 {
10855 if (temp2) delete arg2;
10856 }
10857 return NULL;
10858 }
10859
10860
10861 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10862 PyObject *resultobj = 0;
10863 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10864 int arg2 ;
10865 int arg3 = (int) 0 ;
10866 void *argp1 = 0 ;
10867 int res1 = 0 ;
10868 int val2 ;
10869 int ecode2 = 0 ;
10870 int val3 ;
10871 int ecode3 = 0 ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 PyObject * obj2 = 0 ;
10875 char * kwnames[] = {
10876 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10877 };
10878
10879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10881 if (!SWIG_IsOK(res1)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10883 }
10884 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10885 ecode2 = SWIG_AsVal_int(obj1, &val2);
10886 if (!SWIG_IsOK(ecode2)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10888 }
10889 arg2 = static_cast< int >(val2);
10890 if (obj2) {
10891 ecode3 = SWIG_AsVal_int(obj2, &val3);
10892 if (!SWIG_IsOK(ecode3)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10894 }
10895 arg3 = static_cast< int >(val3);
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->SetLeftIndent(arg2,arg3);
10900 wxPyEndAllowThreads(__tstate);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 resultobj = SWIG_Py_Void();
10904 return resultobj;
10905 fail:
10906 return NULL;
10907 }
10908
10909
10910 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10911 PyObject *resultobj = 0;
10912 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10913 int arg2 ;
10914 void *argp1 = 0 ;
10915 int res1 = 0 ;
10916 int val2 ;
10917 int ecode2 = 0 ;
10918 PyObject * obj0 = 0 ;
10919 PyObject * obj1 = 0 ;
10920 char * kwnames[] = {
10921 (char *) "self",(char *) "indent", NULL
10922 };
10923
10924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10926 if (!SWIG_IsOK(res1)) {
10927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10928 }
10929 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10930 ecode2 = SWIG_AsVal_int(obj1, &val2);
10931 if (!SWIG_IsOK(ecode2)) {
10932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10933 }
10934 arg2 = static_cast< int >(val2);
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->SetRightIndent(arg2);
10938 wxPyEndAllowThreads(__tstate);
10939 if (PyErr_Occurred()) SWIG_fail;
10940 }
10941 resultobj = SWIG_Py_Void();
10942 return resultobj;
10943 fail:
10944 return NULL;
10945 }
10946
10947
10948 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj = 0;
10950 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10951 long arg2 ;
10952 void *argp1 = 0 ;
10953 int res1 = 0 ;
10954 long val2 ;
10955 int ecode2 = 0 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 char * kwnames[] = {
10959 (char *) "self",(char *) "flags", NULL
10960 };
10961
10962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10964 if (!SWIG_IsOK(res1)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10966 }
10967 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10968 ecode2 = SWIG_AsVal_long(obj1, &val2);
10969 if (!SWIG_IsOK(ecode2)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10971 }
10972 arg2 = static_cast< long >(val2);
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetFlags(arg2);
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 resultobj = SWIG_Py_Void();
10980 return resultobj;
10981 fail:
10982 return NULL;
10983 }
10984
10985
10986 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10987 PyObject *resultobj = 0;
10988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10989 bool result;
10990 void *argp1 = 0 ;
10991 int res1 = 0 ;
10992 PyObject *swig_obj[1] ;
10993
10994 if (!args) SWIG_fail;
10995 swig_obj[0] = args;
10996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10997 if (!SWIG_IsOK(res1)) {
10998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10999 }
11000 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11001 {
11002 PyThreadState* __tstate = wxPyBeginAllowThreads();
11003 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 {
11008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11009 }
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11017 PyObject *resultobj = 0;
11018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11019 bool result;
11020 void *argp1 = 0 ;
11021 int res1 = 0 ;
11022 PyObject *swig_obj[1] ;
11023
11024 if (!args) SWIG_fail;
11025 swig_obj[0] = args;
11026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11027 if (!SWIG_IsOK(res1)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11029 }
11030 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 {
11038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11039 }
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11047 PyObject *resultobj = 0;
11048 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11049 bool result;
11050 void *argp1 = 0 ;
11051 int res1 = 0 ;
11052 PyObject *swig_obj[1] ;
11053
11054 if (!args) SWIG_fail;
11055 swig_obj[0] = args;
11056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11057 if (!SWIG_IsOK(res1)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11059 }
11060 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11077 PyObject *resultobj = 0;
11078 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11079 bool result;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 PyObject *swig_obj[1] ;
11083
11084 if (!args) SWIG_fail;
11085 swig_obj[0] = args;
11086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11087 if (!SWIG_IsOK(res1)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11089 }
11090 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 {
11098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11099 }
11100 return resultobj;
11101 fail:
11102 return NULL;
11103 }
11104
11105
11106 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11107 PyObject *resultobj = 0;
11108 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11109 bool result;
11110 void *argp1 = 0 ;
11111 int res1 = 0 ;
11112 PyObject *swig_obj[1] ;
11113
11114 if (!args) SWIG_fail;
11115 swig_obj[0] = args;
11116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11117 if (!SWIG_IsOK(res1)) {
11118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11119 }
11120 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 {
11128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11129 }
11130 return resultobj;
11131 fail:
11132 return NULL;
11133 }
11134
11135
11136 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11137 PyObject *resultobj = 0;
11138 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11139 bool result;
11140 void *argp1 = 0 ;
11141 int res1 = 0 ;
11142 PyObject *swig_obj[1] ;
11143
11144 if (!args) SWIG_fail;
11145 swig_obj[0] = args;
11146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11147 if (!SWIG_IsOK(res1)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11149 }
11150 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11167 PyObject *resultobj = 0;
11168 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11169 bool result;
11170 void *argp1 = 0 ;
11171 int res1 = 0 ;
11172 PyObject *swig_obj[1] ;
11173
11174 if (!args) SWIG_fail;
11175 swig_obj[0] = args;
11176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11177 if (!SWIG_IsOK(res1)) {
11178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11179 }
11180 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 {
11188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11189 }
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj = 0;
11198 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11199 long arg2 ;
11200 bool result;
11201 void *argp1 = 0 ;
11202 int res1 = 0 ;
11203 long val2 ;
11204 int ecode2 = 0 ;
11205 PyObject * obj0 = 0 ;
11206 PyObject * obj1 = 0 ;
11207 char * kwnames[] = {
11208 (char *) "self",(char *) "flag", NULL
11209 };
11210
11211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11213 if (!SWIG_IsOK(res1)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11215 }
11216 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11217 ecode2 = SWIG_AsVal_long(obj1, &val2);
11218 if (!SWIG_IsOK(ecode2)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11220 }
11221 arg2 = static_cast< long >(val2);
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11238 PyObject *resultobj = 0;
11239 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11240 wxColour *result = 0 ;
11241 void *argp1 = 0 ;
11242 int res1 = 0 ;
11243 PyObject *swig_obj[1] ;
11244
11245 if (!args) SWIG_fail;
11246 swig_obj[0] = args;
11247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11248 if (!SWIG_IsOK(res1)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11250 }
11251 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 {
11255 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11256 result = (wxColour *) &_result_ref;
11257 }
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11262 return resultobj;
11263 fail:
11264 return NULL;
11265 }
11266
11267
11268 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11269 PyObject *resultobj = 0;
11270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11271 wxColour *result = 0 ;
11272 void *argp1 = 0 ;
11273 int res1 = 0 ;
11274 PyObject *swig_obj[1] ;
11275
11276 if (!args) SWIG_fail;
11277 swig_obj[0] = args;
11278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11279 if (!SWIG_IsOK(res1)) {
11280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11281 }
11282 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 {
11286 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11287 result = (wxColour *) &_result_ref;
11288 }
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11300 PyObject *resultobj = 0;
11301 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11302 wxFont *result = 0 ;
11303 void *argp1 = 0 ;
11304 int res1 = 0 ;
11305 PyObject *swig_obj[1] ;
11306
11307 if (!args) SWIG_fail;
11308 swig_obj[0] = args;
11309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11310 if (!SWIG_IsOK(res1)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11312 }
11313 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 {
11317 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11318 result = (wxFont *) &_result_ref;
11319 }
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 {
11324 wxFont* resultptr = new wxFont(*result);
11325 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11334 PyObject *resultobj = 0;
11335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11336 wxTextAttrAlignment result;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject *swig_obj[1] ;
11340
11341 if (!args) SWIG_fail;
11342 swig_obj[0] = args;
11343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11346 }
11347 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 resultobj = SWIG_From_int(static_cast< int >(result));
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11362 PyObject *resultobj = 0;
11363 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11364 wxArrayInt *result = 0 ;
11365 void *argp1 = 0 ;
11366 int res1 = 0 ;
11367 PyObject *swig_obj[1] ;
11368
11369 if (!args) SWIG_fail;
11370 swig_obj[0] = args;
11371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11372 if (!SWIG_IsOK(res1)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11374 }
11375 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 {
11379 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11380 result = (wxArrayInt *) &_result_ref;
11381 }
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 {
11386 resultobj = PyList_New(0);
11387 size_t idx;
11388 for (idx = 0; idx < result->GetCount(); idx += 1) {
11389 PyObject* val = PyInt_FromLong( result->Item(idx) );
11390 PyList_Append(resultobj, val);
11391 Py_DECREF(val);
11392 }
11393 }
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11403 long result;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 }
11414 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_From_long(static_cast< long >(result));
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11431 long result;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 PyObject *swig_obj[1] ;
11435
11436 if (!args) SWIG_fail;
11437 swig_obj[0] = args;
11438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 }
11442 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_From_long(static_cast< long >(result));
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11457 PyObject *resultobj = 0;
11458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11459 long result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 PyObject *swig_obj[1] ;
11463
11464 if (!args) SWIG_fail;
11465 swig_obj[0] = args;
11466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11467 if (!SWIG_IsOK(res1)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 }
11470 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = SWIG_From_long(static_cast< long >(result));
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11485 PyObject *resultobj = 0;
11486 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11487 long result;
11488 void *argp1 = 0 ;
11489 int res1 = 0 ;
11490 PyObject *swig_obj[1] ;
11491
11492 if (!args) SWIG_fail;
11493 swig_obj[0] = args;
11494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11495 if (!SWIG_IsOK(res1)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11497 }
11498 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 resultobj = SWIG_From_long(static_cast< long >(result));
11506 return resultobj;
11507 fail:
11508 return NULL;
11509 }
11510
11511
11512 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11513 PyObject *resultobj = 0;
11514 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11515 bool result;
11516 void *argp1 = 0 ;
11517 int res1 = 0 ;
11518 PyObject *swig_obj[1] ;
11519
11520 if (!args) SWIG_fail;
11521 swig_obj[0] = args;
11522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11523 if (!SWIG_IsOK(res1)) {
11524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11525 }
11526 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 {
11534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11535 }
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj = 0;
11544 wxTextAttr *arg1 = 0 ;
11545 wxTextAttr *arg2 = 0 ;
11546 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11547 wxTextAttr result;
11548 void *argp1 = 0 ;
11549 int res1 = 0 ;
11550 void *argp2 = 0 ;
11551 int res2 = 0 ;
11552 void *argp3 = 0 ;
11553 int res3 = 0 ;
11554 PyObject * obj0 = 0 ;
11555 PyObject * obj1 = 0 ;
11556 PyObject * obj2 = 0 ;
11557 char * kwnames[] = {
11558 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11559 };
11560
11561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11562 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11563 if (!SWIG_IsOK(res1)) {
11564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11565 }
11566 if (!argp1) {
11567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11568 }
11569 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11570 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11571 if (!SWIG_IsOK(res2)) {
11572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11573 }
11574 if (!argp2) {
11575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11576 }
11577 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11578 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11579 if (!SWIG_IsOK(res3)) {
11580 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11581 }
11582 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11597 PyObject *obj;
11598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11599 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11600 return SWIG_Py_Void();
11601 }
11602
11603 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11604 return SWIG_Python_InitShadowInstance(args);
11605 }
11606
11607 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj = 0;
11609 wxWindow *arg1 = (wxWindow *) 0 ;
11610 int arg2 = (int) -1 ;
11611 wxString const &arg3_defvalue = wxPyEmptyString ;
11612 wxString *arg3 = (wxString *) &arg3_defvalue ;
11613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11615 wxSize const &arg5_defvalue = wxDefaultSize ;
11616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11617 long arg6 = (long) 0 ;
11618 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11619 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11620 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11621 wxString *arg8 = (wxString *) &arg8_defvalue ;
11622 wxTextCtrl *result = 0 ;
11623 void *argp1 = 0 ;
11624 int res1 = 0 ;
11625 int val2 ;
11626 int ecode2 = 0 ;
11627 bool temp3 = false ;
11628 wxPoint temp4 ;
11629 wxSize temp5 ;
11630 long val6 ;
11631 int ecode6 = 0 ;
11632 void *argp7 = 0 ;
11633 int res7 = 0 ;
11634 bool temp8 = false ;
11635 PyObject * obj0 = 0 ;
11636 PyObject * obj1 = 0 ;
11637 PyObject * obj2 = 0 ;
11638 PyObject * obj3 = 0 ;
11639 PyObject * obj4 = 0 ;
11640 PyObject * obj5 = 0 ;
11641 PyObject * obj6 = 0 ;
11642 PyObject * obj7 = 0 ;
11643 char * kwnames[] = {
11644 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11645 };
11646
11647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11649 if (!SWIG_IsOK(res1)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11651 }
11652 arg1 = reinterpret_cast< wxWindow * >(argp1);
11653 if (obj1) {
11654 ecode2 = SWIG_AsVal_int(obj1, &val2);
11655 if (!SWIG_IsOK(ecode2)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11657 }
11658 arg2 = static_cast< int >(val2);
11659 }
11660 if (obj2) {
11661 {
11662 arg3 = wxString_in_helper(obj2);
11663 if (arg3 == NULL) SWIG_fail;
11664 temp3 = true;
11665 }
11666 }
11667 if (obj3) {
11668 {
11669 arg4 = &temp4;
11670 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11671 }
11672 }
11673 if (obj4) {
11674 {
11675 arg5 = &temp5;
11676 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11677 }
11678 }
11679 if (obj5) {
11680 ecode6 = SWIG_AsVal_long(obj5, &val6);
11681 if (!SWIG_IsOK(ecode6)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11683 }
11684 arg6 = static_cast< long >(val6);
11685 }
11686 if (obj6) {
11687 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11688 if (!SWIG_IsOK(res7)) {
11689 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11690 }
11691 if (!argp7) {
11692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11693 }
11694 arg7 = reinterpret_cast< wxValidator * >(argp7);
11695 }
11696 if (obj7) {
11697 {
11698 arg8 = wxString_in_helper(obj7);
11699 if (arg8 == NULL) SWIG_fail;
11700 temp8 = true;
11701 }
11702 }
11703 {
11704 if (!wxPyCheckForApp()) SWIG_fail;
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11711 {
11712 if (temp3)
11713 delete arg3;
11714 }
11715 {
11716 if (temp8)
11717 delete arg8;
11718 }
11719 return resultobj;
11720 fail:
11721 {
11722 if (temp3)
11723 delete arg3;
11724 }
11725 {
11726 if (temp8)
11727 delete arg8;
11728 }
11729 return NULL;
11730 }
11731
11732
11733 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11734 PyObject *resultobj = 0;
11735 wxTextCtrl *result = 0 ;
11736
11737 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11738 {
11739 if (!wxPyCheckForApp()) SWIG_fail;
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxTextCtrl *)new wxTextCtrl();
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj = 0;
11754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11755 wxWindow *arg2 = (wxWindow *) 0 ;
11756 int arg3 = (int) -1 ;
11757 wxString const &arg4_defvalue = wxPyEmptyString ;
11758 wxString *arg4 = (wxString *) &arg4_defvalue ;
11759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11761 wxSize const &arg6_defvalue = wxDefaultSize ;
11762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11763 long arg7 = (long) 0 ;
11764 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11765 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11766 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11767 wxString *arg9 = (wxString *) &arg9_defvalue ;
11768 bool result;
11769 void *argp1 = 0 ;
11770 int res1 = 0 ;
11771 void *argp2 = 0 ;
11772 int res2 = 0 ;
11773 int val3 ;
11774 int ecode3 = 0 ;
11775 bool temp4 = false ;
11776 wxPoint temp5 ;
11777 wxSize temp6 ;
11778 long val7 ;
11779 int ecode7 = 0 ;
11780 void *argp8 = 0 ;
11781 int res8 = 0 ;
11782 bool temp9 = false ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 PyObject * obj3 = 0 ;
11787 PyObject * obj4 = 0 ;
11788 PyObject * obj5 = 0 ;
11789 PyObject * obj6 = 0 ;
11790 PyObject * obj7 = 0 ;
11791 PyObject * obj8 = 0 ;
11792 char * kwnames[] = {
11793 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11794 };
11795
11796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11798 if (!SWIG_IsOK(res1)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11800 }
11801 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11802 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11803 if (!SWIG_IsOK(res2)) {
11804 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11805 }
11806 arg2 = reinterpret_cast< wxWindow * >(argp2);
11807 if (obj2) {
11808 ecode3 = SWIG_AsVal_int(obj2, &val3);
11809 if (!SWIG_IsOK(ecode3)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11811 }
11812 arg3 = static_cast< int >(val3);
11813 }
11814 if (obj3) {
11815 {
11816 arg4 = wxString_in_helper(obj3);
11817 if (arg4 == NULL) SWIG_fail;
11818 temp4 = true;
11819 }
11820 }
11821 if (obj4) {
11822 {
11823 arg5 = &temp5;
11824 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11825 }
11826 }
11827 if (obj5) {
11828 {
11829 arg6 = &temp6;
11830 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11831 }
11832 }
11833 if (obj6) {
11834 ecode7 = SWIG_AsVal_long(obj6, &val7);
11835 if (!SWIG_IsOK(ecode7)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11837 }
11838 arg7 = static_cast< long >(val7);
11839 }
11840 if (obj7) {
11841 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11842 if (!SWIG_IsOK(res8)) {
11843 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11844 }
11845 if (!argp8) {
11846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11847 }
11848 arg8 = reinterpret_cast< wxValidator * >(argp8);
11849 }
11850 if (obj8) {
11851 {
11852 arg9 = wxString_in_helper(obj8);
11853 if (arg9 == NULL) SWIG_fail;
11854 temp9 = true;
11855 }
11856 }
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 {
11864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11865 }
11866 {
11867 if (temp4)
11868 delete arg4;
11869 }
11870 {
11871 if (temp9)
11872 delete arg9;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp4)
11878 delete arg4;
11879 }
11880 {
11881 if (temp9)
11882 delete arg9;
11883 }
11884 return NULL;
11885 }
11886
11887
11888 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11889 PyObject *resultobj = 0;
11890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11891 wxString result;
11892 void *argp1 = 0 ;
11893 int res1 = 0 ;
11894 PyObject *swig_obj[1] ;
11895
11896 if (!args) SWIG_fail;
11897 swig_obj[0] = args;
11898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11899 if (!SWIG_IsOK(res1)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11901 }
11902 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 result = ((wxTextCtrl const *)arg1)->GetValue();
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
11910 #if wxUSE_UNICODE
11911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11912 #else
11913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11914 #endif
11915 }
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11925 wxString *arg2 = 0 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 bool temp2 = false ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "value", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11939 }
11940 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11941 {
11942 arg2 = wxString_in_helper(obj1);
11943 if (arg2 == NULL) SWIG_fail;
11944 temp2 = true;
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetValue((wxString const &)*arg2);
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_Py_Void();
11953 {
11954 if (temp2)
11955 delete arg2;
11956 }
11957 return resultobj;
11958 fail:
11959 {
11960 if (temp2)
11961 delete arg2;
11962 }
11963 return NULL;
11964 }
11965
11966
11967 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj = 0;
11969 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11970 long arg2 ;
11971 long arg3 ;
11972 wxString result;
11973 void *argp1 = 0 ;
11974 int res1 = 0 ;
11975 long val2 ;
11976 int ecode2 = 0 ;
11977 long val3 ;
11978 int ecode3 = 0 ;
11979 PyObject * obj0 = 0 ;
11980 PyObject * obj1 = 0 ;
11981 PyObject * obj2 = 0 ;
11982 char * kwnames[] = {
11983 (char *) "self",(char *) "from",(char *) "to", NULL
11984 };
11985
11986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11988 if (!SWIG_IsOK(res1)) {
11989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11990 }
11991 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11992 ecode2 = SWIG_AsVal_long(obj1, &val2);
11993 if (!SWIG_IsOK(ecode2)) {
11994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11995 }
11996 arg2 = static_cast< long >(val2);
11997 ecode3 = SWIG_AsVal_long(obj2, &val3);
11998 if (!SWIG_IsOK(ecode3)) {
11999 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12000 }
12001 arg3 = static_cast< long >(val3);
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 #if wxUSE_UNICODE
12010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12011 #else
12012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12013 #endif
12014 }
12015 return resultobj;
12016 fail:
12017 return NULL;
12018 }
12019
12020
12021 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12022 PyObject *resultobj = 0;
12023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12024 long arg2 ;
12025 int result;
12026 void *argp1 = 0 ;
12027 int res1 = 0 ;
12028 long val2 ;
12029 int ecode2 = 0 ;
12030 PyObject * obj0 = 0 ;
12031 PyObject * obj1 = 0 ;
12032 char * kwnames[] = {
12033 (char *) "self",(char *) "lineNo", NULL
12034 };
12035
12036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12038 if (!SWIG_IsOK(res1)) {
12039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12040 }
12041 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12042 ecode2 = SWIG_AsVal_long(obj1, &val2);
12043 if (!SWIG_IsOK(ecode2)) {
12044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12045 }
12046 arg2 = static_cast< long >(val2);
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_From_int(static_cast< int >(result));
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = 0;
12062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12063 long arg2 ;
12064 wxString result;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 long val2 ;
12068 int ecode2 = 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char * kwnames[] = {
12072 (char *) "self",(char *) "lineNo", NULL
12073 };
12074
12075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12077 if (!SWIG_IsOK(res1)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12079 }
12080 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12081 ecode2 = SWIG_AsVal_long(obj1, &val2);
12082 if (!SWIG_IsOK(ecode2)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12084 }
12085 arg2 = static_cast< long >(val2);
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 {
12093 #if wxUSE_UNICODE
12094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12095 #else
12096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12097 #endif
12098 }
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12106 PyObject *resultobj = 0;
12107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12108 int result;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 PyObject *swig_obj[1] ;
12112
12113 if (!args) SWIG_fail;
12114 swig_obj[0] = args;
12115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12116 if (!SWIG_IsOK(res1)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12118 }
12119 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
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_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12134 PyObject *resultobj = 0;
12135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12136 bool result;
12137 void *argp1 = 0 ;
12138 int res1 = 0 ;
12139 PyObject *swig_obj[1] ;
12140
12141 if (!args) SWIG_fail;
12142 swig_obj[0] = args;
12143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12144 if (!SWIG_IsOK(res1)) {
12145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12146 }
12147 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 {
12155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12156 }
12157 return resultobj;
12158 fail:
12159 return NULL;
12160 }
12161
12162
12163 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12164 PyObject *resultobj = 0;
12165 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12166 bool result;
12167 void *argp1 = 0 ;
12168 int res1 = 0 ;
12169 PyObject *swig_obj[1] ;
12170
12171 if (!args) SWIG_fail;
12172 swig_obj[0] = args;
12173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12174 if (!SWIG_IsOK(res1)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12176 }
12177 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12178 {
12179 PyThreadState* __tstate = wxPyBeginAllowThreads();
12180 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12186 }
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12194 PyObject *resultobj = 0;
12195 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12196 bool result;
12197 void *argp1 = 0 ;
12198 int res1 = 0 ;
12199 PyObject *swig_obj[1] ;
12200
12201 if (!args) SWIG_fail;
12202 swig_obj[0] = args;
12203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12204 if (!SWIG_IsOK(res1)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12206 }
12207 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12216 }
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12224 PyObject *resultobj = 0;
12225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12226 bool result;
12227 void *argp1 = 0 ;
12228 int res1 = 0 ;
12229 PyObject *swig_obj[1] ;
12230
12231 if (!args) SWIG_fail;
12232 swig_obj[0] = args;
12233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12234 if (!SWIG_IsOK(res1)) {
12235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12236 }
12237 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 {
12245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12246 }
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12254 PyObject *resultobj = 0;
12255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12256 long *arg2 = (long *) 0 ;
12257 long *arg3 = (long *) 0 ;
12258 void *argp1 = 0 ;
12259 int res1 = 0 ;
12260 long temp2 ;
12261 int res2 = SWIG_TMPOBJ ;
12262 long temp3 ;
12263 int res3 = SWIG_TMPOBJ ;
12264 PyObject *swig_obj[1] ;
12265
12266 arg2 = &temp2;
12267 arg3 = &temp3;
12268 if (!args) SWIG_fail;
12269 swig_obj[0] = args;
12270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12271 if (!SWIG_IsOK(res1)) {
12272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12273 }
12274 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 resultobj = SWIG_Py_Void();
12282 if (SWIG_IsTmpObj(res2)) {
12283 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12284 } else {
12285 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12286 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12287 }
12288 if (SWIG_IsTmpObj(res3)) {
12289 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12290 } else {
12291 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12292 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12293 }
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *resultobj = 0;
12302 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12303 wxString result;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 PyObject *swig_obj[1] ;
12307
12308 if (!args) SWIG_fail;
12309 swig_obj[0] = args;
12310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12313 }
12314 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 {
12322 #if wxUSE_UNICODE
12323 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12324 #else
12325 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12326 #endif
12327 }
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12335 PyObject *resultobj = 0;
12336 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12337 void *argp1 = 0 ;
12338 int res1 = 0 ;
12339 PyObject *swig_obj[1] ;
12340
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_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12346 }
12347 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 (arg1)->Clear();
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
12354 resultobj = SWIG_Py_Void();
12355 return resultobj;
12356 fail:
12357 return NULL;
12358 }
12359
12360
12361 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12362 PyObject *resultobj = 0;
12363 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12364 long arg2 ;
12365 long arg3 ;
12366 wxString *arg4 = 0 ;
12367 void *argp1 = 0 ;
12368 int res1 = 0 ;
12369 long val2 ;
12370 int ecode2 = 0 ;
12371 long val3 ;
12372 int ecode3 = 0 ;
12373 bool temp4 = false ;
12374 PyObject * obj0 = 0 ;
12375 PyObject * obj1 = 0 ;
12376 PyObject * obj2 = 0 ;
12377 PyObject * obj3 = 0 ;
12378 char * kwnames[] = {
12379 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12380 };
12381
12382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12386 }
12387 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12388 ecode2 = SWIG_AsVal_long(obj1, &val2);
12389 if (!SWIG_IsOK(ecode2)) {
12390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12391 }
12392 arg2 = static_cast< long >(val2);
12393 ecode3 = SWIG_AsVal_long(obj2, &val3);
12394 if (!SWIG_IsOK(ecode3)) {
12395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12396 }
12397 arg3 = static_cast< long >(val3);
12398 {
12399 arg4 = wxString_in_helper(obj3);
12400 if (arg4 == NULL) SWIG_fail;
12401 temp4 = true;
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 resultobj = SWIG_Py_Void();
12410 {
12411 if (temp4)
12412 delete arg4;
12413 }
12414 return resultobj;
12415 fail:
12416 {
12417 if (temp4)
12418 delete arg4;
12419 }
12420 return NULL;
12421 }
12422
12423
12424 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj = 0;
12426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12427 long arg2 ;
12428 long arg3 ;
12429 void *argp1 = 0 ;
12430 int res1 = 0 ;
12431 long val2 ;
12432 int ecode2 = 0 ;
12433 long val3 ;
12434 int ecode3 = 0 ;
12435 PyObject * obj0 = 0 ;
12436 PyObject * obj1 = 0 ;
12437 PyObject * obj2 = 0 ;
12438 char * kwnames[] = {
12439 (char *) "self",(char *) "from",(char *) "to", NULL
12440 };
12441
12442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12444 if (!SWIG_IsOK(res1)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12446 }
12447 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12448 ecode2 = SWIG_AsVal_long(obj1, &val2);
12449 if (!SWIG_IsOK(ecode2)) {
12450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12451 }
12452 arg2 = static_cast< long >(val2);
12453 ecode3 = SWIG_AsVal_long(obj2, &val3);
12454 if (!SWIG_IsOK(ecode3)) {
12455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12456 }
12457 arg3 = static_cast< long >(val3);
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->Remove(arg2,arg3);
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_Py_Void();
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj = 0;
12473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12474 wxString *arg2 = 0 ;
12475 int arg3 = (int) wxTEXT_TYPE_ANY ;
12476 bool result;
12477 void *argp1 = 0 ;
12478 int res1 = 0 ;
12479 bool temp2 = false ;
12480 int val3 ;
12481 int ecode3 = 0 ;
12482 PyObject * obj0 = 0 ;
12483 PyObject * obj1 = 0 ;
12484 PyObject * obj2 = 0 ;
12485 char * kwnames[] = {
12486 (char *) "self",(char *) "file",(char *) "fileType", NULL
12487 };
12488
12489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12491 if (!SWIG_IsOK(res1)) {
12492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12493 }
12494 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12495 {
12496 arg2 = wxString_in_helper(obj1);
12497 if (arg2 == NULL) SWIG_fail;
12498 temp2 = true;
12499 }
12500 if (obj2) {
12501 ecode3 = SWIG_AsVal_int(obj2, &val3);
12502 if (!SWIG_IsOK(ecode3)) {
12503 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12504 }
12505 arg3 = static_cast< int >(val3);
12506 }
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 {
12514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12515 }
12516 {
12517 if (temp2)
12518 delete arg2;
12519 }
12520 return resultobj;
12521 fail:
12522 {
12523 if (temp2)
12524 delete arg2;
12525 }
12526 return NULL;
12527 }
12528
12529
12530 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj = 0;
12532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12533 wxString const &arg2_defvalue = wxPyEmptyString ;
12534 wxString *arg2 = (wxString *) &arg2_defvalue ;
12535 int arg3 = (int) wxTEXT_TYPE_ANY ;
12536 bool result;
12537 void *argp1 = 0 ;
12538 int res1 = 0 ;
12539 bool temp2 = false ;
12540 int val3 ;
12541 int ecode3 = 0 ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 PyObject * obj2 = 0 ;
12545 char * kwnames[] = {
12546 (char *) "self",(char *) "file",(char *) "fileType", NULL
12547 };
12548
12549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12551 if (!SWIG_IsOK(res1)) {
12552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12553 }
12554 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12555 if (obj1) {
12556 {
12557 arg2 = wxString_in_helper(obj1);
12558 if (arg2 == NULL) SWIG_fail;
12559 temp2 = true;
12560 }
12561 }
12562 if (obj2) {
12563 ecode3 = SWIG_AsVal_int(obj2, &val3);
12564 if (!SWIG_IsOK(ecode3)) {
12565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12566 }
12567 arg3 = static_cast< int >(val3);
12568 }
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 {
12576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12577 }
12578 {
12579 if (temp2)
12580 delete arg2;
12581 }
12582 return resultobj;
12583 fail:
12584 {
12585 if (temp2)
12586 delete arg2;
12587 }
12588 return NULL;
12589 }
12590
12591
12592 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12593 PyObject *resultobj = 0;
12594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12595 void *argp1 = 0 ;
12596 int res1 = 0 ;
12597 PyObject *swig_obj[1] ;
12598
12599 if (!args) SWIG_fail;
12600 swig_obj[0] = args;
12601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12602 if (!SWIG_IsOK(res1)) {
12603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12604 }
12605 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->MarkDirty();
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_Py_Void();
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12620 PyObject *resultobj = 0;
12621 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12622 void *argp1 = 0 ;
12623 int res1 = 0 ;
12624 PyObject *swig_obj[1] ;
12625
12626 if (!args) SWIG_fail;
12627 swig_obj[0] = args;
12628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12629 if (!SWIG_IsOK(res1)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12631 }
12632 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->DiscardEdits();
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_Py_Void();
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12649 bool arg2 ;
12650 void *argp1 = 0 ;
12651 int res1 = 0 ;
12652 bool val2 ;
12653 int ecode2 = 0 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char * kwnames[] = {
12657 (char *) "self",(char *) "modified", NULL
12658 };
12659
12660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12662 if (!SWIG_IsOK(res1)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12664 }
12665 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12666 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12667 if (!SWIG_IsOK(ecode2)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12669 }
12670 arg2 = static_cast< bool >(val2);
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetModified(arg2);
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_Py_Void();
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj = 0;
12686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12687 unsigned long arg2 ;
12688 void *argp1 = 0 ;
12689 int res1 = 0 ;
12690 unsigned long val2 ;
12691 int ecode2 = 0 ;
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12694 char * kwnames[] = {
12695 (char *) "self",(char *) "len", NULL
12696 };
12697
12698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12700 if (!SWIG_IsOK(res1)) {
12701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12702 }
12703 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12704 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12705 if (!SWIG_IsOK(ecode2)) {
12706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12707 }
12708 arg2 = static_cast< unsigned long >(val2);
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 (arg1)->SetMaxLength(arg2);
12712 wxPyEndAllowThreads(__tstate);
12713 if (PyErr_Occurred()) SWIG_fail;
12714 }
12715 resultobj = SWIG_Py_Void();
12716 return resultobj;
12717 fail:
12718 return NULL;
12719 }
12720
12721
12722 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12723 PyObject *resultobj = 0;
12724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12725 wxString *arg2 = 0 ;
12726 void *argp1 = 0 ;
12727 int res1 = 0 ;
12728 bool temp2 = false ;
12729 PyObject * obj0 = 0 ;
12730 PyObject * obj1 = 0 ;
12731 char * kwnames[] = {
12732 (char *) "self",(char *) "text", NULL
12733 };
12734
12735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12737 if (!SWIG_IsOK(res1)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12739 }
12740 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12741 {
12742 arg2 = wxString_in_helper(obj1);
12743 if (arg2 == NULL) SWIG_fail;
12744 temp2 = true;
12745 }
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->WriteText((wxString const &)*arg2);
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 resultobj = SWIG_Py_Void();
12753 {
12754 if (temp2)
12755 delete arg2;
12756 }
12757 return resultobj;
12758 fail:
12759 {
12760 if (temp2)
12761 delete arg2;
12762 }
12763 return NULL;
12764 }
12765
12766
12767 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj = 0;
12769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12770 wxString *arg2 = 0 ;
12771 void *argp1 = 0 ;
12772 int res1 = 0 ;
12773 bool temp2 = false ;
12774 PyObject * obj0 = 0 ;
12775 PyObject * obj1 = 0 ;
12776 char * kwnames[] = {
12777 (char *) "self",(char *) "text", NULL
12778 };
12779
12780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12782 if (!SWIG_IsOK(res1)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12784 }
12785 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12786 {
12787 arg2 = wxString_in_helper(obj1);
12788 if (arg2 == NULL) SWIG_fail;
12789 temp2 = true;
12790 }
12791 {
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 (arg1)->AppendText((wxString const &)*arg2);
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 resultobj = SWIG_Py_Void();
12798 {
12799 if (temp2)
12800 delete arg2;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp2)
12806 delete arg2;
12807 }
12808 return NULL;
12809 }
12810
12811
12812 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj = 0;
12814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12815 wxKeyEvent *arg2 = 0 ;
12816 bool result;
12817 void *argp1 = 0 ;
12818 int res1 = 0 ;
12819 void *argp2 = 0 ;
12820 int res2 = 0 ;
12821 PyObject * obj0 = 0 ;
12822 PyObject * obj1 = 0 ;
12823 char * kwnames[] = {
12824 (char *) "self",(char *) "event", NULL
12825 };
12826
12827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12829 if (!SWIG_IsOK(res1)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12831 }
12832 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12834 if (!SWIG_IsOK(res2)) {
12835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12836 }
12837 if (!argp2) {
12838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12839 }
12840 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 {
12848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12849 }
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj = 0;
12858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12859 long arg2 ;
12860 long arg3 ;
12861 wxTextAttr *arg4 = 0 ;
12862 bool result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 long val2 ;
12866 int ecode2 = 0 ;
12867 long val3 ;
12868 int ecode3 = 0 ;
12869 void *argp4 = 0 ;
12870 int res4 = 0 ;
12871 PyObject * obj0 = 0 ;
12872 PyObject * obj1 = 0 ;
12873 PyObject * obj2 = 0 ;
12874 PyObject * obj3 = 0 ;
12875 char * kwnames[] = {
12876 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12877 };
12878
12879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12881 if (!SWIG_IsOK(res1)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12883 }
12884 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12885 ecode2 = SWIG_AsVal_long(obj1, &val2);
12886 if (!SWIG_IsOK(ecode2)) {
12887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12888 }
12889 arg2 = static_cast< long >(val2);
12890 ecode3 = SWIG_AsVal_long(obj2, &val3);
12891 if (!SWIG_IsOK(ecode3)) {
12892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12893 }
12894 arg3 = static_cast< long >(val3);
12895 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12896 if (!SWIG_IsOK(res4)) {
12897 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12898 }
12899 if (!argp4) {
12900 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12901 }
12902 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 {
12910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12911 }
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj = 0;
12920 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12921 long arg2 ;
12922 wxTextAttr *arg3 = 0 ;
12923 bool result;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 long val2 ;
12927 int ecode2 = 0 ;
12928 void *argp3 = 0 ;
12929 int res3 = 0 ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 PyObject * obj2 = 0 ;
12933 char * kwnames[] = {
12934 (char *) "self",(char *) "position",(char *) "style", NULL
12935 };
12936
12937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12939 if (!SWIG_IsOK(res1)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12941 }
12942 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12943 ecode2 = SWIG_AsVal_long(obj1, &val2);
12944 if (!SWIG_IsOK(ecode2)) {
12945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12946 }
12947 arg2 = static_cast< long >(val2);
12948 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12949 if (!SWIG_IsOK(res3)) {
12950 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12951 }
12952 if (!argp3) {
12953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12954 }
12955 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 {
12963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12964 }
12965 return resultobj;
12966 fail:
12967 return NULL;
12968 }
12969
12970
12971 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj = 0;
12973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12974 wxTextAttr *arg2 = 0 ;
12975 bool result;
12976 void *argp1 = 0 ;
12977 int res1 = 0 ;
12978 void *argp2 = 0 ;
12979 int res2 = 0 ;
12980 PyObject * obj0 = 0 ;
12981 PyObject * obj1 = 0 ;
12982 char * kwnames[] = {
12983 (char *) "self",(char *) "style", NULL
12984 };
12985
12986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12988 if (!SWIG_IsOK(res1)) {
12989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12990 }
12991 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12992 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12993 if (!SWIG_IsOK(res2)) {
12994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12995 }
12996 if (!argp2) {
12997 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12998 }
12999 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 {
13007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13008 }
13009 return resultobj;
13010 fail:
13011 return NULL;
13012 }
13013
13014
13015 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13016 PyObject *resultobj = 0;
13017 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13018 wxTextAttr *result = 0 ;
13019 void *argp1 = 0 ;
13020 int res1 = 0 ;
13021 PyObject *swig_obj[1] ;
13022
13023 if (!args) SWIG_fail;
13024 swig_obj[0] = args;
13025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13026 if (!SWIG_IsOK(res1)) {
13027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13028 }
13029 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 {
13033 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13034 result = (wxTextAttr *) &_result_ref;
13035 }
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
13039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13040 return resultobj;
13041 fail:
13042 return NULL;
13043 }
13044
13045
13046 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13047 PyObject *resultobj = 0;
13048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13049 long arg2 ;
13050 long arg3 ;
13051 long result;
13052 void *argp1 = 0 ;
13053 int res1 = 0 ;
13054 long val2 ;
13055 int ecode2 = 0 ;
13056 long val3 ;
13057 int ecode3 = 0 ;
13058 PyObject * obj0 = 0 ;
13059 PyObject * obj1 = 0 ;
13060 PyObject * obj2 = 0 ;
13061 char * kwnames[] = {
13062 (char *) "self",(char *) "x",(char *) "y", NULL
13063 };
13064
13065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13067 if (!SWIG_IsOK(res1)) {
13068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13069 }
13070 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13071 ecode2 = SWIG_AsVal_long(obj1, &val2);
13072 if (!SWIG_IsOK(ecode2)) {
13073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13074 }
13075 arg2 = static_cast< long >(val2);
13076 ecode3 = SWIG_AsVal_long(obj2, &val3);
13077 if (!SWIG_IsOK(ecode3)) {
13078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13079 }
13080 arg3 = static_cast< long >(val3);
13081 {
13082 PyThreadState* __tstate = wxPyBeginAllowThreads();
13083 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
13087 resultobj = SWIG_From_long(static_cast< long >(result));
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj = 0;
13096 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13097 long arg2 ;
13098 long *arg3 = (long *) 0 ;
13099 long *arg4 = (long *) 0 ;
13100 void *argp1 = 0 ;
13101 int res1 = 0 ;
13102 long val2 ;
13103 int ecode2 = 0 ;
13104 long temp3 ;
13105 int res3 = SWIG_TMPOBJ ;
13106 long temp4 ;
13107 int res4 = SWIG_TMPOBJ ;
13108 PyObject * obj0 = 0 ;
13109 PyObject * obj1 = 0 ;
13110 char * kwnames[] = {
13111 (char *) "self",(char *) "pos", NULL
13112 };
13113
13114 arg3 = &temp3;
13115 arg4 = &temp4;
13116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13118 if (!SWIG_IsOK(res1)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13120 }
13121 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13122 ecode2 = SWIG_AsVal_long(obj1, &val2);
13123 if (!SWIG_IsOK(ecode2)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13125 }
13126 arg2 = static_cast< long >(val2);
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 resultobj = SWIG_Py_Void();
13134 if (SWIG_IsTmpObj(res3)) {
13135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13136 } else {
13137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13139 }
13140 if (SWIG_IsTmpObj(res4)) {
13141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13142 } else {
13143 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13144 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13145 }
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj = 0;
13154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13155 long arg2 ;
13156 void *argp1 = 0 ;
13157 int res1 = 0 ;
13158 long val2 ;
13159 int ecode2 = 0 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 char * kwnames[] = {
13163 (char *) "self",(char *) "pos", NULL
13164 };
13165
13166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13168 if (!SWIG_IsOK(res1)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13170 }
13171 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13172 ecode2 = SWIG_AsVal_long(obj1, &val2);
13173 if (!SWIG_IsOK(ecode2)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13175 }
13176 arg2 = static_cast< long >(val2);
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 (arg1)->ShowPosition(arg2);
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 resultobj = SWIG_Py_Void();
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj = 0;
13192 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13193 wxPoint *arg2 = 0 ;
13194 long *arg3 = (long *) 0 ;
13195 long *arg4 = (long *) 0 ;
13196 wxTextCtrlHitTestResult result;
13197 void *argp1 = 0 ;
13198 int res1 = 0 ;
13199 wxPoint temp2 ;
13200 long temp3 ;
13201 int res3 = SWIG_TMPOBJ ;
13202 long temp4 ;
13203 int res4 = SWIG_TMPOBJ ;
13204 PyObject * obj0 = 0 ;
13205 PyObject * obj1 = 0 ;
13206 char * kwnames[] = {
13207 (char *) "self",(char *) "pt", NULL
13208 };
13209
13210 arg3 = &temp3;
13211 arg4 = &temp4;
13212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13214 if (!SWIG_IsOK(res1)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13216 }
13217 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13218 {
13219 arg2 = &temp2;
13220 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13221 }
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 resultobj = SWIG_From_int(static_cast< int >(result));
13229 if (SWIG_IsTmpObj(res3)) {
13230 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13231 } else {
13232 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13233 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13234 }
13235 if (SWIG_IsTmpObj(res4)) {
13236 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13237 } else {
13238 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13239 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13240 }
13241 return resultobj;
13242 fail:
13243 return NULL;
13244 }
13245
13246
13247 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13248 PyObject *resultobj = 0;
13249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13250 wxPoint *arg2 = 0 ;
13251 long *arg3 = (long *) 0 ;
13252 wxTextCtrlHitTestResult result;
13253 void *argp1 = 0 ;
13254 int res1 = 0 ;
13255 wxPoint temp2 ;
13256 long temp3 ;
13257 int res3 = SWIG_TMPOBJ ;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char * kwnames[] = {
13261 (char *) "self",(char *) "pt", NULL
13262 };
13263
13264 arg3 = &temp3;
13265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13267 if (!SWIG_IsOK(res1)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13269 }
13270 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13271 {
13272 arg2 = &temp2;
13273 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13274 }
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 resultobj = SWIG_From_int(static_cast< int >(result));
13282 if (SWIG_IsTmpObj(res3)) {
13283 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13284 } else {
13285 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13286 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13287 }
13288 return resultobj;
13289 fail:
13290 return NULL;
13291 }
13292
13293
13294 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13295 PyObject *resultobj = 0;
13296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13297 void *argp1 = 0 ;
13298 int res1 = 0 ;
13299 PyObject *swig_obj[1] ;
13300
13301 if (!args) SWIG_fail;
13302 swig_obj[0] = args;
13303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13304 if (!SWIG_IsOK(res1)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13306 }
13307 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 (arg1)->Copy();
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 resultobj = SWIG_Py_Void();
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13322 PyObject *resultobj = 0;
13323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13324 void *argp1 = 0 ;
13325 int res1 = 0 ;
13326 PyObject *swig_obj[1] ;
13327
13328 if (!args) SWIG_fail;
13329 swig_obj[0] = args;
13330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13331 if (!SWIG_IsOK(res1)) {
13332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13333 }
13334 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13335 {
13336 PyThreadState* __tstate = wxPyBeginAllowThreads();
13337 (arg1)->Cut();
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
13341 resultobj = SWIG_Py_Void();
13342 return resultobj;
13343 fail:
13344 return NULL;
13345 }
13346
13347
13348 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13349 PyObject *resultobj = 0;
13350 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject *swig_obj[1] ;
13354
13355 if (!args) SWIG_fail;
13356 swig_obj[0] = args;
13357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13358 if (!SWIG_IsOK(res1)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13360 }
13361 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 (arg1)->Paste();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = SWIG_Py_Void();
13369 return resultobj;
13370 fail:
13371 return NULL;
13372 }
13373
13374
13375 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13376 PyObject *resultobj = 0;
13377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13378 bool result;
13379 void *argp1 = 0 ;
13380 int res1 = 0 ;
13381 PyObject *swig_obj[1] ;
13382
13383 if (!args) SWIG_fail;
13384 swig_obj[0] = args;
13385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13386 if (!SWIG_IsOK(res1)) {
13387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13388 }
13389 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13390 {
13391 PyThreadState* __tstate = wxPyBeginAllowThreads();
13392 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 {
13397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13398 }
13399 return resultobj;
13400 fail:
13401 return NULL;
13402 }
13403
13404
13405 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13406 PyObject *resultobj = 0;
13407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13408 bool result;
13409 void *argp1 = 0 ;
13410 int res1 = 0 ;
13411 PyObject *swig_obj[1] ;
13412
13413 if (!args) SWIG_fail;
13414 swig_obj[0] = args;
13415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13416 if (!SWIG_IsOK(res1)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13418 }
13419 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 {
13427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13428 }
13429 return resultobj;
13430 fail:
13431 return NULL;
13432 }
13433
13434
13435 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13436 PyObject *resultobj = 0;
13437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13438 bool result;
13439 void *argp1 = 0 ;
13440 int res1 = 0 ;
13441 PyObject *swig_obj[1] ;
13442
13443 if (!args) SWIG_fail;
13444 swig_obj[0] = args;
13445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13446 if (!SWIG_IsOK(res1)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13448 }
13449 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13453 wxPyEndAllowThreads(__tstate);
13454 if (PyErr_Occurred()) SWIG_fail;
13455 }
13456 {
13457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13458 }
13459 return resultobj;
13460 fail:
13461 return NULL;
13462 }
13463
13464
13465 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13466 PyObject *resultobj = 0;
13467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13468 void *argp1 = 0 ;
13469 int res1 = 0 ;
13470 PyObject *swig_obj[1] ;
13471
13472 if (!args) SWIG_fail;
13473 swig_obj[0] = args;
13474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13475 if (!SWIG_IsOK(res1)) {
13476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13477 }
13478 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 (arg1)->Undo();
13482 wxPyEndAllowThreads(__tstate);
13483 if (PyErr_Occurred()) SWIG_fail;
13484 }
13485 resultobj = SWIG_Py_Void();
13486 return resultobj;
13487 fail:
13488 return NULL;
13489 }
13490
13491
13492 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13493 PyObject *resultobj = 0;
13494 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13495 void *argp1 = 0 ;
13496 int res1 = 0 ;
13497 PyObject *swig_obj[1] ;
13498
13499 if (!args) SWIG_fail;
13500 swig_obj[0] = args;
13501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13502 if (!SWIG_IsOK(res1)) {
13503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13504 }
13505 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->Redo();
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_Py_Void();
13513 return resultobj;
13514 fail:
13515 return NULL;
13516 }
13517
13518
13519 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 PyObject *resultobj = 0;
13521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13522 bool result;
13523 void *argp1 = 0 ;
13524 int res1 = 0 ;
13525 PyObject *swig_obj[1] ;
13526
13527 if (!args) SWIG_fail;
13528 swig_obj[0] = args;
13529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13530 if (!SWIG_IsOK(res1)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13532 }
13533 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 {
13541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13542 }
13543 return resultobj;
13544 fail:
13545 return NULL;
13546 }
13547
13548
13549 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13550 PyObject *resultobj = 0;
13551 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13552 bool result;
13553 void *argp1 = 0 ;
13554 int res1 = 0 ;
13555 PyObject *swig_obj[1] ;
13556
13557 if (!args) SWIG_fail;
13558 swig_obj[0] = args;
13559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13560 if (!SWIG_IsOK(res1)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13562 }
13563 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 {
13571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13572 }
13573 return resultobj;
13574 fail:
13575 return NULL;
13576 }
13577
13578
13579 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13580 PyObject *resultobj = 0;
13581 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13582 long arg2 ;
13583 void *argp1 = 0 ;
13584 int res1 = 0 ;
13585 long val2 ;
13586 int ecode2 = 0 ;
13587 PyObject * obj0 = 0 ;
13588 PyObject * obj1 = 0 ;
13589 char * kwnames[] = {
13590 (char *) "self",(char *) "pos", NULL
13591 };
13592
13593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13595 if (!SWIG_IsOK(res1)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 }
13598 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13599 ecode2 = SWIG_AsVal_long(obj1, &val2);
13600 if (!SWIG_IsOK(ecode2)) {
13601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13602 }
13603 arg2 = static_cast< long >(val2);
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 (arg1)->SetInsertionPoint(arg2);
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 resultobj = SWIG_Py_Void();
13611 return resultobj;
13612 fail:
13613 return NULL;
13614 }
13615
13616
13617 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13618 PyObject *resultobj = 0;
13619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13620 void *argp1 = 0 ;
13621 int res1 = 0 ;
13622 PyObject *swig_obj[1] ;
13623
13624 if (!args) SWIG_fail;
13625 swig_obj[0] = args;
13626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13627 if (!SWIG_IsOK(res1)) {
13628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13629 }
13630 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 (arg1)->SetInsertionPointEnd();
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 resultobj = SWIG_Py_Void();
13638 return resultobj;
13639 fail:
13640 return NULL;
13641 }
13642
13643
13644 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13645 PyObject *resultobj = 0;
13646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13647 long result;
13648 void *argp1 = 0 ;
13649 int res1 = 0 ;
13650 PyObject *swig_obj[1] ;
13651
13652 if (!args) SWIG_fail;
13653 swig_obj[0] = args;
13654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13655 if (!SWIG_IsOK(res1)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13657 }
13658 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 resultobj = SWIG_From_long(static_cast< long >(result));
13666 return resultobj;
13667 fail:
13668 return NULL;
13669 }
13670
13671
13672 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13673 PyObject *resultobj = 0;
13674 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13675 long result;
13676 void *argp1 = 0 ;
13677 int res1 = 0 ;
13678 PyObject *swig_obj[1] ;
13679
13680 if (!args) SWIG_fail;
13681 swig_obj[0] = args;
13682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13683 if (!SWIG_IsOK(res1)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13685 }
13686 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13687 {
13688 PyThreadState* __tstate = wxPyBeginAllowThreads();
13689 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 resultobj = SWIG_From_long(static_cast< long >(result));
13694 return resultobj;
13695 fail:
13696 return NULL;
13697 }
13698
13699
13700 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13701 PyObject *resultobj = 0;
13702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13703 long arg2 ;
13704 long arg3 ;
13705 void *argp1 = 0 ;
13706 int res1 = 0 ;
13707 long val2 ;
13708 int ecode2 = 0 ;
13709 long val3 ;
13710 int ecode3 = 0 ;
13711 PyObject * obj0 = 0 ;
13712 PyObject * obj1 = 0 ;
13713 PyObject * obj2 = 0 ;
13714 char * kwnames[] = {
13715 (char *) "self",(char *) "from",(char *) "to", NULL
13716 };
13717
13718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13720 if (!SWIG_IsOK(res1)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13722 }
13723 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13724 ecode2 = SWIG_AsVal_long(obj1, &val2);
13725 if (!SWIG_IsOK(ecode2)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13727 }
13728 arg2 = static_cast< long >(val2);
13729 ecode3 = SWIG_AsVal_long(obj2, &val3);
13730 if (!SWIG_IsOK(ecode3)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13732 }
13733 arg3 = static_cast< long >(val3);
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->SetSelection(arg2,arg3);
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 resultobj = SWIG_Py_Void();
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13748 PyObject *resultobj = 0;
13749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13750 void *argp1 = 0 ;
13751 int res1 = 0 ;
13752 PyObject *swig_obj[1] ;
13753
13754 if (!args) SWIG_fail;
13755 swig_obj[0] = args;
13756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13757 if (!SWIG_IsOK(res1)) {
13758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13759 }
13760 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 (arg1)->SelectAll();
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 resultobj = SWIG_Py_Void();
13768 return resultobj;
13769 fail:
13770 return NULL;
13771 }
13772
13773
13774 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13775 PyObject *resultobj = 0;
13776 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13777 bool arg2 ;
13778 void *argp1 = 0 ;
13779 int res1 = 0 ;
13780 bool val2 ;
13781 int ecode2 = 0 ;
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj1 = 0 ;
13784 char * kwnames[] = {
13785 (char *) "self",(char *) "editable", NULL
13786 };
13787
13788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13792 }
13793 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13794 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13795 if (!SWIG_IsOK(ecode2)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13797 }
13798 arg2 = static_cast< bool >(val2);
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->SetEditable(arg2);
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj = 0;
13814 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13815 bool arg2 = (bool) true ;
13816 bool result;
13817 void *argp1 = 0 ;
13818 int res1 = 0 ;
13819 bool val2 ;
13820 int ecode2 = 0 ;
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 char * kwnames[] = {
13824 (char *) "self",(char *) "show", NULL
13825 };
13826
13827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13829 if (!SWIG_IsOK(res1)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13831 }
13832 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13833 if (obj1) {
13834 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13835 if (!SWIG_IsOK(ecode2)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13837 }
13838 arg2 = static_cast< bool >(val2);
13839 }
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (bool)(arg1)->ShowNativeCaret(arg2);
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 {
13847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13848 }
13849 return resultobj;
13850 fail:
13851 return NULL;
13852 }
13853
13854
13855 SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13856 PyObject *resultobj = 0;
13857 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13858 bool result;
13859 void *argp1 = 0 ;
13860 int res1 = 0 ;
13861 PyObject *swig_obj[1] ;
13862
13863 if (!args) SWIG_fail;
13864 swig_obj[0] = args;
13865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13866 if (!SWIG_IsOK(res1)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13868 }
13869 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13870 {
13871 PyThreadState* __tstate = wxPyBeginAllowThreads();
13872 result = (bool)(arg1)->HideNativeCaret();
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 {
13877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13878 }
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj = 0;
13887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13888 wxString *arg2 = 0 ;
13889 void *argp1 = 0 ;
13890 int res1 = 0 ;
13891 bool temp2 = false ;
13892 PyObject * obj0 = 0 ;
13893 PyObject * obj1 = 0 ;
13894 char * kwnames[] = {
13895 (char *) "self",(char *) "text", NULL
13896 };
13897
13898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13900 if (!SWIG_IsOK(res1)) {
13901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13902 }
13903 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13904 {
13905 arg2 = wxString_in_helper(obj1);
13906 if (arg2 == NULL) SWIG_fail;
13907 temp2 = true;
13908 }
13909 {
13910 PyThreadState* __tstate = wxPyBeginAllowThreads();
13911 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 resultobj = SWIG_Py_Void();
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return resultobj;
13921 fail:
13922 {
13923 if (temp2)
13924 delete arg2;
13925 }
13926 return NULL;
13927 }
13928
13929
13930 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj = 0;
13932 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13933 long arg2 ;
13934 long arg3 ;
13935 wxString result;
13936 void *argp1 = 0 ;
13937 int res1 = 0 ;
13938 long val2 ;
13939 int ecode2 = 0 ;
13940 long val3 ;
13941 int ecode3 = 0 ;
13942 PyObject * obj0 = 0 ;
13943 PyObject * obj1 = 0 ;
13944 PyObject * obj2 = 0 ;
13945 char * kwnames[] = {
13946 (char *) "self",(char *) "from",(char *) "to", NULL
13947 };
13948
13949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13951 if (!SWIG_IsOK(res1)) {
13952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13953 }
13954 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13955 ecode2 = SWIG_AsVal_long(obj1, &val2);
13956 if (!SWIG_IsOK(ecode2)) {
13957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13958 }
13959 arg2 = static_cast< long >(val2);
13960 ecode3 = SWIG_AsVal_long(obj2, &val3);
13961 if (!SWIG_IsOK(ecode3)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13963 }
13964 arg3 = static_cast< long >(val3);
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = wxTextCtrl_GetString(arg1,arg2,arg3);
13968 wxPyEndAllowThreads(__tstate);
13969 if (PyErr_Occurred()) SWIG_fail;
13970 }
13971 {
13972 #if wxUSE_UNICODE
13973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13974 #else
13975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13976 #endif
13977 }
13978 return resultobj;
13979 fail:
13980 return NULL;
13981 }
13982
13983
13984 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj = 0;
13986 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13987 SwigValueWrapper<wxVisualAttributes > result;
13988 int val1 ;
13989 int ecode1 = 0 ;
13990 PyObject * obj0 = 0 ;
13991 char * kwnames[] = {
13992 (char *) "variant", NULL
13993 };
13994
13995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13996 if (obj0) {
13997 ecode1 = SWIG_AsVal_int(obj0, &val1);
13998 if (!SWIG_IsOK(ecode1)) {
13999 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14000 }
14001 arg1 = static_cast< wxWindowVariant >(val1);
14002 }
14003 {
14004 if (!wxPyCheckForApp()) SWIG_fail;
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14018 PyObject *obj;
14019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14020 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14021 return SWIG_Py_Void();
14022 }
14023
14024 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14025 return SWIG_Python_InitShadowInstance(args);
14026 }
14027
14028 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj = 0;
14030 int arg1 ;
14031 wxMouseEvent *arg2 = 0 ;
14032 long arg3 ;
14033 long arg4 ;
14034 wxTextUrlEvent *result = 0 ;
14035 int val1 ;
14036 int ecode1 = 0 ;
14037 void *argp2 = 0 ;
14038 int res2 = 0 ;
14039 long val3 ;
14040 int ecode3 = 0 ;
14041 long val4 ;
14042 int ecode4 = 0 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj1 = 0 ;
14045 PyObject * obj2 = 0 ;
14046 PyObject * obj3 = 0 ;
14047 char * kwnames[] = {
14048 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14049 };
14050
14051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14052 ecode1 = SWIG_AsVal_int(obj0, &val1);
14053 if (!SWIG_IsOK(ecode1)) {
14054 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14055 }
14056 arg1 = static_cast< int >(val1);
14057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14058 if (!SWIG_IsOK(res2)) {
14059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14060 }
14061 if (!argp2) {
14062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14063 }
14064 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14065 ecode3 = SWIG_AsVal_long(obj2, &val3);
14066 if (!SWIG_IsOK(ecode3)) {
14067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14068 }
14069 arg3 = static_cast< long >(val3);
14070 ecode4 = SWIG_AsVal_long(obj3, &val4);
14071 if (!SWIG_IsOK(ecode4)) {
14072 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14073 }
14074 arg4 = static_cast< long >(val4);
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14082 return resultobj;
14083 fail:
14084 return NULL;
14085 }
14086
14087
14088 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14089 PyObject *resultobj = 0;
14090 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14091 wxMouseEvent *result = 0 ;
14092 void *argp1 = 0 ;
14093 int res1 = 0 ;
14094 PyObject *swig_obj[1] ;
14095
14096 if (!args) SWIG_fail;
14097 swig_obj[0] = args;
14098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14099 if (!SWIG_IsOK(res1)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14101 }
14102 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 {
14106 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14107 result = (wxMouseEvent *) &_result_ref;
14108 }
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14120 PyObject *resultobj = 0;
14121 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14122 long result;
14123 void *argp1 = 0 ;
14124 int res1 = 0 ;
14125 PyObject *swig_obj[1] ;
14126
14127 if (!args) SWIG_fail;
14128 swig_obj[0] = args;
14129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14130 if (!SWIG_IsOK(res1)) {
14131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14132 }
14133 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14137 wxPyEndAllowThreads(__tstate);
14138 if (PyErr_Occurred()) SWIG_fail;
14139 }
14140 resultobj = SWIG_From_long(static_cast< long >(result));
14141 return resultobj;
14142 fail:
14143 return NULL;
14144 }
14145
14146
14147 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14148 PyObject *resultobj = 0;
14149 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14150 long result;
14151 void *argp1 = 0 ;
14152 int res1 = 0 ;
14153 PyObject *swig_obj[1] ;
14154
14155 if (!args) SWIG_fail;
14156 swig_obj[0] = args;
14157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14158 if (!SWIG_IsOK(res1)) {
14159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14160 }
14161 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 resultobj = SWIG_From_long(static_cast< long >(result));
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14176 PyObject *obj;
14177 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14178 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14179 return SWIG_Py_Void();
14180 }
14181
14182 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14183 return SWIG_Python_InitShadowInstance(args);
14184 }
14185
14186 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14187 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14188 return 1;
14189 }
14190
14191
14192 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14193 PyObject *pyobj = 0;
14194
14195 {
14196 #if wxUSE_UNICODE
14197 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14198 #else
14199 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14200 #endif
14201 }
14202 return pyobj;
14203 }
14204
14205
14206 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14207 PyObject *resultobj = 0;
14208 wxWindow *arg1 = (wxWindow *) 0 ;
14209 int arg2 = (int) -1 ;
14210 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14211 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14212 wxSize const &arg4_defvalue = wxDefaultSize ;
14213 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14214 long arg5 = (long) wxSB_HORIZONTAL ;
14215 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14216 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14217 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14218 wxString *arg7 = (wxString *) &arg7_defvalue ;
14219 wxScrollBar *result = 0 ;
14220 void *argp1 = 0 ;
14221 int res1 = 0 ;
14222 int val2 ;
14223 int ecode2 = 0 ;
14224 wxPoint temp3 ;
14225 wxSize temp4 ;
14226 long val5 ;
14227 int ecode5 = 0 ;
14228 void *argp6 = 0 ;
14229 int res6 = 0 ;
14230 bool temp7 = false ;
14231 PyObject * obj0 = 0 ;
14232 PyObject * obj1 = 0 ;
14233 PyObject * obj2 = 0 ;
14234 PyObject * obj3 = 0 ;
14235 PyObject * obj4 = 0 ;
14236 PyObject * obj5 = 0 ;
14237 PyObject * obj6 = 0 ;
14238 char * kwnames[] = {
14239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14240 };
14241
14242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14244 if (!SWIG_IsOK(res1)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14246 }
14247 arg1 = reinterpret_cast< wxWindow * >(argp1);
14248 if (obj1) {
14249 ecode2 = SWIG_AsVal_int(obj1, &val2);
14250 if (!SWIG_IsOK(ecode2)) {
14251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14252 }
14253 arg2 = static_cast< int >(val2);
14254 }
14255 if (obj2) {
14256 {
14257 arg3 = &temp3;
14258 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14259 }
14260 }
14261 if (obj3) {
14262 {
14263 arg4 = &temp4;
14264 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14265 }
14266 }
14267 if (obj4) {
14268 ecode5 = SWIG_AsVal_long(obj4, &val5);
14269 if (!SWIG_IsOK(ecode5)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14271 }
14272 arg5 = static_cast< long >(val5);
14273 }
14274 if (obj5) {
14275 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14276 if (!SWIG_IsOK(res6)) {
14277 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14278 }
14279 if (!argp6) {
14280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14281 }
14282 arg6 = reinterpret_cast< wxValidator * >(argp6);
14283 }
14284 if (obj6) {
14285 {
14286 arg7 = wxString_in_helper(obj6);
14287 if (arg7 == NULL) SWIG_fail;
14288 temp7 = true;
14289 }
14290 }
14291 {
14292 if (!wxPyCheckForApp()) SWIG_fail;
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14299 {
14300 if (temp7)
14301 delete arg7;
14302 }
14303 return resultobj;
14304 fail:
14305 {
14306 if (temp7)
14307 delete arg7;
14308 }
14309 return NULL;
14310 }
14311
14312
14313 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14314 PyObject *resultobj = 0;
14315 wxScrollBar *result = 0 ;
14316
14317 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14318 {
14319 if (!wxPyCheckForApp()) SWIG_fail;
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = (wxScrollBar *)new wxScrollBar();
14322 wxPyEndAllowThreads(__tstate);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14326 return resultobj;
14327 fail:
14328 return NULL;
14329 }
14330
14331
14332 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj = 0;
14334 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14335 wxWindow *arg2 = (wxWindow *) 0 ;
14336 int arg3 = (int) -1 ;
14337 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14338 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14339 wxSize const &arg5_defvalue = wxDefaultSize ;
14340 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14341 long arg6 = (long) wxSB_HORIZONTAL ;
14342 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14343 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14344 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14345 wxString *arg8 = (wxString *) &arg8_defvalue ;
14346 bool result;
14347 void *argp1 = 0 ;
14348 int res1 = 0 ;
14349 void *argp2 = 0 ;
14350 int res2 = 0 ;
14351 int val3 ;
14352 int ecode3 = 0 ;
14353 wxPoint temp4 ;
14354 wxSize temp5 ;
14355 long val6 ;
14356 int ecode6 = 0 ;
14357 void *argp7 = 0 ;
14358 int res7 = 0 ;
14359 bool temp8 = false ;
14360 PyObject * obj0 = 0 ;
14361 PyObject * obj1 = 0 ;
14362 PyObject * obj2 = 0 ;
14363 PyObject * obj3 = 0 ;
14364 PyObject * obj4 = 0 ;
14365 PyObject * obj5 = 0 ;
14366 PyObject * obj6 = 0 ;
14367 PyObject * obj7 = 0 ;
14368 char * kwnames[] = {
14369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14370 };
14371
14372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14374 if (!SWIG_IsOK(res1)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14376 }
14377 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14379 if (!SWIG_IsOK(res2)) {
14380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14381 }
14382 arg2 = reinterpret_cast< wxWindow * >(argp2);
14383 if (obj2) {
14384 ecode3 = SWIG_AsVal_int(obj2, &val3);
14385 if (!SWIG_IsOK(ecode3)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14387 }
14388 arg3 = static_cast< int >(val3);
14389 }
14390 if (obj3) {
14391 {
14392 arg4 = &temp4;
14393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14394 }
14395 }
14396 if (obj4) {
14397 {
14398 arg5 = &temp5;
14399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14400 }
14401 }
14402 if (obj5) {
14403 ecode6 = SWIG_AsVal_long(obj5, &val6);
14404 if (!SWIG_IsOK(ecode6)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14406 }
14407 arg6 = static_cast< long >(val6);
14408 }
14409 if (obj6) {
14410 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14411 if (!SWIG_IsOK(res7)) {
14412 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14413 }
14414 if (!argp7) {
14415 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14416 }
14417 arg7 = reinterpret_cast< wxValidator * >(argp7);
14418 }
14419 if (obj7) {
14420 {
14421 arg8 = wxString_in_helper(obj7);
14422 if (arg8 == NULL) SWIG_fail;
14423 temp8 = true;
14424 }
14425 }
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14429 wxPyEndAllowThreads(__tstate);
14430 if (PyErr_Occurred()) SWIG_fail;
14431 }
14432 {
14433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14434 }
14435 {
14436 if (temp8)
14437 delete arg8;
14438 }
14439 return resultobj;
14440 fail:
14441 {
14442 if (temp8)
14443 delete arg8;
14444 }
14445 return NULL;
14446 }
14447
14448
14449 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14450 PyObject *resultobj = 0;
14451 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14452 int result;
14453 void *argp1 = 0 ;
14454 int res1 = 0 ;
14455 PyObject *swig_obj[1] ;
14456
14457 if (!args) SWIG_fail;
14458 swig_obj[0] = args;
14459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14460 if (!SWIG_IsOK(res1)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14462 }
14463 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 resultobj = SWIG_From_int(static_cast< int >(result));
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14478 PyObject *resultobj = 0;
14479 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14480 int result;
14481 void *argp1 = 0 ;
14482 int res1 = 0 ;
14483 PyObject *swig_obj[1] ;
14484
14485 if (!args) SWIG_fail;
14486 swig_obj[0] = args;
14487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14488 if (!SWIG_IsOK(res1)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14490 }
14491 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 resultobj = SWIG_From_int(static_cast< int >(result));
14499 return resultobj;
14500 fail:
14501 return NULL;
14502 }
14503
14504
14505 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14506 PyObject *resultobj = 0;
14507 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14508 int result;
14509 void *argp1 = 0 ;
14510 int res1 = 0 ;
14511 PyObject *swig_obj[1] ;
14512
14513 if (!args) SWIG_fail;
14514 swig_obj[0] = args;
14515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14516 if (!SWIG_IsOK(res1)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14518 }
14519 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 resultobj = SWIG_From_int(static_cast< int >(result));
14527 return resultobj;
14528 fail:
14529 return NULL;
14530 }
14531
14532
14533 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14534 PyObject *resultobj = 0;
14535 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14536 int result;
14537 void *argp1 = 0 ;
14538 int res1 = 0 ;
14539 PyObject *swig_obj[1] ;
14540
14541 if (!args) SWIG_fail;
14542 swig_obj[0] = args;
14543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14544 if (!SWIG_IsOK(res1)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14546 }
14547 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14548 {
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 result = (int)((wxScrollBar const *)arg1)->GetRange();
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_From_int(static_cast< int >(result));
14555 return resultobj;
14556 fail:
14557 return NULL;
14558 }
14559
14560
14561 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14562 PyObject *resultobj = 0;
14563 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14564 bool result;
14565 void *argp1 = 0 ;
14566 int res1 = 0 ;
14567 PyObject *swig_obj[1] ;
14568
14569 if (!args) SWIG_fail;
14570 swig_obj[0] = args;
14571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14572 if (!SWIG_IsOK(res1)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14574 }
14575 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 {
14583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14584 }
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj = 0;
14593 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14594 int arg2 ;
14595 void *argp1 = 0 ;
14596 int res1 = 0 ;
14597 int val2 ;
14598 int ecode2 = 0 ;
14599 PyObject * obj0 = 0 ;
14600 PyObject * obj1 = 0 ;
14601 char * kwnames[] = {
14602 (char *) "self",(char *) "viewStart", NULL
14603 };
14604
14605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14607 if (!SWIG_IsOK(res1)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14609 }
14610 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14611 ecode2 = SWIG_AsVal_int(obj1, &val2);
14612 if (!SWIG_IsOK(ecode2)) {
14613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14614 }
14615 arg2 = static_cast< int >(val2);
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 (arg1)->SetThumbPosition(arg2);
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 resultobj = SWIG_Py_Void();
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj = 0;
14631 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14632 SwigValueWrapper<wxVisualAttributes > result;
14633 int val1 ;
14634 int ecode1 = 0 ;
14635 PyObject * obj0 = 0 ;
14636 char * kwnames[] = {
14637 (char *) "variant", NULL
14638 };
14639
14640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14641 if (obj0) {
14642 ecode1 = SWIG_AsVal_int(obj0, &val1);
14643 if (!SWIG_IsOK(ecode1)) {
14644 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14645 }
14646 arg1 = static_cast< wxWindowVariant >(val1);
14647 }
14648 {
14649 if (!wxPyCheckForApp()) SWIG_fail;
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14663 PyObject *obj;
14664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14665 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14666 return SWIG_Py_Void();
14667 }
14668
14669 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14670 return SWIG_Python_InitShadowInstance(args);
14671 }
14672
14673 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14674 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14675 return 1;
14676 }
14677
14678
14679 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14680 PyObject *pyobj = 0;
14681
14682 {
14683 #if wxUSE_UNICODE
14684 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14685 #else
14686 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14687 #endif
14688 }
14689 return pyobj;
14690 }
14691
14692
14693 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14694 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14695 return 1;
14696 }
14697
14698
14699 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14700 PyObject *pyobj = 0;
14701
14702 {
14703 #if wxUSE_UNICODE
14704 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14705 #else
14706 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14707 #endif
14708 }
14709 return pyobj;
14710 }
14711
14712
14713 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj = 0;
14715 wxWindow *arg1 = (wxWindow *) 0 ;
14716 int arg2 = (int) -1 ;
14717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14719 wxSize const &arg4_defvalue = wxDefaultSize ;
14720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14721 long arg5 = (long) wxSP_HORIZONTAL ;
14722 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14723 wxString *arg6 = (wxString *) &arg6_defvalue ;
14724 wxSpinButton *result = 0 ;
14725 void *argp1 = 0 ;
14726 int res1 = 0 ;
14727 int val2 ;
14728 int ecode2 = 0 ;
14729 wxPoint temp3 ;
14730 wxSize temp4 ;
14731 long val5 ;
14732 int ecode5 = 0 ;
14733 bool temp6 = false ;
14734 PyObject * obj0 = 0 ;
14735 PyObject * obj1 = 0 ;
14736 PyObject * obj2 = 0 ;
14737 PyObject * obj3 = 0 ;
14738 PyObject * obj4 = 0 ;
14739 PyObject * obj5 = 0 ;
14740 char * kwnames[] = {
14741 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14742 };
14743
14744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14746 if (!SWIG_IsOK(res1)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14748 }
14749 arg1 = reinterpret_cast< wxWindow * >(argp1);
14750 if (obj1) {
14751 ecode2 = SWIG_AsVal_int(obj1, &val2);
14752 if (!SWIG_IsOK(ecode2)) {
14753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14754 }
14755 arg2 = static_cast< int >(val2);
14756 }
14757 if (obj2) {
14758 {
14759 arg3 = &temp3;
14760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14761 }
14762 }
14763 if (obj3) {
14764 {
14765 arg4 = &temp4;
14766 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14767 }
14768 }
14769 if (obj4) {
14770 ecode5 = SWIG_AsVal_long(obj4, &val5);
14771 if (!SWIG_IsOK(ecode5)) {
14772 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14773 }
14774 arg5 = static_cast< long >(val5);
14775 }
14776 if (obj5) {
14777 {
14778 arg6 = wxString_in_helper(obj5);
14779 if (arg6 == NULL) SWIG_fail;
14780 temp6 = true;
14781 }
14782 }
14783 {
14784 if (!wxPyCheckForApp()) SWIG_fail;
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14791 {
14792 if (temp6)
14793 delete arg6;
14794 }
14795 return resultobj;
14796 fail:
14797 {
14798 if (temp6)
14799 delete arg6;
14800 }
14801 return NULL;
14802 }
14803
14804
14805 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14806 PyObject *resultobj = 0;
14807 wxSpinButton *result = 0 ;
14808
14809 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14810 {
14811 if (!wxPyCheckForApp()) SWIG_fail;
14812 PyThreadState* __tstate = wxPyBeginAllowThreads();
14813 result = (wxSpinButton *)new wxSpinButton();
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj = 0;
14826 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14827 wxWindow *arg2 = (wxWindow *) 0 ;
14828 int arg3 = (int) -1 ;
14829 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14830 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14831 wxSize const &arg5_defvalue = wxDefaultSize ;
14832 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14833 long arg6 = (long) wxSP_HORIZONTAL ;
14834 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14835 wxString *arg7 = (wxString *) &arg7_defvalue ;
14836 bool result;
14837 void *argp1 = 0 ;
14838 int res1 = 0 ;
14839 void *argp2 = 0 ;
14840 int res2 = 0 ;
14841 int val3 ;
14842 int ecode3 = 0 ;
14843 wxPoint temp4 ;
14844 wxSize temp5 ;
14845 long val6 ;
14846 int ecode6 = 0 ;
14847 bool temp7 = false ;
14848 PyObject * obj0 = 0 ;
14849 PyObject * obj1 = 0 ;
14850 PyObject * obj2 = 0 ;
14851 PyObject * obj3 = 0 ;
14852 PyObject * obj4 = 0 ;
14853 PyObject * obj5 = 0 ;
14854 PyObject * obj6 = 0 ;
14855 char * kwnames[] = {
14856 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14857 };
14858
14859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14861 if (!SWIG_IsOK(res1)) {
14862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14863 }
14864 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14865 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14866 if (!SWIG_IsOK(res2)) {
14867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14868 }
14869 arg2 = reinterpret_cast< wxWindow * >(argp2);
14870 if (obj2) {
14871 ecode3 = SWIG_AsVal_int(obj2, &val3);
14872 if (!SWIG_IsOK(ecode3)) {
14873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14874 }
14875 arg3 = static_cast< int >(val3);
14876 }
14877 if (obj3) {
14878 {
14879 arg4 = &temp4;
14880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14881 }
14882 }
14883 if (obj4) {
14884 {
14885 arg5 = &temp5;
14886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14887 }
14888 }
14889 if (obj5) {
14890 ecode6 = SWIG_AsVal_long(obj5, &val6);
14891 if (!SWIG_IsOK(ecode6)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14893 }
14894 arg6 = static_cast< long >(val6);
14895 }
14896 if (obj6) {
14897 {
14898 arg7 = wxString_in_helper(obj6);
14899 if (arg7 == NULL) SWIG_fail;
14900 temp7 = true;
14901 }
14902 }
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 {
14910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14911 }
14912 {
14913 if (temp7)
14914 delete arg7;
14915 }
14916 return resultobj;
14917 fail:
14918 {
14919 if (temp7)
14920 delete arg7;
14921 }
14922 return NULL;
14923 }
14924
14925
14926 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14927 PyObject *resultobj = 0;
14928 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14929 int result;
14930 void *argp1 = 0 ;
14931 int res1 = 0 ;
14932 PyObject *swig_obj[1] ;
14933
14934 if (!args) SWIG_fail;
14935 swig_obj[0] = args;
14936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14937 if (!SWIG_IsOK(res1)) {
14938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14939 }
14940 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (int)((wxSpinButton const *)arg1)->GetValue();
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 resultobj = SWIG_From_int(static_cast< int >(result));
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14955 PyObject *resultobj = 0;
14956 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14957 int result;
14958 void *argp1 = 0 ;
14959 int res1 = 0 ;
14960 PyObject *swig_obj[1] ;
14961
14962 if (!args) SWIG_fail;
14963 swig_obj[0] = args;
14964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14965 if (!SWIG_IsOK(res1)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14967 }
14968 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 result = (int)((wxSpinButton const *)arg1)->GetMin();
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 resultobj = SWIG_From_int(static_cast< int >(result));
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14983 PyObject *resultobj = 0;
14984 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14985 int result;
14986 void *argp1 = 0 ;
14987 int res1 = 0 ;
14988 PyObject *swig_obj[1] ;
14989
14990 if (!args) SWIG_fail;
14991 swig_obj[0] = args;
14992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14993 if (!SWIG_IsOK(res1)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14995 }
14996 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (int)((wxSpinButton const *)arg1)->GetMax();
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = SWIG_From_int(static_cast< int >(result));
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj = 0;
15012 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15013 int arg2 ;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 int val2 ;
15017 int ecode2 = 0 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 char * kwnames[] = {
15021 (char *) "self",(char *) "val", NULL
15022 };
15023
15024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15026 if (!SWIG_IsOK(res1)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15028 }
15029 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15030 ecode2 = SWIG_AsVal_int(obj1, &val2);
15031 if (!SWIG_IsOK(ecode2)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15033 }
15034 arg2 = static_cast< int >(val2);
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 (arg1)->SetValue(arg2);
15038 wxPyEndAllowThreads(__tstate);
15039 if (PyErr_Occurred()) SWIG_fail;
15040 }
15041 resultobj = SWIG_Py_Void();
15042 return resultobj;
15043 fail:
15044 return NULL;
15045 }
15046
15047
15048 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15049 PyObject *resultobj = 0;
15050 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15051 int arg2 ;
15052 void *argp1 = 0 ;
15053 int res1 = 0 ;
15054 int val2 ;
15055 int ecode2 = 0 ;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char * kwnames[] = {
15059 (char *) "self",(char *) "minVal", NULL
15060 };
15061
15062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15064 if (!SWIG_IsOK(res1)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15066 }
15067 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15068 ecode2 = SWIG_AsVal_int(obj1, &val2);
15069 if (!SWIG_IsOK(ecode2)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15071 }
15072 arg2 = static_cast< int >(val2);
15073 {
15074 PyThreadState* __tstate = wxPyBeginAllowThreads();
15075 (arg1)->SetMin(arg2);
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = SWIG_Py_Void();
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj = 0;
15088 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15089 int arg2 ;
15090 void *argp1 = 0 ;
15091 int res1 = 0 ;
15092 int val2 ;
15093 int ecode2 = 0 ;
15094 PyObject * obj0 = 0 ;
15095 PyObject * obj1 = 0 ;
15096 char * kwnames[] = {
15097 (char *) "self",(char *) "maxVal", NULL
15098 };
15099
15100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15102 if (!SWIG_IsOK(res1)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15104 }
15105 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15106 ecode2 = SWIG_AsVal_int(obj1, &val2);
15107 if (!SWIG_IsOK(ecode2)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15109 }
15110 arg2 = static_cast< int >(val2);
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 (arg1)->SetMax(arg2);
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_Py_Void();
15118 return resultobj;
15119 fail:
15120 return NULL;
15121 }
15122
15123
15124 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj = 0;
15126 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15127 int arg2 ;
15128 int arg3 ;
15129 void *argp1 = 0 ;
15130 int res1 = 0 ;
15131 int val2 ;
15132 int ecode2 = 0 ;
15133 int val3 ;
15134 int ecode3 = 0 ;
15135 PyObject * obj0 = 0 ;
15136 PyObject * obj1 = 0 ;
15137 PyObject * obj2 = 0 ;
15138 char * kwnames[] = {
15139 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15140 };
15141
15142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15144 if (!SWIG_IsOK(res1)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15146 }
15147 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15148 ecode2 = SWIG_AsVal_int(obj1, &val2);
15149 if (!SWIG_IsOK(ecode2)) {
15150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15151 }
15152 arg2 = static_cast< int >(val2);
15153 ecode3 = SWIG_AsVal_int(obj2, &val3);
15154 if (!SWIG_IsOK(ecode3)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15156 }
15157 arg3 = static_cast< int >(val3);
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 (arg1)->SetRange(arg2,arg3);
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 resultobj = SWIG_Py_Void();
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15172 PyObject *resultobj = 0;
15173 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15174 bool result;
15175 void *argp1 = 0 ;
15176 int res1 = 0 ;
15177 PyObject *swig_obj[1] ;
15178
15179 if (!args) SWIG_fail;
15180 swig_obj[0] = args;
15181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15182 if (!SWIG_IsOK(res1)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15184 }
15185 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15194 }
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj = 0;
15203 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15204 SwigValueWrapper<wxVisualAttributes > result;
15205 int val1 ;
15206 int ecode1 = 0 ;
15207 PyObject * obj0 = 0 ;
15208 char * kwnames[] = {
15209 (char *) "variant", NULL
15210 };
15211
15212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15213 if (obj0) {
15214 ecode1 = SWIG_AsVal_int(obj0, &val1);
15215 if (!SWIG_IsOK(ecode1)) {
15216 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15217 }
15218 arg1 = static_cast< wxWindowVariant >(val1);
15219 }
15220 {
15221 if (!wxPyCheckForApp()) SWIG_fail;
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15228 return resultobj;
15229 fail:
15230 return NULL;
15231 }
15232
15233
15234 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15235 PyObject *obj;
15236 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15237 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15238 return SWIG_Py_Void();
15239 }
15240
15241 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15242 return SWIG_Python_InitShadowInstance(args);
15243 }
15244
15245 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj = 0;
15247 wxWindow *arg1 = (wxWindow *) 0 ;
15248 int arg2 = (int) -1 ;
15249 wxString const &arg3_defvalue = wxPyEmptyString ;
15250 wxString *arg3 = (wxString *) &arg3_defvalue ;
15251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15253 wxSize const &arg5_defvalue = wxDefaultSize ;
15254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15255 long arg6 = (long) wxSP_ARROW_KEYS ;
15256 int arg7 = (int) 0 ;
15257 int arg8 = (int) 100 ;
15258 int arg9 = (int) 0 ;
15259 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15260 wxString *arg10 = (wxString *) &arg10_defvalue ;
15261 wxSpinCtrl *result = 0 ;
15262 void *argp1 = 0 ;
15263 int res1 = 0 ;
15264 int val2 ;
15265 int ecode2 = 0 ;
15266 bool temp3 = false ;
15267 wxPoint temp4 ;
15268 wxSize temp5 ;
15269 long val6 ;
15270 int ecode6 = 0 ;
15271 int val7 ;
15272 int ecode7 = 0 ;
15273 int val8 ;
15274 int ecode8 = 0 ;
15275 int val9 ;
15276 int ecode9 = 0 ;
15277 bool temp10 = false ;
15278 PyObject * obj0 = 0 ;
15279 PyObject * obj1 = 0 ;
15280 PyObject * obj2 = 0 ;
15281 PyObject * obj3 = 0 ;
15282 PyObject * obj4 = 0 ;
15283 PyObject * obj5 = 0 ;
15284 PyObject * obj6 = 0 ;
15285 PyObject * obj7 = 0 ;
15286 PyObject * obj8 = 0 ;
15287 PyObject * obj9 = 0 ;
15288 char * kwnames[] = {
15289 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15290 };
15291
15292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15294 if (!SWIG_IsOK(res1)) {
15295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15296 }
15297 arg1 = reinterpret_cast< wxWindow * >(argp1);
15298 if (obj1) {
15299 ecode2 = SWIG_AsVal_int(obj1, &val2);
15300 if (!SWIG_IsOK(ecode2)) {
15301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15302 }
15303 arg2 = static_cast< int >(val2);
15304 }
15305 if (obj2) {
15306 {
15307 arg3 = wxString_in_helper(obj2);
15308 if (arg3 == NULL) SWIG_fail;
15309 temp3 = true;
15310 }
15311 }
15312 if (obj3) {
15313 {
15314 arg4 = &temp4;
15315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15316 }
15317 }
15318 if (obj4) {
15319 {
15320 arg5 = &temp5;
15321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15322 }
15323 }
15324 if (obj5) {
15325 ecode6 = SWIG_AsVal_long(obj5, &val6);
15326 if (!SWIG_IsOK(ecode6)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15328 }
15329 arg6 = static_cast< long >(val6);
15330 }
15331 if (obj6) {
15332 ecode7 = SWIG_AsVal_int(obj6, &val7);
15333 if (!SWIG_IsOK(ecode7)) {
15334 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15335 }
15336 arg7 = static_cast< int >(val7);
15337 }
15338 if (obj7) {
15339 ecode8 = SWIG_AsVal_int(obj7, &val8);
15340 if (!SWIG_IsOK(ecode8)) {
15341 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15342 }
15343 arg8 = static_cast< int >(val8);
15344 }
15345 if (obj8) {
15346 ecode9 = SWIG_AsVal_int(obj8, &val9);
15347 if (!SWIG_IsOK(ecode9)) {
15348 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15349 }
15350 arg9 = static_cast< int >(val9);
15351 }
15352 if (obj9) {
15353 {
15354 arg10 = wxString_in_helper(obj9);
15355 if (arg10 == NULL) SWIG_fail;
15356 temp10 = true;
15357 }
15358 }
15359 {
15360 if (!wxPyCheckForApp()) SWIG_fail;
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15363 wxPyEndAllowThreads(__tstate);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15367 {
15368 if (temp3)
15369 delete arg3;
15370 }
15371 {
15372 if (temp10)
15373 delete arg10;
15374 }
15375 return resultobj;
15376 fail:
15377 {
15378 if (temp3)
15379 delete arg3;
15380 }
15381 {
15382 if (temp10)
15383 delete arg10;
15384 }
15385 return NULL;
15386 }
15387
15388
15389 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15390 PyObject *resultobj = 0;
15391 wxSpinCtrl *result = 0 ;
15392
15393 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15394 {
15395 if (!wxPyCheckForApp()) SWIG_fail;
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 result = (wxSpinCtrl *)new wxSpinCtrl();
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj = 0;
15410 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15411 wxWindow *arg2 = (wxWindow *) 0 ;
15412 int arg3 = (int) -1 ;
15413 wxString const &arg4_defvalue = wxPyEmptyString ;
15414 wxString *arg4 = (wxString *) &arg4_defvalue ;
15415 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15416 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15417 wxSize const &arg6_defvalue = wxDefaultSize ;
15418 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15419 long arg7 = (long) wxSP_ARROW_KEYS ;
15420 int arg8 = (int) 0 ;
15421 int arg9 = (int) 100 ;
15422 int arg10 = (int) 0 ;
15423 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15424 wxString *arg11 = (wxString *) &arg11_defvalue ;
15425 bool result;
15426 void *argp1 = 0 ;
15427 int res1 = 0 ;
15428 void *argp2 = 0 ;
15429 int res2 = 0 ;
15430 int val3 ;
15431 int ecode3 = 0 ;
15432 bool temp4 = false ;
15433 wxPoint temp5 ;
15434 wxSize temp6 ;
15435 long val7 ;
15436 int ecode7 = 0 ;
15437 int val8 ;
15438 int ecode8 = 0 ;
15439 int val9 ;
15440 int ecode9 = 0 ;
15441 int val10 ;
15442 int ecode10 = 0 ;
15443 bool temp11 = false ;
15444 PyObject * obj0 = 0 ;
15445 PyObject * obj1 = 0 ;
15446 PyObject * obj2 = 0 ;
15447 PyObject * obj3 = 0 ;
15448 PyObject * obj4 = 0 ;
15449 PyObject * obj5 = 0 ;
15450 PyObject * obj6 = 0 ;
15451 PyObject * obj7 = 0 ;
15452 PyObject * obj8 = 0 ;
15453 PyObject * obj9 = 0 ;
15454 PyObject * obj10 = 0 ;
15455 char * kwnames[] = {
15456 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15457 };
15458
15459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15461 if (!SWIG_IsOK(res1)) {
15462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15463 }
15464 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15466 if (!SWIG_IsOK(res2)) {
15467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15468 }
15469 arg2 = reinterpret_cast< wxWindow * >(argp2);
15470 if (obj2) {
15471 ecode3 = SWIG_AsVal_int(obj2, &val3);
15472 if (!SWIG_IsOK(ecode3)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15474 }
15475 arg3 = static_cast< int >(val3);
15476 }
15477 if (obj3) {
15478 {
15479 arg4 = wxString_in_helper(obj3);
15480 if (arg4 == NULL) SWIG_fail;
15481 temp4 = true;
15482 }
15483 }
15484 if (obj4) {
15485 {
15486 arg5 = &temp5;
15487 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15488 }
15489 }
15490 if (obj5) {
15491 {
15492 arg6 = &temp6;
15493 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15494 }
15495 }
15496 if (obj6) {
15497 ecode7 = SWIG_AsVal_long(obj6, &val7);
15498 if (!SWIG_IsOK(ecode7)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15500 }
15501 arg7 = static_cast< long >(val7);
15502 }
15503 if (obj7) {
15504 ecode8 = SWIG_AsVal_int(obj7, &val8);
15505 if (!SWIG_IsOK(ecode8)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15507 }
15508 arg8 = static_cast< int >(val8);
15509 }
15510 if (obj8) {
15511 ecode9 = SWIG_AsVal_int(obj8, &val9);
15512 if (!SWIG_IsOK(ecode9)) {
15513 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15514 }
15515 arg9 = static_cast< int >(val9);
15516 }
15517 if (obj9) {
15518 ecode10 = SWIG_AsVal_int(obj9, &val10);
15519 if (!SWIG_IsOK(ecode10)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15521 }
15522 arg10 = static_cast< int >(val10);
15523 }
15524 if (obj10) {
15525 {
15526 arg11 = wxString_in_helper(obj10);
15527 if (arg11 == NULL) SWIG_fail;
15528 temp11 = true;
15529 }
15530 }
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 {
15538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15539 }
15540 {
15541 if (temp4)
15542 delete arg4;
15543 }
15544 {
15545 if (temp11)
15546 delete arg11;
15547 }
15548 return resultobj;
15549 fail:
15550 {
15551 if (temp4)
15552 delete arg4;
15553 }
15554 {
15555 if (temp11)
15556 delete arg11;
15557 }
15558 return NULL;
15559 }
15560
15561
15562 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15563 PyObject *resultobj = 0;
15564 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15565 int result;
15566 void *argp1 = 0 ;
15567 int res1 = 0 ;
15568 PyObject *swig_obj[1] ;
15569
15570 if (!args) SWIG_fail;
15571 swig_obj[0] = args;
15572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15573 if (!SWIG_IsOK(res1)) {
15574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15575 }
15576 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15577 {
15578 PyThreadState* __tstate = wxPyBeginAllowThreads();
15579 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 resultobj = SWIG_From_int(static_cast< int >(result));
15584 return resultobj;
15585 fail:
15586 return NULL;
15587 }
15588
15589
15590 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj = 0;
15592 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15593 int arg2 ;
15594 void *argp1 = 0 ;
15595 int res1 = 0 ;
15596 int val2 ;
15597 int ecode2 = 0 ;
15598 PyObject * obj0 = 0 ;
15599 PyObject * obj1 = 0 ;
15600 char * kwnames[] = {
15601 (char *) "self",(char *) "value", NULL
15602 };
15603
15604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15606 if (!SWIG_IsOK(res1)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15608 }
15609 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15610 ecode2 = SWIG_AsVal_int(obj1, &val2);
15611 if (!SWIG_IsOK(ecode2)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15613 }
15614 arg2 = static_cast< int >(val2);
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 (arg1)->SetValue(arg2);
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_Py_Void();
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj = 0;
15630 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15631 wxString *arg2 = 0 ;
15632 void *argp1 = 0 ;
15633 int res1 = 0 ;
15634 bool temp2 = false ;
15635 PyObject * obj0 = 0 ;
15636 PyObject * obj1 = 0 ;
15637 char * kwnames[] = {
15638 (char *) "self",(char *) "text", NULL
15639 };
15640
15641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15643 if (!SWIG_IsOK(res1)) {
15644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15645 }
15646 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15647 {
15648 arg2 = wxString_in_helper(obj1);
15649 if (arg2 == NULL) SWIG_fail;
15650 temp2 = true;
15651 }
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 (arg1)->SetValue((wxString const &)*arg2);
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 resultobj = SWIG_Py_Void();
15659 {
15660 if (temp2)
15661 delete arg2;
15662 }
15663 return resultobj;
15664 fail:
15665 {
15666 if (temp2)
15667 delete arg2;
15668 }
15669 return NULL;
15670 }
15671
15672
15673 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj = 0;
15675 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15676 int arg2 ;
15677 int arg3 ;
15678 void *argp1 = 0 ;
15679 int res1 = 0 ;
15680 int val2 ;
15681 int ecode2 = 0 ;
15682 int val3 ;
15683 int ecode3 = 0 ;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 PyObject * obj2 = 0 ;
15687 char * kwnames[] = {
15688 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15689 };
15690
15691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15693 if (!SWIG_IsOK(res1)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15695 }
15696 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15697 ecode2 = SWIG_AsVal_int(obj1, &val2);
15698 if (!SWIG_IsOK(ecode2)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15700 }
15701 arg2 = static_cast< int >(val2);
15702 ecode3 = SWIG_AsVal_int(obj2, &val3);
15703 if (!SWIG_IsOK(ecode3)) {
15704 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15705 }
15706 arg3 = static_cast< int >(val3);
15707 {
15708 PyThreadState* __tstate = wxPyBeginAllowThreads();
15709 (arg1)->SetRange(arg2,arg3);
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 resultobj = SWIG_Py_Void();
15714 return resultobj;
15715 fail:
15716 return NULL;
15717 }
15718
15719
15720 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15721 PyObject *resultobj = 0;
15722 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15723 int result;
15724 void *argp1 = 0 ;
15725 int res1 = 0 ;
15726 PyObject *swig_obj[1] ;
15727
15728 if (!args) SWIG_fail;
15729 swig_obj[0] = args;
15730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15731 if (!SWIG_IsOK(res1)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15733 }
15734 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 resultobj = SWIG_From_int(static_cast< int >(result));
15742 return resultobj;
15743 fail:
15744 return NULL;
15745 }
15746
15747
15748 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15749 PyObject *resultobj = 0;
15750 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15751 int result;
15752 void *argp1 = 0 ;
15753 int res1 = 0 ;
15754 PyObject *swig_obj[1] ;
15755
15756 if (!args) SWIG_fail;
15757 swig_obj[0] = args;
15758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15759 if (!SWIG_IsOK(res1)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15761 }
15762 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 resultobj = SWIG_From_int(static_cast< int >(result));
15770 return resultobj;
15771 fail:
15772 return NULL;
15773 }
15774
15775
15776 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj = 0;
15778 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15779 long arg2 ;
15780 long arg3 ;
15781 void *argp1 = 0 ;
15782 int res1 = 0 ;
15783 long val2 ;
15784 int ecode2 = 0 ;
15785 long val3 ;
15786 int ecode3 = 0 ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 PyObject * obj2 = 0 ;
15790 char * kwnames[] = {
15791 (char *) "self",(char *) "from",(char *) "to", NULL
15792 };
15793
15794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15796 if (!SWIG_IsOK(res1)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15798 }
15799 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15800 ecode2 = SWIG_AsVal_long(obj1, &val2);
15801 if (!SWIG_IsOK(ecode2)) {
15802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15803 }
15804 arg2 = static_cast< long >(val2);
15805 ecode3 = SWIG_AsVal_long(obj2, &val3);
15806 if (!SWIG_IsOK(ecode3)) {
15807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15808 }
15809 arg3 = static_cast< long >(val3);
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 (arg1)->SetSelection(arg2,arg3);
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 resultobj = SWIG_Py_Void();
15817 return resultobj;
15818 fail:
15819 return NULL;
15820 }
15821
15822
15823 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj = 0;
15825 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15826 SwigValueWrapper<wxVisualAttributes > result;
15827 int val1 ;
15828 int ecode1 = 0 ;
15829 PyObject * obj0 = 0 ;
15830 char * kwnames[] = {
15831 (char *) "variant", NULL
15832 };
15833
15834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15835 if (obj0) {
15836 ecode1 = SWIG_AsVal_int(obj0, &val1);
15837 if (!SWIG_IsOK(ecode1)) {
15838 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15839 }
15840 arg1 = static_cast< wxWindowVariant >(val1);
15841 }
15842 {
15843 if (!wxPyCheckForApp()) SWIG_fail;
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15857 PyObject *obj;
15858 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15859 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15860 return SWIG_Py_Void();
15861 }
15862
15863 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15864 return SWIG_Python_InitShadowInstance(args);
15865 }
15866
15867 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj = 0;
15869 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15870 int arg2 = (int) 0 ;
15871 wxSpinEvent *result = 0 ;
15872 int val1 ;
15873 int ecode1 = 0 ;
15874 int val2 ;
15875 int ecode2 = 0 ;
15876 PyObject * obj0 = 0 ;
15877 PyObject * obj1 = 0 ;
15878 char * kwnames[] = {
15879 (char *) "commandType",(char *) "winid", NULL
15880 };
15881
15882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15883 if (obj0) {
15884 ecode1 = SWIG_AsVal_int(obj0, &val1);
15885 if (!SWIG_IsOK(ecode1)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15887 }
15888 arg1 = static_cast< wxEventType >(val1);
15889 }
15890 if (obj1) {
15891 ecode2 = SWIG_AsVal_int(obj1, &val2);
15892 if (!SWIG_IsOK(ecode2)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15894 }
15895 arg2 = static_cast< int >(val2);
15896 }
15897 {
15898 PyThreadState* __tstate = wxPyBeginAllowThreads();
15899 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15911 PyObject *resultobj = 0;
15912 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15913 int result;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 PyObject *swig_obj[1] ;
15917
15918 if (!args) SWIG_fail;
15919 swig_obj[0] = args;
15920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15921 if (!SWIG_IsOK(res1)) {
15922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15923 }
15924 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 resultobj = SWIG_From_int(static_cast< int >(result));
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj = 0;
15940 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15941 int arg2 ;
15942 void *argp1 = 0 ;
15943 int res1 = 0 ;
15944 int val2 ;
15945 int ecode2 = 0 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 char * kwnames[] = {
15949 (char *) "self",(char *) "pos", NULL
15950 };
15951
15952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15954 if (!SWIG_IsOK(res1)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15956 }
15957 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15958 ecode2 = SWIG_AsVal_int(obj1, &val2);
15959 if (!SWIG_IsOK(ecode2)) {
15960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15961 }
15962 arg2 = static_cast< int >(val2);
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 (arg1)->SetPosition(arg2);
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 resultobj = SWIG_Py_Void();
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15977 PyObject *obj;
15978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15979 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15980 return SWIG_Py_Void();
15981 }
15982
15983 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15984 return SWIG_Python_InitShadowInstance(args);
15985 }
15986
15987 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15988 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15989 return 1;
15990 }
15991
15992
15993 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15994 PyObject *pyobj = 0;
15995
15996 {
15997 #if wxUSE_UNICODE
15998 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
15999 #else
16000 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16001 #endif
16002 }
16003 return pyobj;
16004 }
16005
16006
16007 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16008 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16009 return 1;
16010 }
16011
16012
16013 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16014 PyObject *pyobj = 0;
16015
16016 {
16017 #if wxUSE_UNICODE
16018 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16019 #else
16020 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16021 #endif
16022 }
16023 return pyobj;
16024 }
16025
16026
16027 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj = 0;
16029 wxWindow *arg1 = (wxWindow *) 0 ;
16030 int arg2 = (int) -1 ;
16031 wxString const &arg3_defvalue = wxPyEmptyString ;
16032 wxString *arg3 = (wxString *) &arg3_defvalue ;
16033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16035 wxSize const &arg5_defvalue = wxDefaultSize ;
16036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16037 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16038 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16039 int arg7 = (int) 0 ;
16040 long arg8 = (long) wxRA_HORIZONTAL ;
16041 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16042 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16043 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16044 wxString *arg10 = (wxString *) &arg10_defvalue ;
16045 wxRadioBox *result = 0 ;
16046 void *argp1 = 0 ;
16047 int res1 = 0 ;
16048 int val2 ;
16049 int ecode2 = 0 ;
16050 bool temp3 = false ;
16051 wxPoint temp4 ;
16052 wxSize temp5 ;
16053 bool temp6 = false ;
16054 int val7 ;
16055 int ecode7 = 0 ;
16056 long val8 ;
16057 int ecode8 = 0 ;
16058 void *argp9 = 0 ;
16059 int res9 = 0 ;
16060 bool temp10 = false ;
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 PyObject * obj2 = 0 ;
16064 PyObject * obj3 = 0 ;
16065 PyObject * obj4 = 0 ;
16066 PyObject * obj5 = 0 ;
16067 PyObject * obj6 = 0 ;
16068 PyObject * obj7 = 0 ;
16069 PyObject * obj8 = 0 ;
16070 PyObject * obj9 = 0 ;
16071 char * kwnames[] = {
16072 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16073 };
16074
16075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16077 if (!SWIG_IsOK(res1)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16079 }
16080 arg1 = reinterpret_cast< wxWindow * >(argp1);
16081 if (obj1) {
16082 ecode2 = SWIG_AsVal_int(obj1, &val2);
16083 if (!SWIG_IsOK(ecode2)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16085 }
16086 arg2 = static_cast< int >(val2);
16087 }
16088 if (obj2) {
16089 {
16090 arg3 = wxString_in_helper(obj2);
16091 if (arg3 == NULL) SWIG_fail;
16092 temp3 = true;
16093 }
16094 }
16095 if (obj3) {
16096 {
16097 arg4 = &temp4;
16098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16099 }
16100 }
16101 if (obj4) {
16102 {
16103 arg5 = &temp5;
16104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16105 }
16106 }
16107 if (obj5) {
16108 {
16109 if (! PySequence_Check(obj5)) {
16110 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16111 SWIG_fail;
16112 }
16113 arg6 = new wxArrayString;
16114 temp6 = true;
16115 int i, len=PySequence_Length(obj5);
16116 for (i=0; i<len; i++) {
16117 PyObject* item = PySequence_GetItem(obj5, i);
16118 wxString* s = wxString_in_helper(item);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 arg6->Add(*s);
16121 delete s;
16122 Py_DECREF(item);
16123 }
16124 }
16125 }
16126 if (obj6) {
16127 ecode7 = SWIG_AsVal_int(obj6, &val7);
16128 if (!SWIG_IsOK(ecode7)) {
16129 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16130 }
16131 arg7 = static_cast< int >(val7);
16132 }
16133 if (obj7) {
16134 ecode8 = SWIG_AsVal_long(obj7, &val8);
16135 if (!SWIG_IsOK(ecode8)) {
16136 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16137 }
16138 arg8 = static_cast< long >(val8);
16139 }
16140 if (obj8) {
16141 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16142 if (!SWIG_IsOK(res9)) {
16143 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16144 }
16145 if (!argp9) {
16146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16147 }
16148 arg9 = reinterpret_cast< wxValidator * >(argp9);
16149 }
16150 if (obj9) {
16151 {
16152 arg10 = wxString_in_helper(obj9);
16153 if (arg10 == NULL) SWIG_fail;
16154 temp10 = true;
16155 }
16156 }
16157 {
16158 if (!wxPyCheckForApp()) SWIG_fail;
16159 PyThreadState* __tstate = wxPyBeginAllowThreads();
16160 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);
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16165 {
16166 if (temp3)
16167 delete arg3;
16168 }
16169 {
16170 if (temp6) delete arg6;
16171 }
16172 {
16173 if (temp10)
16174 delete arg10;
16175 }
16176 return resultobj;
16177 fail:
16178 {
16179 if (temp3)
16180 delete arg3;
16181 }
16182 {
16183 if (temp6) delete arg6;
16184 }
16185 {
16186 if (temp10)
16187 delete arg10;
16188 }
16189 return NULL;
16190 }
16191
16192
16193 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16194 PyObject *resultobj = 0;
16195 wxRadioBox *result = 0 ;
16196
16197 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16198 {
16199 if (!wxPyCheckForApp()) SWIG_fail;
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (wxRadioBox *)new wxRadioBox();
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16206 return resultobj;
16207 fail:
16208 return NULL;
16209 }
16210
16211
16212 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj = 0;
16214 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16215 wxWindow *arg2 = (wxWindow *) 0 ;
16216 int arg3 = (int) -1 ;
16217 wxString const &arg4_defvalue = wxPyEmptyString ;
16218 wxString *arg4 = (wxString *) &arg4_defvalue ;
16219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16221 wxSize const &arg6_defvalue = wxDefaultSize ;
16222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16223 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16224 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16225 int arg8 = (int) 0 ;
16226 long arg9 = (long) wxRA_HORIZONTAL ;
16227 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16228 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16229 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16230 wxString *arg11 = (wxString *) &arg11_defvalue ;
16231 bool result;
16232 void *argp1 = 0 ;
16233 int res1 = 0 ;
16234 void *argp2 = 0 ;
16235 int res2 = 0 ;
16236 int val3 ;
16237 int ecode3 = 0 ;
16238 bool temp4 = false ;
16239 wxPoint temp5 ;
16240 wxSize temp6 ;
16241 bool temp7 = false ;
16242 int val8 ;
16243 int ecode8 = 0 ;
16244 long val9 ;
16245 int ecode9 = 0 ;
16246 void *argp10 = 0 ;
16247 int res10 = 0 ;
16248 bool temp11 = false ;
16249 PyObject * obj0 = 0 ;
16250 PyObject * obj1 = 0 ;
16251 PyObject * obj2 = 0 ;
16252 PyObject * obj3 = 0 ;
16253 PyObject * obj4 = 0 ;
16254 PyObject * obj5 = 0 ;
16255 PyObject * obj6 = 0 ;
16256 PyObject * obj7 = 0 ;
16257 PyObject * obj8 = 0 ;
16258 PyObject * obj9 = 0 ;
16259 PyObject * obj10 = 0 ;
16260 char * kwnames[] = {
16261 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16262 };
16263
16264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16266 if (!SWIG_IsOK(res1)) {
16267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16268 }
16269 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16270 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16271 if (!SWIG_IsOK(res2)) {
16272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16273 }
16274 arg2 = reinterpret_cast< wxWindow * >(argp2);
16275 if (obj2) {
16276 ecode3 = SWIG_AsVal_int(obj2, &val3);
16277 if (!SWIG_IsOK(ecode3)) {
16278 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16279 }
16280 arg3 = static_cast< int >(val3);
16281 }
16282 if (obj3) {
16283 {
16284 arg4 = wxString_in_helper(obj3);
16285 if (arg4 == NULL) SWIG_fail;
16286 temp4 = true;
16287 }
16288 }
16289 if (obj4) {
16290 {
16291 arg5 = &temp5;
16292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16293 }
16294 }
16295 if (obj5) {
16296 {
16297 arg6 = &temp6;
16298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16299 }
16300 }
16301 if (obj6) {
16302 {
16303 if (! PySequence_Check(obj6)) {
16304 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16305 SWIG_fail;
16306 }
16307 arg7 = new wxArrayString;
16308 temp7 = true;
16309 int i, len=PySequence_Length(obj6);
16310 for (i=0; i<len; i++) {
16311 PyObject* item = PySequence_GetItem(obj6, i);
16312 wxString* s = wxString_in_helper(item);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 arg7->Add(*s);
16315 delete s;
16316 Py_DECREF(item);
16317 }
16318 }
16319 }
16320 if (obj7) {
16321 ecode8 = SWIG_AsVal_int(obj7, &val8);
16322 if (!SWIG_IsOK(ecode8)) {
16323 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16324 }
16325 arg8 = static_cast< int >(val8);
16326 }
16327 if (obj8) {
16328 ecode9 = SWIG_AsVal_long(obj8, &val9);
16329 if (!SWIG_IsOK(ecode9)) {
16330 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16331 }
16332 arg9 = static_cast< long >(val9);
16333 }
16334 if (obj9) {
16335 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16336 if (!SWIG_IsOK(res10)) {
16337 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16338 }
16339 if (!argp10) {
16340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16341 }
16342 arg10 = reinterpret_cast< wxValidator * >(argp10);
16343 }
16344 if (obj10) {
16345 {
16346 arg11 = wxString_in_helper(obj10);
16347 if (arg11 == NULL) SWIG_fail;
16348 temp11 = true;
16349 }
16350 }
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 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);
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 {
16358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16359 }
16360 {
16361 if (temp4)
16362 delete arg4;
16363 }
16364 {
16365 if (temp7) delete arg7;
16366 }
16367 {
16368 if (temp11)
16369 delete arg11;
16370 }
16371 return resultobj;
16372 fail:
16373 {
16374 if (temp4)
16375 delete arg4;
16376 }
16377 {
16378 if (temp7) delete arg7;
16379 }
16380 {
16381 if (temp11)
16382 delete arg11;
16383 }
16384 return NULL;
16385 }
16386
16387
16388 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj = 0;
16390 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16391 int arg2 ;
16392 void *argp1 = 0 ;
16393 int res1 = 0 ;
16394 int val2 ;
16395 int ecode2 = 0 ;
16396 PyObject * obj0 = 0 ;
16397 PyObject * obj1 = 0 ;
16398 char * kwnames[] = {
16399 (char *) "self",(char *) "n", NULL
16400 };
16401
16402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16404 if (!SWIG_IsOK(res1)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16406 }
16407 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16408 ecode2 = SWIG_AsVal_int(obj1, &val2);
16409 if (!SWIG_IsOK(ecode2)) {
16410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16411 }
16412 arg2 = static_cast< int >(val2);
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 (arg1)->SetSelection(arg2);
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 resultobj = SWIG_Py_Void();
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16427 PyObject *resultobj = 0;
16428 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16429 int result;
16430 void *argp1 = 0 ;
16431 int res1 = 0 ;
16432 PyObject *swig_obj[1] ;
16433
16434 if (!args) SWIG_fail;
16435 swig_obj[0] = args;
16436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16439 }
16440 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16441 {
16442 PyThreadState* __tstate = wxPyBeginAllowThreads();
16443 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 resultobj = SWIG_From_int(static_cast< int >(result));
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16455 PyObject *resultobj = 0;
16456 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16457 wxString result;
16458 void *argp1 = 0 ;
16459 int res1 = 0 ;
16460 PyObject *swig_obj[1] ;
16461
16462 if (!args) SWIG_fail;
16463 swig_obj[0] = args;
16464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16465 if (!SWIG_IsOK(res1)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16467 }
16468 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 #if wxUSE_UNICODE
16477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16478 #else
16479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16480 #endif
16481 }
16482 return resultobj;
16483 fail:
16484 return NULL;
16485 }
16486
16487
16488 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16489 PyObject *resultobj = 0;
16490 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16491 wxString *arg2 = 0 ;
16492 bool result;
16493 void *argp1 = 0 ;
16494 int res1 = 0 ;
16495 bool temp2 = false ;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char * kwnames[] = {
16499 (char *) "self",(char *) "s", NULL
16500 };
16501
16502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",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_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16506 }
16507 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16508 {
16509 arg2 = wxString_in_helper(obj1);
16510 if (arg2 == NULL) SWIG_fail;
16511 temp2 = true;
16512 }
16513 {
16514 PyThreadState* __tstate = wxPyBeginAllowThreads();
16515 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16521 }
16522 {
16523 if (temp2)
16524 delete arg2;
16525 }
16526 return resultobj;
16527 fail:
16528 {
16529 if (temp2)
16530 delete arg2;
16531 }
16532 return NULL;
16533 }
16534
16535
16536 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16537 PyObject *resultobj = 0;
16538 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16539 size_t result;
16540 void *argp1 = 0 ;
16541 int res1 = 0 ;
16542 PyObject *swig_obj[1] ;
16543
16544 if (!args) SWIG_fail;
16545 swig_obj[0] = args;
16546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16547 if (!SWIG_IsOK(res1)) {
16548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16549 }
16550 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj = 0;
16566 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16567 wxString *arg2 = 0 ;
16568 int result;
16569 void *argp1 = 0 ;
16570 int res1 = 0 ;
16571 bool temp2 = false ;
16572 PyObject * obj0 = 0 ;
16573 PyObject * obj1 = 0 ;
16574 char * kwnames[] = {
16575 (char *) "self",(char *) "s", NULL
16576 };
16577
16578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16580 if (!SWIG_IsOK(res1)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16582 }
16583 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16584 {
16585 arg2 = wxString_in_helper(obj1);
16586 if (arg2 == NULL) SWIG_fail;
16587 temp2 = true;
16588 }
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_From_int(static_cast< int >(result));
16596 {
16597 if (temp2)
16598 delete arg2;
16599 }
16600 return resultobj;
16601 fail:
16602 {
16603 if (temp2)
16604 delete arg2;
16605 }
16606 return NULL;
16607 }
16608
16609
16610 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16611 PyObject *resultobj = 0;
16612 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16613 int arg2 ;
16614 wxString result;
16615 void *argp1 = 0 ;
16616 int res1 = 0 ;
16617 int val2 ;
16618 int ecode2 = 0 ;
16619 PyObject * obj0 = 0 ;
16620 PyObject * obj1 = 0 ;
16621 char * kwnames[] = {
16622 (char *) "self",(char *) "n", NULL
16623 };
16624
16625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16627 if (!SWIG_IsOK(res1)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16629 }
16630 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16631 ecode2 = SWIG_AsVal_int(obj1, &val2);
16632 if (!SWIG_IsOK(ecode2)) {
16633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16634 }
16635 arg2 = static_cast< int >(val2);
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 {
16643 #if wxUSE_UNICODE
16644 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16645 #else
16646 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16647 #endif
16648 }
16649 return resultobj;
16650 fail:
16651 return NULL;
16652 }
16653
16654
16655 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16656 PyObject *resultobj = 0;
16657 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16658 int arg2 ;
16659 wxString *arg3 = 0 ;
16660 void *argp1 = 0 ;
16661 int res1 = 0 ;
16662 int val2 ;
16663 int ecode2 = 0 ;
16664 bool temp3 = false ;
16665 PyObject * obj0 = 0 ;
16666 PyObject * obj1 = 0 ;
16667 PyObject * obj2 = 0 ;
16668 char * kwnames[] = {
16669 (char *) "self",(char *) "n",(char *) "label", NULL
16670 };
16671
16672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16674 if (!SWIG_IsOK(res1)) {
16675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16676 }
16677 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16678 ecode2 = SWIG_AsVal_int(obj1, &val2);
16679 if (!SWIG_IsOK(ecode2)) {
16680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16681 }
16682 arg2 = static_cast< int >(val2);
16683 {
16684 arg3 = wxString_in_helper(obj2);
16685 if (arg3 == NULL) SWIG_fail;
16686 temp3 = true;
16687 }
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 (arg1)->SetString(arg2,(wxString const &)*arg3);
16691 wxPyEndAllowThreads(__tstate);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 resultobj = SWIG_Py_Void();
16695 {
16696 if (temp3)
16697 delete arg3;
16698 }
16699 return resultobj;
16700 fail:
16701 {
16702 if (temp3)
16703 delete arg3;
16704 }
16705 return NULL;
16706 }
16707
16708
16709 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj = 0;
16711 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16712 unsigned int arg2 ;
16713 bool arg3 = (bool) true ;
16714 void *argp1 = 0 ;
16715 int res1 = 0 ;
16716 unsigned int val2 ;
16717 int ecode2 = 0 ;
16718 bool val3 ;
16719 int ecode3 = 0 ;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 PyObject * obj2 = 0 ;
16723 char * kwnames[] = {
16724 (char *) "self",(char *) "n",(char *) "enable", NULL
16725 };
16726
16727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16729 if (!SWIG_IsOK(res1)) {
16730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16731 }
16732 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16733 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16734 if (!SWIG_IsOK(ecode2)) {
16735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16736 }
16737 arg2 = static_cast< unsigned int >(val2);
16738 if (obj2) {
16739 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16740 if (!SWIG_IsOK(ecode3)) {
16741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16742 }
16743 arg3 = static_cast< bool >(val3);
16744 }
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 (arg1)->Enable(arg2,arg3);
16748 wxPyEndAllowThreads(__tstate);
16749 if (PyErr_Occurred()) SWIG_fail;
16750 }
16751 resultobj = SWIG_Py_Void();
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj = 0;
16760 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16761 unsigned int arg2 ;
16762 bool arg3 = (bool) true ;
16763 void *argp1 = 0 ;
16764 int res1 = 0 ;
16765 unsigned int val2 ;
16766 int ecode2 = 0 ;
16767 bool val3 ;
16768 int ecode3 = 0 ;
16769 PyObject * obj0 = 0 ;
16770 PyObject * obj1 = 0 ;
16771 PyObject * obj2 = 0 ;
16772 char * kwnames[] = {
16773 (char *) "self",(char *) "n",(char *) "show", NULL
16774 };
16775
16776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16778 if (!SWIG_IsOK(res1)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16780 }
16781 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16782 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16783 if (!SWIG_IsOK(ecode2)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16785 }
16786 arg2 = static_cast< unsigned int >(val2);
16787 if (obj2) {
16788 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16789 if (!SWIG_IsOK(ecode3)) {
16790 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16791 }
16792 arg3 = static_cast< bool >(val3);
16793 }
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 (arg1)->Show(arg2,arg3);
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 resultobj = SWIG_Py_Void();
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj = 0;
16809 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16810 unsigned int arg2 ;
16811 bool result;
16812 void *argp1 = 0 ;
16813 int res1 = 0 ;
16814 unsigned int val2 ;
16815 int ecode2 = 0 ;
16816 PyObject * obj0 = 0 ;
16817 PyObject * obj1 = 0 ;
16818 char * kwnames[] = {
16819 (char *) "self",(char *) "n", NULL
16820 };
16821
16822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16824 if (!SWIG_IsOK(res1)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16826 }
16827 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16828 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16829 if (!SWIG_IsOK(ecode2)) {
16830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16831 }
16832 arg2 = static_cast< unsigned int >(val2);
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 {
16840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16841 }
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = 0;
16850 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16851 unsigned int arg2 ;
16852 bool result;
16853 void *argp1 = 0 ;
16854 int res1 = 0 ;
16855 unsigned int val2 ;
16856 int ecode2 = 0 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 char * kwnames[] = {
16860 (char *) "self",(char *) "n", NULL
16861 };
16862
16863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16865 if (!SWIG_IsOK(res1)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16867 }
16868 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16869 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16870 if (!SWIG_IsOK(ecode2)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16872 }
16873 arg2 = static_cast< unsigned int >(val2);
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16882 }
16883 return resultobj;
16884 fail:
16885 return NULL;
16886 }
16887
16888
16889 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16890 PyObject *resultobj = 0;
16891 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16892 unsigned int result;
16893 void *argp1 = 0 ;
16894 int res1 = 0 ;
16895 PyObject *swig_obj[1] ;
16896
16897 if (!args) SWIG_fail;
16898 swig_obj[0] = args;
16899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16900 if (!SWIG_IsOK(res1)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16902 }
16903 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16918 PyObject *resultobj = 0;
16919 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16920 unsigned int result;
16921 void *argp1 = 0 ;
16922 int res1 = 0 ;
16923 PyObject *swig_obj[1] ;
16924
16925 if (!args) SWIG_fail;
16926 swig_obj[0] = args;
16927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16928 if (!SWIG_IsOK(res1)) {
16929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16930 }
16931 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
16939 return resultobj;
16940 fail:
16941 return NULL;
16942 }
16943
16944
16945 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj = 0;
16947 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16948 int arg2 ;
16949 wxDirection arg3 ;
16950 long arg4 ;
16951 int result;
16952 void *argp1 = 0 ;
16953 int res1 = 0 ;
16954 int val2 ;
16955 int ecode2 = 0 ;
16956 int val3 ;
16957 int ecode3 = 0 ;
16958 long val4 ;
16959 int ecode4 = 0 ;
16960 PyObject * obj0 = 0 ;
16961 PyObject * obj1 = 0 ;
16962 PyObject * obj2 = 0 ;
16963 PyObject * obj3 = 0 ;
16964 char * kwnames[] = {
16965 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16966 };
16967
16968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16970 if (!SWIG_IsOK(res1)) {
16971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16972 }
16973 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16974 ecode2 = SWIG_AsVal_int(obj1, &val2);
16975 if (!SWIG_IsOK(ecode2)) {
16976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16977 }
16978 arg2 = static_cast< int >(val2);
16979 ecode3 = SWIG_AsVal_int(obj2, &val3);
16980 if (!SWIG_IsOK(ecode3)) {
16981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16982 }
16983 arg3 = static_cast< wxDirection >(val3);
16984 ecode4 = SWIG_AsVal_long(obj3, &val4);
16985 if (!SWIG_IsOK(ecode4)) {
16986 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16987 }
16988 arg4 = static_cast< long >(val4);
16989 {
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 resultobj = SWIG_From_int(static_cast< int >(result));
16996 return resultobj;
16997 fail:
16998 return NULL;
16999 }
17000
17001
17002 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj = 0;
17004 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17005 unsigned int arg2 ;
17006 wxString *arg3 = 0 ;
17007 void *argp1 = 0 ;
17008 int res1 = 0 ;
17009 unsigned int val2 ;
17010 int ecode2 = 0 ;
17011 bool temp3 = false ;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 PyObject * obj2 = 0 ;
17015 char * kwnames[] = {
17016 (char *) "self",(char *) "item",(char *) "text", NULL
17017 };
17018
17019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17021 if (!SWIG_IsOK(res1)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17023 }
17024 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17025 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17026 if (!SWIG_IsOK(ecode2)) {
17027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17028 }
17029 arg2 = static_cast< unsigned int >(val2);
17030 {
17031 arg3 = wxString_in_helper(obj2);
17032 if (arg3 == NULL) SWIG_fail;
17033 temp3 = true;
17034 }
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = SWIG_Py_Void();
17042 {
17043 if (temp3)
17044 delete arg3;
17045 }
17046 return resultobj;
17047 fail:
17048 {
17049 if (temp3)
17050 delete arg3;
17051 }
17052 return NULL;
17053 }
17054
17055
17056 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj = 0;
17058 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17059 unsigned int arg2 ;
17060 wxToolTip *result = 0 ;
17061 void *argp1 = 0 ;
17062 int res1 = 0 ;
17063 unsigned int val2 ;
17064 int ecode2 = 0 ;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 char * kwnames[] = {
17068 (char *) "self",(char *) "item", NULL
17069 };
17070
17071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17073 if (!SWIG_IsOK(res1)) {
17074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17075 }
17076 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17077 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17078 if (!SWIG_IsOK(ecode2)) {
17079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17080 }
17081 arg2 = static_cast< unsigned int >(val2);
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 {
17089 resultobj = wxPyMake_wxObject(result, (bool)0);
17090 }
17091 return resultobj;
17092 fail:
17093 return NULL;
17094 }
17095
17096
17097 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj = 0;
17099 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17100 unsigned int arg2 ;
17101 wxString *arg3 = 0 ;
17102 void *argp1 = 0 ;
17103 int res1 = 0 ;
17104 unsigned int val2 ;
17105 int ecode2 = 0 ;
17106 bool temp3 = false ;
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 PyObject * obj2 = 0 ;
17110 char * kwnames[] = {
17111 (char *) "self",(char *) "n",(char *) "helpText", NULL
17112 };
17113
17114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17116 if (!SWIG_IsOK(res1)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17118 }
17119 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17120 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17121 if (!SWIG_IsOK(ecode2)) {
17122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17123 }
17124 arg2 = static_cast< unsigned int >(val2);
17125 {
17126 arg3 = wxString_in_helper(obj2);
17127 if (arg3 == NULL) SWIG_fail;
17128 temp3 = true;
17129 }
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 resultobj = SWIG_Py_Void();
17137 {
17138 if (temp3)
17139 delete arg3;
17140 }
17141 return resultobj;
17142 fail:
17143 {
17144 if (temp3)
17145 delete arg3;
17146 }
17147 return NULL;
17148 }
17149
17150
17151 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17152 PyObject *resultobj = 0;
17153 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17154 unsigned int arg2 ;
17155 wxString result;
17156 void *argp1 = 0 ;
17157 int res1 = 0 ;
17158 unsigned int val2 ;
17159 int ecode2 = 0 ;
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
17162 char * kwnames[] = {
17163 (char *) "self",(char *) "n", NULL
17164 };
17165
17166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17168 if (!SWIG_IsOK(res1)) {
17169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17170 }
17171 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17172 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17173 if (!SWIG_IsOK(ecode2)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17175 }
17176 arg2 = static_cast< unsigned int >(val2);
17177 {
17178 PyThreadState* __tstate = wxPyBeginAllowThreads();
17179 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17180 wxPyEndAllowThreads(__tstate);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 {
17184 #if wxUSE_UNICODE
17185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17186 #else
17187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17188 #endif
17189 }
17190 return resultobj;
17191 fail:
17192 return NULL;
17193 }
17194
17195
17196 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17197 PyObject *resultobj = 0;
17198 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17199 SwigValueWrapper<wxVisualAttributes > result;
17200 int val1 ;
17201 int ecode1 = 0 ;
17202 PyObject * obj0 = 0 ;
17203 char * kwnames[] = {
17204 (char *) "variant", NULL
17205 };
17206
17207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17208 if (obj0) {
17209 ecode1 = SWIG_AsVal_int(obj0, &val1);
17210 if (!SWIG_IsOK(ecode1)) {
17211 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17212 }
17213 arg1 = static_cast< wxWindowVariant >(val1);
17214 }
17215 {
17216 if (!wxPyCheckForApp()) SWIG_fail;
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17223 return resultobj;
17224 fail:
17225 return NULL;
17226 }
17227
17228
17229 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17230 PyObject *obj;
17231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17232 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17233 return SWIG_Py_Void();
17234 }
17235
17236 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17237 return SWIG_Python_InitShadowInstance(args);
17238 }
17239
17240 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxWindow *arg1 = (wxWindow *) 0 ;
17243 int arg2 = (int) -1 ;
17244 wxString const &arg3_defvalue = wxPyEmptyString ;
17245 wxString *arg3 = (wxString *) &arg3_defvalue ;
17246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17248 wxSize const &arg5_defvalue = wxDefaultSize ;
17249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17250 long arg6 = (long) 0 ;
17251 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17252 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17253 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17254 wxString *arg8 = (wxString *) &arg8_defvalue ;
17255 wxRadioButton *result = 0 ;
17256 void *argp1 = 0 ;
17257 int res1 = 0 ;
17258 int val2 ;
17259 int ecode2 = 0 ;
17260 bool temp3 = false ;
17261 wxPoint temp4 ;
17262 wxSize temp5 ;
17263 long val6 ;
17264 int ecode6 = 0 ;
17265 void *argp7 = 0 ;
17266 int res7 = 0 ;
17267 bool temp8 = false ;
17268 PyObject * obj0 = 0 ;
17269 PyObject * obj1 = 0 ;
17270 PyObject * obj2 = 0 ;
17271 PyObject * obj3 = 0 ;
17272 PyObject * obj4 = 0 ;
17273 PyObject * obj5 = 0 ;
17274 PyObject * obj6 = 0 ;
17275 PyObject * obj7 = 0 ;
17276 char * kwnames[] = {
17277 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17278 };
17279
17280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17282 if (!SWIG_IsOK(res1)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17284 }
17285 arg1 = reinterpret_cast< wxWindow * >(argp1);
17286 if (obj1) {
17287 ecode2 = SWIG_AsVal_int(obj1, &val2);
17288 if (!SWIG_IsOK(ecode2)) {
17289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17290 }
17291 arg2 = static_cast< int >(val2);
17292 }
17293 if (obj2) {
17294 {
17295 arg3 = wxString_in_helper(obj2);
17296 if (arg3 == NULL) SWIG_fail;
17297 temp3 = true;
17298 }
17299 }
17300 if (obj3) {
17301 {
17302 arg4 = &temp4;
17303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17304 }
17305 }
17306 if (obj4) {
17307 {
17308 arg5 = &temp5;
17309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17310 }
17311 }
17312 if (obj5) {
17313 ecode6 = SWIG_AsVal_long(obj5, &val6);
17314 if (!SWIG_IsOK(ecode6)) {
17315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17316 }
17317 arg6 = static_cast< long >(val6);
17318 }
17319 if (obj6) {
17320 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17321 if (!SWIG_IsOK(res7)) {
17322 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17323 }
17324 if (!argp7) {
17325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17326 }
17327 arg7 = reinterpret_cast< wxValidator * >(argp7);
17328 }
17329 if (obj7) {
17330 {
17331 arg8 = wxString_in_helper(obj7);
17332 if (arg8 == NULL) SWIG_fail;
17333 temp8 = true;
17334 }
17335 }
17336 {
17337 if (!wxPyCheckForApp()) SWIG_fail;
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17344 {
17345 if (temp3)
17346 delete arg3;
17347 }
17348 {
17349 if (temp8)
17350 delete arg8;
17351 }
17352 return resultobj;
17353 fail:
17354 {
17355 if (temp3)
17356 delete arg3;
17357 }
17358 {
17359 if (temp8)
17360 delete arg8;
17361 }
17362 return NULL;
17363 }
17364
17365
17366 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17367 PyObject *resultobj = 0;
17368 wxRadioButton *result = 0 ;
17369
17370 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17371 {
17372 if (!wxPyCheckForApp()) SWIG_fail;
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 result = (wxRadioButton *)new wxRadioButton();
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj = 0;
17387 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17388 wxWindow *arg2 = (wxWindow *) 0 ;
17389 int arg3 = (int) -1 ;
17390 wxString const &arg4_defvalue = wxPyEmptyString ;
17391 wxString *arg4 = (wxString *) &arg4_defvalue ;
17392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17394 wxSize const &arg6_defvalue = wxDefaultSize ;
17395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17396 long arg7 = (long) 0 ;
17397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17399 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17400 wxString *arg9 = (wxString *) &arg9_defvalue ;
17401 bool result;
17402 void *argp1 = 0 ;
17403 int res1 = 0 ;
17404 void *argp2 = 0 ;
17405 int res2 = 0 ;
17406 int val3 ;
17407 int ecode3 = 0 ;
17408 bool temp4 = false ;
17409 wxPoint temp5 ;
17410 wxSize temp6 ;
17411 long val7 ;
17412 int ecode7 = 0 ;
17413 void *argp8 = 0 ;
17414 int res8 = 0 ;
17415 bool temp9 = false ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 PyObject * obj2 = 0 ;
17419 PyObject * obj3 = 0 ;
17420 PyObject * obj4 = 0 ;
17421 PyObject * obj5 = 0 ;
17422 PyObject * obj6 = 0 ;
17423 PyObject * obj7 = 0 ;
17424 PyObject * obj8 = 0 ;
17425 char * kwnames[] = {
17426 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17427 };
17428
17429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17431 if (!SWIG_IsOK(res1)) {
17432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17433 }
17434 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17436 if (!SWIG_IsOK(res2)) {
17437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17438 }
17439 arg2 = reinterpret_cast< wxWindow * >(argp2);
17440 if (obj2) {
17441 ecode3 = SWIG_AsVal_int(obj2, &val3);
17442 if (!SWIG_IsOK(ecode3)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17444 }
17445 arg3 = static_cast< int >(val3);
17446 }
17447 if (obj3) {
17448 {
17449 arg4 = wxString_in_helper(obj3);
17450 if (arg4 == NULL) SWIG_fail;
17451 temp4 = true;
17452 }
17453 }
17454 if (obj4) {
17455 {
17456 arg5 = &temp5;
17457 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17458 }
17459 }
17460 if (obj5) {
17461 {
17462 arg6 = &temp6;
17463 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17464 }
17465 }
17466 if (obj6) {
17467 ecode7 = SWIG_AsVal_long(obj6, &val7);
17468 if (!SWIG_IsOK(ecode7)) {
17469 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17470 }
17471 arg7 = static_cast< long >(val7);
17472 }
17473 if (obj7) {
17474 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17475 if (!SWIG_IsOK(res8)) {
17476 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17477 }
17478 if (!argp8) {
17479 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17480 }
17481 arg8 = reinterpret_cast< wxValidator * >(argp8);
17482 }
17483 if (obj8) {
17484 {
17485 arg9 = wxString_in_helper(obj8);
17486 if (arg9 == NULL) SWIG_fail;
17487 temp9 = true;
17488 }
17489 }
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 {
17497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17498 }
17499 {
17500 if (temp4)
17501 delete arg4;
17502 }
17503 {
17504 if (temp9)
17505 delete arg9;
17506 }
17507 return resultobj;
17508 fail:
17509 {
17510 if (temp4)
17511 delete arg4;
17512 }
17513 {
17514 if (temp9)
17515 delete arg9;
17516 }
17517 return NULL;
17518 }
17519
17520
17521 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17522 PyObject *resultobj = 0;
17523 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17524 bool result;
17525 void *argp1 = 0 ;
17526 int res1 = 0 ;
17527 PyObject *swig_obj[1] ;
17528
17529 if (!args) SWIG_fail;
17530 swig_obj[0] = args;
17531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17532 if (!SWIG_IsOK(res1)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17534 }
17535 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = (bool)(arg1)->GetValue();
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 {
17543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17544 }
17545 return resultobj;
17546 fail:
17547 return NULL;
17548 }
17549
17550
17551 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj = 0;
17553 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17554 bool arg2 ;
17555 void *argp1 = 0 ;
17556 int res1 = 0 ;
17557 bool val2 ;
17558 int ecode2 = 0 ;
17559 PyObject * obj0 = 0 ;
17560 PyObject * obj1 = 0 ;
17561 char * kwnames[] = {
17562 (char *) "self",(char *) "value", NULL
17563 };
17564
17565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17567 if (!SWIG_IsOK(res1)) {
17568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17569 }
17570 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17571 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17572 if (!SWIG_IsOK(ecode2)) {
17573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17574 }
17575 arg2 = static_cast< bool >(val2);
17576 {
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 (arg1)->SetValue(arg2);
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 resultobj = SWIG_Py_Void();
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj = 0;
17591 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17592 SwigValueWrapper<wxVisualAttributes > result;
17593 int val1 ;
17594 int ecode1 = 0 ;
17595 PyObject * obj0 = 0 ;
17596 char * kwnames[] = {
17597 (char *) "variant", NULL
17598 };
17599
17600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17601 if (obj0) {
17602 ecode1 = SWIG_AsVal_int(obj0, &val1);
17603 if (!SWIG_IsOK(ecode1)) {
17604 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17605 }
17606 arg1 = static_cast< wxWindowVariant >(val1);
17607 }
17608 {
17609 if (!wxPyCheckForApp()) SWIG_fail;
17610 PyThreadState* __tstate = wxPyBeginAllowThreads();
17611 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17623 PyObject *obj;
17624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17626 return SWIG_Py_Void();
17627 }
17628
17629 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17630 return SWIG_Python_InitShadowInstance(args);
17631 }
17632
17633 SWIGINTERN int SliderNameStr_set(PyObject *) {
17634 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17635 return 1;
17636 }
17637
17638
17639 SWIGINTERN PyObject *SliderNameStr_get(void) {
17640 PyObject *pyobj = 0;
17641
17642 {
17643 #if wxUSE_UNICODE
17644 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17645 #else
17646 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17647 #endif
17648 }
17649 return pyobj;
17650 }
17651
17652
17653 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj = 0;
17655 wxWindow *arg1 = (wxWindow *) 0 ;
17656 int arg2 = (int) -1 ;
17657 int arg3 = (int) 0 ;
17658 int arg4 = (int) 0 ;
17659 int arg5 = (int) 100 ;
17660 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17661 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17662 wxSize const &arg7_defvalue = wxDefaultSize ;
17663 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17664 long arg8 = (long) wxSL_HORIZONTAL ;
17665 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17666 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17667 wxString const &arg10_defvalue = wxPySliderNameStr ;
17668 wxString *arg10 = (wxString *) &arg10_defvalue ;
17669 wxSlider *result = 0 ;
17670 void *argp1 = 0 ;
17671 int res1 = 0 ;
17672 int val2 ;
17673 int ecode2 = 0 ;
17674 int val3 ;
17675 int ecode3 = 0 ;
17676 int val4 ;
17677 int ecode4 = 0 ;
17678 int val5 ;
17679 int ecode5 = 0 ;
17680 wxPoint temp6 ;
17681 wxSize temp7 ;
17682 long val8 ;
17683 int ecode8 = 0 ;
17684 void *argp9 = 0 ;
17685 int res9 = 0 ;
17686 bool temp10 = false ;
17687 PyObject * obj0 = 0 ;
17688 PyObject * obj1 = 0 ;
17689 PyObject * obj2 = 0 ;
17690 PyObject * obj3 = 0 ;
17691 PyObject * obj4 = 0 ;
17692 PyObject * obj5 = 0 ;
17693 PyObject * obj6 = 0 ;
17694 PyObject * obj7 = 0 ;
17695 PyObject * obj8 = 0 ;
17696 PyObject * obj9 = 0 ;
17697 char * kwnames[] = {
17698 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17699 };
17700
17701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17703 if (!SWIG_IsOK(res1)) {
17704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17705 }
17706 arg1 = reinterpret_cast< wxWindow * >(argp1);
17707 if (obj1) {
17708 ecode2 = SWIG_AsVal_int(obj1, &val2);
17709 if (!SWIG_IsOK(ecode2)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17711 }
17712 arg2 = static_cast< int >(val2);
17713 }
17714 if (obj2) {
17715 ecode3 = SWIG_AsVal_int(obj2, &val3);
17716 if (!SWIG_IsOK(ecode3)) {
17717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17718 }
17719 arg3 = static_cast< int >(val3);
17720 }
17721 if (obj3) {
17722 ecode4 = SWIG_AsVal_int(obj3, &val4);
17723 if (!SWIG_IsOK(ecode4)) {
17724 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17725 }
17726 arg4 = static_cast< int >(val4);
17727 }
17728 if (obj4) {
17729 ecode5 = SWIG_AsVal_int(obj4, &val5);
17730 if (!SWIG_IsOK(ecode5)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17732 }
17733 arg5 = static_cast< int >(val5);
17734 }
17735 if (obj5) {
17736 {
17737 arg6 = &temp6;
17738 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17739 }
17740 }
17741 if (obj6) {
17742 {
17743 arg7 = &temp7;
17744 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17745 }
17746 }
17747 if (obj7) {
17748 ecode8 = SWIG_AsVal_long(obj7, &val8);
17749 if (!SWIG_IsOK(ecode8)) {
17750 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17751 }
17752 arg8 = static_cast< long >(val8);
17753 }
17754 if (obj8) {
17755 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17756 if (!SWIG_IsOK(res9)) {
17757 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17758 }
17759 if (!argp9) {
17760 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17761 }
17762 arg9 = reinterpret_cast< wxValidator * >(argp9);
17763 }
17764 if (obj9) {
17765 {
17766 arg10 = wxString_in_helper(obj9);
17767 if (arg10 == NULL) SWIG_fail;
17768 temp10 = true;
17769 }
17770 }
17771 {
17772 if (!wxPyCheckForApp()) SWIG_fail;
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17779 {
17780 if (temp10)
17781 delete arg10;
17782 }
17783 return resultobj;
17784 fail:
17785 {
17786 if (temp10)
17787 delete arg10;
17788 }
17789 return NULL;
17790 }
17791
17792
17793 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17794 PyObject *resultobj = 0;
17795 wxSlider *result = 0 ;
17796
17797 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17798 {
17799 if (!wxPyCheckForApp()) SWIG_fail;
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (wxSlider *)new wxSlider();
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj = 0;
17814 wxSlider *arg1 = (wxSlider *) 0 ;
17815 wxWindow *arg2 = (wxWindow *) 0 ;
17816 int arg3 = (int) -1 ;
17817 int arg4 = (int) 0 ;
17818 int arg5 = (int) 0 ;
17819 int arg6 = (int) 100 ;
17820 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17821 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17822 wxSize const &arg8_defvalue = wxDefaultSize ;
17823 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17824 long arg9 = (long) wxSL_HORIZONTAL ;
17825 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17826 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17827 wxString const &arg11_defvalue = wxPySliderNameStr ;
17828 wxString *arg11 = (wxString *) &arg11_defvalue ;
17829 bool result;
17830 void *argp1 = 0 ;
17831 int res1 = 0 ;
17832 void *argp2 = 0 ;
17833 int res2 = 0 ;
17834 int val3 ;
17835 int ecode3 = 0 ;
17836 int val4 ;
17837 int ecode4 = 0 ;
17838 int val5 ;
17839 int ecode5 = 0 ;
17840 int val6 ;
17841 int ecode6 = 0 ;
17842 wxPoint temp7 ;
17843 wxSize temp8 ;
17844 long val9 ;
17845 int ecode9 = 0 ;
17846 void *argp10 = 0 ;
17847 int res10 = 0 ;
17848 bool temp11 = false ;
17849 PyObject * obj0 = 0 ;
17850 PyObject * obj1 = 0 ;
17851 PyObject * obj2 = 0 ;
17852 PyObject * obj3 = 0 ;
17853 PyObject * obj4 = 0 ;
17854 PyObject * obj5 = 0 ;
17855 PyObject * obj6 = 0 ;
17856 PyObject * obj7 = 0 ;
17857 PyObject * obj8 = 0 ;
17858 PyObject * obj9 = 0 ;
17859 PyObject * obj10 = 0 ;
17860 char * kwnames[] = {
17861 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17862 };
17863
17864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17866 if (!SWIG_IsOK(res1)) {
17867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17868 }
17869 arg1 = reinterpret_cast< wxSlider * >(argp1);
17870 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17871 if (!SWIG_IsOK(res2)) {
17872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17873 }
17874 arg2 = reinterpret_cast< wxWindow * >(argp2);
17875 if (obj2) {
17876 ecode3 = SWIG_AsVal_int(obj2, &val3);
17877 if (!SWIG_IsOK(ecode3)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17879 }
17880 arg3 = static_cast< int >(val3);
17881 }
17882 if (obj3) {
17883 ecode4 = SWIG_AsVal_int(obj3, &val4);
17884 if (!SWIG_IsOK(ecode4)) {
17885 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17886 }
17887 arg4 = static_cast< int >(val4);
17888 }
17889 if (obj4) {
17890 ecode5 = SWIG_AsVal_int(obj4, &val5);
17891 if (!SWIG_IsOK(ecode5)) {
17892 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17893 }
17894 arg5 = static_cast< int >(val5);
17895 }
17896 if (obj5) {
17897 ecode6 = SWIG_AsVal_int(obj5, &val6);
17898 if (!SWIG_IsOK(ecode6)) {
17899 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17900 }
17901 arg6 = static_cast< int >(val6);
17902 }
17903 if (obj6) {
17904 {
17905 arg7 = &temp7;
17906 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17907 }
17908 }
17909 if (obj7) {
17910 {
17911 arg8 = &temp8;
17912 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
17913 }
17914 }
17915 if (obj8) {
17916 ecode9 = SWIG_AsVal_long(obj8, &val9);
17917 if (!SWIG_IsOK(ecode9)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17919 }
17920 arg9 = static_cast< long >(val9);
17921 }
17922 if (obj9) {
17923 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17924 if (!SWIG_IsOK(res10)) {
17925 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17926 }
17927 if (!argp10) {
17928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17929 }
17930 arg10 = reinterpret_cast< wxValidator * >(argp10);
17931 }
17932 if (obj10) {
17933 {
17934 arg11 = wxString_in_helper(obj10);
17935 if (arg11 == NULL) SWIG_fail;
17936 temp11 = true;
17937 }
17938 }
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 {
17946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17947 }
17948 {
17949 if (temp11)
17950 delete arg11;
17951 }
17952 return resultobj;
17953 fail:
17954 {
17955 if (temp11)
17956 delete arg11;
17957 }
17958 return NULL;
17959 }
17960
17961
17962 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17963 PyObject *resultobj = 0;
17964 wxSlider *arg1 = (wxSlider *) 0 ;
17965 int result;
17966 void *argp1 = 0 ;
17967 int res1 = 0 ;
17968 PyObject *swig_obj[1] ;
17969
17970 if (!args) SWIG_fail;
17971 swig_obj[0] = args;
17972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17973 if (!SWIG_IsOK(res1)) {
17974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17975 }
17976 arg1 = reinterpret_cast< wxSlider * >(argp1);
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (int)((wxSlider const *)arg1)->GetValue();
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 resultobj = SWIG_From_int(static_cast< int >(result));
17984 return resultobj;
17985 fail:
17986 return NULL;
17987 }
17988
17989
17990 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj = 0;
17992 wxSlider *arg1 = (wxSlider *) 0 ;
17993 int arg2 ;
17994 void *argp1 = 0 ;
17995 int res1 = 0 ;
17996 int val2 ;
17997 int ecode2 = 0 ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 char * kwnames[] = {
18001 (char *) "self",(char *) "value", NULL
18002 };
18003
18004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18008 }
18009 arg1 = reinterpret_cast< wxSlider * >(argp1);
18010 ecode2 = SWIG_AsVal_int(obj1, &val2);
18011 if (!SWIG_IsOK(ecode2)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18013 }
18014 arg2 = static_cast< int >(val2);
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 (arg1)->SetValue(arg2);
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = SWIG_Py_Void();
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj = 0;
18030 wxSlider *arg1 = (wxSlider *) 0 ;
18031 int arg2 ;
18032 int arg3 ;
18033 void *argp1 = 0 ;
18034 int res1 = 0 ;
18035 int val2 ;
18036 int ecode2 = 0 ;
18037 int val3 ;
18038 int ecode3 = 0 ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 PyObject * obj2 = 0 ;
18042 char * kwnames[] = {
18043 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18044 };
18045
18046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18048 if (!SWIG_IsOK(res1)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18050 }
18051 arg1 = reinterpret_cast< wxSlider * >(argp1);
18052 ecode2 = SWIG_AsVal_int(obj1, &val2);
18053 if (!SWIG_IsOK(ecode2)) {
18054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18055 }
18056 arg2 = static_cast< int >(val2);
18057 ecode3 = SWIG_AsVal_int(obj2, &val3);
18058 if (!SWIG_IsOK(ecode3)) {
18059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18060 }
18061 arg3 = static_cast< int >(val3);
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 (arg1)->SetRange(arg2,arg3);
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = SWIG_Py_Void();
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18076 PyObject *resultobj = 0;
18077 wxSlider *arg1 = (wxSlider *) 0 ;
18078 int result;
18079 void *argp1 = 0 ;
18080 int res1 = 0 ;
18081 PyObject *swig_obj[1] ;
18082
18083 if (!args) SWIG_fail;
18084 swig_obj[0] = args;
18085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18086 if (!SWIG_IsOK(res1)) {
18087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18088 }
18089 arg1 = reinterpret_cast< wxSlider * >(argp1);
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = (int)((wxSlider const *)arg1)->GetMin();
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 resultobj = SWIG_From_int(static_cast< int >(result));
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18104 PyObject *resultobj = 0;
18105 wxSlider *arg1 = (wxSlider *) 0 ;
18106 int result;
18107 void *argp1 = 0 ;
18108 int res1 = 0 ;
18109 PyObject *swig_obj[1] ;
18110
18111 if (!args) SWIG_fail;
18112 swig_obj[0] = args;
18113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18114 if (!SWIG_IsOK(res1)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18116 }
18117 arg1 = reinterpret_cast< wxSlider * >(argp1);
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (int)((wxSlider const *)arg1)->GetMax();
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 resultobj = SWIG_From_int(static_cast< int >(result));
18125 return resultobj;
18126 fail:
18127 return NULL;
18128 }
18129
18130
18131 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj = 0;
18133 wxSlider *arg1 = (wxSlider *) 0 ;
18134 int arg2 ;
18135 void *argp1 = 0 ;
18136 int res1 = 0 ;
18137 int val2 ;
18138 int ecode2 = 0 ;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 char * kwnames[] = {
18142 (char *) "self",(char *) "minValue", NULL
18143 };
18144
18145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18147 if (!SWIG_IsOK(res1)) {
18148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18149 }
18150 arg1 = reinterpret_cast< wxSlider * >(argp1);
18151 ecode2 = SWIG_AsVal_int(obj1, &val2);
18152 if (!SWIG_IsOK(ecode2)) {
18153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18154 }
18155 arg2 = static_cast< int >(val2);
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 (arg1)->SetMin(arg2);
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = SWIG_Py_Void();
18163 return resultobj;
18164 fail:
18165 return NULL;
18166 }
18167
18168
18169 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18170 PyObject *resultobj = 0;
18171 wxSlider *arg1 = (wxSlider *) 0 ;
18172 int arg2 ;
18173 void *argp1 = 0 ;
18174 int res1 = 0 ;
18175 int val2 ;
18176 int ecode2 = 0 ;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18179 char * kwnames[] = {
18180 (char *) "self",(char *) "maxValue", NULL
18181 };
18182
18183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18185 if (!SWIG_IsOK(res1)) {
18186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18187 }
18188 arg1 = reinterpret_cast< wxSlider * >(argp1);
18189 ecode2 = SWIG_AsVal_int(obj1, &val2);
18190 if (!SWIG_IsOK(ecode2)) {
18191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18192 }
18193 arg2 = static_cast< int >(val2);
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 (arg1)->SetMax(arg2);
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 resultobj = SWIG_Py_Void();
18201 return resultobj;
18202 fail:
18203 return NULL;
18204 }
18205
18206
18207 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj = 0;
18209 wxSlider *arg1 = (wxSlider *) 0 ;
18210 int arg2 ;
18211 void *argp1 = 0 ;
18212 int res1 = 0 ;
18213 int val2 ;
18214 int ecode2 = 0 ;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 char * kwnames[] = {
18218 (char *) "self",(char *) "lineSize", NULL
18219 };
18220
18221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18223 if (!SWIG_IsOK(res1)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18225 }
18226 arg1 = reinterpret_cast< wxSlider * >(argp1);
18227 ecode2 = SWIG_AsVal_int(obj1, &val2);
18228 if (!SWIG_IsOK(ecode2)) {
18229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18230 }
18231 arg2 = static_cast< int >(val2);
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 (arg1)->SetLineSize(arg2);
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_Py_Void();
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj = 0;
18247 wxSlider *arg1 = (wxSlider *) 0 ;
18248 int arg2 ;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 int val2 ;
18252 int ecode2 = 0 ;
18253 PyObject * obj0 = 0 ;
18254 PyObject * obj1 = 0 ;
18255 char * kwnames[] = {
18256 (char *) "self",(char *) "pageSize", NULL
18257 };
18258
18259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18261 if (!SWIG_IsOK(res1)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18263 }
18264 arg1 = reinterpret_cast< wxSlider * >(argp1);
18265 ecode2 = SWIG_AsVal_int(obj1, &val2);
18266 if (!SWIG_IsOK(ecode2)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18268 }
18269 arg2 = static_cast< int >(val2);
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 (arg1)->SetPageSize(arg2);
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 resultobj = SWIG_Py_Void();
18277 return resultobj;
18278 fail:
18279 return NULL;
18280 }
18281
18282
18283 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18284 PyObject *resultobj = 0;
18285 wxSlider *arg1 = (wxSlider *) 0 ;
18286 int result;
18287 void *argp1 = 0 ;
18288 int res1 = 0 ;
18289 PyObject *swig_obj[1] ;
18290
18291 if (!args) SWIG_fail;
18292 swig_obj[0] = args;
18293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18296 }
18297 arg1 = reinterpret_cast< wxSlider * >(argp1);
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 result = (int)((wxSlider const *)arg1)->GetLineSize();
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 resultobj = SWIG_From_int(static_cast< int >(result));
18305 return resultobj;
18306 fail:
18307 return NULL;
18308 }
18309
18310
18311 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18312 PyObject *resultobj = 0;
18313 wxSlider *arg1 = (wxSlider *) 0 ;
18314 int result;
18315 void *argp1 = 0 ;
18316 int res1 = 0 ;
18317 PyObject *swig_obj[1] ;
18318
18319 if (!args) SWIG_fail;
18320 swig_obj[0] = args;
18321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18322 if (!SWIG_IsOK(res1)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18324 }
18325 arg1 = reinterpret_cast< wxSlider * >(argp1);
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (int)((wxSlider const *)arg1)->GetPageSize();
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 resultobj = SWIG_From_int(static_cast< int >(result));
18333 return resultobj;
18334 fail:
18335 return NULL;
18336 }
18337
18338
18339 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18340 PyObject *resultobj = 0;
18341 wxSlider *arg1 = (wxSlider *) 0 ;
18342 int arg2 ;
18343 void *argp1 = 0 ;
18344 int res1 = 0 ;
18345 int val2 ;
18346 int ecode2 = 0 ;
18347 PyObject * obj0 = 0 ;
18348 PyObject * obj1 = 0 ;
18349 char * kwnames[] = {
18350 (char *) "self",(char *) "lenPixels", NULL
18351 };
18352
18353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18355 if (!SWIG_IsOK(res1)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18357 }
18358 arg1 = reinterpret_cast< wxSlider * >(argp1);
18359 ecode2 = SWIG_AsVal_int(obj1, &val2);
18360 if (!SWIG_IsOK(ecode2)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18362 }
18363 arg2 = static_cast< int >(val2);
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 (arg1)->SetThumbLength(arg2);
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 resultobj = SWIG_Py_Void();
18371 return resultobj;
18372 fail:
18373 return NULL;
18374 }
18375
18376
18377 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 PyObject *resultobj = 0;
18379 wxSlider *arg1 = (wxSlider *) 0 ;
18380 int result;
18381 void *argp1 = 0 ;
18382 int res1 = 0 ;
18383 PyObject *swig_obj[1] ;
18384
18385 if (!args) SWIG_fail;
18386 swig_obj[0] = args;
18387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18388 if (!SWIG_IsOK(res1)) {
18389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18390 }
18391 arg1 = reinterpret_cast< wxSlider * >(argp1);
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 resultobj = SWIG_From_int(static_cast< int >(result));
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18406 PyObject *resultobj = 0;
18407 wxSlider *arg1 = (wxSlider *) 0 ;
18408 int arg2 ;
18409 int arg3 = (int) 1 ;
18410 void *argp1 = 0 ;
18411 int res1 = 0 ;
18412 int val2 ;
18413 int ecode2 = 0 ;
18414 int val3 ;
18415 int ecode3 = 0 ;
18416 PyObject * obj0 = 0 ;
18417 PyObject * obj1 = 0 ;
18418 PyObject * obj2 = 0 ;
18419 char * kwnames[] = {
18420 (char *) "self",(char *) "n",(char *) "pos", NULL
18421 };
18422
18423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18425 if (!SWIG_IsOK(res1)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18427 }
18428 arg1 = reinterpret_cast< wxSlider * >(argp1);
18429 ecode2 = SWIG_AsVal_int(obj1, &val2);
18430 if (!SWIG_IsOK(ecode2)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18432 }
18433 arg2 = static_cast< int >(val2);
18434 if (obj2) {
18435 ecode3 = SWIG_AsVal_int(obj2, &val3);
18436 if (!SWIG_IsOK(ecode3)) {
18437 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18438 }
18439 arg3 = static_cast< int >(val3);
18440 }
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 (arg1)->SetTickFreq(arg2,arg3);
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 resultobj = SWIG_Py_Void();
18448 return resultobj;
18449 fail:
18450 return NULL;
18451 }
18452
18453
18454 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18455 PyObject *resultobj = 0;
18456 wxSlider *arg1 = (wxSlider *) 0 ;
18457 int result;
18458 void *argp1 = 0 ;
18459 int res1 = 0 ;
18460 PyObject *swig_obj[1] ;
18461
18462 if (!args) SWIG_fail;
18463 swig_obj[0] = args;
18464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18465 if (!SWIG_IsOK(res1)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18467 }
18468 arg1 = reinterpret_cast< wxSlider * >(argp1);
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = SWIG_From_int(static_cast< int >(result));
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18483 PyObject *resultobj = 0;
18484 wxSlider *arg1 = (wxSlider *) 0 ;
18485 void *argp1 = 0 ;
18486 int res1 = 0 ;
18487 PyObject *swig_obj[1] ;
18488
18489 if (!args) SWIG_fail;
18490 swig_obj[0] = args;
18491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18492 if (!SWIG_IsOK(res1)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18494 }
18495 arg1 = reinterpret_cast< wxSlider * >(argp1);
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->ClearTicks();
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 resultobj = SWIG_Py_Void();
18503 return resultobj;
18504 fail:
18505 return NULL;
18506 }
18507
18508
18509 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18510 PyObject *resultobj = 0;
18511 wxSlider *arg1 = (wxSlider *) 0 ;
18512 int arg2 ;
18513 void *argp1 = 0 ;
18514 int res1 = 0 ;
18515 int val2 ;
18516 int ecode2 = 0 ;
18517 PyObject * obj0 = 0 ;
18518 PyObject * obj1 = 0 ;
18519 char * kwnames[] = {
18520 (char *) "self",(char *) "tickPos", NULL
18521 };
18522
18523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) 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_SetTick" "', 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_SetTick" "', expected argument " "2"" of type '" "int""'");
18532 }
18533 arg2 = static_cast< int >(val2);
18534 {
18535 PyThreadState* __tstate = wxPyBeginAllowThreads();
18536 (arg1)->SetTick(arg2);
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = SWIG_Py_Void();
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18548 PyObject *resultobj = 0;
18549 wxSlider *arg1 = (wxSlider *) 0 ;
18550 void *argp1 = 0 ;
18551 int res1 = 0 ;
18552 PyObject *swig_obj[1] ;
18553
18554 if (!args) SWIG_fail;
18555 swig_obj[0] = args;
18556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18557 if (!SWIG_IsOK(res1)) {
18558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18559 }
18560 arg1 = reinterpret_cast< wxSlider * >(argp1);
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->ClearSel();
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 resultobj = SWIG_Py_Void();
18568 return resultobj;
18569 fail:
18570 return NULL;
18571 }
18572
18573
18574 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18575 PyObject *resultobj = 0;
18576 wxSlider *arg1 = (wxSlider *) 0 ;
18577 int result;
18578 void *argp1 = 0 ;
18579 int res1 = 0 ;
18580 PyObject *swig_obj[1] ;
18581
18582 if (!args) SWIG_fail;
18583 swig_obj[0] = args;
18584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18585 if (!SWIG_IsOK(res1)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18587 }
18588 arg1 = reinterpret_cast< wxSlider * >(argp1);
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 resultobj = SWIG_From_int(static_cast< int >(result));
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18603 PyObject *resultobj = 0;
18604 wxSlider *arg1 = (wxSlider *) 0 ;
18605 int result;
18606 void *argp1 = 0 ;
18607 int res1 = 0 ;
18608 PyObject *swig_obj[1] ;
18609
18610 if (!args) SWIG_fail;
18611 swig_obj[0] = args;
18612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18613 if (!SWIG_IsOK(res1)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18615 }
18616 arg1 = reinterpret_cast< wxSlider * >(argp1);
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (int)((wxSlider const *)arg1)->GetSelStart();
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 resultobj = SWIG_From_int(static_cast< int >(result));
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj = 0;
18632 wxSlider *arg1 = (wxSlider *) 0 ;
18633 int arg2 ;
18634 int arg3 ;
18635 void *argp1 = 0 ;
18636 int res1 = 0 ;
18637 int val2 ;
18638 int ecode2 = 0 ;
18639 int val3 ;
18640 int ecode3 = 0 ;
18641 PyObject * obj0 = 0 ;
18642 PyObject * obj1 = 0 ;
18643 PyObject * obj2 = 0 ;
18644 char * kwnames[] = {
18645 (char *) "self",(char *) "min",(char *) "max", NULL
18646 };
18647
18648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18650 if (!SWIG_IsOK(res1)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18652 }
18653 arg1 = reinterpret_cast< wxSlider * >(argp1);
18654 ecode2 = SWIG_AsVal_int(obj1, &val2);
18655 if (!SWIG_IsOK(ecode2)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18657 }
18658 arg2 = static_cast< int >(val2);
18659 ecode3 = SWIG_AsVal_int(obj2, &val3);
18660 if (!SWIG_IsOK(ecode3)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18662 }
18663 arg3 = static_cast< int >(val3);
18664 {
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 (arg1)->SetSelection(arg2,arg3);
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = SWIG_Py_Void();
18671 return resultobj;
18672 fail:
18673 return NULL;
18674 }
18675
18676
18677 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18678 PyObject *resultobj = 0;
18679 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18680 SwigValueWrapper<wxVisualAttributes > result;
18681 int val1 ;
18682 int ecode1 = 0 ;
18683 PyObject * obj0 = 0 ;
18684 char * kwnames[] = {
18685 (char *) "variant", NULL
18686 };
18687
18688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18689 if (obj0) {
18690 ecode1 = SWIG_AsVal_int(obj0, &val1);
18691 if (!SWIG_IsOK(ecode1)) {
18692 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18693 }
18694 arg1 = static_cast< wxWindowVariant >(val1);
18695 }
18696 {
18697 if (!wxPyCheckForApp()) SWIG_fail;
18698 PyThreadState* __tstate = wxPyBeginAllowThreads();
18699 result = wxSlider::GetClassDefaultAttributes(arg1);
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18704 return resultobj;
18705 fail:
18706 return NULL;
18707 }
18708
18709
18710 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18711 PyObject *obj;
18712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18713 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18714 return SWIG_Py_Void();
18715 }
18716
18717 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18718 return SWIG_Python_InitShadowInstance(args);
18719 }
18720
18721 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18722 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18723 return 1;
18724 }
18725
18726
18727 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18728 PyObject *pyobj = 0;
18729
18730 {
18731 #if wxUSE_UNICODE
18732 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18733 #else
18734 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18735 #endif
18736 }
18737 return pyobj;
18738 }
18739
18740
18741 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj = 0;
18743 wxWindow *arg1 = (wxWindow *) 0 ;
18744 int arg2 = (int) -1 ;
18745 wxString const &arg3_defvalue = wxPyEmptyString ;
18746 wxString *arg3 = (wxString *) &arg3_defvalue ;
18747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18749 wxSize const &arg5_defvalue = wxDefaultSize ;
18750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18751 long arg6 = (long) 0 ;
18752 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18753 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18754 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18755 wxString *arg8 = (wxString *) &arg8_defvalue ;
18756 wxToggleButton *result = 0 ;
18757 void *argp1 = 0 ;
18758 int res1 = 0 ;
18759 int val2 ;
18760 int ecode2 = 0 ;
18761 bool temp3 = false ;
18762 wxPoint temp4 ;
18763 wxSize temp5 ;
18764 long val6 ;
18765 int ecode6 = 0 ;
18766 void *argp7 = 0 ;
18767 int res7 = 0 ;
18768 bool temp8 = false ;
18769 PyObject * obj0 = 0 ;
18770 PyObject * obj1 = 0 ;
18771 PyObject * obj2 = 0 ;
18772 PyObject * obj3 = 0 ;
18773 PyObject * obj4 = 0 ;
18774 PyObject * obj5 = 0 ;
18775 PyObject * obj6 = 0 ;
18776 PyObject * obj7 = 0 ;
18777 char * kwnames[] = {
18778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18779 };
18780
18781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18783 if (!SWIG_IsOK(res1)) {
18784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18785 }
18786 arg1 = reinterpret_cast< wxWindow * >(argp1);
18787 if (obj1) {
18788 ecode2 = SWIG_AsVal_int(obj1, &val2);
18789 if (!SWIG_IsOK(ecode2)) {
18790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18791 }
18792 arg2 = static_cast< int >(val2);
18793 }
18794 if (obj2) {
18795 {
18796 arg3 = wxString_in_helper(obj2);
18797 if (arg3 == NULL) SWIG_fail;
18798 temp3 = true;
18799 }
18800 }
18801 if (obj3) {
18802 {
18803 arg4 = &temp4;
18804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18805 }
18806 }
18807 if (obj4) {
18808 {
18809 arg5 = &temp5;
18810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18811 }
18812 }
18813 if (obj5) {
18814 ecode6 = SWIG_AsVal_long(obj5, &val6);
18815 if (!SWIG_IsOK(ecode6)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18817 }
18818 arg6 = static_cast< long >(val6);
18819 }
18820 if (obj6) {
18821 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18822 if (!SWIG_IsOK(res7)) {
18823 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18824 }
18825 if (!argp7) {
18826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18827 }
18828 arg7 = reinterpret_cast< wxValidator * >(argp7);
18829 }
18830 if (obj7) {
18831 {
18832 arg8 = wxString_in_helper(obj7);
18833 if (arg8 == NULL) SWIG_fail;
18834 temp8 = true;
18835 }
18836 }
18837 {
18838 if (!wxPyCheckForApp()) SWIG_fail;
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18845 {
18846 if (temp3)
18847 delete arg3;
18848 }
18849 {
18850 if (temp8)
18851 delete arg8;
18852 }
18853 return resultobj;
18854 fail:
18855 {
18856 if (temp3)
18857 delete arg3;
18858 }
18859 {
18860 if (temp8)
18861 delete arg8;
18862 }
18863 return NULL;
18864 }
18865
18866
18867 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18868 PyObject *resultobj = 0;
18869 wxToggleButton *result = 0 ;
18870
18871 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18872 {
18873 if (!wxPyCheckForApp()) SWIG_fail;
18874 PyThreadState* __tstate = wxPyBeginAllowThreads();
18875 result = (wxToggleButton *)new wxToggleButton();
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj = 0;
18888 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18889 wxWindow *arg2 = (wxWindow *) 0 ;
18890 int arg3 = (int) -1 ;
18891 wxString const &arg4_defvalue = wxPyEmptyString ;
18892 wxString *arg4 = (wxString *) &arg4_defvalue ;
18893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18895 wxSize const &arg6_defvalue = wxDefaultSize ;
18896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18897 long arg7 = (long) 0 ;
18898 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18899 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18900 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18901 wxString *arg9 = (wxString *) &arg9_defvalue ;
18902 bool result;
18903 void *argp1 = 0 ;
18904 int res1 = 0 ;
18905 void *argp2 = 0 ;
18906 int res2 = 0 ;
18907 int val3 ;
18908 int ecode3 = 0 ;
18909 bool temp4 = false ;
18910 wxPoint temp5 ;
18911 wxSize temp6 ;
18912 long val7 ;
18913 int ecode7 = 0 ;
18914 void *argp8 = 0 ;
18915 int res8 = 0 ;
18916 bool temp9 = false ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 PyObject * obj2 = 0 ;
18920 PyObject * obj3 = 0 ;
18921 PyObject * obj4 = 0 ;
18922 PyObject * obj5 = 0 ;
18923 PyObject * obj6 = 0 ;
18924 PyObject * obj7 = 0 ;
18925 PyObject * obj8 = 0 ;
18926 char * kwnames[] = {
18927 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18928 };
18929
18930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18934 }
18935 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18937 if (!SWIG_IsOK(res2)) {
18938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18939 }
18940 arg2 = reinterpret_cast< wxWindow * >(argp2);
18941 if (obj2) {
18942 ecode3 = SWIG_AsVal_int(obj2, &val3);
18943 if (!SWIG_IsOK(ecode3)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18945 }
18946 arg3 = static_cast< int >(val3);
18947 }
18948 if (obj3) {
18949 {
18950 arg4 = wxString_in_helper(obj3);
18951 if (arg4 == NULL) SWIG_fail;
18952 temp4 = true;
18953 }
18954 }
18955 if (obj4) {
18956 {
18957 arg5 = &temp5;
18958 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
18959 }
18960 }
18961 if (obj5) {
18962 {
18963 arg6 = &temp6;
18964 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
18965 }
18966 }
18967 if (obj6) {
18968 ecode7 = SWIG_AsVal_long(obj6, &val7);
18969 if (!SWIG_IsOK(ecode7)) {
18970 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18971 }
18972 arg7 = static_cast< long >(val7);
18973 }
18974 if (obj7) {
18975 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18976 if (!SWIG_IsOK(res8)) {
18977 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18978 }
18979 if (!argp8) {
18980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18981 }
18982 arg8 = reinterpret_cast< wxValidator * >(argp8);
18983 }
18984 if (obj8) {
18985 {
18986 arg9 = wxString_in_helper(obj8);
18987 if (arg9 == NULL) SWIG_fail;
18988 temp9 = true;
18989 }
18990 }
18991 {
18992 PyThreadState* __tstate = wxPyBeginAllowThreads();
18993 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 {
18998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18999 }
19000 {
19001 if (temp4)
19002 delete arg4;
19003 }
19004 {
19005 if (temp9)
19006 delete arg9;
19007 }
19008 return resultobj;
19009 fail:
19010 {
19011 if (temp4)
19012 delete arg4;
19013 }
19014 {
19015 if (temp9)
19016 delete arg9;
19017 }
19018 return NULL;
19019 }
19020
19021
19022 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj = 0;
19024 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19025 bool arg2 ;
19026 void *argp1 = 0 ;
19027 int res1 = 0 ;
19028 bool val2 ;
19029 int ecode2 = 0 ;
19030 PyObject * obj0 = 0 ;
19031 PyObject * obj1 = 0 ;
19032 char * kwnames[] = {
19033 (char *) "self",(char *) "value", NULL
19034 };
19035
19036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19038 if (!SWIG_IsOK(res1)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19040 }
19041 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19042 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19043 if (!SWIG_IsOK(ecode2)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19045 }
19046 arg2 = static_cast< bool >(val2);
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 (arg1)->SetValue(arg2);
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 resultobj = SWIG_Py_Void();
19054 return resultobj;
19055 fail:
19056 return NULL;
19057 }
19058
19059
19060 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19061 PyObject *resultobj = 0;
19062 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19063 bool result;
19064 void *argp1 = 0 ;
19065 int res1 = 0 ;
19066 PyObject *swig_obj[1] ;
19067
19068 if (!args) SWIG_fail;
19069 swig_obj[0] = args;
19070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19071 if (!SWIG_IsOK(res1)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19073 }
19074 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 {
19082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19083 }
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj = 0;
19092 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19093 SwigValueWrapper<wxVisualAttributes > result;
19094 int val1 ;
19095 int ecode1 = 0 ;
19096 PyObject * obj0 = 0 ;
19097 char * kwnames[] = {
19098 (char *) "variant", NULL
19099 };
19100
19101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19102 if (obj0) {
19103 ecode1 = SWIG_AsVal_int(obj0, &val1);
19104 if (!SWIG_IsOK(ecode1)) {
19105 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19106 }
19107 arg1 = static_cast< wxWindowVariant >(val1);
19108 }
19109 {
19110 if (!wxPyCheckForApp()) SWIG_fail;
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19117 return resultobj;
19118 fail:
19119 return NULL;
19120 }
19121
19122
19123 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19124 PyObject *obj;
19125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19126 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19127 return SWIG_Py_Void();
19128 }
19129
19130 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19131 return SWIG_Python_InitShadowInstance(args);
19132 }
19133
19134 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19135 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19136 return 1;
19137 }
19138
19139
19140 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19141 PyObject *pyobj = 0;
19142
19143 {
19144 #if wxUSE_UNICODE
19145 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19146 #else
19147 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19148 #endif
19149 }
19150 return pyobj;
19151 }
19152
19153
19154 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19155 PyObject *resultobj = 0;
19156 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19157 size_t result;
19158 void *argp1 = 0 ;
19159 int res1 = 0 ;
19160 PyObject *swig_obj[1] ;
19161
19162 if (!args) SWIG_fail;
19163 swig_obj[0] = args;
19164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19165 if (!SWIG_IsOK(res1)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19167 }
19168 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19176 return resultobj;
19177 fail:
19178 return NULL;
19179 }
19180
19181
19182 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj = 0;
19184 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19185 size_t arg2 ;
19186 wxWindow *result = 0 ;
19187 void *argp1 = 0 ;
19188 int res1 = 0 ;
19189 size_t val2 ;
19190 int ecode2 = 0 ;
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char * kwnames[] = {
19194 (char *) "self",(char *) "n", NULL
19195 };
19196
19197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19199 if (!SWIG_IsOK(res1)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19201 }
19202 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19203 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19204 if (!SWIG_IsOK(ecode2)) {
19205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19206 }
19207 arg2 = static_cast< size_t >(val2);
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 result = (wxWindow *)(arg1)->GetPage(arg2);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 {
19215 resultobj = wxPyMake_wxObject(result, 0);
19216 }
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19224 PyObject *resultobj = 0;
19225 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19226 wxWindow *result = 0 ;
19227 void *argp1 = 0 ;
19228 int res1 = 0 ;
19229 PyObject *swig_obj[1] ;
19230
19231 if (!args) SWIG_fail;
19232 swig_obj[0] = args;
19233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19234 if (!SWIG_IsOK(res1)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19236 }
19237 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19238 {
19239 PyThreadState* __tstate = wxPyBeginAllowThreads();
19240 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 {
19245 resultobj = wxPyMake_wxObject(result, 0);
19246 }
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19254 PyObject *resultobj = 0;
19255 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19256 int result;
19257 void *argp1 = 0 ;
19258 int res1 = 0 ;
19259 PyObject *swig_obj[1] ;
19260
19261 if (!args) SWIG_fail;
19262 swig_obj[0] = args;
19263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19264 if (!SWIG_IsOK(res1)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19266 }
19267 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 resultobj = SWIG_From_int(static_cast< int >(result));
19275 return resultobj;
19276 fail:
19277 return NULL;
19278 }
19279
19280
19281 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj = 0;
19283 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19284 size_t arg2 ;
19285 wxString *arg3 = 0 ;
19286 bool result;
19287 void *argp1 = 0 ;
19288 int res1 = 0 ;
19289 size_t val2 ;
19290 int ecode2 = 0 ;
19291 bool temp3 = false ;
19292 PyObject * obj0 = 0 ;
19293 PyObject * obj1 = 0 ;
19294 PyObject * obj2 = 0 ;
19295 char * kwnames[] = {
19296 (char *) "self",(char *) "n",(char *) "strText", NULL
19297 };
19298
19299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19301 if (!SWIG_IsOK(res1)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19303 }
19304 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19305 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19306 if (!SWIG_IsOK(ecode2)) {
19307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19308 }
19309 arg2 = static_cast< size_t >(val2);
19310 {
19311 arg3 = wxString_in_helper(obj2);
19312 if (arg3 == NULL) SWIG_fail;
19313 temp3 = true;
19314 }
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 {
19322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19323 }
19324 {
19325 if (temp3)
19326 delete arg3;
19327 }
19328 return resultobj;
19329 fail:
19330 {
19331 if (temp3)
19332 delete arg3;
19333 }
19334 return NULL;
19335 }
19336
19337
19338 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj = 0;
19340 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19341 size_t arg2 ;
19342 wxString result;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 size_t val2 ;
19346 int ecode2 = 0 ;
19347 PyObject * obj0 = 0 ;
19348 PyObject * obj1 = 0 ;
19349 char * kwnames[] = {
19350 (char *) "self",(char *) "n", NULL
19351 };
19352
19353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19355 if (!SWIG_IsOK(res1)) {
19356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19357 }
19358 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19359 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19360 if (!SWIG_IsOK(ecode2)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19362 }
19363 arg2 = static_cast< size_t >(val2);
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 {
19371 #if wxUSE_UNICODE
19372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19373 #else
19374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19375 #endif
19376 }
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj = 0;
19385 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19386 wxImageList *arg2 = (wxImageList *) 0 ;
19387 void *argp1 = 0 ;
19388 int res1 = 0 ;
19389 void *argp2 = 0 ;
19390 int res2 = 0 ;
19391 PyObject * obj0 = 0 ;
19392 PyObject * obj1 = 0 ;
19393 char * kwnames[] = {
19394 (char *) "self",(char *) "imageList", NULL
19395 };
19396
19397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19399 if (!SWIG_IsOK(res1)) {
19400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19401 }
19402 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19404 if (!SWIG_IsOK(res2)) {
19405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19406 }
19407 arg2 = reinterpret_cast< wxImageList * >(argp2);
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetImageList(arg2);
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = SWIG_Py_Void();
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = 0;
19423 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19424 wxImageList *arg2 = (wxImageList *) 0 ;
19425 void *argp1 = 0 ;
19426 int res1 = 0 ;
19427 int res2 = 0 ;
19428 PyObject * obj0 = 0 ;
19429 PyObject * obj1 = 0 ;
19430 char * kwnames[] = {
19431 (char *) "self",(char *) "imageList", NULL
19432 };
19433
19434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19436 if (!SWIG_IsOK(res1)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19438 }
19439 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19440 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19441 if (!SWIG_IsOK(res2)) {
19442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19443 }
19444 {
19445 PyThreadState* __tstate = wxPyBeginAllowThreads();
19446 (arg1)->AssignImageList(arg2);
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 resultobj = SWIG_Py_Void();
19451 return resultobj;
19452 fail:
19453 return NULL;
19454 }
19455
19456
19457 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19458 PyObject *resultobj = 0;
19459 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19460 wxImageList *result = 0 ;
19461 void *argp1 = 0 ;
19462 int res1 = 0 ;
19463 PyObject *swig_obj[1] ;
19464
19465 if (!args) SWIG_fail;
19466 swig_obj[0] = args;
19467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19468 if (!SWIG_IsOK(res1)) {
19469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19470 }
19471 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19472 {
19473 PyThreadState* __tstate = wxPyBeginAllowThreads();
19474 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 {
19479 resultobj = wxPyMake_wxObject(result, (bool)0);
19480 }
19481 return resultobj;
19482 fail:
19483 return NULL;
19484 }
19485
19486
19487 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19488 PyObject *resultobj = 0;
19489 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19490 size_t arg2 ;
19491 int result;
19492 void *argp1 = 0 ;
19493 int res1 = 0 ;
19494 size_t val2 ;
19495 int ecode2 = 0 ;
19496 PyObject * obj0 = 0 ;
19497 PyObject * obj1 = 0 ;
19498 char * kwnames[] = {
19499 (char *) "self",(char *) "n", NULL
19500 };
19501
19502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19504 if (!SWIG_IsOK(res1)) {
19505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19506 }
19507 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19508 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19509 if (!SWIG_IsOK(ecode2)) {
19510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19511 }
19512 arg2 = static_cast< size_t >(val2);
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_From_int(static_cast< int >(result));
19520 return resultobj;
19521 fail:
19522 return NULL;
19523 }
19524
19525
19526 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj = 0;
19528 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19529 size_t arg2 ;
19530 int arg3 ;
19531 bool result;
19532 void *argp1 = 0 ;
19533 int res1 = 0 ;
19534 size_t val2 ;
19535 int ecode2 = 0 ;
19536 int val3 ;
19537 int ecode3 = 0 ;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 PyObject * obj2 = 0 ;
19541 char * kwnames[] = {
19542 (char *) "self",(char *) "n",(char *) "imageId", NULL
19543 };
19544
19545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19547 if (!SWIG_IsOK(res1)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19549 }
19550 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19551 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19552 if (!SWIG_IsOK(ecode2)) {
19553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19554 }
19555 arg2 = static_cast< size_t >(val2);
19556 ecode3 = SWIG_AsVal_int(obj2, &val3);
19557 if (!SWIG_IsOK(ecode3)) {
19558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19559 }
19560 arg3 = static_cast< int >(val3);
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 {
19568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19569 }
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj = 0;
19578 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19579 wxSize *arg2 = 0 ;
19580 void *argp1 = 0 ;
19581 int res1 = 0 ;
19582 wxSize temp2 ;
19583 PyObject * obj0 = 0 ;
19584 PyObject * obj1 = 0 ;
19585 char * kwnames[] = {
19586 (char *) "self",(char *) "size", NULL
19587 };
19588
19589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19591 if (!SWIG_IsOK(res1)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19593 }
19594 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19595 {
19596 arg2 = &temp2;
19597 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19598 }
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 (arg1)->SetPageSize((wxSize const &)*arg2);
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 resultobj = SWIG_Py_Void();
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj = 0;
19614 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19615 wxSize *arg2 = 0 ;
19616 wxSize result;
19617 void *argp1 = 0 ;
19618 int res1 = 0 ;
19619 wxSize temp2 ;
19620 PyObject * obj0 = 0 ;
19621 PyObject * obj1 = 0 ;
19622 char * kwnames[] = {
19623 (char *) "self",(char *) "sizePage", NULL
19624 };
19625
19626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19628 if (!SWIG_IsOK(res1)) {
19629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19630 }
19631 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19632 {
19633 arg2 = &temp2;
19634 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19635 }
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19650 PyObject *resultobj = 0;
19651 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19652 unsigned int result;
19653 void *argp1 = 0 ;
19654 int res1 = 0 ;
19655 PyObject *swig_obj[1] ;
19656
19657 if (!args) SWIG_fail;
19658 swig_obj[0] = args;
19659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19660 if (!SWIG_IsOK(res1)) {
19661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19662 }
19663 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
19670 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19671 return resultobj;
19672 fail:
19673 return NULL;
19674 }
19675
19676
19677 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19678 PyObject *resultobj = 0;
19679 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19680 unsigned int arg2 ;
19681 void *argp1 = 0 ;
19682 int res1 = 0 ;
19683 unsigned int val2 ;
19684 int ecode2 = 0 ;
19685 PyObject * obj0 = 0 ;
19686 PyObject * obj1 = 0 ;
19687 char * kwnames[] = {
19688 (char *) "self",(char *) "internalBorder", NULL
19689 };
19690
19691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19693 if (!SWIG_IsOK(res1)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19695 }
19696 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19697 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19698 if (!SWIG_IsOK(ecode2)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19700 }
19701 arg2 = static_cast< unsigned int >(val2);
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 (arg1)->SetInternalBorder(arg2);
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_Py_Void();
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19716 PyObject *resultobj = 0;
19717 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19718 bool result;
19719 void *argp1 = 0 ;
19720 int res1 = 0 ;
19721 PyObject *swig_obj[1] ;
19722
19723 if (!args) SWIG_fail;
19724 swig_obj[0] = args;
19725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19726 if (!SWIG_IsOK(res1)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19728 }
19729 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 {
19737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19738 }
19739 return resultobj;
19740 fail:
19741 return NULL;
19742 }
19743
19744
19745 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj = 0;
19747 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19748 int arg2 ;
19749 void *argp1 = 0 ;
19750 int res1 = 0 ;
19751 int val2 ;
19752 int ecode2 = 0 ;
19753 PyObject * obj0 = 0 ;
19754 PyObject * obj1 = 0 ;
19755 char * kwnames[] = {
19756 (char *) "self",(char *) "margin", NULL
19757 };
19758
19759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19761 if (!SWIG_IsOK(res1)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19763 }
19764 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19765 ecode2 = SWIG_AsVal_int(obj1, &val2);
19766 if (!SWIG_IsOK(ecode2)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19768 }
19769 arg2 = static_cast< int >(val2);
19770 {
19771 PyThreadState* __tstate = wxPyBeginAllowThreads();
19772 (arg1)->SetControlMargin(arg2);
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 resultobj = SWIG_Py_Void();
19777 return resultobj;
19778 fail:
19779 return NULL;
19780 }
19781
19782
19783 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19784 PyObject *resultobj = 0;
19785 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19786 int result;
19787 void *argp1 = 0 ;
19788 int res1 = 0 ;
19789 PyObject *swig_obj[1] ;
19790
19791 if (!args) SWIG_fail;
19792 swig_obj[0] = args;
19793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19794 if (!SWIG_IsOK(res1)) {
19795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19796 }
19797 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 resultobj = SWIG_From_int(static_cast< int >(result));
19805 return resultobj;
19806 fail:
19807 return NULL;
19808 }
19809
19810
19811 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19812 PyObject *resultobj = 0;
19813 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19814 bool arg2 ;
19815 void *argp1 = 0 ;
19816 int res1 = 0 ;
19817 bool val2 ;
19818 int ecode2 = 0 ;
19819 PyObject * obj0 = 0 ;
19820 PyObject * obj1 = 0 ;
19821 char * kwnames[] = {
19822 (char *) "self",(char *) "fit", NULL
19823 };
19824
19825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19827 if (!SWIG_IsOK(res1)) {
19828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19829 }
19830 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19831 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19832 if (!SWIG_IsOK(ecode2)) {
19833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19834 }
19835 arg2 = static_cast< bool >(val2);
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 (arg1)->SetFitToCurrentPage(arg2);
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_Py_Void();
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19850 PyObject *resultobj = 0;
19851 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19852 bool result;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 PyObject *swig_obj[1] ;
19856
19857 if (!args) SWIG_fail;
19858 swig_obj[0] = args;
19859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19860 if (!SWIG_IsOK(res1)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19862 }
19863 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 {
19871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19872 }
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19880 PyObject *resultobj = 0;
19881 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19882 wxSizer *result = 0 ;
19883 void *argp1 = 0 ;
19884 int res1 = 0 ;
19885 PyObject *swig_obj[1] ;
19886
19887 if (!args) SWIG_fail;
19888 swig_obj[0] = args;
19889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19890 if (!SWIG_IsOK(res1)) {
19891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19892 }
19893 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 {
19901 resultobj = wxPyMake_wxObject(result, (bool)0);
19902 }
19903 return resultobj;
19904 fail:
19905 return NULL;
19906 }
19907
19908
19909 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19910 PyObject *resultobj = 0;
19911 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19912 size_t arg2 ;
19913 bool result;
19914 void *argp1 = 0 ;
19915 int res1 = 0 ;
19916 size_t val2 ;
19917 int ecode2 = 0 ;
19918 PyObject * obj0 = 0 ;
19919 PyObject * obj1 = 0 ;
19920 char * kwnames[] = {
19921 (char *) "self",(char *) "n", NULL
19922 };
19923
19924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19926 if (!SWIG_IsOK(res1)) {
19927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19928 }
19929 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19930 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19931 if (!SWIG_IsOK(ecode2)) {
19932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19933 }
19934 arg2 = static_cast< size_t >(val2);
19935 {
19936 PyThreadState* __tstate = wxPyBeginAllowThreads();
19937 result = (bool)(arg1)->DeletePage(arg2);
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 {
19942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj = 0;
19952 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19953 size_t arg2 ;
19954 bool result;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 size_t val2 ;
19958 int ecode2 = 0 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 char * kwnames[] = {
19962 (char *) "self",(char *) "n", NULL
19963 };
19964
19965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19967 if (!SWIG_IsOK(res1)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19969 }
19970 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19971 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19972 if (!SWIG_IsOK(ecode2)) {
19973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19974 }
19975 arg2 = static_cast< size_t >(val2);
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (bool)(arg1)->RemovePage(arg2);
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 {
19983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19984 }
19985 return resultobj;
19986 fail:
19987 return NULL;
19988 }
19989
19990
19991 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19992 PyObject *resultobj = 0;
19993 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19994 bool result;
19995 void *argp1 = 0 ;
19996 int res1 = 0 ;
19997 PyObject *swig_obj[1] ;
19998
19999 if (!args) SWIG_fail;
20000 swig_obj[0] = args;
20001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20002 if (!SWIG_IsOK(res1)) {
20003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20004 }
20005 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20006 {
20007 PyThreadState* __tstate = wxPyBeginAllowThreads();
20008 result = (bool)(arg1)->DeleteAllPages();
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 {
20013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20014 }
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj = 0;
20023 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20024 wxWindow *arg2 = (wxWindow *) 0 ;
20025 wxString *arg3 = 0 ;
20026 bool arg4 = (bool) false ;
20027 int arg5 = (int) -1 ;
20028 bool result;
20029 void *argp1 = 0 ;
20030 int res1 = 0 ;
20031 void *argp2 = 0 ;
20032 int res2 = 0 ;
20033 bool temp3 = false ;
20034 bool val4 ;
20035 int ecode4 = 0 ;
20036 int val5 ;
20037 int ecode5 = 0 ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 PyObject * obj2 = 0 ;
20041 PyObject * obj3 = 0 ;
20042 PyObject * obj4 = 0 ;
20043 char * kwnames[] = {
20044 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20045 };
20046
20047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20049 if (!SWIG_IsOK(res1)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20051 }
20052 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20053 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20054 if (!SWIG_IsOK(res2)) {
20055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20056 }
20057 arg2 = reinterpret_cast< wxWindow * >(argp2);
20058 {
20059 arg3 = wxString_in_helper(obj2);
20060 if (arg3 == NULL) SWIG_fail;
20061 temp3 = true;
20062 }
20063 if (obj3) {
20064 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20065 if (!SWIG_IsOK(ecode4)) {
20066 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20067 }
20068 arg4 = static_cast< bool >(val4);
20069 }
20070 if (obj4) {
20071 ecode5 = SWIG_AsVal_int(obj4, &val5);
20072 if (!SWIG_IsOK(ecode5)) {
20073 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20074 }
20075 arg5 = static_cast< int >(val5);
20076 }
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
20079 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
20086 {
20087 if (temp3)
20088 delete arg3;
20089 }
20090 return resultobj;
20091 fail:
20092 {
20093 if (temp3)
20094 delete arg3;
20095 }
20096 return NULL;
20097 }
20098
20099
20100 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj = 0;
20102 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20103 size_t arg2 ;
20104 wxWindow *arg3 = (wxWindow *) 0 ;
20105 wxString *arg4 = 0 ;
20106 bool arg5 = (bool) false ;
20107 int arg6 = (int) -1 ;
20108 bool result;
20109 void *argp1 = 0 ;
20110 int res1 = 0 ;
20111 size_t val2 ;
20112 int ecode2 = 0 ;
20113 void *argp3 = 0 ;
20114 int res3 = 0 ;
20115 bool temp4 = false ;
20116 bool val5 ;
20117 int ecode5 = 0 ;
20118 int val6 ;
20119 int ecode6 = 0 ;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122 PyObject * obj2 = 0 ;
20123 PyObject * obj3 = 0 ;
20124 PyObject * obj4 = 0 ;
20125 PyObject * obj5 = 0 ;
20126 char * kwnames[] = {
20127 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20128 };
20129
20130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20132 if (!SWIG_IsOK(res1)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20134 }
20135 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20136 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20137 if (!SWIG_IsOK(ecode2)) {
20138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20139 }
20140 arg2 = static_cast< size_t >(val2);
20141 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20142 if (!SWIG_IsOK(res3)) {
20143 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20144 }
20145 arg3 = reinterpret_cast< wxWindow * >(argp3);
20146 {
20147 arg4 = wxString_in_helper(obj3);
20148 if (arg4 == NULL) SWIG_fail;
20149 temp4 = true;
20150 }
20151 if (obj4) {
20152 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20153 if (!SWIG_IsOK(ecode5)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20155 }
20156 arg5 = static_cast< bool >(val5);
20157 }
20158 if (obj5) {
20159 ecode6 = SWIG_AsVal_int(obj5, &val6);
20160 if (!SWIG_IsOK(ecode6)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20162 }
20163 arg6 = static_cast< int >(val6);
20164 }
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 {
20172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20173 }
20174 {
20175 if (temp4)
20176 delete arg4;
20177 }
20178 return resultobj;
20179 fail:
20180 {
20181 if (temp4)
20182 delete arg4;
20183 }
20184 return NULL;
20185 }
20186
20187
20188 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj = 0;
20190 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20191 size_t arg2 ;
20192 int result;
20193 void *argp1 = 0 ;
20194 int res1 = 0 ;
20195 size_t val2 ;
20196 int ecode2 = 0 ;
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 char * kwnames[] = {
20200 (char *) "self",(char *) "n", NULL
20201 };
20202
20203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20205 if (!SWIG_IsOK(res1)) {
20206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20207 }
20208 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20209 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20210 if (!SWIG_IsOK(ecode2)) {
20211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20212 }
20213 arg2 = static_cast< size_t >(val2);
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (int)(arg1)->SetSelection(arg2);
20217 wxPyEndAllowThreads(__tstate);
20218 if (PyErr_Occurred()) SWIG_fail;
20219 }
20220 resultobj = SWIG_From_int(static_cast< int >(result));
20221 return resultobj;
20222 fail:
20223 return NULL;
20224 }
20225
20226
20227 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20228 PyObject *resultobj = 0;
20229 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20230 bool arg2 = (bool) true ;
20231 void *argp1 = 0 ;
20232 int res1 = 0 ;
20233 bool val2 ;
20234 int ecode2 = 0 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char * kwnames[] = {
20238 (char *) "self",(char *) "forward", NULL
20239 };
20240
20241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20243 if (!SWIG_IsOK(res1)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20245 }
20246 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20247 if (obj1) {
20248 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20249 if (!SWIG_IsOK(ecode2)) {
20250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20251 }
20252 arg2 = static_cast< bool >(val2);
20253 }
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->AdvanceSelection(arg2);
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_Py_Void();
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj = 0;
20269 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20270 wxPoint *arg2 = 0 ;
20271 long *arg3 = (long *) 0 ;
20272 int result;
20273 void *argp1 = 0 ;
20274 int res1 = 0 ;
20275 wxPoint temp2 ;
20276 long temp3 ;
20277 int res3 = SWIG_TMPOBJ ;
20278 PyObject * obj0 = 0 ;
20279 PyObject * obj1 = 0 ;
20280 char * kwnames[] = {
20281 (char *) "self",(char *) "pt", NULL
20282 };
20283
20284 arg3 = &temp3;
20285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20287 if (!SWIG_IsOK(res1)) {
20288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20289 }
20290 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20291 {
20292 arg2 = &temp2;
20293 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20294 }
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 resultobj = SWIG_From_int(static_cast< int >(result));
20302 if (SWIG_IsTmpObj(res3)) {
20303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20304 } else {
20305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20307 }
20308 return resultobj;
20309 fail:
20310 return NULL;
20311 }
20312
20313
20314 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj = 0;
20316 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20317 SwigValueWrapper<wxVisualAttributes > result;
20318 int val1 ;
20319 int ecode1 = 0 ;
20320 PyObject * obj0 = 0 ;
20321 char * kwnames[] = {
20322 (char *) "variant", NULL
20323 };
20324
20325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20326 if (obj0) {
20327 ecode1 = SWIG_AsVal_int(obj0, &val1);
20328 if (!SWIG_IsOK(ecode1)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20330 }
20331 arg1 = static_cast< wxWindowVariant >(val1);
20332 }
20333 {
20334 if (!wxPyCheckForApp()) SWIG_fail;
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20348 PyObject *obj;
20349 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20350 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20351 return SWIG_Py_Void();
20352 }
20353
20354 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj = 0;
20356 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20357 int arg2 = (int) 0 ;
20358 int arg3 = (int) -1 ;
20359 int arg4 = (int) -1 ;
20360 wxBookCtrlBaseEvent *result = 0 ;
20361 int val1 ;
20362 int ecode1 = 0 ;
20363 int val2 ;
20364 int ecode2 = 0 ;
20365 int val3 ;
20366 int ecode3 = 0 ;
20367 int val4 ;
20368 int ecode4 = 0 ;
20369 PyObject * obj0 = 0 ;
20370 PyObject * obj1 = 0 ;
20371 PyObject * obj2 = 0 ;
20372 PyObject * obj3 = 0 ;
20373 char * kwnames[] = {
20374 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20375 };
20376
20377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20378 if (obj0) {
20379 ecode1 = SWIG_AsVal_int(obj0, &val1);
20380 if (!SWIG_IsOK(ecode1)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20382 }
20383 arg1 = static_cast< wxEventType >(val1);
20384 }
20385 if (obj1) {
20386 ecode2 = SWIG_AsVal_int(obj1, &val2);
20387 if (!SWIG_IsOK(ecode2)) {
20388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20389 }
20390 arg2 = static_cast< int >(val2);
20391 }
20392 if (obj2) {
20393 ecode3 = SWIG_AsVal_int(obj2, &val3);
20394 if (!SWIG_IsOK(ecode3)) {
20395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20396 }
20397 arg3 = static_cast< int >(val3);
20398 }
20399 if (obj3) {
20400 ecode4 = SWIG_AsVal_int(obj3, &val4);
20401 if (!SWIG_IsOK(ecode4)) {
20402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20403 }
20404 arg4 = static_cast< int >(val4);
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20420 PyObject *resultobj = 0;
20421 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20422 int result;
20423 void *argp1 = 0 ;
20424 int res1 = 0 ;
20425 PyObject *swig_obj[1] ;
20426
20427 if (!args) SWIG_fail;
20428 swig_obj[0] = args;
20429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20430 if (!SWIG_IsOK(res1)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20432 }
20433 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 resultobj = SWIG_From_int(static_cast< int >(result));
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj = 0;
20449 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20450 int arg2 ;
20451 void *argp1 = 0 ;
20452 int res1 = 0 ;
20453 int val2 ;
20454 int ecode2 = 0 ;
20455 PyObject * obj0 = 0 ;
20456 PyObject * obj1 = 0 ;
20457 char * kwnames[] = {
20458 (char *) "self",(char *) "nSel", NULL
20459 };
20460
20461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20463 if (!SWIG_IsOK(res1)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20465 }
20466 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20467 ecode2 = SWIG_AsVal_int(obj1, &val2);
20468 if (!SWIG_IsOK(ecode2)) {
20469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20470 }
20471 arg2 = static_cast< int >(val2);
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 (arg1)->SetSelection(arg2);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_Py_Void();
20479 return resultobj;
20480 fail:
20481 return NULL;
20482 }
20483
20484
20485 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20486 PyObject *resultobj = 0;
20487 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20488 int result;
20489 void *argp1 = 0 ;
20490 int res1 = 0 ;
20491 PyObject *swig_obj[1] ;
20492
20493 if (!args) SWIG_fail;
20494 swig_obj[0] = args;
20495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20496 if (!SWIG_IsOK(res1)) {
20497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20498 }
20499 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 resultobj = SWIG_From_int(static_cast< int >(result));
20507 return resultobj;
20508 fail:
20509 return NULL;
20510 }
20511
20512
20513 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20514 PyObject *resultobj = 0;
20515 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20516 int arg2 ;
20517 void *argp1 = 0 ;
20518 int res1 = 0 ;
20519 int val2 ;
20520 int ecode2 = 0 ;
20521 PyObject * obj0 = 0 ;
20522 PyObject * obj1 = 0 ;
20523 char * kwnames[] = {
20524 (char *) "self",(char *) "nOldSel", NULL
20525 };
20526
20527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20529 if (!SWIG_IsOK(res1)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20531 }
20532 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20533 ecode2 = SWIG_AsVal_int(obj1, &val2);
20534 if (!SWIG_IsOK(ecode2)) {
20535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20536 }
20537 arg2 = static_cast< int >(val2);
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 (arg1)->SetOldSelection(arg2);
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_Py_Void();
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20552 PyObject *obj;
20553 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20554 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20555 return SWIG_Py_Void();
20556 }
20557
20558 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20559 return SWIG_Python_InitShadowInstance(args);
20560 }
20561
20562 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20563 PyObject *resultobj = 0;
20564 wxWindow *arg1 = (wxWindow *) 0 ;
20565 int arg2 = (int) -1 ;
20566 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20567 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20568 wxSize const &arg4_defvalue = wxDefaultSize ;
20569 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20570 long arg5 = (long) 0 ;
20571 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20572 wxString *arg6 = (wxString *) &arg6_defvalue ;
20573 wxNotebook *result = 0 ;
20574 void *argp1 = 0 ;
20575 int res1 = 0 ;
20576 int val2 ;
20577 int ecode2 = 0 ;
20578 wxPoint temp3 ;
20579 wxSize temp4 ;
20580 long val5 ;
20581 int ecode5 = 0 ;
20582 bool temp6 = false ;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 PyObject * obj2 = 0 ;
20586 PyObject * obj3 = 0 ;
20587 PyObject * obj4 = 0 ;
20588 PyObject * obj5 = 0 ;
20589 char * kwnames[] = {
20590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20591 };
20592
20593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20595 if (!SWIG_IsOK(res1)) {
20596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20597 }
20598 arg1 = reinterpret_cast< wxWindow * >(argp1);
20599 if (obj1) {
20600 ecode2 = SWIG_AsVal_int(obj1, &val2);
20601 if (!SWIG_IsOK(ecode2)) {
20602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20603 }
20604 arg2 = static_cast< int >(val2);
20605 }
20606 if (obj2) {
20607 {
20608 arg3 = &temp3;
20609 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20610 }
20611 }
20612 if (obj3) {
20613 {
20614 arg4 = &temp4;
20615 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20616 }
20617 }
20618 if (obj4) {
20619 ecode5 = SWIG_AsVal_long(obj4, &val5);
20620 if (!SWIG_IsOK(ecode5)) {
20621 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20622 }
20623 arg5 = static_cast< long >(val5);
20624 }
20625 if (obj5) {
20626 {
20627 arg6 = wxString_in_helper(obj5);
20628 if (arg6 == NULL) SWIG_fail;
20629 temp6 = true;
20630 }
20631 }
20632 {
20633 if (!wxPyCheckForApp()) SWIG_fail;
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20640 {
20641 if (temp6)
20642 delete arg6;
20643 }
20644 return resultobj;
20645 fail:
20646 {
20647 if (temp6)
20648 delete arg6;
20649 }
20650 return NULL;
20651 }
20652
20653
20654 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20655 PyObject *resultobj = 0;
20656 wxNotebook *result = 0 ;
20657
20658 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20659 {
20660 if (!wxPyCheckForApp()) SWIG_fail;
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (wxNotebook *)new wxNotebook();
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj = 0;
20675 wxNotebook *arg1 = (wxNotebook *) 0 ;
20676 wxWindow *arg2 = (wxWindow *) 0 ;
20677 int arg3 = (int) -1 ;
20678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20680 wxSize const &arg5_defvalue = wxDefaultSize ;
20681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20682 long arg6 = (long) 0 ;
20683 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20684 wxString *arg7 = (wxString *) &arg7_defvalue ;
20685 bool result;
20686 void *argp1 = 0 ;
20687 int res1 = 0 ;
20688 void *argp2 = 0 ;
20689 int res2 = 0 ;
20690 int val3 ;
20691 int ecode3 = 0 ;
20692 wxPoint temp4 ;
20693 wxSize temp5 ;
20694 long val6 ;
20695 int ecode6 = 0 ;
20696 bool temp7 = false ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 PyObject * obj2 = 0 ;
20700 PyObject * obj3 = 0 ;
20701 PyObject * obj4 = 0 ;
20702 PyObject * obj5 = 0 ;
20703 PyObject * obj6 = 0 ;
20704 char * kwnames[] = {
20705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20706 };
20707
20708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20710 if (!SWIG_IsOK(res1)) {
20711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20712 }
20713 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20715 if (!SWIG_IsOK(res2)) {
20716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20717 }
20718 arg2 = reinterpret_cast< wxWindow * >(argp2);
20719 if (obj2) {
20720 ecode3 = SWIG_AsVal_int(obj2, &val3);
20721 if (!SWIG_IsOK(ecode3)) {
20722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20723 }
20724 arg3 = static_cast< int >(val3);
20725 }
20726 if (obj3) {
20727 {
20728 arg4 = &temp4;
20729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20730 }
20731 }
20732 if (obj4) {
20733 {
20734 arg5 = &temp5;
20735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20736 }
20737 }
20738 if (obj5) {
20739 ecode6 = SWIG_AsVal_long(obj5, &val6);
20740 if (!SWIG_IsOK(ecode6)) {
20741 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20742 }
20743 arg6 = static_cast< long >(val6);
20744 }
20745 if (obj6) {
20746 {
20747 arg7 = wxString_in_helper(obj6);
20748 if (arg7 == NULL) SWIG_fail;
20749 temp7 = true;
20750 }
20751 }
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 {
20759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20760 }
20761 {
20762 if (temp7)
20763 delete arg7;
20764 }
20765 return resultobj;
20766 fail:
20767 {
20768 if (temp7)
20769 delete arg7;
20770 }
20771 return NULL;
20772 }
20773
20774
20775 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20776 PyObject *resultobj = 0;
20777 wxNotebook *arg1 = (wxNotebook *) 0 ;
20778 int result;
20779 void *argp1 = 0 ;
20780 int res1 = 0 ;
20781 PyObject *swig_obj[1] ;
20782
20783 if (!args) SWIG_fail;
20784 swig_obj[0] = args;
20785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20786 if (!SWIG_IsOK(res1)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20788 }
20789 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 resultobj = SWIG_From_int(static_cast< int >(result));
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj = 0;
20805 wxNotebook *arg1 = (wxNotebook *) 0 ;
20806 wxSize *arg2 = 0 ;
20807 void *argp1 = 0 ;
20808 int res1 = 0 ;
20809 wxSize temp2 ;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 char * kwnames[] = {
20813 (char *) "self",(char *) "padding", NULL
20814 };
20815
20816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20818 if (!SWIG_IsOK(res1)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20820 }
20821 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20822 {
20823 arg2 = &temp2;
20824 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 (arg1)->SetPadding((wxSize const &)*arg2);
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 resultobj = SWIG_Py_Void();
20833 return resultobj;
20834 fail:
20835 return NULL;
20836 }
20837
20838
20839 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj = 0;
20841 wxNotebook *arg1 = (wxNotebook *) 0 ;
20842 wxSize *arg2 = 0 ;
20843 void *argp1 = 0 ;
20844 int res1 = 0 ;
20845 wxSize temp2 ;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 char * kwnames[] = {
20849 (char *) "self",(char *) "sz", NULL
20850 };
20851
20852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20854 if (!SWIG_IsOK(res1)) {
20855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20856 }
20857 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20858 {
20859 arg2 = &temp2;
20860 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20861 }
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 (arg1)->SetTabSize((wxSize const &)*arg2);
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_Py_Void();
20869 return resultobj;
20870 fail:
20871 return NULL;
20872 }
20873
20874
20875 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20876 PyObject *resultobj = 0;
20877 wxNotebook *arg1 = (wxNotebook *) 0 ;
20878 wxColour result;
20879 void *argp1 = 0 ;
20880 int res1 = 0 ;
20881 PyObject *swig_obj[1] ;
20882
20883 if (!args) SWIG_fail;
20884 swig_obj[0] = args;
20885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20886 if (!SWIG_IsOK(res1)) {
20887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20888 }
20889 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20897 return resultobj;
20898 fail:
20899 return NULL;
20900 }
20901
20902
20903 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj = 0;
20905 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20906 SwigValueWrapper<wxVisualAttributes > result;
20907 int val1 ;
20908 int ecode1 = 0 ;
20909 PyObject * obj0 = 0 ;
20910 char * kwnames[] = {
20911 (char *) "variant", NULL
20912 };
20913
20914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20915 if (obj0) {
20916 ecode1 = SWIG_AsVal_int(obj0, &val1);
20917 if (!SWIG_IsOK(ecode1)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20919 }
20920 arg1 = static_cast< wxWindowVariant >(val1);
20921 }
20922 {
20923 if (!wxPyCheckForApp()) SWIG_fail;
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = wxNotebook::GetClassDefaultAttributes(arg1);
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20937 PyObject *obj;
20938 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20939 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
20940 return SWIG_Py_Void();
20941 }
20942
20943 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20944 return SWIG_Python_InitShadowInstance(args);
20945 }
20946
20947 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj = 0;
20949 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20950 int arg2 = (int) 0 ;
20951 int arg3 = (int) -1 ;
20952 int arg4 = (int) -1 ;
20953 wxNotebookEvent *result = 0 ;
20954 int val1 ;
20955 int ecode1 = 0 ;
20956 int val2 ;
20957 int ecode2 = 0 ;
20958 int val3 ;
20959 int ecode3 = 0 ;
20960 int val4 ;
20961 int ecode4 = 0 ;
20962 PyObject * obj0 = 0 ;
20963 PyObject * obj1 = 0 ;
20964 PyObject * obj2 = 0 ;
20965 PyObject * obj3 = 0 ;
20966 char * kwnames[] = {
20967 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20968 };
20969
20970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20971 if (obj0) {
20972 ecode1 = SWIG_AsVal_int(obj0, &val1);
20973 if (!SWIG_IsOK(ecode1)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20975 }
20976 arg1 = static_cast< wxEventType >(val1);
20977 }
20978 if (obj1) {
20979 ecode2 = SWIG_AsVal_int(obj1, &val2);
20980 if (!SWIG_IsOK(ecode2)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20982 }
20983 arg2 = static_cast< int >(val2);
20984 }
20985 if (obj2) {
20986 ecode3 = SWIG_AsVal_int(obj2, &val3);
20987 if (!SWIG_IsOK(ecode3)) {
20988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20989 }
20990 arg3 = static_cast< int >(val3);
20991 }
20992 if (obj3) {
20993 ecode4 = SWIG_AsVal_int(obj3, &val4);
20994 if (!SWIG_IsOK(ecode4)) {
20995 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20996 }
20997 arg4 = static_cast< int >(val4);
20998 }
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21013 PyObject *obj;
21014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21015 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21016 return SWIG_Py_Void();
21017 }
21018
21019 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21020 return SWIG_Python_InitShadowInstance(args);
21021 }
21022
21023 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj = 0;
21025 wxWindow *arg1 = (wxWindow *) 0 ;
21026 int arg2 = (int) -1 ;
21027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21029 wxSize const &arg4_defvalue = wxDefaultSize ;
21030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21031 long arg5 = (long) 0 ;
21032 wxString const &arg6_defvalue = wxPyEmptyString ;
21033 wxString *arg6 = (wxString *) &arg6_defvalue ;
21034 wxListbook *result = 0 ;
21035 void *argp1 = 0 ;
21036 int res1 = 0 ;
21037 int val2 ;
21038 int ecode2 = 0 ;
21039 wxPoint temp3 ;
21040 wxSize temp4 ;
21041 long val5 ;
21042 int ecode5 = 0 ;
21043 bool temp6 = false ;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 PyObject * obj2 = 0 ;
21047 PyObject * obj3 = 0 ;
21048 PyObject * obj4 = 0 ;
21049 PyObject * obj5 = 0 ;
21050 char * kwnames[] = {
21051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21052 };
21053
21054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21056 if (!SWIG_IsOK(res1)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21058 }
21059 arg1 = reinterpret_cast< wxWindow * >(argp1);
21060 if (obj1) {
21061 ecode2 = SWIG_AsVal_int(obj1, &val2);
21062 if (!SWIG_IsOK(ecode2)) {
21063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21064 }
21065 arg2 = static_cast< int >(val2);
21066 }
21067 if (obj2) {
21068 {
21069 arg3 = &temp3;
21070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21071 }
21072 }
21073 if (obj3) {
21074 {
21075 arg4 = &temp4;
21076 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21077 }
21078 }
21079 if (obj4) {
21080 ecode5 = SWIG_AsVal_long(obj4, &val5);
21081 if (!SWIG_IsOK(ecode5)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21083 }
21084 arg5 = static_cast< long >(val5);
21085 }
21086 if (obj5) {
21087 {
21088 arg6 = wxString_in_helper(obj5);
21089 if (arg6 == NULL) SWIG_fail;
21090 temp6 = true;
21091 }
21092 }
21093 {
21094 if (!wxPyCheckForApp()) SWIG_fail;
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
21100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21101 {
21102 if (temp6)
21103 delete arg6;
21104 }
21105 return resultobj;
21106 fail:
21107 {
21108 if (temp6)
21109 delete arg6;
21110 }
21111 return NULL;
21112 }
21113
21114
21115 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21116 PyObject *resultobj = 0;
21117 wxListbook *result = 0 ;
21118
21119 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21120 {
21121 if (!wxPyCheckForApp()) SWIG_fail;
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (wxListbook *)new wxListbook();
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21128 return resultobj;
21129 fail:
21130 return NULL;
21131 }
21132
21133
21134 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21135 PyObject *resultobj = 0;
21136 wxListbook *arg1 = (wxListbook *) 0 ;
21137 wxWindow *arg2 = (wxWindow *) 0 ;
21138 int arg3 = (int) -1 ;
21139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21141 wxSize const &arg5_defvalue = wxDefaultSize ;
21142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21143 long arg6 = (long) 0 ;
21144 wxString const &arg7_defvalue = wxPyEmptyString ;
21145 wxString *arg7 = (wxString *) &arg7_defvalue ;
21146 bool result;
21147 void *argp1 = 0 ;
21148 int res1 = 0 ;
21149 void *argp2 = 0 ;
21150 int res2 = 0 ;
21151 int val3 ;
21152 int ecode3 = 0 ;
21153 wxPoint temp4 ;
21154 wxSize temp5 ;
21155 long val6 ;
21156 int ecode6 = 0 ;
21157 bool temp7 = false ;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 PyObject * obj2 = 0 ;
21161 PyObject * obj3 = 0 ;
21162 PyObject * obj4 = 0 ;
21163 PyObject * obj5 = 0 ;
21164 PyObject * obj6 = 0 ;
21165 char * kwnames[] = {
21166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21167 };
21168
21169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21171 if (!SWIG_IsOK(res1)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21173 }
21174 arg1 = reinterpret_cast< wxListbook * >(argp1);
21175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21176 if (!SWIG_IsOK(res2)) {
21177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21178 }
21179 arg2 = reinterpret_cast< wxWindow * >(argp2);
21180 if (obj2) {
21181 ecode3 = SWIG_AsVal_int(obj2, &val3);
21182 if (!SWIG_IsOK(ecode3)) {
21183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21184 }
21185 arg3 = static_cast< int >(val3);
21186 }
21187 if (obj3) {
21188 {
21189 arg4 = &temp4;
21190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21191 }
21192 }
21193 if (obj4) {
21194 {
21195 arg5 = &temp5;
21196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21197 }
21198 }
21199 if (obj5) {
21200 ecode6 = SWIG_AsVal_long(obj5, &val6);
21201 if (!SWIG_IsOK(ecode6)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21203 }
21204 arg6 = static_cast< long >(val6);
21205 }
21206 if (obj6) {
21207 {
21208 arg7 = wxString_in_helper(obj6);
21209 if (arg7 == NULL) SWIG_fail;
21210 temp7 = true;
21211 }
21212 }
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 {
21220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21221 }
21222 {
21223 if (temp7)
21224 delete arg7;
21225 }
21226 return resultobj;
21227 fail:
21228 {
21229 if (temp7)
21230 delete arg7;
21231 }
21232 return NULL;
21233 }
21234
21235
21236 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21237 PyObject *resultobj = 0;
21238 wxListbook *arg1 = (wxListbook *) 0 ;
21239 wxListView *result = 0 ;
21240 void *argp1 = 0 ;
21241 int res1 = 0 ;
21242 PyObject *swig_obj[1] ;
21243
21244 if (!args) SWIG_fail;
21245 swig_obj[0] = args;
21246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21247 if (!SWIG_IsOK(res1)) {
21248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21249 }
21250 arg1 = reinterpret_cast< wxListbook * >(argp1);
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 result = (wxListView *)(arg1)->GetListView();
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21258 return resultobj;
21259 fail:
21260 return NULL;
21261 }
21262
21263
21264 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21265 PyObject *obj;
21266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21267 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21268 return SWIG_Py_Void();
21269 }
21270
21271 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21272 return SWIG_Python_InitShadowInstance(args);
21273 }
21274
21275 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj = 0;
21277 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21278 int arg2 = (int) 0 ;
21279 int arg3 = (int) -1 ;
21280 int arg4 = (int) -1 ;
21281 wxListbookEvent *result = 0 ;
21282 int val1 ;
21283 int ecode1 = 0 ;
21284 int val2 ;
21285 int ecode2 = 0 ;
21286 int val3 ;
21287 int ecode3 = 0 ;
21288 int val4 ;
21289 int ecode4 = 0 ;
21290 PyObject * obj0 = 0 ;
21291 PyObject * obj1 = 0 ;
21292 PyObject * obj2 = 0 ;
21293 PyObject * obj3 = 0 ;
21294 char * kwnames[] = {
21295 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21296 };
21297
21298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21299 if (obj0) {
21300 ecode1 = SWIG_AsVal_int(obj0, &val1);
21301 if (!SWIG_IsOK(ecode1)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21303 }
21304 arg1 = static_cast< wxEventType >(val1);
21305 }
21306 if (obj1) {
21307 ecode2 = SWIG_AsVal_int(obj1, &val2);
21308 if (!SWIG_IsOK(ecode2)) {
21309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21310 }
21311 arg2 = static_cast< int >(val2);
21312 }
21313 if (obj2) {
21314 ecode3 = SWIG_AsVal_int(obj2, &val3);
21315 if (!SWIG_IsOK(ecode3)) {
21316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21317 }
21318 arg3 = static_cast< int >(val3);
21319 }
21320 if (obj3) {
21321 ecode4 = SWIG_AsVal_int(obj3, &val4);
21322 if (!SWIG_IsOK(ecode4)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21324 }
21325 arg4 = static_cast< int >(val4);
21326 }
21327 {
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21341 PyObject *obj;
21342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21343 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21344 return SWIG_Py_Void();
21345 }
21346
21347 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21348 return SWIG_Python_InitShadowInstance(args);
21349 }
21350
21351 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj = 0;
21353 wxWindow *arg1 = (wxWindow *) 0 ;
21354 int arg2 ;
21355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21357 wxSize const &arg4_defvalue = wxDefaultSize ;
21358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21359 long arg5 = (long) 0 ;
21360 wxString const &arg6_defvalue = wxPyEmptyString ;
21361 wxString *arg6 = (wxString *) &arg6_defvalue ;
21362 wxChoicebook *result = 0 ;
21363 void *argp1 = 0 ;
21364 int res1 = 0 ;
21365 int val2 ;
21366 int ecode2 = 0 ;
21367 wxPoint temp3 ;
21368 wxSize temp4 ;
21369 long val5 ;
21370 int ecode5 = 0 ;
21371 bool temp6 = false ;
21372 PyObject * obj0 = 0 ;
21373 PyObject * obj1 = 0 ;
21374 PyObject * obj2 = 0 ;
21375 PyObject * obj3 = 0 ;
21376 PyObject * obj4 = 0 ;
21377 PyObject * obj5 = 0 ;
21378 char * kwnames[] = {
21379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21380 };
21381
21382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21384 if (!SWIG_IsOK(res1)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21386 }
21387 arg1 = reinterpret_cast< wxWindow * >(argp1);
21388 ecode2 = SWIG_AsVal_int(obj1, &val2);
21389 if (!SWIG_IsOK(ecode2)) {
21390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21391 }
21392 arg2 = static_cast< int >(val2);
21393 if (obj2) {
21394 {
21395 arg3 = &temp3;
21396 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21397 }
21398 }
21399 if (obj3) {
21400 {
21401 arg4 = &temp4;
21402 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21403 }
21404 }
21405 if (obj4) {
21406 ecode5 = SWIG_AsVal_long(obj4, &val5);
21407 if (!SWIG_IsOK(ecode5)) {
21408 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21409 }
21410 arg5 = static_cast< long >(val5);
21411 }
21412 if (obj5) {
21413 {
21414 arg6 = wxString_in_helper(obj5);
21415 if (arg6 == NULL) SWIG_fail;
21416 temp6 = true;
21417 }
21418 }
21419 {
21420 if (!wxPyCheckForApp()) SWIG_fail;
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21427 {
21428 if (temp6)
21429 delete arg6;
21430 }
21431 return resultobj;
21432 fail:
21433 {
21434 if (temp6)
21435 delete arg6;
21436 }
21437 return NULL;
21438 }
21439
21440
21441 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21442 PyObject *resultobj = 0;
21443 wxChoicebook *result = 0 ;
21444
21445 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21446 {
21447 if (!wxPyCheckForApp()) SWIG_fail;
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 result = (wxChoicebook *)new wxChoicebook();
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21454 return resultobj;
21455 fail:
21456 return NULL;
21457 }
21458
21459
21460 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj = 0;
21462 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21463 wxWindow *arg2 = (wxWindow *) 0 ;
21464 int arg3 ;
21465 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21466 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21467 wxSize const &arg5_defvalue = wxDefaultSize ;
21468 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21469 long arg6 = (long) 0 ;
21470 wxString const &arg7_defvalue = wxPyEmptyString ;
21471 wxString *arg7 = (wxString *) &arg7_defvalue ;
21472 bool result;
21473 void *argp1 = 0 ;
21474 int res1 = 0 ;
21475 void *argp2 = 0 ;
21476 int res2 = 0 ;
21477 int val3 ;
21478 int ecode3 = 0 ;
21479 wxPoint temp4 ;
21480 wxSize temp5 ;
21481 long val6 ;
21482 int ecode6 = 0 ;
21483 bool temp7 = false ;
21484 PyObject * obj0 = 0 ;
21485 PyObject * obj1 = 0 ;
21486 PyObject * obj2 = 0 ;
21487 PyObject * obj3 = 0 ;
21488 PyObject * obj4 = 0 ;
21489 PyObject * obj5 = 0 ;
21490 PyObject * obj6 = 0 ;
21491 char * kwnames[] = {
21492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21493 };
21494
21495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21497 if (!SWIG_IsOK(res1)) {
21498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21499 }
21500 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21501 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21502 if (!SWIG_IsOK(res2)) {
21503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21504 }
21505 arg2 = reinterpret_cast< wxWindow * >(argp2);
21506 ecode3 = SWIG_AsVal_int(obj2, &val3);
21507 if (!SWIG_IsOK(ecode3)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21509 }
21510 arg3 = static_cast< int >(val3);
21511 if (obj3) {
21512 {
21513 arg4 = &temp4;
21514 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21515 }
21516 }
21517 if (obj4) {
21518 {
21519 arg5 = &temp5;
21520 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21521 }
21522 }
21523 if (obj5) {
21524 ecode6 = SWIG_AsVal_long(obj5, &val6);
21525 if (!SWIG_IsOK(ecode6)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21527 }
21528 arg6 = static_cast< long >(val6);
21529 }
21530 if (obj6) {
21531 {
21532 arg7 = wxString_in_helper(obj6);
21533 if (arg7 == NULL) SWIG_fail;
21534 temp7 = true;
21535 }
21536 }
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21545 }
21546 {
21547 if (temp7)
21548 delete arg7;
21549 }
21550 return resultobj;
21551 fail:
21552 {
21553 if (temp7)
21554 delete arg7;
21555 }
21556 return NULL;
21557 }
21558
21559
21560 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21561 PyObject *resultobj = 0;
21562 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21563 wxChoice *result = 0 ;
21564 void *argp1 = 0 ;
21565 int res1 = 0 ;
21566 PyObject *swig_obj[1] ;
21567
21568 if (!args) SWIG_fail;
21569 swig_obj[0] = args;
21570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21571 if (!SWIG_IsOK(res1)) {
21572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21573 }
21574 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21575 {
21576 PyThreadState* __tstate = wxPyBeginAllowThreads();
21577 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21589 PyObject *obj;
21590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21591 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21592 return SWIG_Py_Void();
21593 }
21594
21595 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21596 return SWIG_Python_InitShadowInstance(args);
21597 }
21598
21599 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj = 0;
21601 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21602 int arg2 = (int) 0 ;
21603 int arg3 = (int) -1 ;
21604 int arg4 = (int) -1 ;
21605 wxChoicebookEvent *result = 0 ;
21606 int val1 ;
21607 int ecode1 = 0 ;
21608 int val2 ;
21609 int ecode2 = 0 ;
21610 int val3 ;
21611 int ecode3 = 0 ;
21612 int val4 ;
21613 int ecode4 = 0 ;
21614 PyObject * obj0 = 0 ;
21615 PyObject * obj1 = 0 ;
21616 PyObject * obj2 = 0 ;
21617 PyObject * obj3 = 0 ;
21618 char * kwnames[] = {
21619 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21620 };
21621
21622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21623 if (obj0) {
21624 ecode1 = SWIG_AsVal_int(obj0, &val1);
21625 if (!SWIG_IsOK(ecode1)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21627 }
21628 arg1 = static_cast< wxEventType >(val1);
21629 }
21630 if (obj1) {
21631 ecode2 = SWIG_AsVal_int(obj1, &val2);
21632 if (!SWIG_IsOK(ecode2)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21634 }
21635 arg2 = static_cast< int >(val2);
21636 }
21637 if (obj2) {
21638 ecode3 = SWIG_AsVal_int(obj2, &val3);
21639 if (!SWIG_IsOK(ecode3)) {
21640 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21641 }
21642 arg3 = static_cast< int >(val3);
21643 }
21644 if (obj3) {
21645 ecode4 = SWIG_AsVal_int(obj3, &val4);
21646 if (!SWIG_IsOK(ecode4)) {
21647 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21648 }
21649 arg4 = static_cast< int >(val4);
21650 }
21651 {
21652 PyThreadState* __tstate = wxPyBeginAllowThreads();
21653 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21665 PyObject *obj;
21666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21667 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21668 return SWIG_Py_Void();
21669 }
21670
21671 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21672 return SWIG_Python_InitShadowInstance(args);
21673 }
21674
21675 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj = 0;
21677 wxWindow *arg1 = (wxWindow *) 0 ;
21678 int arg2 ;
21679 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21680 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21681 wxSize const &arg4_defvalue = wxDefaultSize ;
21682 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21683 long arg5 = (long) wxBK_DEFAULT ;
21684 wxString const &arg6_defvalue = wxPyEmptyString ;
21685 wxString *arg6 = (wxString *) &arg6_defvalue ;
21686 wxTreebook *result = 0 ;
21687 void *argp1 = 0 ;
21688 int res1 = 0 ;
21689 int val2 ;
21690 int ecode2 = 0 ;
21691 wxPoint temp3 ;
21692 wxSize temp4 ;
21693 long val5 ;
21694 int ecode5 = 0 ;
21695 bool temp6 = false ;
21696 PyObject * obj0 = 0 ;
21697 PyObject * obj1 = 0 ;
21698 PyObject * obj2 = 0 ;
21699 PyObject * obj3 = 0 ;
21700 PyObject * obj4 = 0 ;
21701 PyObject * obj5 = 0 ;
21702 char * kwnames[] = {
21703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21704 };
21705
21706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21708 if (!SWIG_IsOK(res1)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21710 }
21711 arg1 = reinterpret_cast< wxWindow * >(argp1);
21712 ecode2 = SWIG_AsVal_int(obj1, &val2);
21713 if (!SWIG_IsOK(ecode2)) {
21714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21715 }
21716 arg2 = static_cast< int >(val2);
21717 if (obj2) {
21718 {
21719 arg3 = &temp3;
21720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21721 }
21722 }
21723 if (obj3) {
21724 {
21725 arg4 = &temp4;
21726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21727 }
21728 }
21729 if (obj4) {
21730 ecode5 = SWIG_AsVal_long(obj4, &val5);
21731 if (!SWIG_IsOK(ecode5)) {
21732 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21733 }
21734 arg5 = static_cast< long >(val5);
21735 }
21736 if (obj5) {
21737 {
21738 arg6 = wxString_in_helper(obj5);
21739 if (arg6 == NULL) SWIG_fail;
21740 temp6 = true;
21741 }
21742 }
21743 {
21744 if (!wxPyCheckForApp()) SWIG_fail;
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21751 {
21752 if (temp6)
21753 delete arg6;
21754 }
21755 return resultobj;
21756 fail:
21757 {
21758 if (temp6)
21759 delete arg6;
21760 }
21761 return NULL;
21762 }
21763
21764
21765 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21766 PyObject *resultobj = 0;
21767 wxTreebook *result = 0 ;
21768
21769 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21770 {
21771 if (!wxPyCheckForApp()) SWIG_fail;
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 result = (wxTreebook *)new wxTreebook();
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj = 0;
21786 wxTreebook *arg1 = (wxTreebook *) 0 ;
21787 wxWindow *arg2 = (wxWindow *) 0 ;
21788 int arg3 ;
21789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21791 wxSize const &arg5_defvalue = wxDefaultSize ;
21792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21793 long arg6 = (long) wxBK_DEFAULT ;
21794 wxString const &arg7_defvalue = wxPyEmptyString ;
21795 wxString *arg7 = (wxString *) &arg7_defvalue ;
21796 bool result;
21797 void *argp1 = 0 ;
21798 int res1 = 0 ;
21799 void *argp2 = 0 ;
21800 int res2 = 0 ;
21801 int val3 ;
21802 int ecode3 = 0 ;
21803 wxPoint temp4 ;
21804 wxSize temp5 ;
21805 long val6 ;
21806 int ecode6 = 0 ;
21807 bool temp7 = false ;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 PyObject * obj2 = 0 ;
21811 PyObject * obj3 = 0 ;
21812 PyObject * obj4 = 0 ;
21813 PyObject * obj5 = 0 ;
21814 PyObject * obj6 = 0 ;
21815 char * kwnames[] = {
21816 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21817 };
21818
21819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21821 if (!SWIG_IsOK(res1)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21823 }
21824 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21825 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21826 if (!SWIG_IsOK(res2)) {
21827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21828 }
21829 arg2 = reinterpret_cast< wxWindow * >(argp2);
21830 ecode3 = SWIG_AsVal_int(obj2, &val3);
21831 if (!SWIG_IsOK(ecode3)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21833 }
21834 arg3 = static_cast< int >(val3);
21835 if (obj3) {
21836 {
21837 arg4 = &temp4;
21838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21839 }
21840 }
21841 if (obj4) {
21842 {
21843 arg5 = &temp5;
21844 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21845 }
21846 }
21847 if (obj5) {
21848 ecode6 = SWIG_AsVal_long(obj5, &val6);
21849 if (!SWIG_IsOK(ecode6)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21851 }
21852 arg6 = static_cast< long >(val6);
21853 }
21854 if (obj6) {
21855 {
21856 arg7 = wxString_in_helper(obj6);
21857 if (arg7 == NULL) SWIG_fail;
21858 temp7 = true;
21859 }
21860 }
21861 {
21862 PyThreadState* __tstate = wxPyBeginAllowThreads();
21863 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 {
21868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21869 }
21870 {
21871 if (temp7)
21872 delete arg7;
21873 }
21874 return resultobj;
21875 fail:
21876 {
21877 if (temp7)
21878 delete arg7;
21879 }
21880 return NULL;
21881 }
21882
21883
21884 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj = 0;
21886 wxTreebook *arg1 = (wxTreebook *) 0 ;
21887 size_t arg2 ;
21888 wxWindow *arg3 = (wxWindow *) 0 ;
21889 wxString *arg4 = 0 ;
21890 bool arg5 = (bool) false ;
21891 int arg6 = (int) wxNOT_FOUND ;
21892 bool result;
21893 void *argp1 = 0 ;
21894 int res1 = 0 ;
21895 size_t val2 ;
21896 int ecode2 = 0 ;
21897 void *argp3 = 0 ;
21898 int res3 = 0 ;
21899 bool temp4 = false ;
21900 bool val5 ;
21901 int ecode5 = 0 ;
21902 int val6 ;
21903 int ecode6 = 0 ;
21904 PyObject * obj0 = 0 ;
21905 PyObject * obj1 = 0 ;
21906 PyObject * obj2 = 0 ;
21907 PyObject * obj3 = 0 ;
21908 PyObject * obj4 = 0 ;
21909 PyObject * obj5 = 0 ;
21910 char * kwnames[] = {
21911 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21912 };
21913
21914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21916 if (!SWIG_IsOK(res1)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21918 }
21919 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21920 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21921 if (!SWIG_IsOK(ecode2)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21923 }
21924 arg2 = static_cast< size_t >(val2);
21925 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
21926 if (!SWIG_IsOK(res3)) {
21927 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21928 }
21929 arg3 = reinterpret_cast< wxWindow * >(argp3);
21930 {
21931 arg4 = wxString_in_helper(obj3);
21932 if (arg4 == NULL) SWIG_fail;
21933 temp4 = true;
21934 }
21935 if (obj4) {
21936 ecode5 = SWIG_AsVal_bool(obj4, &val5);
21937 if (!SWIG_IsOK(ecode5)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21939 }
21940 arg5 = static_cast< bool >(val5);
21941 }
21942 if (obj5) {
21943 ecode6 = SWIG_AsVal_int(obj5, &val6);
21944 if (!SWIG_IsOK(ecode6)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21946 }
21947 arg6 = static_cast< int >(val6);
21948 }
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 {
21956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21957 }
21958 {
21959 if (temp4)
21960 delete arg4;
21961 }
21962 return resultobj;
21963 fail:
21964 {
21965 if (temp4)
21966 delete arg4;
21967 }
21968 return NULL;
21969 }
21970
21971
21972 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj = 0;
21974 wxTreebook *arg1 = (wxTreebook *) 0 ;
21975 wxWindow *arg2 = (wxWindow *) 0 ;
21976 wxString *arg3 = 0 ;
21977 bool arg4 = (bool) false ;
21978 int arg5 = (int) wxNOT_FOUND ;
21979 bool result;
21980 void *argp1 = 0 ;
21981 int res1 = 0 ;
21982 void *argp2 = 0 ;
21983 int res2 = 0 ;
21984 bool temp3 = false ;
21985 bool val4 ;
21986 int ecode4 = 0 ;
21987 int val5 ;
21988 int ecode5 = 0 ;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 PyObject * obj3 = 0 ;
21993 PyObject * obj4 = 0 ;
21994 char * kwnames[] = {
21995 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21996 };
21997
21998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22000 if (!SWIG_IsOK(res1)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22002 }
22003 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22004 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22005 if (!SWIG_IsOK(res2)) {
22006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22007 }
22008 arg2 = reinterpret_cast< wxWindow * >(argp2);
22009 {
22010 arg3 = wxString_in_helper(obj2);
22011 if (arg3 == NULL) SWIG_fail;
22012 temp3 = true;
22013 }
22014 if (obj3) {
22015 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22016 if (!SWIG_IsOK(ecode4)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22018 }
22019 arg4 = static_cast< bool >(val4);
22020 }
22021 if (obj4) {
22022 ecode5 = SWIG_AsVal_int(obj4, &val5);
22023 if (!SWIG_IsOK(ecode5)) {
22024 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22025 }
22026 arg5 = static_cast< int >(val5);
22027 }
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22031 wxPyEndAllowThreads(__tstate);
22032 if (PyErr_Occurred()) SWIG_fail;
22033 }
22034 {
22035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22036 }
22037 {
22038 if (temp3)
22039 delete arg3;
22040 }
22041 return resultobj;
22042 fail:
22043 {
22044 if (temp3)
22045 delete arg3;
22046 }
22047 return NULL;
22048 }
22049
22050
22051 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj = 0;
22053 wxTreebook *arg1 = (wxTreebook *) 0 ;
22054 size_t arg2 ;
22055 bool result;
22056 void *argp1 = 0 ;
22057 int res1 = 0 ;
22058 size_t val2 ;
22059 int ecode2 = 0 ;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char * kwnames[] = {
22063 (char *) "self",(char *) "pos", NULL
22064 };
22065
22066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22068 if (!SWIG_IsOK(res1)) {
22069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22070 }
22071 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22072 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22073 if (!SWIG_IsOK(ecode2)) {
22074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22075 }
22076 arg2 = static_cast< size_t >(val2);
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22085 }
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj = 0;
22094 wxTreebook *arg1 = (wxTreebook *) 0 ;
22095 size_t arg2 ;
22096 bool arg3 = (bool) true ;
22097 bool result;
22098 void *argp1 = 0 ;
22099 int res1 = 0 ;
22100 size_t val2 ;
22101 int ecode2 = 0 ;
22102 bool val3 ;
22103 int ecode3 = 0 ;
22104 PyObject * obj0 = 0 ;
22105 PyObject * obj1 = 0 ;
22106 PyObject * obj2 = 0 ;
22107 char * kwnames[] = {
22108 (char *) "self",(char *) "pos",(char *) "expand", NULL
22109 };
22110
22111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22113 if (!SWIG_IsOK(res1)) {
22114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22115 }
22116 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22117 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22118 if (!SWIG_IsOK(ecode2)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22120 }
22121 arg2 = static_cast< size_t >(val2);
22122 if (obj2) {
22123 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22124 if (!SWIG_IsOK(ecode3)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22126 }
22127 arg3 = static_cast< bool >(val3);
22128 }
22129 {
22130 PyThreadState* __tstate = wxPyBeginAllowThreads();
22131 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 {
22136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22137 }
22138 return resultobj;
22139 fail:
22140 return NULL;
22141 }
22142
22143
22144 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj = 0;
22146 wxTreebook *arg1 = (wxTreebook *) 0 ;
22147 size_t arg2 ;
22148 bool result;
22149 void *argp1 = 0 ;
22150 int res1 = 0 ;
22151 size_t val2 ;
22152 int ecode2 = 0 ;
22153 PyObject * obj0 = 0 ;
22154 PyObject * obj1 = 0 ;
22155 char * kwnames[] = {
22156 (char *) "self",(char *) "pos", NULL
22157 };
22158
22159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22161 if (!SWIG_IsOK(res1)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22163 }
22164 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22165 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22166 if (!SWIG_IsOK(ecode2)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22168 }
22169 arg2 = static_cast< size_t >(val2);
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (bool)(arg1)->CollapseNode(arg2);
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 {
22177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj = 0;
22187 wxTreebook *arg1 = (wxTreebook *) 0 ;
22188 size_t arg2 ;
22189 int result;
22190 void *argp1 = 0 ;
22191 int res1 = 0 ;
22192 size_t val2 ;
22193 int ecode2 = 0 ;
22194 PyObject * obj0 = 0 ;
22195 PyObject * obj1 = 0 ;
22196 char * kwnames[] = {
22197 (char *) "self",(char *) "pos", NULL
22198 };
22199
22200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22202 if (!SWIG_IsOK(res1)) {
22203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22204 }
22205 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22206 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22207 if (!SWIG_IsOK(ecode2)) {
22208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22209 }
22210 arg2 = static_cast< size_t >(val2);
22211 {
22212 PyThreadState* __tstate = wxPyBeginAllowThreads();
22213 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = SWIG_From_int(static_cast< int >(result));
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22225 PyObject *resultobj = 0;
22226 wxTreebook *arg1 = (wxTreebook *) 0 ;
22227 wxPyTreeCtrl *result = 0 ;
22228 void *argp1 = 0 ;
22229 int res1 = 0 ;
22230 PyObject *swig_obj[1] ;
22231
22232 if (!args) SWIG_fail;
22233 swig_obj[0] = args;
22234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22235 if (!SWIG_IsOK(res1)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22237 }
22238 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 {
22246 resultobj = wxPyMake_wxObject(result, (bool)0);
22247 }
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22255 PyObject *obj;
22256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22258 return SWIG_Py_Void();
22259 }
22260
22261 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22262 return SWIG_Python_InitShadowInstance(args);
22263 }
22264
22265 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj = 0;
22267 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22268 int arg2 = (int) 0 ;
22269 int arg3 = (int) wxNOT_FOUND ;
22270 int arg4 = (int) wxNOT_FOUND ;
22271 wxTreebookEvent *result = 0 ;
22272 int val1 ;
22273 int ecode1 = 0 ;
22274 int val2 ;
22275 int ecode2 = 0 ;
22276 int val3 ;
22277 int ecode3 = 0 ;
22278 int val4 ;
22279 int ecode4 = 0 ;
22280 PyObject * obj0 = 0 ;
22281 PyObject * obj1 = 0 ;
22282 PyObject * obj2 = 0 ;
22283 PyObject * obj3 = 0 ;
22284 char * kwnames[] = {
22285 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22286 };
22287
22288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22289 if (obj0) {
22290 ecode1 = SWIG_AsVal_int(obj0, &val1);
22291 if (!SWIG_IsOK(ecode1)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22293 }
22294 arg1 = static_cast< wxEventType >(val1);
22295 }
22296 if (obj1) {
22297 ecode2 = SWIG_AsVal_int(obj1, &val2);
22298 if (!SWIG_IsOK(ecode2)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22300 }
22301 arg2 = static_cast< int >(val2);
22302 }
22303 if (obj2) {
22304 ecode3 = SWIG_AsVal_int(obj2, &val3);
22305 if (!SWIG_IsOK(ecode3)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22307 }
22308 arg3 = static_cast< int >(val3);
22309 }
22310 if (obj3) {
22311 ecode4 = SWIG_AsVal_int(obj3, &val4);
22312 if (!SWIG_IsOK(ecode4)) {
22313 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22314 }
22315 arg4 = static_cast< int >(val4);
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22331 PyObject *obj;
22332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22333 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22334 return SWIG_Py_Void();
22335 }
22336
22337 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22338 return SWIG_Python_InitShadowInstance(args);
22339 }
22340
22341 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22342 PyObject *resultobj = 0;
22343 wxWindow *arg1 = (wxWindow *) 0 ;
22344 int arg2 ;
22345 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22346 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22347 wxSize const &arg4_defvalue = wxDefaultSize ;
22348 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22349 long arg5 = (long) wxBK_DEFAULT ;
22350 wxString const &arg6_defvalue = wxPyEmptyString ;
22351 wxString *arg6 = (wxString *) &arg6_defvalue ;
22352 wxToolbook *result = 0 ;
22353 void *argp1 = 0 ;
22354 int res1 = 0 ;
22355 int val2 ;
22356 int ecode2 = 0 ;
22357 wxPoint temp3 ;
22358 wxSize temp4 ;
22359 long val5 ;
22360 int ecode5 = 0 ;
22361 bool temp6 = false ;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 PyObject * obj2 = 0 ;
22365 PyObject * obj3 = 0 ;
22366 PyObject * obj4 = 0 ;
22367 PyObject * obj5 = 0 ;
22368 char * kwnames[] = {
22369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22370 };
22371
22372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22374 if (!SWIG_IsOK(res1)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22376 }
22377 arg1 = reinterpret_cast< wxWindow * >(argp1);
22378 ecode2 = SWIG_AsVal_int(obj1, &val2);
22379 if (!SWIG_IsOK(ecode2)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22381 }
22382 arg2 = static_cast< int >(val2);
22383 if (obj2) {
22384 {
22385 arg3 = &temp3;
22386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22387 }
22388 }
22389 if (obj3) {
22390 {
22391 arg4 = &temp4;
22392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22393 }
22394 }
22395 if (obj4) {
22396 ecode5 = SWIG_AsVal_long(obj4, &val5);
22397 if (!SWIG_IsOK(ecode5)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22399 }
22400 arg5 = static_cast< long >(val5);
22401 }
22402 if (obj5) {
22403 {
22404 arg6 = wxString_in_helper(obj5);
22405 if (arg6 == NULL) SWIG_fail;
22406 temp6 = true;
22407 }
22408 }
22409 {
22410 PyThreadState* __tstate = wxPyBeginAllowThreads();
22411 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22416 {
22417 if (temp6)
22418 delete arg6;
22419 }
22420 return resultobj;
22421 fail:
22422 {
22423 if (temp6)
22424 delete arg6;
22425 }
22426 return NULL;
22427 }
22428
22429
22430 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22431 PyObject *resultobj = 0;
22432 wxToolbook *result = 0 ;
22433
22434 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (wxToolbook *)new wxToolbook();
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj = 0;
22450 wxToolbook *arg1 = (wxToolbook *) 0 ;
22451 wxWindow *arg2 = (wxWindow *) 0 ;
22452 int arg3 ;
22453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22455 wxSize const &arg5_defvalue = wxDefaultSize ;
22456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22457 long arg6 = (long) 0 ;
22458 wxString const &arg7_defvalue = wxEmptyString ;
22459 wxString *arg7 = (wxString *) &arg7_defvalue ;
22460 bool result;
22461 void *argp1 = 0 ;
22462 int res1 = 0 ;
22463 void *argp2 = 0 ;
22464 int res2 = 0 ;
22465 int val3 ;
22466 int ecode3 = 0 ;
22467 wxPoint temp4 ;
22468 wxSize temp5 ;
22469 long val6 ;
22470 int ecode6 = 0 ;
22471 bool temp7 = false ;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 PyObject * obj2 = 0 ;
22475 PyObject * obj3 = 0 ;
22476 PyObject * obj4 = 0 ;
22477 PyObject * obj5 = 0 ;
22478 PyObject * obj6 = 0 ;
22479 char * kwnames[] = {
22480 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22481 };
22482
22483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22485 if (!SWIG_IsOK(res1)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22487 }
22488 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22489 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22490 if (!SWIG_IsOK(res2)) {
22491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22492 }
22493 arg2 = reinterpret_cast< wxWindow * >(argp2);
22494 ecode3 = SWIG_AsVal_int(obj2, &val3);
22495 if (!SWIG_IsOK(ecode3)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22497 }
22498 arg3 = static_cast< int >(val3);
22499 if (obj3) {
22500 {
22501 arg4 = &temp4;
22502 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22503 }
22504 }
22505 if (obj4) {
22506 {
22507 arg5 = &temp5;
22508 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22509 }
22510 }
22511 if (obj5) {
22512 ecode6 = SWIG_AsVal_long(obj5, &val6);
22513 if (!SWIG_IsOK(ecode6)) {
22514 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22515 }
22516 arg6 = static_cast< long >(val6);
22517 }
22518 if (obj6) {
22519 {
22520 arg7 = wxString_in_helper(obj6);
22521 if (arg7 == NULL) SWIG_fail;
22522 temp7 = true;
22523 }
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 {
22532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22533 }
22534 {
22535 if (temp7)
22536 delete arg7;
22537 }
22538 return resultobj;
22539 fail:
22540 {
22541 if (temp7)
22542 delete arg7;
22543 }
22544 return NULL;
22545 }
22546
22547
22548 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22549 PyObject *resultobj = 0;
22550 wxToolbook *arg1 = (wxToolbook *) 0 ;
22551 wxToolBarBase *result = 0 ;
22552 void *argp1 = 0 ;
22553 int res1 = 0 ;
22554 PyObject *swig_obj[1] ;
22555
22556 if (!args) SWIG_fail;
22557 swig_obj[0] = args;
22558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22559 if (!SWIG_IsOK(res1)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22561 }
22562 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 {
22570 resultobj = wxPyMake_wxObject(result, (bool)0);
22571 }
22572 return resultobj;
22573 fail:
22574 return NULL;
22575 }
22576
22577
22578 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22579 PyObject *resultobj = 0;
22580 wxToolbook *arg1 = (wxToolbook *) 0 ;
22581 void *argp1 = 0 ;
22582 int res1 = 0 ;
22583 PyObject *swig_obj[1] ;
22584
22585 if (!args) SWIG_fail;
22586 swig_obj[0] = args;
22587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22588 if (!SWIG_IsOK(res1)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22590 }
22591 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->Realize();
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 resultobj = SWIG_Py_Void();
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22606 PyObject *obj;
22607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22608 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22609 return SWIG_Py_Void();
22610 }
22611
22612 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22613 return SWIG_Python_InitShadowInstance(args);
22614 }
22615
22616 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj = 0;
22618 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22619 int arg2 = (int) 0 ;
22620 int arg3 = (int) wxNOT_FOUND ;
22621 int arg4 = (int) wxNOT_FOUND ;
22622 wxToolbookEvent *result = 0 ;
22623 int val1 ;
22624 int ecode1 = 0 ;
22625 int val2 ;
22626 int ecode2 = 0 ;
22627 int val3 ;
22628 int ecode3 = 0 ;
22629 int val4 ;
22630 int ecode4 = 0 ;
22631 PyObject * obj0 = 0 ;
22632 PyObject * obj1 = 0 ;
22633 PyObject * obj2 = 0 ;
22634 PyObject * obj3 = 0 ;
22635 char * kwnames[] = {
22636 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22637 };
22638
22639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22640 if (obj0) {
22641 ecode1 = SWIG_AsVal_int(obj0, &val1);
22642 if (!SWIG_IsOK(ecode1)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22644 }
22645 arg1 = static_cast< wxEventType >(val1);
22646 }
22647 if (obj1) {
22648 ecode2 = SWIG_AsVal_int(obj1, &val2);
22649 if (!SWIG_IsOK(ecode2)) {
22650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22651 }
22652 arg2 = static_cast< int >(val2);
22653 }
22654 if (obj2) {
22655 ecode3 = SWIG_AsVal_int(obj2, &val3);
22656 if (!SWIG_IsOK(ecode3)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22658 }
22659 arg3 = static_cast< int >(val3);
22660 }
22661 if (obj3) {
22662 ecode4 = SWIG_AsVal_int(obj3, &val4);
22663 if (!SWIG_IsOK(ecode4)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22665 }
22666 arg4 = static_cast< int >(val4);
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22682 PyObject *obj;
22683 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22684 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22685 return SWIG_Py_Void();
22686 }
22687
22688 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22689 return SWIG_Python_InitShadowInstance(args);
22690 }
22691
22692 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22693 PyObject *resultobj = 0;
22694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22695 int result;
22696 void *argp1 = 0 ;
22697 int res1 = 0 ;
22698 PyObject *swig_obj[1] ;
22699
22700 if (!args) SWIG_fail;
22701 swig_obj[0] = args;
22702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22703 if (!SWIG_IsOK(res1)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22705 }
22706 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 result = (int)(arg1)->GetId();
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 resultobj = SWIG_From_int(static_cast< int >(result));
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22721 PyObject *resultobj = 0;
22722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22723 wxControl *result = 0 ;
22724 void *argp1 = 0 ;
22725 int res1 = 0 ;
22726 PyObject *swig_obj[1] ;
22727
22728 if (!args) SWIG_fail;
22729 swig_obj[0] = args;
22730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22731 if (!SWIG_IsOK(res1)) {
22732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22733 }
22734 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 result = (wxControl *)(arg1)->GetControl();
22738 wxPyEndAllowThreads(__tstate);
22739 if (PyErr_Occurred()) SWIG_fail;
22740 }
22741 {
22742 resultobj = wxPyMake_wxObject(result, 0);
22743 }
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22751 PyObject *resultobj = 0;
22752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22753 wxToolBarBase *result = 0 ;
22754 void *argp1 = 0 ;
22755 int res1 = 0 ;
22756 PyObject *swig_obj[1] ;
22757
22758 if (!args) SWIG_fail;
22759 swig_obj[0] = args;
22760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22761 if (!SWIG_IsOK(res1)) {
22762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22763 }
22764 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (wxToolBarBase *)(arg1)->GetToolBar();
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 {
22772 resultobj = wxPyMake_wxObject(result, (bool)0);
22773 }
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22781 PyObject *resultobj = 0;
22782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22783 int result;
22784 void *argp1 = 0 ;
22785 int res1 = 0 ;
22786 PyObject *swig_obj[1] ;
22787
22788 if (!args) SWIG_fail;
22789 swig_obj[0] = args;
22790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22791 if (!SWIG_IsOK(res1)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22793 }
22794 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22795 {
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = (int)(arg1)->IsButton();
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 resultobj = SWIG_From_int(static_cast< int >(result));
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22809 PyObject *resultobj = 0;
22810 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22811 int result;
22812 void *argp1 = 0 ;
22813 int res1 = 0 ;
22814 PyObject *swig_obj[1] ;
22815
22816 if (!args) SWIG_fail;
22817 swig_obj[0] = args;
22818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22819 if (!SWIG_IsOK(res1)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22821 }
22822 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = (int)(arg1)->IsControl();
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 resultobj = SWIG_From_int(static_cast< int >(result));
22830 return resultobj;
22831 fail:
22832 return NULL;
22833 }
22834
22835
22836 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22837 PyObject *resultobj = 0;
22838 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22839 int result;
22840 void *argp1 = 0 ;
22841 int res1 = 0 ;
22842 PyObject *swig_obj[1] ;
22843
22844 if (!args) SWIG_fail;
22845 swig_obj[0] = args;
22846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22847 if (!SWIG_IsOK(res1)) {
22848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22849 }
22850 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 result = (int)(arg1)->IsSeparator();
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 resultobj = SWIG_From_int(static_cast< int >(result));
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22865 PyObject *resultobj = 0;
22866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22867 int result;
22868 void *argp1 = 0 ;
22869 int res1 = 0 ;
22870 PyObject *swig_obj[1] ;
22871
22872 if (!args) SWIG_fail;
22873 swig_obj[0] = args;
22874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22875 if (!SWIG_IsOK(res1)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22877 }
22878 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 result = (int)(arg1)->GetStyle();
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 resultobj = SWIG_From_int(static_cast< int >(result));
22886 return resultobj;
22887 fail:
22888 return NULL;
22889 }
22890
22891
22892 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22893 PyObject *resultobj = 0;
22894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22895 wxItemKind result;
22896 void *argp1 = 0 ;
22897 int res1 = 0 ;
22898 PyObject *swig_obj[1] ;
22899
22900 if (!args) SWIG_fail;
22901 swig_obj[0] = args;
22902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22903 if (!SWIG_IsOK(res1)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22905 }
22906 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 result = (wxItemKind)(arg1)->GetKind();
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 resultobj = SWIG_From_int(static_cast< int >(result));
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22921 PyObject *resultobj = 0;
22922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22923 bool result;
22924 void *argp1 = 0 ;
22925 int res1 = 0 ;
22926 PyObject *swig_obj[1] ;
22927
22928 if (!args) SWIG_fail;
22929 swig_obj[0] = args;
22930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22933 }
22934 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 result = (bool)(arg1)->IsEnabled();
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 {
22942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22943 }
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22951 PyObject *resultobj = 0;
22952 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22953 bool result;
22954 void *argp1 = 0 ;
22955 int res1 = 0 ;
22956 PyObject *swig_obj[1] ;
22957
22958 if (!args) SWIG_fail;
22959 swig_obj[0] = args;
22960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22961 if (!SWIG_IsOK(res1)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22963 }
22964 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (bool)(arg1)->IsToggled();
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 {
22972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22973 }
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22981 PyObject *resultobj = 0;
22982 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22983 bool result;
22984 void *argp1 = 0 ;
22985 int res1 = 0 ;
22986 PyObject *swig_obj[1] ;
22987
22988 if (!args) SWIG_fail;
22989 swig_obj[0] = args;
22990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22991 if (!SWIG_IsOK(res1)) {
22992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22993 }
22994 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 result = (bool)(arg1)->CanBeToggled();
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 {
23002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23003 }
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23011 PyObject *resultobj = 0;
23012 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23013 wxBitmap *result = 0 ;
23014 void *argp1 = 0 ;
23015 int res1 = 0 ;
23016 PyObject *swig_obj[1] ;
23017
23018 if (!args) SWIG_fail;
23019 swig_obj[0] = args;
23020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23021 if (!SWIG_IsOK(res1)) {
23022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23023 }
23024 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 {
23028 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23029 result = (wxBitmap *) &_result_ref;
23030 }
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 {
23035 wxBitmap* resultptr = new wxBitmap(*result);
23036 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23037 }
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23045 PyObject *resultobj = 0;
23046 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23047 wxBitmap *result = 0 ;
23048 void *argp1 = 0 ;
23049 int res1 = 0 ;
23050 PyObject *swig_obj[1] ;
23051
23052 if (!args) SWIG_fail;
23053 swig_obj[0] = args;
23054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23055 if (!SWIG_IsOK(res1)) {
23056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23057 }
23058 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23059 {
23060 PyThreadState* __tstate = wxPyBeginAllowThreads();
23061 {
23062 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23063 result = (wxBitmap *) &_result_ref;
23064 }
23065 wxPyEndAllowThreads(__tstate);
23066 if (PyErr_Occurred()) SWIG_fail;
23067 }
23068 {
23069 wxBitmap* resultptr = new wxBitmap(*result);
23070 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23071 }
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23079 PyObject *resultobj = 0;
23080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23081 wxBitmap result;
23082 void *argp1 = 0 ;
23083 int res1 = 0 ;
23084 PyObject *swig_obj[1] ;
23085
23086 if (!args) SWIG_fail;
23087 swig_obj[0] = args;
23088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23089 if (!SWIG_IsOK(res1)) {
23090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23091 }
23092 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23093 {
23094 PyThreadState* __tstate = wxPyBeginAllowThreads();
23095 result = (arg1)->GetBitmap();
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23100 return resultobj;
23101 fail:
23102 return NULL;
23103 }
23104
23105
23106 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23107 PyObject *resultobj = 0;
23108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23109 wxString result;
23110 void *argp1 = 0 ;
23111 int res1 = 0 ;
23112 PyObject *swig_obj[1] ;
23113
23114 if (!args) SWIG_fail;
23115 swig_obj[0] = args;
23116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23117 if (!SWIG_IsOK(res1)) {
23118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23119 }
23120 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 result = (arg1)->GetLabel();
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 {
23128 #if wxUSE_UNICODE
23129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23130 #else
23131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23132 #endif
23133 }
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23141 PyObject *resultobj = 0;
23142 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23143 wxString result;
23144 void *argp1 = 0 ;
23145 int res1 = 0 ;
23146 PyObject *swig_obj[1] ;
23147
23148 if (!args) SWIG_fail;
23149 swig_obj[0] = args;
23150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23151 if (!SWIG_IsOK(res1)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23153 }
23154 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (arg1)->GetShortHelp();
23158 wxPyEndAllowThreads(__tstate);
23159 if (PyErr_Occurred()) SWIG_fail;
23160 }
23161 {
23162 #if wxUSE_UNICODE
23163 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23164 #else
23165 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23166 #endif
23167 }
23168 return resultobj;
23169 fail:
23170 return NULL;
23171 }
23172
23173
23174 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23175 PyObject *resultobj = 0;
23176 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23177 wxString result;
23178 void *argp1 = 0 ;
23179 int res1 = 0 ;
23180 PyObject *swig_obj[1] ;
23181
23182 if (!args) SWIG_fail;
23183 swig_obj[0] = args;
23184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23185 if (!SWIG_IsOK(res1)) {
23186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23187 }
23188 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23189 {
23190 PyThreadState* __tstate = wxPyBeginAllowThreads();
23191 result = (arg1)->GetLongHelp();
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 {
23196 #if wxUSE_UNICODE
23197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23198 #else
23199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23200 #endif
23201 }
23202 return resultobj;
23203 fail:
23204 return NULL;
23205 }
23206
23207
23208 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23209 PyObject *resultobj = 0;
23210 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23211 bool arg2 ;
23212 bool result;
23213 void *argp1 = 0 ;
23214 int res1 = 0 ;
23215 bool val2 ;
23216 int ecode2 = 0 ;
23217 PyObject * obj0 = 0 ;
23218 PyObject * obj1 = 0 ;
23219 char * kwnames[] = {
23220 (char *) "self",(char *) "enable", NULL
23221 };
23222
23223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23225 if (!SWIG_IsOK(res1)) {
23226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23227 }
23228 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23229 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23230 if (!SWIG_IsOK(ecode2)) {
23231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23232 }
23233 arg2 = static_cast< bool >(val2);
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 result = (bool)(arg1)->Enable(arg2);
23237 wxPyEndAllowThreads(__tstate);
23238 if (PyErr_Occurred()) SWIG_fail;
23239 }
23240 {
23241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23242 }
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23250 PyObject *resultobj = 0;
23251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23252 void *argp1 = 0 ;
23253 int res1 = 0 ;
23254 PyObject *swig_obj[1] ;
23255
23256 if (!args) SWIG_fail;
23257 swig_obj[0] = args;
23258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23259 if (!SWIG_IsOK(res1)) {
23260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23261 }
23262 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 (arg1)->Toggle();
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 resultobj = SWIG_Py_Void();
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj = 0;
23278 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23279 bool arg2 ;
23280 bool result;
23281 void *argp1 = 0 ;
23282 int res1 = 0 ;
23283 bool val2 ;
23284 int ecode2 = 0 ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj1 = 0 ;
23287 char * kwnames[] = {
23288 (char *) "self",(char *) "toggle", NULL
23289 };
23290
23291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23293 if (!SWIG_IsOK(res1)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23295 }
23296 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23297 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23298 if (!SWIG_IsOK(ecode2)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23300 }
23301 arg2 = static_cast< bool >(val2);
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (bool)(arg1)->SetToggle(arg2);
23305 wxPyEndAllowThreads(__tstate);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 {
23309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23310 }
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj = 0;
23319 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23320 wxString *arg2 = 0 ;
23321 bool result;
23322 void *argp1 = 0 ;
23323 int res1 = 0 ;
23324 bool temp2 = false ;
23325 PyObject * obj0 = 0 ;
23326 PyObject * obj1 = 0 ;
23327 char * kwnames[] = {
23328 (char *) "self",(char *) "help", NULL
23329 };
23330
23331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23333 if (!SWIG_IsOK(res1)) {
23334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23335 }
23336 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23337 {
23338 arg2 = wxString_in_helper(obj1);
23339 if (arg2 == NULL) SWIG_fail;
23340 temp2 = true;
23341 }
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 {
23349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23350 }
23351 {
23352 if (temp2)
23353 delete arg2;
23354 }
23355 return resultobj;
23356 fail:
23357 {
23358 if (temp2)
23359 delete arg2;
23360 }
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj = 0;
23367 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23368 wxString *arg2 = 0 ;
23369 bool result;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 bool temp2 = false ;
23373 PyObject * obj0 = 0 ;
23374 PyObject * obj1 = 0 ;
23375 char * kwnames[] = {
23376 (char *) "self",(char *) "help", NULL
23377 };
23378
23379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23381 if (!SWIG_IsOK(res1)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23383 }
23384 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23385 {
23386 arg2 = wxString_in_helper(obj1);
23387 if (arg2 == NULL) SWIG_fail;
23388 temp2 = true;
23389 }
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23393 wxPyEndAllowThreads(__tstate);
23394 if (PyErr_Occurred()) SWIG_fail;
23395 }
23396 {
23397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23398 }
23399 {
23400 if (temp2)
23401 delete arg2;
23402 }
23403 return resultobj;
23404 fail:
23405 {
23406 if (temp2)
23407 delete arg2;
23408 }
23409 return NULL;
23410 }
23411
23412
23413 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23414 PyObject *resultobj = 0;
23415 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23416 wxBitmap *arg2 = 0 ;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 void *argp2 = 0 ;
23420 int res2 = 0 ;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 char * kwnames[] = {
23424 (char *) "self",(char *) "bmp", NULL
23425 };
23426
23427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23429 if (!SWIG_IsOK(res1)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23431 }
23432 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23433 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23434 if (!SWIG_IsOK(res2)) {
23435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23436 }
23437 if (!argp2) {
23438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23439 }
23440 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_Py_Void();
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj = 0;
23456 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23457 wxBitmap *arg2 = 0 ;
23458 void *argp1 = 0 ;
23459 int res1 = 0 ;
23460 void *argp2 = 0 ;
23461 int res2 = 0 ;
23462 PyObject * obj0 = 0 ;
23463 PyObject * obj1 = 0 ;
23464 char * kwnames[] = {
23465 (char *) "self",(char *) "bmp", NULL
23466 };
23467
23468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23470 if (!SWIG_IsOK(res1)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23472 }
23473 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23474 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23475 if (!SWIG_IsOK(res2)) {
23476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23477 }
23478 if (!argp2) {
23479 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23480 }
23481 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 resultobj = SWIG_Py_Void();
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23496 PyObject *resultobj = 0;
23497 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23498 wxString *arg2 = 0 ;
23499 void *argp1 = 0 ;
23500 int res1 = 0 ;
23501 bool temp2 = false ;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 char * kwnames[] = {
23505 (char *) "self",(char *) "label", NULL
23506 };
23507
23508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23510 if (!SWIG_IsOK(res1)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23512 }
23513 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23514 {
23515 arg2 = wxString_in_helper(obj1);
23516 if (arg2 == NULL) SWIG_fail;
23517 temp2 = true;
23518 }
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 (arg1)->SetLabel((wxString const &)*arg2);
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 resultobj = SWIG_Py_Void();
23526 {
23527 if (temp2)
23528 delete arg2;
23529 }
23530 return resultobj;
23531 fail:
23532 {
23533 if (temp2)
23534 delete arg2;
23535 }
23536 return NULL;
23537 }
23538
23539
23540 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23541 PyObject *resultobj = 0;
23542 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23543 void *argp1 = 0 ;
23544 int res1 = 0 ;
23545 PyObject *swig_obj[1] ;
23546
23547 if (!args) SWIG_fail;
23548 swig_obj[0] = args;
23549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23550 if (!SWIG_IsOK(res1)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23552 }
23553 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 (arg1)->Detach();
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 resultobj = SWIG_Py_Void();
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj = 0;
23569 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23570 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23571 void *argp1 = 0 ;
23572 int res1 = 0 ;
23573 void *argp2 = 0 ;
23574 int res2 = 0 ;
23575 PyObject * obj0 = 0 ;
23576 PyObject * obj1 = 0 ;
23577 char * kwnames[] = {
23578 (char *) "self",(char *) "tbar", NULL
23579 };
23580
23581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23583 if (!SWIG_IsOK(res1)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23585 }
23586 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23587 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23588 if (!SWIG_IsOK(res2)) {
23589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23590 }
23591 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 (arg1)->Attach(arg2);
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 resultobj = SWIG_Py_Void();
23599 return resultobj;
23600 fail:
23601 return NULL;
23602 }
23603
23604
23605 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23606 PyObject *resultobj = 0;
23607 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23608 PyObject *result = 0 ;
23609 void *argp1 = 0 ;
23610 int res1 = 0 ;
23611 PyObject *swig_obj[1] ;
23612
23613 if (!args) SWIG_fail;
23614 swig_obj[0] = args;
23615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23616 if (!SWIG_IsOK(res1)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23618 }
23619 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23620 {
23621 PyThreadState* __tstate = wxPyBeginAllowThreads();
23622 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23623 wxPyEndAllowThreads(__tstate);
23624 if (PyErr_Occurred()) SWIG_fail;
23625 }
23626 resultobj = result;
23627 return resultobj;
23628 fail:
23629 return NULL;
23630 }
23631
23632
23633 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23634 PyObject *resultobj = 0;
23635 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23636 PyObject *arg2 = (PyObject *) 0 ;
23637 void *argp1 = 0 ;
23638 int res1 = 0 ;
23639 PyObject * obj0 = 0 ;
23640 PyObject * obj1 = 0 ;
23641 char * kwnames[] = {
23642 (char *) "self",(char *) "clientData", NULL
23643 };
23644
23645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23647 if (!SWIG_IsOK(res1)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23649 }
23650 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23651 arg2 = obj1;
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 wxToolBarToolBase_SetClientData(arg1,arg2);
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = SWIG_Py_Void();
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23666 PyObject *obj;
23667 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23668 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23669 return SWIG_Py_Void();
23670 }
23671
23672 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj = 0;
23674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23675 int arg2 ;
23676 wxString *arg3 = 0 ;
23677 wxBitmap *arg4 = 0 ;
23678 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23679 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23680 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23681 wxString const &arg7_defvalue = wxPyEmptyString ;
23682 wxString *arg7 = (wxString *) &arg7_defvalue ;
23683 wxString const &arg8_defvalue = wxPyEmptyString ;
23684 wxString *arg8 = (wxString *) &arg8_defvalue ;
23685 PyObject *arg9 = (PyObject *) NULL ;
23686 wxToolBarToolBase *result = 0 ;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 int val2 ;
23690 int ecode2 = 0 ;
23691 bool temp3 = false ;
23692 void *argp4 = 0 ;
23693 int res4 = 0 ;
23694 void *argp5 = 0 ;
23695 int res5 = 0 ;
23696 int val6 ;
23697 int ecode6 = 0 ;
23698 bool temp7 = false ;
23699 bool temp8 = false ;
23700 PyObject * obj0 = 0 ;
23701 PyObject * obj1 = 0 ;
23702 PyObject * obj2 = 0 ;
23703 PyObject * obj3 = 0 ;
23704 PyObject * obj4 = 0 ;
23705 PyObject * obj5 = 0 ;
23706 PyObject * obj6 = 0 ;
23707 PyObject * obj7 = 0 ;
23708 PyObject * obj8 = 0 ;
23709 char * kwnames[] = {
23710 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23711 };
23712
23713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23715 if (!SWIG_IsOK(res1)) {
23716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23717 }
23718 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23719 ecode2 = SWIG_AsVal_int(obj1, &val2);
23720 if (!SWIG_IsOK(ecode2)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23722 }
23723 arg2 = static_cast< int >(val2);
23724 {
23725 arg3 = wxString_in_helper(obj2);
23726 if (arg3 == NULL) SWIG_fail;
23727 temp3 = true;
23728 }
23729 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23730 if (!SWIG_IsOK(res4)) {
23731 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23732 }
23733 if (!argp4) {
23734 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23735 }
23736 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23737 if (obj4) {
23738 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23739 if (!SWIG_IsOK(res5)) {
23740 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23741 }
23742 if (!argp5) {
23743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23744 }
23745 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23746 }
23747 if (obj5) {
23748 ecode6 = SWIG_AsVal_int(obj5, &val6);
23749 if (!SWIG_IsOK(ecode6)) {
23750 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23751 }
23752 arg6 = static_cast< wxItemKind >(val6);
23753 }
23754 if (obj6) {
23755 {
23756 arg7 = wxString_in_helper(obj6);
23757 if (arg7 == NULL) SWIG_fail;
23758 temp7 = true;
23759 }
23760 }
23761 if (obj7) {
23762 {
23763 arg8 = wxString_in_helper(obj7);
23764 if (arg8 == NULL) SWIG_fail;
23765 temp8 = true;
23766 }
23767 }
23768 if (obj8) {
23769 arg9 = obj8;
23770 }
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 {
23778 resultobj = wxPyMake_wxObject(result, (bool)0);
23779 }
23780 {
23781 if (temp3)
23782 delete arg3;
23783 }
23784 {
23785 if (temp7)
23786 delete arg7;
23787 }
23788 {
23789 if (temp8)
23790 delete arg8;
23791 }
23792 return resultobj;
23793 fail:
23794 {
23795 if (temp3)
23796 delete arg3;
23797 }
23798 {
23799 if (temp7)
23800 delete arg7;
23801 }
23802 {
23803 if (temp8)
23804 delete arg8;
23805 }
23806 return NULL;
23807 }
23808
23809
23810 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj = 0;
23812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23813 size_t arg2 ;
23814 int arg3 ;
23815 wxString *arg4 = 0 ;
23816 wxBitmap *arg5 = 0 ;
23817 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23818 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23819 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23820 wxString const &arg8_defvalue = wxPyEmptyString ;
23821 wxString *arg8 = (wxString *) &arg8_defvalue ;
23822 wxString const &arg9_defvalue = wxPyEmptyString ;
23823 wxString *arg9 = (wxString *) &arg9_defvalue ;
23824 PyObject *arg10 = (PyObject *) NULL ;
23825 wxToolBarToolBase *result = 0 ;
23826 void *argp1 = 0 ;
23827 int res1 = 0 ;
23828 size_t val2 ;
23829 int ecode2 = 0 ;
23830 int val3 ;
23831 int ecode3 = 0 ;
23832 bool temp4 = false ;
23833 void *argp5 = 0 ;
23834 int res5 = 0 ;
23835 void *argp6 = 0 ;
23836 int res6 = 0 ;
23837 int val7 ;
23838 int ecode7 = 0 ;
23839 bool temp8 = false ;
23840 bool temp9 = false ;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 PyObject * obj2 = 0 ;
23844 PyObject * obj3 = 0 ;
23845 PyObject * obj4 = 0 ;
23846 PyObject * obj5 = 0 ;
23847 PyObject * obj6 = 0 ;
23848 PyObject * obj7 = 0 ;
23849 PyObject * obj8 = 0 ;
23850 PyObject * obj9 = 0 ;
23851 char * kwnames[] = {
23852 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23853 };
23854
23855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23857 if (!SWIG_IsOK(res1)) {
23858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23859 }
23860 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23861 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23862 if (!SWIG_IsOK(ecode2)) {
23863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23864 }
23865 arg2 = static_cast< size_t >(val2);
23866 ecode3 = SWIG_AsVal_int(obj2, &val3);
23867 if (!SWIG_IsOK(ecode3)) {
23868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23869 }
23870 arg3 = static_cast< int >(val3);
23871 {
23872 arg4 = wxString_in_helper(obj3);
23873 if (arg4 == NULL) SWIG_fail;
23874 temp4 = true;
23875 }
23876 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23877 if (!SWIG_IsOK(res5)) {
23878 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23879 }
23880 if (!argp5) {
23881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23882 }
23883 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23884 if (obj5) {
23885 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23886 if (!SWIG_IsOK(res6)) {
23887 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23888 }
23889 if (!argp6) {
23890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23891 }
23892 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23893 }
23894 if (obj6) {
23895 ecode7 = SWIG_AsVal_int(obj6, &val7);
23896 if (!SWIG_IsOK(ecode7)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23898 }
23899 arg7 = static_cast< wxItemKind >(val7);
23900 }
23901 if (obj7) {
23902 {
23903 arg8 = wxString_in_helper(obj7);
23904 if (arg8 == NULL) SWIG_fail;
23905 temp8 = true;
23906 }
23907 }
23908 if (obj8) {
23909 {
23910 arg9 = wxString_in_helper(obj8);
23911 if (arg9 == NULL) SWIG_fail;
23912 temp9 = true;
23913 }
23914 }
23915 if (obj9) {
23916 arg10 = obj9;
23917 }
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 {
23925 resultobj = wxPyMake_wxObject(result, (bool)0);
23926 }
23927 {
23928 if (temp4)
23929 delete arg4;
23930 }
23931 {
23932 if (temp8)
23933 delete arg8;
23934 }
23935 {
23936 if (temp9)
23937 delete arg9;
23938 }
23939 return resultobj;
23940 fail:
23941 {
23942 if (temp4)
23943 delete arg4;
23944 }
23945 {
23946 if (temp8)
23947 delete arg8;
23948 }
23949 {
23950 if (temp9)
23951 delete arg9;
23952 }
23953 return NULL;
23954 }
23955
23956
23957 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23958 PyObject *resultobj = 0;
23959 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23960 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
23961 wxToolBarToolBase *result = 0 ;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 void *argp2 = 0 ;
23965 int res2 = 0 ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char * kwnames[] = {
23969 (char *) "self",(char *) "tool", NULL
23970 };
23971
23972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
23973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23974 if (!SWIG_IsOK(res1)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23976 }
23977 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23979 if (!SWIG_IsOK(res2)) {
23980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23981 }
23982 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 {
23990 resultobj = wxPyMake_wxObject(result, (bool)0);
23991 }
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj = 0;
24000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24001 size_t arg2 ;
24002 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24003 wxToolBarToolBase *result = 0 ;
24004 void *argp1 = 0 ;
24005 int res1 = 0 ;
24006 size_t val2 ;
24007 int ecode2 = 0 ;
24008 void *argp3 = 0 ;
24009 int res3 = 0 ;
24010 PyObject * obj0 = 0 ;
24011 PyObject * obj1 = 0 ;
24012 PyObject * obj2 = 0 ;
24013 char * kwnames[] = {
24014 (char *) "self",(char *) "pos",(char *) "tool", NULL
24015 };
24016
24017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24019 if (!SWIG_IsOK(res1)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24021 }
24022 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24023 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24024 if (!SWIG_IsOK(ecode2)) {
24025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24026 }
24027 arg2 = static_cast< size_t >(val2);
24028 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24029 if (!SWIG_IsOK(res3)) {
24030 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24031 }
24032 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24033 {
24034 PyThreadState* __tstate = wxPyBeginAllowThreads();
24035 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 {
24040 resultobj = wxPyMake_wxObject(result, (bool)0);
24041 }
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj = 0;
24050 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24051 wxControl *arg2 = (wxControl *) 0 ;
24052 wxToolBarToolBase *result = 0 ;
24053 void *argp1 = 0 ;
24054 int res1 = 0 ;
24055 void *argp2 = 0 ;
24056 int res2 = 0 ;
24057 PyObject * obj0 = 0 ;
24058 PyObject * obj1 = 0 ;
24059 char * kwnames[] = {
24060 (char *) "self",(char *) "control", NULL
24061 };
24062
24063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24065 if (!SWIG_IsOK(res1)) {
24066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24067 }
24068 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24069 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24070 if (!SWIG_IsOK(res2)) {
24071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24072 }
24073 arg2 = reinterpret_cast< wxControl * >(argp2);
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 {
24081 resultobj = wxPyMake_wxObject(result, (bool)0);
24082 }
24083 return resultobj;
24084 fail:
24085 return NULL;
24086 }
24087
24088
24089 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj = 0;
24091 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24092 size_t arg2 ;
24093 wxControl *arg3 = (wxControl *) 0 ;
24094 wxToolBarToolBase *result = 0 ;
24095 void *argp1 = 0 ;
24096 int res1 = 0 ;
24097 size_t val2 ;
24098 int ecode2 = 0 ;
24099 void *argp3 = 0 ;
24100 int res3 = 0 ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 PyObject * obj2 = 0 ;
24104 char * kwnames[] = {
24105 (char *) "self",(char *) "pos",(char *) "control", NULL
24106 };
24107
24108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24110 if (!SWIG_IsOK(res1)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24112 }
24113 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24114 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24115 if (!SWIG_IsOK(ecode2)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24117 }
24118 arg2 = static_cast< size_t >(val2);
24119 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24120 if (!SWIG_IsOK(res3)) {
24121 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24122 }
24123 arg3 = reinterpret_cast< wxControl * >(argp3);
24124 {
24125 PyThreadState* __tstate = wxPyBeginAllowThreads();
24126 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = wxPyMake_wxObject(result, (bool)0);
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj = 0;
24141 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24142 int arg2 ;
24143 wxControl *result = 0 ;
24144 void *argp1 = 0 ;
24145 int res1 = 0 ;
24146 int val2 ;
24147 int ecode2 = 0 ;
24148 PyObject * obj0 = 0 ;
24149 PyObject * obj1 = 0 ;
24150 char * kwnames[] = {
24151 (char *) "self",(char *) "id", NULL
24152 };
24153
24154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24156 if (!SWIG_IsOK(res1)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24158 }
24159 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24160 ecode2 = SWIG_AsVal_int(obj1, &val2);
24161 if (!SWIG_IsOK(ecode2)) {
24162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24163 }
24164 arg2 = static_cast< int >(val2);
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 result = (wxControl *)(arg1)->FindControl(arg2);
24168 wxPyEndAllowThreads(__tstate);
24169 if (PyErr_Occurred()) SWIG_fail;
24170 }
24171 {
24172 resultobj = wxPyMake_wxObject(result, 0);
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24181 PyObject *resultobj = 0;
24182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24183 wxToolBarToolBase *result = 0 ;
24184 void *argp1 = 0 ;
24185 int res1 = 0 ;
24186 PyObject *swig_obj[1] ;
24187
24188 if (!args) SWIG_fail;
24189 swig_obj[0] = args;
24190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24193 }
24194 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 resultobj = wxPyMake_wxObject(result, (bool)0);
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj = 0;
24212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24213 size_t arg2 ;
24214 wxToolBarToolBase *result = 0 ;
24215 void *argp1 = 0 ;
24216 int res1 = 0 ;
24217 size_t val2 ;
24218 int ecode2 = 0 ;
24219 PyObject * obj0 = 0 ;
24220 PyObject * obj1 = 0 ;
24221 char * kwnames[] = {
24222 (char *) "self",(char *) "pos", NULL
24223 };
24224
24225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24227 if (!SWIG_IsOK(res1)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24229 }
24230 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24231 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24232 if (!SWIG_IsOK(ecode2)) {
24233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24234 }
24235 arg2 = static_cast< size_t >(val2);
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24239 wxPyEndAllowThreads(__tstate);
24240 if (PyErr_Occurred()) SWIG_fail;
24241 }
24242 {
24243 resultobj = wxPyMake_wxObject(result, (bool)0);
24244 }
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj = 0;
24253 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24254 int arg2 ;
24255 wxToolBarToolBase *result = 0 ;
24256 void *argp1 = 0 ;
24257 int res1 = 0 ;
24258 int val2 ;
24259 int ecode2 = 0 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char * kwnames[] = {
24263 (char *) "self",(char *) "id", NULL
24264 };
24265
24266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24268 if (!SWIG_IsOK(res1)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24270 }
24271 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24272 ecode2 = SWIG_AsVal_int(obj1, &val2);
24273 if (!SWIG_IsOK(ecode2)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24275 }
24276 arg2 = static_cast< int >(val2);
24277 {
24278 PyThreadState* __tstate = wxPyBeginAllowThreads();
24279 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24280 wxPyEndAllowThreads(__tstate);
24281 if (PyErr_Occurred()) SWIG_fail;
24282 }
24283 {
24284 resultobj = wxPyMake_wxObject(result, (bool)0);
24285 }
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj = 0;
24294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24295 size_t arg2 ;
24296 bool result;
24297 void *argp1 = 0 ;
24298 int res1 = 0 ;
24299 size_t val2 ;
24300 int ecode2 = 0 ;
24301 PyObject * obj0 = 0 ;
24302 PyObject * obj1 = 0 ;
24303 char * kwnames[] = {
24304 (char *) "self",(char *) "pos", NULL
24305 };
24306
24307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24309 if (!SWIG_IsOK(res1)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24311 }
24312 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24313 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24314 if (!SWIG_IsOK(ecode2)) {
24315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24316 }
24317 arg2 = static_cast< size_t >(val2);
24318 {
24319 PyThreadState* __tstate = wxPyBeginAllowThreads();
24320 result = (bool)(arg1)->DeleteToolByPos(arg2);
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 {
24325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24326 }
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj = 0;
24335 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24336 int arg2 ;
24337 bool result;
24338 void *argp1 = 0 ;
24339 int res1 = 0 ;
24340 int val2 ;
24341 int ecode2 = 0 ;
24342 PyObject * obj0 = 0 ;
24343 PyObject * obj1 = 0 ;
24344 char * kwnames[] = {
24345 (char *) "self",(char *) "id", NULL
24346 };
24347
24348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24350 if (!SWIG_IsOK(res1)) {
24351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24352 }
24353 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24354 ecode2 = SWIG_AsVal_int(obj1, &val2);
24355 if (!SWIG_IsOK(ecode2)) {
24356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24357 }
24358 arg2 = static_cast< int >(val2);
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 result = (bool)(arg1)->DeleteTool(arg2);
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 {
24366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24375 PyObject *resultobj = 0;
24376 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24377 void *argp1 = 0 ;
24378 int res1 = 0 ;
24379 PyObject *swig_obj[1] ;
24380
24381 if (!args) SWIG_fail;
24382 swig_obj[0] = args;
24383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24384 if (!SWIG_IsOK(res1)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24386 }
24387 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 (arg1)->ClearTools();
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 resultobj = SWIG_Py_Void();
24395 return resultobj;
24396 fail:
24397 return NULL;
24398 }
24399
24400
24401 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24402 PyObject *resultobj = 0;
24403 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24404 bool result;
24405 void *argp1 = 0 ;
24406 int res1 = 0 ;
24407 PyObject *swig_obj[1] ;
24408
24409 if (!args) SWIG_fail;
24410 swig_obj[0] = args;
24411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24412 if (!SWIG_IsOK(res1)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24414 }
24415 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 result = (bool)(arg1)->Realize();
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 {
24423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24424 }
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj = 0;
24433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24434 int arg2 ;
24435 bool arg3 ;
24436 void *argp1 = 0 ;
24437 int res1 = 0 ;
24438 int val2 ;
24439 int ecode2 = 0 ;
24440 bool val3 ;
24441 int ecode3 = 0 ;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
24444 PyObject * obj2 = 0 ;
24445 char * kwnames[] = {
24446 (char *) "self",(char *) "id",(char *) "enable", NULL
24447 };
24448
24449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24451 if (!SWIG_IsOK(res1)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24453 }
24454 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24455 ecode2 = SWIG_AsVal_int(obj1, &val2);
24456 if (!SWIG_IsOK(ecode2)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24458 }
24459 arg2 = static_cast< int >(val2);
24460 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24461 if (!SWIG_IsOK(ecode3)) {
24462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24463 }
24464 arg3 = static_cast< bool >(val3);
24465 {
24466 PyThreadState* __tstate = wxPyBeginAllowThreads();
24467 (arg1)->EnableTool(arg2,arg3);
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 resultobj = SWIG_Py_Void();
24472 return resultobj;
24473 fail:
24474 return NULL;
24475 }
24476
24477
24478 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24479 PyObject *resultobj = 0;
24480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24481 int arg2 ;
24482 bool arg3 ;
24483 void *argp1 = 0 ;
24484 int res1 = 0 ;
24485 int val2 ;
24486 int ecode2 = 0 ;
24487 bool val3 ;
24488 int ecode3 = 0 ;
24489 PyObject * obj0 = 0 ;
24490 PyObject * obj1 = 0 ;
24491 PyObject * obj2 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "id",(char *) "toggle", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24498 if (!SWIG_IsOK(res1)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24500 }
24501 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24502 ecode2 = SWIG_AsVal_int(obj1, &val2);
24503 if (!SWIG_IsOK(ecode2)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24505 }
24506 arg2 = static_cast< int >(val2);
24507 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24508 if (!SWIG_IsOK(ecode3)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24510 }
24511 arg3 = static_cast< bool >(val3);
24512 {
24513 PyThreadState* __tstate = wxPyBeginAllowThreads();
24514 (arg1)->ToggleTool(arg2,arg3);
24515 wxPyEndAllowThreads(__tstate);
24516 if (PyErr_Occurred()) SWIG_fail;
24517 }
24518 resultobj = SWIG_Py_Void();
24519 return resultobj;
24520 fail:
24521 return NULL;
24522 }
24523
24524
24525 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24526 PyObject *resultobj = 0;
24527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24528 int arg2 ;
24529 bool arg3 ;
24530 void *argp1 = 0 ;
24531 int res1 = 0 ;
24532 int val2 ;
24533 int ecode2 = 0 ;
24534 bool val3 ;
24535 int ecode3 = 0 ;
24536 PyObject * obj0 = 0 ;
24537 PyObject * obj1 = 0 ;
24538 PyObject * obj2 = 0 ;
24539 char * kwnames[] = {
24540 (char *) "self",(char *) "id",(char *) "toggle", NULL
24541 };
24542
24543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24545 if (!SWIG_IsOK(res1)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24547 }
24548 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24549 ecode2 = SWIG_AsVal_int(obj1, &val2);
24550 if (!SWIG_IsOK(ecode2)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24552 }
24553 arg2 = static_cast< int >(val2);
24554 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24555 if (!SWIG_IsOK(ecode3)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24557 }
24558 arg3 = static_cast< bool >(val3);
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 (arg1)->SetToggle(arg2,arg3);
24562 wxPyEndAllowThreads(__tstate);
24563 if (PyErr_Occurred()) SWIG_fail;
24564 }
24565 resultobj = SWIG_Py_Void();
24566 return resultobj;
24567 fail:
24568 return NULL;
24569 }
24570
24571
24572 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24573 PyObject *resultobj = 0;
24574 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24575 int arg2 ;
24576 PyObject *result = 0 ;
24577 void *argp1 = 0 ;
24578 int res1 = 0 ;
24579 int val2 ;
24580 int ecode2 = 0 ;
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
24583 char * kwnames[] = {
24584 (char *) "self",(char *) "id", NULL
24585 };
24586
24587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24589 if (!SWIG_IsOK(res1)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24591 }
24592 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24593 ecode2 = SWIG_AsVal_int(obj1, &val2);
24594 if (!SWIG_IsOK(ecode2)) {
24595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24596 }
24597 arg2 = static_cast< int >(val2);
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 resultobj = result;
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj = 0;
24613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24614 int arg2 ;
24615 PyObject *arg3 = (PyObject *) 0 ;
24616 void *argp1 = 0 ;
24617 int res1 = 0 ;
24618 int val2 ;
24619 int ecode2 = 0 ;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 PyObject * obj2 = 0 ;
24623 char * kwnames[] = {
24624 (char *) "self",(char *) "id",(char *) "clientData", NULL
24625 };
24626
24627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24631 }
24632 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24633 ecode2 = SWIG_AsVal_int(obj1, &val2);
24634 if (!SWIG_IsOK(ecode2)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24636 }
24637 arg2 = static_cast< int >(val2);
24638 arg3 = obj2;
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24642 wxPyEndAllowThreads(__tstate);
24643 if (PyErr_Occurred()) SWIG_fail;
24644 }
24645 resultobj = SWIG_Py_Void();
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24653 PyObject *resultobj = 0;
24654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24655 int arg2 ;
24656 int result;
24657 void *argp1 = 0 ;
24658 int res1 = 0 ;
24659 int val2 ;
24660 int ecode2 = 0 ;
24661 PyObject * obj0 = 0 ;
24662 PyObject * obj1 = 0 ;
24663 char * kwnames[] = {
24664 (char *) "self",(char *) "id", NULL
24665 };
24666
24667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24669 if (!SWIG_IsOK(res1)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24671 }
24672 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24673 ecode2 = SWIG_AsVal_int(obj1, &val2);
24674 if (!SWIG_IsOK(ecode2)) {
24675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24676 }
24677 arg2 = static_cast< int >(val2);
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24681 wxPyEndAllowThreads(__tstate);
24682 if (PyErr_Occurred()) SWIG_fail;
24683 }
24684 resultobj = SWIG_From_int(static_cast< int >(result));
24685 return resultobj;
24686 fail:
24687 return NULL;
24688 }
24689
24690
24691 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24692 PyObject *resultobj = 0;
24693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24694 int arg2 ;
24695 bool result;
24696 void *argp1 = 0 ;
24697 int res1 = 0 ;
24698 int val2 ;
24699 int ecode2 = 0 ;
24700 PyObject * obj0 = 0 ;
24701 PyObject * obj1 = 0 ;
24702 char * kwnames[] = {
24703 (char *) "self",(char *) "id", NULL
24704 };
24705
24706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24708 if (!SWIG_IsOK(res1)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24710 }
24711 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24712 ecode2 = SWIG_AsVal_int(obj1, &val2);
24713 if (!SWIG_IsOK(ecode2)) {
24714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24715 }
24716 arg2 = static_cast< int >(val2);
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (bool)(arg1)->GetToolState(arg2);
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24725 }
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj = 0;
24734 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24735 int arg2 ;
24736 bool result;
24737 void *argp1 = 0 ;
24738 int res1 = 0 ;
24739 int val2 ;
24740 int ecode2 = 0 ;
24741 PyObject * obj0 = 0 ;
24742 PyObject * obj1 = 0 ;
24743 char * kwnames[] = {
24744 (char *) "self",(char *) "id", NULL
24745 };
24746
24747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24749 if (!SWIG_IsOK(res1)) {
24750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24751 }
24752 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24753 ecode2 = SWIG_AsVal_int(obj1, &val2);
24754 if (!SWIG_IsOK(ecode2)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24756 }
24757 arg2 = static_cast< int >(val2);
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 result = (bool)(arg1)->GetToolEnabled(arg2);
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 {
24765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24766 }
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj = 0;
24775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24776 int arg2 ;
24777 wxString *arg3 = 0 ;
24778 void *argp1 = 0 ;
24779 int res1 = 0 ;
24780 int val2 ;
24781 int ecode2 = 0 ;
24782 bool temp3 = false ;
24783 PyObject * obj0 = 0 ;
24784 PyObject * obj1 = 0 ;
24785 PyObject * obj2 = 0 ;
24786 char * kwnames[] = {
24787 (char *) "self",(char *) "id",(char *) "helpString", NULL
24788 };
24789
24790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24792 if (!SWIG_IsOK(res1)) {
24793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24794 }
24795 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24796 ecode2 = SWIG_AsVal_int(obj1, &val2);
24797 if (!SWIG_IsOK(ecode2)) {
24798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24799 }
24800 arg2 = static_cast< int >(val2);
24801 {
24802 arg3 = wxString_in_helper(obj2);
24803 if (arg3 == NULL) SWIG_fail;
24804 temp3 = true;
24805 }
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 resultobj = SWIG_Py_Void();
24813 {
24814 if (temp3)
24815 delete arg3;
24816 }
24817 return resultobj;
24818 fail:
24819 {
24820 if (temp3)
24821 delete arg3;
24822 }
24823 return NULL;
24824 }
24825
24826
24827 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj = 0;
24829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24830 int arg2 ;
24831 wxString result;
24832 void *argp1 = 0 ;
24833 int res1 = 0 ;
24834 int val2 ;
24835 int ecode2 = 0 ;
24836 PyObject * obj0 = 0 ;
24837 PyObject * obj1 = 0 ;
24838 char * kwnames[] = {
24839 (char *) "self",(char *) "id", NULL
24840 };
24841
24842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24844 if (!SWIG_IsOK(res1)) {
24845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24846 }
24847 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24848 ecode2 = SWIG_AsVal_int(obj1, &val2);
24849 if (!SWIG_IsOK(ecode2)) {
24850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24851 }
24852 arg2 = static_cast< int >(val2);
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
24855 result = (arg1)->GetToolShortHelp(arg2);
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 {
24860 #if wxUSE_UNICODE
24861 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24862 #else
24863 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24864 #endif
24865 }
24866 return resultobj;
24867 fail:
24868 return NULL;
24869 }
24870
24871
24872 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24873 PyObject *resultobj = 0;
24874 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24875 int arg2 ;
24876 wxString *arg3 = 0 ;
24877 void *argp1 = 0 ;
24878 int res1 = 0 ;
24879 int val2 ;
24880 int ecode2 = 0 ;
24881 bool temp3 = false ;
24882 PyObject * obj0 = 0 ;
24883 PyObject * obj1 = 0 ;
24884 PyObject * obj2 = 0 ;
24885 char * kwnames[] = {
24886 (char *) "self",(char *) "id",(char *) "helpString", NULL
24887 };
24888
24889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24891 if (!SWIG_IsOK(res1)) {
24892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24893 }
24894 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24895 ecode2 = SWIG_AsVal_int(obj1, &val2);
24896 if (!SWIG_IsOK(ecode2)) {
24897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24898 }
24899 arg2 = static_cast< int >(val2);
24900 {
24901 arg3 = wxString_in_helper(obj2);
24902 if (arg3 == NULL) SWIG_fail;
24903 temp3 = true;
24904 }
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 resultobj = SWIG_Py_Void();
24912 {
24913 if (temp3)
24914 delete arg3;
24915 }
24916 return resultobj;
24917 fail:
24918 {
24919 if (temp3)
24920 delete arg3;
24921 }
24922 return NULL;
24923 }
24924
24925
24926 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24927 PyObject *resultobj = 0;
24928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24929 int arg2 ;
24930 wxString result;
24931 void *argp1 = 0 ;
24932 int res1 = 0 ;
24933 int val2 ;
24934 int ecode2 = 0 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 char * kwnames[] = {
24938 (char *) "self",(char *) "id", NULL
24939 };
24940
24941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24943 if (!SWIG_IsOK(res1)) {
24944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24945 }
24946 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24947 ecode2 = SWIG_AsVal_int(obj1, &val2);
24948 if (!SWIG_IsOK(ecode2)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24950 }
24951 arg2 = static_cast< int >(val2);
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = (arg1)->GetToolLongHelp(arg2);
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 #if wxUSE_UNICODE
24960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24961 #else
24962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24963 #endif
24964 }
24965 return resultobj;
24966 fail:
24967 return NULL;
24968 }
24969
24970
24971 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24972 PyObject *resultobj = 0;
24973 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24974 int arg2 ;
24975 int arg3 ;
24976 void *argp1 = 0 ;
24977 int res1 = 0 ;
24978 int val2 ;
24979 int ecode2 = 0 ;
24980 int val3 ;
24981 int ecode3 = 0 ;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 PyObject * obj2 = 0 ;
24985 char * kwnames[] = {
24986 (char *) "self",(char *) "x",(char *) "y", NULL
24987 };
24988
24989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24991 if (!SWIG_IsOK(res1)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24993 }
24994 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24995 ecode2 = SWIG_AsVal_int(obj1, &val2);
24996 if (!SWIG_IsOK(ecode2)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24998 }
24999 arg2 = static_cast< int >(val2);
25000 ecode3 = SWIG_AsVal_int(obj2, &val3);
25001 if (!SWIG_IsOK(ecode3)) {
25002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25003 }
25004 arg3 = static_cast< int >(val3);
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 (arg1)->SetMargins(arg2,arg3);
25008 wxPyEndAllowThreads(__tstate);
25009 if (PyErr_Occurred()) SWIG_fail;
25010 }
25011 resultobj = SWIG_Py_Void();
25012 return resultobj;
25013 fail:
25014 return NULL;
25015 }
25016
25017
25018 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25019 PyObject *resultobj = 0;
25020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25021 wxSize *arg2 = 0 ;
25022 void *argp1 = 0 ;
25023 int res1 = 0 ;
25024 wxSize temp2 ;
25025 PyObject * obj0 = 0 ;
25026 PyObject * obj1 = 0 ;
25027 char * kwnames[] = {
25028 (char *) "self",(char *) "size", NULL
25029 };
25030
25031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25033 if (!SWIG_IsOK(res1)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25035 }
25036 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25037 {
25038 arg2 = &temp2;
25039 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 (arg1)->SetMargins((wxSize const &)*arg2);
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 resultobj = SWIG_Py_Void();
25048 return resultobj;
25049 fail:
25050 return NULL;
25051 }
25052
25053
25054 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25055 PyObject *resultobj = 0;
25056 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25057 int arg2 ;
25058 void *argp1 = 0 ;
25059 int res1 = 0 ;
25060 int val2 ;
25061 int ecode2 = 0 ;
25062 PyObject * obj0 = 0 ;
25063 PyObject * obj1 = 0 ;
25064 char * kwnames[] = {
25065 (char *) "self",(char *) "packing", NULL
25066 };
25067
25068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25070 if (!SWIG_IsOK(res1)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25072 }
25073 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25074 ecode2 = SWIG_AsVal_int(obj1, &val2);
25075 if (!SWIG_IsOK(ecode2)) {
25076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25077 }
25078 arg2 = static_cast< int >(val2);
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->SetToolPacking(arg2);
25082 wxPyEndAllowThreads(__tstate);
25083 if (PyErr_Occurred()) SWIG_fail;
25084 }
25085 resultobj = SWIG_Py_Void();
25086 return resultobj;
25087 fail:
25088 return NULL;
25089 }
25090
25091
25092 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25093 PyObject *resultobj = 0;
25094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25095 int arg2 ;
25096 void *argp1 = 0 ;
25097 int res1 = 0 ;
25098 int val2 ;
25099 int ecode2 = 0 ;
25100 PyObject * obj0 = 0 ;
25101 PyObject * obj1 = 0 ;
25102 char * kwnames[] = {
25103 (char *) "self",(char *) "separation", NULL
25104 };
25105
25106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25108 if (!SWIG_IsOK(res1)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25110 }
25111 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25112 ecode2 = SWIG_AsVal_int(obj1, &val2);
25113 if (!SWIG_IsOK(ecode2)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25115 }
25116 arg2 = static_cast< int >(val2);
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 (arg1)->SetToolSeparation(arg2);
25120 wxPyEndAllowThreads(__tstate);
25121 if (PyErr_Occurred()) SWIG_fail;
25122 }
25123 resultobj = SWIG_Py_Void();
25124 return resultobj;
25125 fail:
25126 return NULL;
25127 }
25128
25129
25130 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25131 PyObject *resultobj = 0;
25132 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25133 wxSize result;
25134 void *argp1 = 0 ;
25135 int res1 = 0 ;
25136 PyObject *swig_obj[1] ;
25137
25138 if (!args) SWIG_fail;
25139 swig_obj[0] = args;
25140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25141 if (!SWIG_IsOK(res1)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25143 }
25144 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25145 {
25146 PyThreadState* __tstate = wxPyBeginAllowThreads();
25147 result = (arg1)->GetToolMargins();
25148 wxPyEndAllowThreads(__tstate);
25149 if (PyErr_Occurred()) SWIG_fail;
25150 }
25151 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25152 return resultobj;
25153 fail:
25154 return NULL;
25155 }
25156
25157
25158 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25159 PyObject *resultobj = 0;
25160 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25161 wxSize result;
25162 void *argp1 = 0 ;
25163 int res1 = 0 ;
25164 PyObject *swig_obj[1] ;
25165
25166 if (!args) SWIG_fail;
25167 swig_obj[0] = args;
25168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25169 if (!SWIG_IsOK(res1)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25171 }
25172 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25173 {
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 result = (arg1)->GetMargins();
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25187 PyObject *resultobj = 0;
25188 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25189 int result;
25190 void *argp1 = 0 ;
25191 int res1 = 0 ;
25192 PyObject *swig_obj[1] ;
25193
25194 if (!args) SWIG_fail;
25195 swig_obj[0] = args;
25196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25197 if (!SWIG_IsOK(res1)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25199 }
25200 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25201 {
25202 PyThreadState* __tstate = wxPyBeginAllowThreads();
25203 result = (int)(arg1)->GetToolPacking();
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 resultobj = SWIG_From_int(static_cast< int >(result));
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25215 PyObject *resultobj = 0;
25216 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25217 int result;
25218 void *argp1 = 0 ;
25219 int res1 = 0 ;
25220 PyObject *swig_obj[1] ;
25221
25222 if (!args) SWIG_fail;
25223 swig_obj[0] = args;
25224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25225 if (!SWIG_IsOK(res1)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25227 }
25228 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (int)(arg1)->GetToolSeparation();
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = SWIG_From_int(static_cast< int >(result));
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj = 0;
25244 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25245 int arg2 ;
25246 void *argp1 = 0 ;
25247 int res1 = 0 ;
25248 int val2 ;
25249 int ecode2 = 0 ;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 char * kwnames[] = {
25253 (char *) "self",(char *) "nRows", NULL
25254 };
25255
25256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25258 if (!SWIG_IsOK(res1)) {
25259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25260 }
25261 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25262 ecode2 = SWIG_AsVal_int(obj1, &val2);
25263 if (!SWIG_IsOK(ecode2)) {
25264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25265 }
25266 arg2 = static_cast< int >(val2);
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 (arg1)->SetRows(arg2);
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 resultobj = SWIG_Py_Void();
25274 return resultobj;
25275 fail:
25276 return NULL;
25277 }
25278
25279
25280 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25281 PyObject *resultobj = 0;
25282 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25283 int arg2 ;
25284 int arg3 ;
25285 void *argp1 = 0 ;
25286 int res1 = 0 ;
25287 int val2 ;
25288 int ecode2 = 0 ;
25289 int val3 ;
25290 int ecode3 = 0 ;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 PyObject * obj2 = 0 ;
25294 char * kwnames[] = {
25295 (char *) "self",(char *) "rows",(char *) "cols", NULL
25296 };
25297
25298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25300 if (!SWIG_IsOK(res1)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25302 }
25303 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25304 ecode2 = SWIG_AsVal_int(obj1, &val2);
25305 if (!SWIG_IsOK(ecode2)) {
25306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25307 }
25308 arg2 = static_cast< int >(val2);
25309 ecode3 = SWIG_AsVal_int(obj2, &val3);
25310 if (!SWIG_IsOK(ecode3)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25312 }
25313 arg3 = static_cast< int >(val3);
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 (arg1)->SetMaxRowsCols(arg2,arg3);
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 resultobj = SWIG_Py_Void();
25321 return resultobj;
25322 fail:
25323 return NULL;
25324 }
25325
25326
25327 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25328 PyObject *resultobj = 0;
25329 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25330 int result;
25331 void *argp1 = 0 ;
25332 int res1 = 0 ;
25333 PyObject *swig_obj[1] ;
25334
25335 if (!args) SWIG_fail;
25336 swig_obj[0] = args;
25337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25338 if (!SWIG_IsOK(res1)) {
25339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25340 }
25341 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (int)(arg1)->GetMaxRows();
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 resultobj = SWIG_From_int(static_cast< int >(result));
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25356 PyObject *resultobj = 0;
25357 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25358 int result;
25359 void *argp1 = 0 ;
25360 int res1 = 0 ;
25361 PyObject *swig_obj[1] ;
25362
25363 if (!args) SWIG_fail;
25364 swig_obj[0] = args;
25365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25366 if (!SWIG_IsOK(res1)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25368 }
25369 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (int)(arg1)->GetMaxCols();
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 resultobj = SWIG_From_int(static_cast< int >(result));
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj = 0;
25385 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25386 wxSize *arg2 = 0 ;
25387 void *argp1 = 0 ;
25388 int res1 = 0 ;
25389 wxSize temp2 ;
25390 PyObject * obj0 = 0 ;
25391 PyObject * obj1 = 0 ;
25392 char * kwnames[] = {
25393 (char *) "self",(char *) "size", NULL
25394 };
25395
25396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25398 if (!SWIG_IsOK(res1)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25400 }
25401 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25402 {
25403 arg2 = &temp2;
25404 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25405 }
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25409 wxPyEndAllowThreads(__tstate);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 resultobj = SWIG_Py_Void();
25413 return resultobj;
25414 fail:
25415 return NULL;
25416 }
25417
25418
25419 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25420 PyObject *resultobj = 0;
25421 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25422 wxSize result;
25423 void *argp1 = 0 ;
25424 int res1 = 0 ;
25425 PyObject *swig_obj[1] ;
25426
25427 if (!args) SWIG_fail;
25428 swig_obj[0] = args;
25429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25430 if (!SWIG_IsOK(res1)) {
25431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25432 }
25433 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 result = (arg1)->GetToolBitmapSize();
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25448 PyObject *resultobj = 0;
25449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25450 wxSize result;
25451 void *argp1 = 0 ;
25452 int res1 = 0 ;
25453 PyObject *swig_obj[1] ;
25454
25455 if (!args) SWIG_fail;
25456 swig_obj[0] = args;
25457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25458 if (!SWIG_IsOK(res1)) {
25459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25460 }
25461 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (arg1)->GetToolSize();
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25469 return resultobj;
25470 fail:
25471 return NULL;
25472 }
25473
25474
25475 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj = 0;
25477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25478 int arg2 ;
25479 int arg3 ;
25480 wxToolBarToolBase *result = 0 ;
25481 void *argp1 = 0 ;
25482 int res1 = 0 ;
25483 int val2 ;
25484 int ecode2 = 0 ;
25485 int val3 ;
25486 int ecode3 = 0 ;
25487 PyObject * obj0 = 0 ;
25488 PyObject * obj1 = 0 ;
25489 PyObject * obj2 = 0 ;
25490 char * kwnames[] = {
25491 (char *) "self",(char *) "x",(char *) "y", NULL
25492 };
25493
25494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25496 if (!SWIG_IsOK(res1)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25498 }
25499 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25500 ecode2 = SWIG_AsVal_int(obj1, &val2);
25501 if (!SWIG_IsOK(ecode2)) {
25502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25503 }
25504 arg2 = static_cast< int >(val2);
25505 ecode3 = SWIG_AsVal_int(obj2, &val3);
25506 if (!SWIG_IsOK(ecode3)) {
25507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25508 }
25509 arg3 = static_cast< int >(val3);
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 resultobj = wxPyMake_wxObject(result, (bool)0);
25518 }
25519 return resultobj;
25520 fail:
25521 return NULL;
25522 }
25523
25524
25525 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25526 PyObject *resultobj = 0;
25527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25528 int arg2 ;
25529 wxToolBarToolBase *result = 0 ;
25530 void *argp1 = 0 ;
25531 int res1 = 0 ;
25532 int val2 ;
25533 int ecode2 = 0 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char * kwnames[] = {
25537 (char *) "self",(char *) "toolid", NULL
25538 };
25539
25540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25542 if (!SWIG_IsOK(res1)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25544 }
25545 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25546 ecode2 = SWIG_AsVal_int(obj1, &val2);
25547 if (!SWIG_IsOK(ecode2)) {
25548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25549 }
25550 arg2 = static_cast< int >(val2);
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 {
25558 resultobj = wxPyMake_wxObject(result, (bool)0);
25559 }
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25567 PyObject *resultobj = 0;
25568 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25569 bool result;
25570 void *argp1 = 0 ;
25571 int res1 = 0 ;
25572 PyObject *swig_obj[1] ;
25573
25574 if (!args) SWIG_fail;
25575 swig_obj[0] = args;
25576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25577 if (!SWIG_IsOK(res1)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25579 }
25580 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25581 {
25582 PyThreadState* __tstate = wxPyBeginAllowThreads();
25583 result = (bool)(arg1)->IsVertical();
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 {
25588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25589 }
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25597 PyObject *resultobj = 0;
25598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25599 size_t result;
25600 void *argp1 = 0 ;
25601 int res1 = 0 ;
25602 PyObject *swig_obj[1] ;
25603
25604 if (!args) SWIG_fail;
25605 swig_obj[0] = args;
25606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25607 if (!SWIG_IsOK(res1)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25609 }
25610 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25611 {
25612 PyThreadState* __tstate = wxPyBeginAllowThreads();
25613 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25614 wxPyEndAllowThreads(__tstate);
25615 if (PyErr_Occurred()) SWIG_fail;
25616 }
25617 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25618 return resultobj;
25619 fail:
25620 return NULL;
25621 }
25622
25623
25624 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25625 PyObject *obj;
25626 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25627 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25628 return SWIG_Py_Void();
25629 }
25630
25631 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj = 0;
25633 wxWindow *arg1 = (wxWindow *) 0 ;
25634 int arg2 = (int) -1 ;
25635 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25636 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25637 wxSize const &arg4_defvalue = wxDefaultSize ;
25638 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25639 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25640 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25641 wxString *arg6 = (wxString *) &arg6_defvalue ;
25642 wxToolBar *result = 0 ;
25643 void *argp1 = 0 ;
25644 int res1 = 0 ;
25645 int val2 ;
25646 int ecode2 = 0 ;
25647 wxPoint temp3 ;
25648 wxSize temp4 ;
25649 long val5 ;
25650 int ecode5 = 0 ;
25651 bool temp6 = false ;
25652 PyObject * obj0 = 0 ;
25653 PyObject * obj1 = 0 ;
25654 PyObject * obj2 = 0 ;
25655 PyObject * obj3 = 0 ;
25656 PyObject * obj4 = 0 ;
25657 PyObject * obj5 = 0 ;
25658 char * kwnames[] = {
25659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25660 };
25661
25662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25666 }
25667 arg1 = reinterpret_cast< wxWindow * >(argp1);
25668 if (obj1) {
25669 ecode2 = SWIG_AsVal_int(obj1, &val2);
25670 if (!SWIG_IsOK(ecode2)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25672 }
25673 arg2 = static_cast< int >(val2);
25674 }
25675 if (obj2) {
25676 {
25677 arg3 = &temp3;
25678 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25679 }
25680 }
25681 if (obj3) {
25682 {
25683 arg4 = &temp4;
25684 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25685 }
25686 }
25687 if (obj4) {
25688 ecode5 = SWIG_AsVal_long(obj4, &val5);
25689 if (!SWIG_IsOK(ecode5)) {
25690 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25691 }
25692 arg5 = static_cast< long >(val5);
25693 }
25694 if (obj5) {
25695 {
25696 arg6 = wxString_in_helper(obj5);
25697 if (arg6 == NULL) SWIG_fail;
25698 temp6 = true;
25699 }
25700 }
25701 {
25702 if (!wxPyCheckForApp()) SWIG_fail;
25703 PyThreadState* __tstate = wxPyBeginAllowThreads();
25704 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25709 {
25710 if (temp6)
25711 delete arg6;
25712 }
25713 return resultobj;
25714 fail:
25715 {
25716 if (temp6)
25717 delete arg6;
25718 }
25719 return NULL;
25720 }
25721
25722
25723 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25724 PyObject *resultobj = 0;
25725 wxToolBar *result = 0 ;
25726
25727 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25728 {
25729 if (!wxPyCheckForApp()) SWIG_fail;
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 result = (wxToolBar *)new wxToolBar();
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25736 return resultobj;
25737 fail:
25738 return NULL;
25739 }
25740
25741
25742 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj = 0;
25744 wxToolBar *arg1 = (wxToolBar *) 0 ;
25745 wxWindow *arg2 = (wxWindow *) 0 ;
25746 int arg3 = (int) -1 ;
25747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25749 wxSize const &arg5_defvalue = wxDefaultSize ;
25750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25751 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25752 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25753 wxString *arg7 = (wxString *) &arg7_defvalue ;
25754 bool result;
25755 void *argp1 = 0 ;
25756 int res1 = 0 ;
25757 void *argp2 = 0 ;
25758 int res2 = 0 ;
25759 int val3 ;
25760 int ecode3 = 0 ;
25761 wxPoint temp4 ;
25762 wxSize temp5 ;
25763 long val6 ;
25764 int ecode6 = 0 ;
25765 bool temp7 = false ;
25766 PyObject * obj0 = 0 ;
25767 PyObject * obj1 = 0 ;
25768 PyObject * obj2 = 0 ;
25769 PyObject * obj3 = 0 ;
25770 PyObject * obj4 = 0 ;
25771 PyObject * obj5 = 0 ;
25772 PyObject * obj6 = 0 ;
25773 char * kwnames[] = {
25774 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25775 };
25776
25777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25779 if (!SWIG_IsOK(res1)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25781 }
25782 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25784 if (!SWIG_IsOK(res2)) {
25785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25786 }
25787 arg2 = reinterpret_cast< wxWindow * >(argp2);
25788 if (obj2) {
25789 ecode3 = SWIG_AsVal_int(obj2, &val3);
25790 if (!SWIG_IsOK(ecode3)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25792 }
25793 arg3 = static_cast< int >(val3);
25794 }
25795 if (obj3) {
25796 {
25797 arg4 = &temp4;
25798 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25799 }
25800 }
25801 if (obj4) {
25802 {
25803 arg5 = &temp5;
25804 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25805 }
25806 }
25807 if (obj5) {
25808 ecode6 = SWIG_AsVal_long(obj5, &val6);
25809 if (!SWIG_IsOK(ecode6)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25811 }
25812 arg6 = static_cast< long >(val6);
25813 }
25814 if (obj6) {
25815 {
25816 arg7 = wxString_in_helper(obj6);
25817 if (arg7 == NULL) SWIG_fail;
25818 temp7 = true;
25819 }
25820 }
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 {
25828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25829 }
25830 {
25831 if (temp7)
25832 delete arg7;
25833 }
25834 return resultobj;
25835 fail:
25836 {
25837 if (temp7)
25838 delete arg7;
25839 }
25840 return NULL;
25841 }
25842
25843
25844 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj = 0;
25846 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25847 SwigValueWrapper<wxVisualAttributes > result;
25848 int val1 ;
25849 int ecode1 = 0 ;
25850 PyObject * obj0 = 0 ;
25851 char * kwnames[] = {
25852 (char *) "variant", NULL
25853 };
25854
25855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25856 if (obj0) {
25857 ecode1 = SWIG_AsVal_int(obj0, &val1);
25858 if (!SWIG_IsOK(ecode1)) {
25859 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25860 }
25861 arg1 = static_cast< wxWindowVariant >(val1);
25862 }
25863 {
25864 if (!wxPyCheckForApp()) SWIG_fail;
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = wxToolBar::GetClassDefaultAttributes(arg1);
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25871 return resultobj;
25872 fail:
25873 return NULL;
25874 }
25875
25876
25877 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25878 PyObject *obj;
25879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25880 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25881 return SWIG_Py_Void();
25882 }
25883
25884 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25885 return SWIG_Python_InitShadowInstance(args);
25886 }
25887
25888 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25889 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25890 return 1;
25891 }
25892
25893
25894 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25895 PyObject *pyobj = 0;
25896
25897 {
25898 #if wxUSE_UNICODE
25899 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25900 #else
25901 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
25902 #endif
25903 }
25904 return pyobj;
25905 }
25906
25907
25908 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25909 PyObject *resultobj = 0;
25910 wxColour const &arg1_defvalue = wxNullColour ;
25911 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25912 wxColour const &arg2_defvalue = wxNullColour ;
25913 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
25914 wxFont const &arg3_defvalue = wxNullFont ;
25915 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
25916 wxListItemAttr *result = 0 ;
25917 wxColour temp1 ;
25918 wxColour temp2 ;
25919 void *argp3 = 0 ;
25920 int res3 = 0 ;
25921 PyObject * obj0 = 0 ;
25922 PyObject * obj1 = 0 ;
25923 PyObject * obj2 = 0 ;
25924 char * kwnames[] = {
25925 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25926 };
25927
25928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25929 if (obj0) {
25930 {
25931 arg1 = &temp1;
25932 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
25933 }
25934 }
25935 if (obj1) {
25936 {
25937 arg2 = &temp2;
25938 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25939 }
25940 }
25941 if (obj2) {
25942 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
25943 if (!SWIG_IsOK(res3)) {
25944 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25945 }
25946 if (!argp3) {
25947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25948 }
25949 arg3 = reinterpret_cast< wxFont * >(argp3);
25950 }
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
25954 wxPyEndAllowThreads(__tstate);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
25958 return resultobj;
25959 fail:
25960 return NULL;
25961 }
25962
25963
25964 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25965 PyObject *resultobj = 0;
25966 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25967 void *argp1 = 0 ;
25968 int res1 = 0 ;
25969 PyObject *swig_obj[1] ;
25970
25971 if (!args) SWIG_fail;
25972 swig_obj[0] = args;
25973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
25974 if (!SWIG_IsOK(res1)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25976 }
25977 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 delete arg1;
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 resultobj = SWIG_Py_Void();
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj = 0;
25994 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25995 wxColour *arg2 = 0 ;
25996 void *argp1 = 0 ;
25997 int res1 = 0 ;
25998 wxColour temp2 ;
25999 PyObject * obj0 = 0 ;
26000 PyObject * obj1 = 0 ;
26001 char * kwnames[] = {
26002 (char *) "self",(char *) "colText", NULL
26003 };
26004
26005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26007 if (!SWIG_IsOK(res1)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26009 }
26010 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26011 {
26012 arg2 = &temp2;
26013 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetTextColour((wxColour const &)*arg2);
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 resultobj = SWIG_Py_Void();
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj = 0;
26030 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26031 wxColour *arg2 = 0 ;
26032 void *argp1 = 0 ;
26033 int res1 = 0 ;
26034 wxColour temp2 ;
26035 PyObject * obj0 = 0 ;
26036 PyObject * obj1 = 0 ;
26037 char * kwnames[] = {
26038 (char *) "self",(char *) "colBack", NULL
26039 };
26040
26041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26045 }
26046 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26047 {
26048 arg2 = &temp2;
26049 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 resultobj = SWIG_Py_Void();
26058 return resultobj;
26059 fail:
26060 return NULL;
26061 }
26062
26063
26064 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj = 0;
26066 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26067 wxFont *arg2 = 0 ;
26068 void *argp1 = 0 ;
26069 int res1 = 0 ;
26070 void *argp2 = 0 ;
26071 int res2 = 0 ;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char * kwnames[] = {
26075 (char *) "self",(char *) "font", NULL
26076 };
26077
26078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26080 if (!SWIG_IsOK(res1)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26082 }
26083 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26084 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26085 if (!SWIG_IsOK(res2)) {
26086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26087 }
26088 if (!argp2) {
26089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26090 }
26091 arg2 = reinterpret_cast< wxFont * >(argp2);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 (arg1)->SetFont((wxFont const &)*arg2);
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = SWIG_Py_Void();
26099 return resultobj;
26100 fail:
26101 return NULL;
26102 }
26103
26104
26105 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26106 PyObject *resultobj = 0;
26107 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26108 bool result;
26109 void *argp1 = 0 ;
26110 int res1 = 0 ;
26111 PyObject *swig_obj[1] ;
26112
26113 if (!args) SWIG_fail;
26114 swig_obj[0] = args;
26115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26118 }
26119 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (bool)(arg1)->HasTextColour();
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 {
26127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26128 }
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26136 PyObject *resultobj = 0;
26137 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26138 bool result;
26139 void *argp1 = 0 ;
26140 int res1 = 0 ;
26141 PyObject *swig_obj[1] ;
26142
26143 if (!args) SWIG_fail;
26144 swig_obj[0] = args;
26145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26146 if (!SWIG_IsOK(res1)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26148 }
26149 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (bool)(arg1)->HasBackgroundColour();
26153 wxPyEndAllowThreads(__tstate);
26154 if (PyErr_Occurred()) SWIG_fail;
26155 }
26156 {
26157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26158 }
26159 return resultobj;
26160 fail:
26161 return NULL;
26162 }
26163
26164
26165 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26166 PyObject *resultobj = 0;
26167 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26168 bool result;
26169 void *argp1 = 0 ;
26170 int res1 = 0 ;
26171 PyObject *swig_obj[1] ;
26172
26173 if (!args) SWIG_fail;
26174 swig_obj[0] = args;
26175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26176 if (!SWIG_IsOK(res1)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26178 }
26179 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)(arg1)->HasFont();
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26198 wxColour result;
26199 void *argp1 = 0 ;
26200 int res1 = 0 ;
26201 PyObject *swig_obj[1] ;
26202
26203 if (!args) SWIG_fail;
26204 swig_obj[0] = args;
26205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26206 if (!SWIG_IsOK(res1)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26208 }
26209 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26210 {
26211 PyThreadState* __tstate = wxPyBeginAllowThreads();
26212 result = (arg1)->GetTextColour();
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
26216 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26217 return resultobj;
26218 fail:
26219 return NULL;
26220 }
26221
26222
26223 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26224 PyObject *resultobj = 0;
26225 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26226 wxColour result;
26227 void *argp1 = 0 ;
26228 int res1 = 0 ;
26229 PyObject *swig_obj[1] ;
26230
26231 if (!args) SWIG_fail;
26232 swig_obj[0] = args;
26233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26234 if (!SWIG_IsOK(res1)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26236 }
26237 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 result = (arg1)->GetBackgroundColour();
26241 wxPyEndAllowThreads(__tstate);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26252 PyObject *resultobj = 0;
26253 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26254 wxFont result;
26255 void *argp1 = 0 ;
26256 int res1 = 0 ;
26257 PyObject *swig_obj[1] ;
26258
26259 if (!args) SWIG_fail;
26260 swig_obj[0] = args;
26261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26262 if (!SWIG_IsOK(res1)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26264 }
26265 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 result = (arg1)->GetFont();
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26273 return resultobj;
26274 fail:
26275 return NULL;
26276 }
26277
26278
26279 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj = 0;
26281 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26282 wxListItemAttr *arg2 = 0 ;
26283 void *argp1 = 0 ;
26284 int res1 = 0 ;
26285 void *argp2 = 0 ;
26286 int res2 = 0 ;
26287 PyObject * obj0 = 0 ;
26288 PyObject * obj1 = 0 ;
26289 char * kwnames[] = {
26290 (char *) "self",(char *) "source", NULL
26291 };
26292
26293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26295 if (!SWIG_IsOK(res1)) {
26296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26297 }
26298 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26299 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26300 if (!SWIG_IsOK(res2)) {
26301 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26302 }
26303 if (!argp2) {
26304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26305 }
26306 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 resultobj = SWIG_Py_Void();
26314 return resultobj;
26315 fail:
26316 return NULL;
26317 }
26318
26319
26320 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26321 PyObject *resultobj = 0;
26322 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26323 void *argp1 = 0 ;
26324 int res1 = 0 ;
26325 PyObject *swig_obj[1] ;
26326
26327 if (!args) SWIG_fail;
26328 swig_obj[0] = args;
26329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26330 if (!SWIG_IsOK(res1)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26332 }
26333 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26334 {
26335 PyThreadState* __tstate = wxPyBeginAllowThreads();
26336 wxListItemAttr_Destroy(arg1);
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 resultobj = SWIG_Py_Void();
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26348 PyObject *obj;
26349 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26350 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26351 return SWIG_Py_Void();
26352 }
26353
26354 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26355 return SWIG_Python_InitShadowInstance(args);
26356 }
26357
26358 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26359 PyObject *resultobj = 0;
26360 wxListItem *result = 0 ;
26361
26362 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = (wxListItem *)new wxListItem();
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 {
26370 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26371 }
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26379 PyObject *resultobj = 0;
26380 wxListItem *arg1 = (wxListItem *) 0 ;
26381 void *argp1 = 0 ;
26382 int res1 = 0 ;
26383 PyObject *swig_obj[1] ;
26384
26385 if (!args) SWIG_fail;
26386 swig_obj[0] = args;
26387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26388 if (!SWIG_IsOK(res1)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26390 }
26391 arg1 = reinterpret_cast< wxListItem * >(argp1);
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 delete arg1;
26395
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 resultobj = SWIG_Py_Void();
26400 return resultobj;
26401 fail:
26402 return NULL;
26403 }
26404
26405
26406 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26407 PyObject *resultobj = 0;
26408 wxListItem *arg1 = (wxListItem *) 0 ;
26409 void *argp1 = 0 ;
26410 int res1 = 0 ;
26411 PyObject *swig_obj[1] ;
26412
26413 if (!args) SWIG_fail;
26414 swig_obj[0] = args;
26415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26416 if (!SWIG_IsOK(res1)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26418 }
26419 arg1 = reinterpret_cast< wxListItem * >(argp1);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->Clear();
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_Py_Void();
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26434 PyObject *resultobj = 0;
26435 wxListItem *arg1 = (wxListItem *) 0 ;
26436 void *argp1 = 0 ;
26437 int res1 = 0 ;
26438 PyObject *swig_obj[1] ;
26439
26440 if (!args) SWIG_fail;
26441 swig_obj[0] = args;
26442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26443 if (!SWIG_IsOK(res1)) {
26444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26445 }
26446 arg1 = reinterpret_cast< wxListItem * >(argp1);
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 (arg1)->ClearAttributes();
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 resultobj = SWIG_Py_Void();
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj = 0;
26462 wxListItem *arg1 = (wxListItem *) 0 ;
26463 long arg2 ;
26464 void *argp1 = 0 ;
26465 int res1 = 0 ;
26466 long val2 ;
26467 int ecode2 = 0 ;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 char * kwnames[] = {
26471 (char *) "self",(char *) "mask", NULL
26472 };
26473
26474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26476 if (!SWIG_IsOK(res1)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26478 }
26479 arg1 = reinterpret_cast< wxListItem * >(argp1);
26480 ecode2 = SWIG_AsVal_long(obj1, &val2);
26481 if (!SWIG_IsOK(ecode2)) {
26482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26483 }
26484 arg2 = static_cast< long >(val2);
26485 {
26486 PyThreadState* __tstate = wxPyBeginAllowThreads();
26487 (arg1)->SetMask(arg2);
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 resultobj = SWIG_Py_Void();
26492 return resultobj;
26493 fail:
26494 return NULL;
26495 }
26496
26497
26498 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26499 PyObject *resultobj = 0;
26500 wxListItem *arg1 = (wxListItem *) 0 ;
26501 long arg2 ;
26502 void *argp1 = 0 ;
26503 int res1 = 0 ;
26504 long val2 ;
26505 int ecode2 = 0 ;
26506 PyObject * obj0 = 0 ;
26507 PyObject * obj1 = 0 ;
26508 char * kwnames[] = {
26509 (char *) "self",(char *) "id", NULL
26510 };
26511
26512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26514 if (!SWIG_IsOK(res1)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26516 }
26517 arg1 = reinterpret_cast< wxListItem * >(argp1);
26518 ecode2 = SWIG_AsVal_long(obj1, &val2);
26519 if (!SWIG_IsOK(ecode2)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26521 }
26522 arg2 = static_cast< long >(val2);
26523 {
26524 PyThreadState* __tstate = wxPyBeginAllowThreads();
26525 (arg1)->SetId(arg2);
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 resultobj = SWIG_Py_Void();
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj = 0;
26538 wxListItem *arg1 = (wxListItem *) 0 ;
26539 int arg2 ;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 int val2 ;
26543 int ecode2 = 0 ;
26544 PyObject * obj0 = 0 ;
26545 PyObject * obj1 = 0 ;
26546 char * kwnames[] = {
26547 (char *) "self",(char *) "col", NULL
26548 };
26549
26550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26552 if (!SWIG_IsOK(res1)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26554 }
26555 arg1 = reinterpret_cast< wxListItem * >(argp1);
26556 ecode2 = SWIG_AsVal_int(obj1, &val2);
26557 if (!SWIG_IsOK(ecode2)) {
26558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26559 }
26560 arg2 = static_cast< int >(val2);
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 (arg1)->SetColumn(arg2);
26564 wxPyEndAllowThreads(__tstate);
26565 if (PyErr_Occurred()) SWIG_fail;
26566 }
26567 resultobj = SWIG_Py_Void();
26568 return resultobj;
26569 fail:
26570 return NULL;
26571 }
26572
26573
26574 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26575 PyObject *resultobj = 0;
26576 wxListItem *arg1 = (wxListItem *) 0 ;
26577 long arg2 ;
26578 void *argp1 = 0 ;
26579 int res1 = 0 ;
26580 long val2 ;
26581 int ecode2 = 0 ;
26582 PyObject * obj0 = 0 ;
26583 PyObject * obj1 = 0 ;
26584 char * kwnames[] = {
26585 (char *) "self",(char *) "state", NULL
26586 };
26587
26588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26590 if (!SWIG_IsOK(res1)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26592 }
26593 arg1 = reinterpret_cast< wxListItem * >(argp1);
26594 ecode2 = SWIG_AsVal_long(obj1, &val2);
26595 if (!SWIG_IsOK(ecode2)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26597 }
26598 arg2 = static_cast< long >(val2);
26599 {
26600 PyThreadState* __tstate = wxPyBeginAllowThreads();
26601 (arg1)->SetState(arg2);
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 resultobj = SWIG_Py_Void();
26606 return resultobj;
26607 fail:
26608 return NULL;
26609 }
26610
26611
26612 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj = 0;
26614 wxListItem *arg1 = (wxListItem *) 0 ;
26615 long arg2 ;
26616 void *argp1 = 0 ;
26617 int res1 = 0 ;
26618 long val2 ;
26619 int ecode2 = 0 ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 char * kwnames[] = {
26623 (char *) "self",(char *) "stateMask", NULL
26624 };
26625
26626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26628 if (!SWIG_IsOK(res1)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 }
26631 arg1 = reinterpret_cast< wxListItem * >(argp1);
26632 ecode2 = SWIG_AsVal_long(obj1, &val2);
26633 if (!SWIG_IsOK(ecode2)) {
26634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26635 }
26636 arg2 = static_cast< long >(val2);
26637 {
26638 PyThreadState* __tstate = wxPyBeginAllowThreads();
26639 (arg1)->SetStateMask(arg2);
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 resultobj = SWIG_Py_Void();
26644 return resultobj;
26645 fail:
26646 return NULL;
26647 }
26648
26649
26650 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26651 PyObject *resultobj = 0;
26652 wxListItem *arg1 = (wxListItem *) 0 ;
26653 wxString *arg2 = 0 ;
26654 void *argp1 = 0 ;
26655 int res1 = 0 ;
26656 bool temp2 = false ;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 char * kwnames[] = {
26660 (char *) "self",(char *) "text", NULL
26661 };
26662
26663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26665 if (!SWIG_IsOK(res1)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26667 }
26668 arg1 = reinterpret_cast< wxListItem * >(argp1);
26669 {
26670 arg2 = wxString_in_helper(obj1);
26671 if (arg2 == NULL) SWIG_fail;
26672 temp2 = true;
26673 }
26674 {
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 (arg1)->SetText((wxString const &)*arg2);
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 resultobj = SWIG_Py_Void();
26681 {
26682 if (temp2)
26683 delete arg2;
26684 }
26685 return resultobj;
26686 fail:
26687 {
26688 if (temp2)
26689 delete arg2;
26690 }
26691 return NULL;
26692 }
26693
26694
26695 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26696 PyObject *resultobj = 0;
26697 wxListItem *arg1 = (wxListItem *) 0 ;
26698 int arg2 ;
26699 void *argp1 = 0 ;
26700 int res1 = 0 ;
26701 int val2 ;
26702 int ecode2 = 0 ;
26703 PyObject * obj0 = 0 ;
26704 PyObject * obj1 = 0 ;
26705 char * kwnames[] = {
26706 (char *) "self",(char *) "image", NULL
26707 };
26708
26709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26711 if (!SWIG_IsOK(res1)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26713 }
26714 arg1 = reinterpret_cast< wxListItem * >(argp1);
26715 ecode2 = SWIG_AsVal_int(obj1, &val2);
26716 if (!SWIG_IsOK(ecode2)) {
26717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26718 }
26719 arg2 = static_cast< int >(val2);
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 (arg1)->SetImage(arg2);
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 resultobj = SWIG_Py_Void();
26727 return resultobj;
26728 fail:
26729 return NULL;
26730 }
26731
26732
26733 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26734 PyObject *resultobj = 0;
26735 wxListItem *arg1 = (wxListItem *) 0 ;
26736 long arg2 ;
26737 void *argp1 = 0 ;
26738 int res1 = 0 ;
26739 long val2 ;
26740 int ecode2 = 0 ;
26741 PyObject * obj0 = 0 ;
26742 PyObject * obj1 = 0 ;
26743 char * kwnames[] = {
26744 (char *) "self",(char *) "data", NULL
26745 };
26746
26747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26749 if (!SWIG_IsOK(res1)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26751 }
26752 arg1 = reinterpret_cast< wxListItem * >(argp1);
26753 ecode2 = SWIG_AsVal_long(obj1, &val2);
26754 if (!SWIG_IsOK(ecode2)) {
26755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26756 }
26757 arg2 = static_cast< long >(val2);
26758 {
26759 PyThreadState* __tstate = wxPyBeginAllowThreads();
26760 (arg1)->SetData(arg2);
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 resultobj = SWIG_Py_Void();
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj = 0;
26773 wxListItem *arg1 = (wxListItem *) 0 ;
26774 int arg2 ;
26775 void *argp1 = 0 ;
26776 int res1 = 0 ;
26777 int val2 ;
26778 int ecode2 = 0 ;
26779 PyObject * obj0 = 0 ;
26780 PyObject * obj1 = 0 ;
26781 char * kwnames[] = {
26782 (char *) "self",(char *) "width", NULL
26783 };
26784
26785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26787 if (!SWIG_IsOK(res1)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26789 }
26790 arg1 = reinterpret_cast< wxListItem * >(argp1);
26791 ecode2 = SWIG_AsVal_int(obj1, &val2);
26792 if (!SWIG_IsOK(ecode2)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26794 }
26795 arg2 = static_cast< int >(val2);
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 (arg1)->SetWidth(arg2);
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 resultobj = SWIG_Py_Void();
26803 return resultobj;
26804 fail:
26805 return NULL;
26806 }
26807
26808
26809 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26810 PyObject *resultobj = 0;
26811 wxListItem *arg1 = (wxListItem *) 0 ;
26812 wxListColumnFormat arg2 ;
26813 void *argp1 = 0 ;
26814 int res1 = 0 ;
26815 int val2 ;
26816 int ecode2 = 0 ;
26817 PyObject * obj0 = 0 ;
26818 PyObject * obj1 = 0 ;
26819 char * kwnames[] = {
26820 (char *) "self",(char *) "align", NULL
26821 };
26822
26823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26825 if (!SWIG_IsOK(res1)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26827 }
26828 arg1 = reinterpret_cast< wxListItem * >(argp1);
26829 ecode2 = SWIG_AsVal_int(obj1, &val2);
26830 if (!SWIG_IsOK(ecode2)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26832 }
26833 arg2 = static_cast< wxListColumnFormat >(val2);
26834 {
26835 PyThreadState* __tstate = wxPyBeginAllowThreads();
26836 (arg1)->SetAlign(arg2);
26837 wxPyEndAllowThreads(__tstate);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 resultobj = SWIG_Py_Void();
26841 return resultobj;
26842 fail:
26843 return NULL;
26844 }
26845
26846
26847 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26848 PyObject *resultobj = 0;
26849 wxListItem *arg1 = (wxListItem *) 0 ;
26850 wxColour *arg2 = 0 ;
26851 void *argp1 = 0 ;
26852 int res1 = 0 ;
26853 wxColour temp2 ;
26854 PyObject * obj0 = 0 ;
26855 PyObject * obj1 = 0 ;
26856 char * kwnames[] = {
26857 (char *) "self",(char *) "colText", NULL
26858 };
26859
26860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26862 if (!SWIG_IsOK(res1)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26864 }
26865 arg1 = reinterpret_cast< wxListItem * >(argp1);
26866 {
26867 arg2 = &temp2;
26868 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26869 }
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 (arg1)->SetTextColour((wxColour const &)*arg2);
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 resultobj = SWIG_Py_Void();
26877 return resultobj;
26878 fail:
26879 return NULL;
26880 }
26881
26882
26883 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26884 PyObject *resultobj = 0;
26885 wxListItem *arg1 = (wxListItem *) 0 ;
26886 wxColour *arg2 = 0 ;
26887 void *argp1 = 0 ;
26888 int res1 = 0 ;
26889 wxColour temp2 ;
26890 PyObject * obj0 = 0 ;
26891 PyObject * obj1 = 0 ;
26892 char * kwnames[] = {
26893 (char *) "self",(char *) "colBack", NULL
26894 };
26895
26896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26898 if (!SWIG_IsOK(res1)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26900 }
26901 arg1 = reinterpret_cast< wxListItem * >(argp1);
26902 {
26903 arg2 = &temp2;
26904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26905 }
26906 {
26907 PyThreadState* __tstate = wxPyBeginAllowThreads();
26908 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26909 wxPyEndAllowThreads(__tstate);
26910 if (PyErr_Occurred()) SWIG_fail;
26911 }
26912 resultobj = SWIG_Py_Void();
26913 return resultobj;
26914 fail:
26915 return NULL;
26916 }
26917
26918
26919 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26920 PyObject *resultobj = 0;
26921 wxListItem *arg1 = (wxListItem *) 0 ;
26922 wxFont *arg2 = 0 ;
26923 void *argp1 = 0 ;
26924 int res1 = 0 ;
26925 void *argp2 = 0 ;
26926 int res2 = 0 ;
26927 PyObject * obj0 = 0 ;
26928 PyObject * obj1 = 0 ;
26929 char * kwnames[] = {
26930 (char *) "self",(char *) "font", NULL
26931 };
26932
26933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26935 if (!SWIG_IsOK(res1)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26937 }
26938 arg1 = reinterpret_cast< wxListItem * >(argp1);
26939 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26940 if (!SWIG_IsOK(res2)) {
26941 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26942 }
26943 if (!argp2) {
26944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26945 }
26946 arg2 = reinterpret_cast< wxFont * >(argp2);
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->SetFont((wxFont const &)*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_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26961 PyObject *resultobj = 0;
26962 wxListItem *arg1 = (wxListItem *) 0 ;
26963 long result;
26964 void *argp1 = 0 ;
26965 int res1 = 0 ;
26966 PyObject *swig_obj[1] ;
26967
26968 if (!args) SWIG_fail;
26969 swig_obj[0] = args;
26970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26973 }
26974 arg1 = reinterpret_cast< wxListItem * >(argp1);
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = (long)(arg1)->GetMask();
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 resultobj = SWIG_From_long(static_cast< long >(result));
26982 return resultobj;
26983 fail:
26984 return NULL;
26985 }
26986
26987
26988 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26989 PyObject *resultobj = 0;
26990 wxListItem *arg1 = (wxListItem *) 0 ;
26991 long result;
26992 void *argp1 = 0 ;
26993 int res1 = 0 ;
26994 PyObject *swig_obj[1] ;
26995
26996 if (!args) SWIG_fail;
26997 swig_obj[0] = args;
26998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26999 if (!SWIG_IsOK(res1)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27001 }
27002 arg1 = reinterpret_cast< wxListItem * >(argp1);
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 result = (long)(arg1)->GetId();
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 resultobj = SWIG_From_long(static_cast< long >(result));
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27017 PyObject *resultobj = 0;
27018 wxListItem *arg1 = (wxListItem *) 0 ;
27019 int result;
27020 void *argp1 = 0 ;
27021 int res1 = 0 ;
27022 PyObject *swig_obj[1] ;
27023
27024 if (!args) SWIG_fail;
27025 swig_obj[0] = args;
27026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27027 if (!SWIG_IsOK(res1)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27029 }
27030 arg1 = reinterpret_cast< wxListItem * >(argp1);
27031 {
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = (int)(arg1)->GetColumn();
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
27037 resultobj = SWIG_From_int(static_cast< int >(result));
27038 return resultobj;
27039 fail:
27040 return NULL;
27041 }
27042
27043
27044 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27045 PyObject *resultobj = 0;
27046 wxListItem *arg1 = (wxListItem *) 0 ;
27047 long result;
27048 void *argp1 = 0 ;
27049 int res1 = 0 ;
27050 PyObject *swig_obj[1] ;
27051
27052 if (!args) SWIG_fail;
27053 swig_obj[0] = args;
27054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27055 if (!SWIG_IsOK(res1)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27057 }
27058 arg1 = reinterpret_cast< wxListItem * >(argp1);
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 result = (long)(arg1)->GetState();
27062 wxPyEndAllowThreads(__tstate);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 resultobj = SWIG_From_long(static_cast< long >(result));
27066 return resultobj;
27067 fail:
27068 return NULL;
27069 }
27070
27071
27072 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27073 PyObject *resultobj = 0;
27074 wxListItem *arg1 = (wxListItem *) 0 ;
27075 wxString *result = 0 ;
27076 void *argp1 = 0 ;
27077 int res1 = 0 ;
27078 PyObject *swig_obj[1] ;
27079
27080 if (!args) SWIG_fail;
27081 swig_obj[0] = args;
27082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27083 if (!SWIG_IsOK(res1)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27085 }
27086 arg1 = reinterpret_cast< wxListItem * >(argp1);
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 {
27090 wxString const &_result_ref = (arg1)->GetText();
27091 result = (wxString *) &_result_ref;
27092 }
27093 wxPyEndAllowThreads(__tstate);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 {
27097 #if wxUSE_UNICODE
27098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27099 #else
27100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27101 #endif
27102 }
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27110 PyObject *resultobj = 0;
27111 wxListItem *arg1 = (wxListItem *) 0 ;
27112 int result;
27113 void *argp1 = 0 ;
27114 int res1 = 0 ;
27115 PyObject *swig_obj[1] ;
27116
27117 if (!args) SWIG_fail;
27118 swig_obj[0] = args;
27119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27120 if (!SWIG_IsOK(res1)) {
27121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27122 }
27123 arg1 = reinterpret_cast< wxListItem * >(argp1);
27124 {
27125 PyThreadState* __tstate = wxPyBeginAllowThreads();
27126 result = (int)(arg1)->GetImage();
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 resultobj = SWIG_From_int(static_cast< int >(result));
27131 return resultobj;
27132 fail:
27133 return NULL;
27134 }
27135
27136
27137 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27138 PyObject *resultobj = 0;
27139 wxListItem *arg1 = (wxListItem *) 0 ;
27140 long result;
27141 void *argp1 = 0 ;
27142 int res1 = 0 ;
27143 PyObject *swig_obj[1] ;
27144
27145 if (!args) SWIG_fail;
27146 swig_obj[0] = args;
27147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27148 if (!SWIG_IsOK(res1)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27150 }
27151 arg1 = reinterpret_cast< wxListItem * >(argp1);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (long)(arg1)->GetData();
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_From_long(static_cast< long >(result));
27159 return resultobj;
27160 fail:
27161 return NULL;
27162 }
27163
27164
27165 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27166 PyObject *resultobj = 0;
27167 wxListItem *arg1 = (wxListItem *) 0 ;
27168 int result;
27169 void *argp1 = 0 ;
27170 int res1 = 0 ;
27171 PyObject *swig_obj[1] ;
27172
27173 if (!args) SWIG_fail;
27174 swig_obj[0] = args;
27175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27176 if (!SWIG_IsOK(res1)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27178 }
27179 arg1 = reinterpret_cast< wxListItem * >(argp1);
27180 {
27181 PyThreadState* __tstate = wxPyBeginAllowThreads();
27182 result = (int)(arg1)->GetWidth();
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 resultobj = SWIG_From_int(static_cast< int >(result));
27187 return resultobj;
27188 fail:
27189 return NULL;
27190 }
27191
27192
27193 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27194 PyObject *resultobj = 0;
27195 wxListItem *arg1 = (wxListItem *) 0 ;
27196 wxListColumnFormat result;
27197 void *argp1 = 0 ;
27198 int res1 = 0 ;
27199 PyObject *swig_obj[1] ;
27200
27201 if (!args) SWIG_fail;
27202 swig_obj[0] = args;
27203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27204 if (!SWIG_IsOK(res1)) {
27205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27206 }
27207 arg1 = reinterpret_cast< wxListItem * >(argp1);
27208 {
27209 PyThreadState* __tstate = wxPyBeginAllowThreads();
27210 result = (wxListColumnFormat)(arg1)->GetAlign();
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
27214 resultobj = SWIG_From_int(static_cast< int >(result));
27215 return resultobj;
27216 fail:
27217 return NULL;
27218 }
27219
27220
27221 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27222 PyObject *resultobj = 0;
27223 wxListItem *arg1 = (wxListItem *) 0 ;
27224 wxListItemAttr *result = 0 ;
27225 void *argp1 = 0 ;
27226 int res1 = 0 ;
27227 PyObject *swig_obj[1] ;
27228
27229 if (!args) SWIG_fail;
27230 swig_obj[0] = args;
27231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27232 if (!SWIG_IsOK(res1)) {
27233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27234 }
27235 arg1 = reinterpret_cast< wxListItem * >(argp1);
27236 {
27237 PyThreadState* __tstate = wxPyBeginAllowThreads();
27238 result = (wxListItemAttr *)(arg1)->GetAttributes();
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27243 return resultobj;
27244 fail:
27245 return NULL;
27246 }
27247
27248
27249 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27250 PyObject *resultobj = 0;
27251 wxListItem *arg1 = (wxListItem *) 0 ;
27252 bool result;
27253 void *argp1 = 0 ;
27254 int res1 = 0 ;
27255 PyObject *swig_obj[1] ;
27256
27257 if (!args) SWIG_fail;
27258 swig_obj[0] = args;
27259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27260 if (!SWIG_IsOK(res1)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27262 }
27263 arg1 = reinterpret_cast< wxListItem * >(argp1);
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 result = (bool)(arg1)->HasAttributes();
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 {
27271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27272 }
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27280 PyObject *resultobj = 0;
27281 wxListItem *arg1 = (wxListItem *) 0 ;
27282 wxColour result;
27283 void *argp1 = 0 ;
27284 int res1 = 0 ;
27285 PyObject *swig_obj[1] ;
27286
27287 if (!args) SWIG_fail;
27288 swig_obj[0] = args;
27289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27290 if (!SWIG_IsOK(res1)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27292 }
27293 arg1 = reinterpret_cast< wxListItem * >(argp1);
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 result = ((wxListItem const *)arg1)->GetTextColour();
27297 wxPyEndAllowThreads(__tstate);
27298 if (PyErr_Occurred()) SWIG_fail;
27299 }
27300 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27301 return resultobj;
27302 fail:
27303 return NULL;
27304 }
27305
27306
27307 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27308 PyObject *resultobj = 0;
27309 wxListItem *arg1 = (wxListItem *) 0 ;
27310 wxColour result;
27311 void *argp1 = 0 ;
27312 int res1 = 0 ;
27313 PyObject *swig_obj[1] ;
27314
27315 if (!args) SWIG_fail;
27316 swig_obj[0] = args;
27317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27318 if (!SWIG_IsOK(res1)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27320 }
27321 arg1 = reinterpret_cast< wxListItem * >(argp1);
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27325 wxPyEndAllowThreads(__tstate);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27329 return resultobj;
27330 fail:
27331 return NULL;
27332 }
27333
27334
27335 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27336 PyObject *resultobj = 0;
27337 wxListItem *arg1 = (wxListItem *) 0 ;
27338 wxFont result;
27339 void *argp1 = 0 ;
27340 int res1 = 0 ;
27341 PyObject *swig_obj[1] ;
27342
27343 if (!args) SWIG_fail;
27344 swig_obj[0] = args;
27345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27346 if (!SWIG_IsOK(res1)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27348 }
27349 arg1 = reinterpret_cast< wxListItem * >(argp1);
27350 {
27351 PyThreadState* __tstate = wxPyBeginAllowThreads();
27352 result = ((wxListItem const *)arg1)->GetFont();
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27357 return resultobj;
27358 fail:
27359 return NULL;
27360 }
27361
27362
27363 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27364 PyObject *resultobj = 0;
27365 wxListItem *arg1 = (wxListItem *) 0 ;
27366 long arg2 ;
27367 void *argp1 = 0 ;
27368 int res1 = 0 ;
27369 long val2 ;
27370 int ecode2 = 0 ;
27371 PyObject *swig_obj[2] ;
27372
27373 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
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_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27377 }
27378 arg1 = reinterpret_cast< wxListItem * >(argp1);
27379 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27380 if (!SWIG_IsOK(ecode2)) {
27381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27382 }
27383 arg2 = static_cast< long >(val2);
27384 if (arg1) (arg1)->m_mask = arg2;
27385
27386 resultobj = SWIG_Py_Void();
27387 return resultobj;
27388 fail:
27389 return NULL;
27390 }
27391
27392
27393 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27394 PyObject *resultobj = 0;
27395 wxListItem *arg1 = (wxListItem *) 0 ;
27396 long result;
27397 void *argp1 = 0 ;
27398 int res1 = 0 ;
27399 PyObject *swig_obj[1] ;
27400
27401 if (!args) SWIG_fail;
27402 swig_obj[0] = args;
27403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27404 if (!SWIG_IsOK(res1)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27406 }
27407 arg1 = reinterpret_cast< wxListItem * >(argp1);
27408 result = (long) ((arg1)->m_mask);
27409 resultobj = SWIG_From_long(static_cast< long >(result));
27410 return resultobj;
27411 fail:
27412 return NULL;
27413 }
27414
27415
27416 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27417 PyObject *resultobj = 0;
27418 wxListItem *arg1 = (wxListItem *) 0 ;
27419 long arg2 ;
27420 void *argp1 = 0 ;
27421 int res1 = 0 ;
27422 long val2 ;
27423 int ecode2 = 0 ;
27424 PyObject *swig_obj[2] ;
27425
27426 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27428 if (!SWIG_IsOK(res1)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27430 }
27431 arg1 = reinterpret_cast< wxListItem * >(argp1);
27432 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27433 if (!SWIG_IsOK(ecode2)) {
27434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27435 }
27436 arg2 = static_cast< long >(val2);
27437 if (arg1) (arg1)->m_itemId = arg2;
27438
27439 resultobj = SWIG_Py_Void();
27440 return resultobj;
27441 fail:
27442 return NULL;
27443 }
27444
27445
27446 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27447 PyObject *resultobj = 0;
27448 wxListItem *arg1 = (wxListItem *) 0 ;
27449 long result;
27450 void *argp1 = 0 ;
27451 int res1 = 0 ;
27452 PyObject *swig_obj[1] ;
27453
27454 if (!args) SWIG_fail;
27455 swig_obj[0] = args;
27456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27457 if (!SWIG_IsOK(res1)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27459 }
27460 arg1 = reinterpret_cast< wxListItem * >(argp1);
27461 result = (long) ((arg1)->m_itemId);
27462 resultobj = SWIG_From_long(static_cast< long >(result));
27463 return resultobj;
27464 fail:
27465 return NULL;
27466 }
27467
27468
27469 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27470 PyObject *resultobj = 0;
27471 wxListItem *arg1 = (wxListItem *) 0 ;
27472 int arg2 ;
27473 void *argp1 = 0 ;
27474 int res1 = 0 ;
27475 int val2 ;
27476 int ecode2 = 0 ;
27477 PyObject *swig_obj[2] ;
27478
27479 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27481 if (!SWIG_IsOK(res1)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27483 }
27484 arg1 = reinterpret_cast< wxListItem * >(argp1);
27485 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27486 if (!SWIG_IsOK(ecode2)) {
27487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27488 }
27489 arg2 = static_cast< int >(val2);
27490 if (arg1) (arg1)->m_col = arg2;
27491
27492 resultobj = SWIG_Py_Void();
27493 return resultobj;
27494 fail:
27495 return NULL;
27496 }
27497
27498
27499 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27500 PyObject *resultobj = 0;
27501 wxListItem *arg1 = (wxListItem *) 0 ;
27502 int result;
27503 void *argp1 = 0 ;
27504 int res1 = 0 ;
27505 PyObject *swig_obj[1] ;
27506
27507 if (!args) SWIG_fail;
27508 swig_obj[0] = args;
27509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27510 if (!SWIG_IsOK(res1)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27512 }
27513 arg1 = reinterpret_cast< wxListItem * >(argp1);
27514 result = (int) ((arg1)->m_col);
27515 resultobj = SWIG_From_int(static_cast< int >(result));
27516 return resultobj;
27517 fail:
27518 return NULL;
27519 }
27520
27521
27522 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27523 PyObject *resultobj = 0;
27524 wxListItem *arg1 = (wxListItem *) 0 ;
27525 long arg2 ;
27526 void *argp1 = 0 ;
27527 int res1 = 0 ;
27528 long val2 ;
27529 int ecode2 = 0 ;
27530 PyObject *swig_obj[2] ;
27531
27532 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27534 if (!SWIG_IsOK(res1)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27536 }
27537 arg1 = reinterpret_cast< wxListItem * >(argp1);
27538 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27539 if (!SWIG_IsOK(ecode2)) {
27540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27541 }
27542 arg2 = static_cast< long >(val2);
27543 if (arg1) (arg1)->m_state = arg2;
27544
27545 resultobj = SWIG_Py_Void();
27546 return resultobj;
27547 fail:
27548 return NULL;
27549 }
27550
27551
27552 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27553 PyObject *resultobj = 0;
27554 wxListItem *arg1 = (wxListItem *) 0 ;
27555 long result;
27556 void *argp1 = 0 ;
27557 int res1 = 0 ;
27558 PyObject *swig_obj[1] ;
27559
27560 if (!args) SWIG_fail;
27561 swig_obj[0] = args;
27562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27563 if (!SWIG_IsOK(res1)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27565 }
27566 arg1 = reinterpret_cast< wxListItem * >(argp1);
27567 result = (long) ((arg1)->m_state);
27568 resultobj = SWIG_From_long(static_cast< long >(result));
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27576 PyObject *resultobj = 0;
27577 wxListItem *arg1 = (wxListItem *) 0 ;
27578 long arg2 ;
27579 void *argp1 = 0 ;
27580 int res1 = 0 ;
27581 long val2 ;
27582 int ecode2 = 0 ;
27583 PyObject *swig_obj[2] ;
27584
27585 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27587 if (!SWIG_IsOK(res1)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27589 }
27590 arg1 = reinterpret_cast< wxListItem * >(argp1);
27591 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27592 if (!SWIG_IsOK(ecode2)) {
27593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27594 }
27595 arg2 = static_cast< long >(val2);
27596 if (arg1) (arg1)->m_stateMask = arg2;
27597
27598 resultobj = SWIG_Py_Void();
27599 return resultobj;
27600 fail:
27601 return NULL;
27602 }
27603
27604
27605 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27606 PyObject *resultobj = 0;
27607 wxListItem *arg1 = (wxListItem *) 0 ;
27608 long result;
27609 void *argp1 = 0 ;
27610 int res1 = 0 ;
27611 PyObject *swig_obj[1] ;
27612
27613 if (!args) SWIG_fail;
27614 swig_obj[0] = args;
27615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27616 if (!SWIG_IsOK(res1)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27618 }
27619 arg1 = reinterpret_cast< wxListItem * >(argp1);
27620 result = (long) ((arg1)->m_stateMask);
27621 resultobj = SWIG_From_long(static_cast< long >(result));
27622 return resultobj;
27623 fail:
27624 return NULL;
27625 }
27626
27627
27628 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27629 PyObject *resultobj = 0;
27630 wxListItem *arg1 = (wxListItem *) 0 ;
27631 wxString *arg2 = (wxString *) 0 ;
27632 void *argp1 = 0 ;
27633 int res1 = 0 ;
27634 bool temp2 = false ;
27635 PyObject *swig_obj[2] ;
27636
27637 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27639 if (!SWIG_IsOK(res1)) {
27640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27641 }
27642 arg1 = reinterpret_cast< wxListItem * >(argp1);
27643 {
27644 arg2 = wxString_in_helper(swig_obj[1]);
27645 if (arg2 == NULL) SWIG_fail;
27646 temp2 = true;
27647 }
27648 if (arg1) (arg1)->m_text = *arg2;
27649
27650 resultobj = SWIG_Py_Void();
27651 {
27652 if (temp2)
27653 delete arg2;
27654 }
27655 return resultobj;
27656 fail:
27657 {
27658 if (temp2)
27659 delete arg2;
27660 }
27661 return NULL;
27662 }
27663
27664
27665 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27666 PyObject *resultobj = 0;
27667 wxListItem *arg1 = (wxListItem *) 0 ;
27668 wxString *result = 0 ;
27669 void *argp1 = 0 ;
27670 int res1 = 0 ;
27671 PyObject *swig_obj[1] ;
27672
27673 if (!args) SWIG_fail;
27674 swig_obj[0] = args;
27675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27676 if (!SWIG_IsOK(res1)) {
27677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27678 }
27679 arg1 = reinterpret_cast< wxListItem * >(argp1);
27680 result = (wxString *)& ((arg1)->m_text);
27681 {
27682 #if wxUSE_UNICODE
27683 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27684 #else
27685 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27686 #endif
27687 }
27688 return resultobj;
27689 fail:
27690 return NULL;
27691 }
27692
27693
27694 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27695 PyObject *resultobj = 0;
27696 wxListItem *arg1 = (wxListItem *) 0 ;
27697 int arg2 ;
27698 void *argp1 = 0 ;
27699 int res1 = 0 ;
27700 int val2 ;
27701 int ecode2 = 0 ;
27702 PyObject *swig_obj[2] ;
27703
27704 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27706 if (!SWIG_IsOK(res1)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27708 }
27709 arg1 = reinterpret_cast< wxListItem * >(argp1);
27710 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27711 if (!SWIG_IsOK(ecode2)) {
27712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27713 }
27714 arg2 = static_cast< int >(val2);
27715 if (arg1) (arg1)->m_image = arg2;
27716
27717 resultobj = SWIG_Py_Void();
27718 return resultobj;
27719 fail:
27720 return NULL;
27721 }
27722
27723
27724 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27725 PyObject *resultobj = 0;
27726 wxListItem *arg1 = (wxListItem *) 0 ;
27727 int result;
27728 void *argp1 = 0 ;
27729 int res1 = 0 ;
27730 PyObject *swig_obj[1] ;
27731
27732 if (!args) SWIG_fail;
27733 swig_obj[0] = args;
27734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27735 if (!SWIG_IsOK(res1)) {
27736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27737 }
27738 arg1 = reinterpret_cast< wxListItem * >(argp1);
27739 result = (int) ((arg1)->m_image);
27740 resultobj = SWIG_From_int(static_cast< int >(result));
27741 return resultobj;
27742 fail:
27743 return NULL;
27744 }
27745
27746
27747 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27748 PyObject *resultobj = 0;
27749 wxListItem *arg1 = (wxListItem *) 0 ;
27750 long arg2 ;
27751 void *argp1 = 0 ;
27752 int res1 = 0 ;
27753 long val2 ;
27754 int ecode2 = 0 ;
27755 PyObject *swig_obj[2] ;
27756
27757 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27759 if (!SWIG_IsOK(res1)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27761 }
27762 arg1 = reinterpret_cast< wxListItem * >(argp1);
27763 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27764 if (!SWIG_IsOK(ecode2)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27766 }
27767 arg2 = static_cast< long >(val2);
27768 if (arg1) (arg1)->m_data = arg2;
27769
27770 resultobj = SWIG_Py_Void();
27771 return resultobj;
27772 fail:
27773 return NULL;
27774 }
27775
27776
27777 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27778 PyObject *resultobj = 0;
27779 wxListItem *arg1 = (wxListItem *) 0 ;
27780 long result;
27781 void *argp1 = 0 ;
27782 int res1 = 0 ;
27783 PyObject *swig_obj[1] ;
27784
27785 if (!args) SWIG_fail;
27786 swig_obj[0] = args;
27787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27788 if (!SWIG_IsOK(res1)) {
27789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27790 }
27791 arg1 = reinterpret_cast< wxListItem * >(argp1);
27792 result = (long) ((arg1)->m_data);
27793 resultobj = SWIG_From_long(static_cast< long >(result));
27794 return resultobj;
27795 fail:
27796 return NULL;
27797 }
27798
27799
27800 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27801 PyObject *resultobj = 0;
27802 wxListItem *arg1 = (wxListItem *) 0 ;
27803 int arg2 ;
27804 void *argp1 = 0 ;
27805 int res1 = 0 ;
27806 int val2 ;
27807 int ecode2 = 0 ;
27808 PyObject *swig_obj[2] ;
27809
27810 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27812 if (!SWIG_IsOK(res1)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27814 }
27815 arg1 = reinterpret_cast< wxListItem * >(argp1);
27816 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27817 if (!SWIG_IsOK(ecode2)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27819 }
27820 arg2 = static_cast< int >(val2);
27821 if (arg1) (arg1)->m_format = arg2;
27822
27823 resultobj = SWIG_Py_Void();
27824 return resultobj;
27825 fail:
27826 return NULL;
27827 }
27828
27829
27830 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27831 PyObject *resultobj = 0;
27832 wxListItem *arg1 = (wxListItem *) 0 ;
27833 int result;
27834 void *argp1 = 0 ;
27835 int res1 = 0 ;
27836 PyObject *swig_obj[1] ;
27837
27838 if (!args) SWIG_fail;
27839 swig_obj[0] = args;
27840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27841 if (!SWIG_IsOK(res1)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27843 }
27844 arg1 = reinterpret_cast< wxListItem * >(argp1);
27845 result = (int) ((arg1)->m_format);
27846 resultobj = SWIG_From_int(static_cast< int >(result));
27847 return resultobj;
27848 fail:
27849 return NULL;
27850 }
27851
27852
27853 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27854 PyObject *resultobj = 0;
27855 wxListItem *arg1 = (wxListItem *) 0 ;
27856 int arg2 ;
27857 void *argp1 = 0 ;
27858 int res1 = 0 ;
27859 int val2 ;
27860 int ecode2 = 0 ;
27861 PyObject *swig_obj[2] ;
27862
27863 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27865 if (!SWIG_IsOK(res1)) {
27866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27867 }
27868 arg1 = reinterpret_cast< wxListItem * >(argp1);
27869 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27870 if (!SWIG_IsOK(ecode2)) {
27871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27872 }
27873 arg2 = static_cast< int >(val2);
27874 if (arg1) (arg1)->m_width = arg2;
27875
27876 resultobj = SWIG_Py_Void();
27877 return resultobj;
27878 fail:
27879 return NULL;
27880 }
27881
27882
27883 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27884 PyObject *resultobj = 0;
27885 wxListItem *arg1 = (wxListItem *) 0 ;
27886 int result;
27887 void *argp1 = 0 ;
27888 int res1 = 0 ;
27889 PyObject *swig_obj[1] ;
27890
27891 if (!args) SWIG_fail;
27892 swig_obj[0] = args;
27893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27894 if (!SWIG_IsOK(res1)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27896 }
27897 arg1 = reinterpret_cast< wxListItem * >(argp1);
27898 result = (int) ((arg1)->m_width);
27899 resultobj = SWIG_From_int(static_cast< int >(result));
27900 return resultobj;
27901 fail:
27902 return NULL;
27903 }
27904
27905
27906 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27907 PyObject *obj;
27908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27909 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27910 return SWIG_Py_Void();
27911 }
27912
27913 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27914 return SWIG_Python_InitShadowInstance(args);
27915 }
27916
27917 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27918 PyObject *resultobj = 0;
27919 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27920 int arg2 = (int) 0 ;
27921 wxListEvent *result = 0 ;
27922 int val1 ;
27923 int ecode1 = 0 ;
27924 int val2 ;
27925 int ecode2 = 0 ;
27926 PyObject * obj0 = 0 ;
27927 PyObject * obj1 = 0 ;
27928 char * kwnames[] = {
27929 (char *) "commandType",(char *) "id", NULL
27930 };
27931
27932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
27933 if (obj0) {
27934 ecode1 = SWIG_AsVal_int(obj0, &val1);
27935 if (!SWIG_IsOK(ecode1)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27937 }
27938 arg1 = static_cast< wxEventType >(val1);
27939 }
27940 if (obj1) {
27941 ecode2 = SWIG_AsVal_int(obj1, &val2);
27942 if (!SWIG_IsOK(ecode2)) {
27943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27944 }
27945 arg2 = static_cast< int >(val2);
27946 }
27947 {
27948 PyThreadState* __tstate = wxPyBeginAllowThreads();
27949 result = (wxListEvent *)new wxListEvent(arg1,arg2);
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
27954 return resultobj;
27955 fail:
27956 return NULL;
27957 }
27958
27959
27960 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27961 PyObject *resultobj = 0;
27962 wxListEvent *arg1 = (wxListEvent *) 0 ;
27963 int arg2 ;
27964 void *argp1 = 0 ;
27965 int res1 = 0 ;
27966 int val2 ;
27967 int ecode2 = 0 ;
27968 PyObject *swig_obj[2] ;
27969
27970 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
27971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27974 }
27975 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27976 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27977 if (!SWIG_IsOK(ecode2)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27979 }
27980 arg2 = static_cast< int >(val2);
27981 if (arg1) (arg1)->m_code = arg2;
27982
27983 resultobj = SWIG_Py_Void();
27984 return resultobj;
27985 fail:
27986 return NULL;
27987 }
27988
27989
27990 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27991 PyObject *resultobj = 0;
27992 wxListEvent *arg1 = (wxListEvent *) 0 ;
27993 int result;
27994 void *argp1 = 0 ;
27995 int res1 = 0 ;
27996 PyObject *swig_obj[1] ;
27997
27998 if (!args) SWIG_fail;
27999 swig_obj[0] = args;
28000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28001 if (!SWIG_IsOK(res1)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28003 }
28004 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28005 result = (int) ((arg1)->m_code);
28006 resultobj = SWIG_From_int(static_cast< int >(result));
28007 return resultobj;
28008 fail:
28009 return NULL;
28010 }
28011
28012
28013 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28014 PyObject *resultobj = 0;
28015 wxListEvent *arg1 = (wxListEvent *) 0 ;
28016 long arg2 ;
28017 void *argp1 = 0 ;
28018 int res1 = 0 ;
28019 long val2 ;
28020 int ecode2 = 0 ;
28021 PyObject *swig_obj[2] ;
28022
28023 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28025 if (!SWIG_IsOK(res1)) {
28026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28027 }
28028 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28029 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28030 if (!SWIG_IsOK(ecode2)) {
28031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28032 }
28033 arg2 = static_cast< long >(val2);
28034 if (arg1) (arg1)->m_oldItemIndex = arg2;
28035
28036 resultobj = SWIG_Py_Void();
28037 return resultobj;
28038 fail:
28039 return NULL;
28040 }
28041
28042
28043 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28044 PyObject *resultobj = 0;
28045 wxListEvent *arg1 = (wxListEvent *) 0 ;
28046 long result;
28047 void *argp1 = 0 ;
28048 int res1 = 0 ;
28049 PyObject *swig_obj[1] ;
28050
28051 if (!args) SWIG_fail;
28052 swig_obj[0] = args;
28053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28054 if (!SWIG_IsOK(res1)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28056 }
28057 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28058 result = (long) ((arg1)->m_oldItemIndex);
28059 resultobj = SWIG_From_long(static_cast< long >(result));
28060 return resultobj;
28061 fail:
28062 return NULL;
28063 }
28064
28065
28066 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28067 PyObject *resultobj = 0;
28068 wxListEvent *arg1 = (wxListEvent *) 0 ;
28069 long arg2 ;
28070 void *argp1 = 0 ;
28071 int res1 = 0 ;
28072 long val2 ;
28073 int ecode2 = 0 ;
28074 PyObject *swig_obj[2] ;
28075
28076 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28078 if (!SWIG_IsOK(res1)) {
28079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28080 }
28081 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28082 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28083 if (!SWIG_IsOK(ecode2)) {
28084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28085 }
28086 arg2 = static_cast< long >(val2);
28087 if (arg1) (arg1)->m_itemIndex = arg2;
28088
28089 resultobj = SWIG_Py_Void();
28090 return resultobj;
28091 fail:
28092 return NULL;
28093 }
28094
28095
28096 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28097 PyObject *resultobj = 0;
28098 wxListEvent *arg1 = (wxListEvent *) 0 ;
28099 long result;
28100 void *argp1 = 0 ;
28101 int res1 = 0 ;
28102 PyObject *swig_obj[1] ;
28103
28104 if (!args) SWIG_fail;
28105 swig_obj[0] = args;
28106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28107 if (!SWIG_IsOK(res1)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28109 }
28110 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28111 result = (long) ((arg1)->m_itemIndex);
28112 resultobj = SWIG_From_long(static_cast< long >(result));
28113 return resultobj;
28114 fail:
28115 return NULL;
28116 }
28117
28118
28119 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28120 PyObject *resultobj = 0;
28121 wxListEvent *arg1 = (wxListEvent *) 0 ;
28122 int arg2 ;
28123 void *argp1 = 0 ;
28124 int res1 = 0 ;
28125 int val2 ;
28126 int ecode2 = 0 ;
28127 PyObject *swig_obj[2] ;
28128
28129 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28131 if (!SWIG_IsOK(res1)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28133 }
28134 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28135 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28136 if (!SWIG_IsOK(ecode2)) {
28137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28138 }
28139 arg2 = static_cast< int >(val2);
28140 if (arg1) (arg1)->m_col = arg2;
28141
28142 resultobj = SWIG_Py_Void();
28143 return resultobj;
28144 fail:
28145 return NULL;
28146 }
28147
28148
28149 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28150 PyObject *resultobj = 0;
28151 wxListEvent *arg1 = (wxListEvent *) 0 ;
28152 int result;
28153 void *argp1 = 0 ;
28154 int res1 = 0 ;
28155 PyObject *swig_obj[1] ;
28156
28157 if (!args) SWIG_fail;
28158 swig_obj[0] = args;
28159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28160 if (!SWIG_IsOK(res1)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28162 }
28163 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28164 result = (int) ((arg1)->m_col);
28165 resultobj = SWIG_From_int(static_cast< int >(result));
28166 return resultobj;
28167 fail:
28168 return NULL;
28169 }
28170
28171
28172 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28173 PyObject *resultobj = 0;
28174 wxListEvent *arg1 = (wxListEvent *) 0 ;
28175 wxPoint *arg2 = (wxPoint *) 0 ;
28176 void *argp1 = 0 ;
28177 int res1 = 0 ;
28178 void *argp2 = 0 ;
28179 int res2 = 0 ;
28180 PyObject *swig_obj[2] ;
28181
28182 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28184 if (!SWIG_IsOK(res1)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28186 }
28187 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28188 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28189 if (!SWIG_IsOK(res2)) {
28190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28191 }
28192 arg2 = reinterpret_cast< wxPoint * >(argp2);
28193 if (arg1) (arg1)->m_pointDrag = *arg2;
28194
28195 resultobj = SWIG_Py_Void();
28196 return resultobj;
28197 fail:
28198 return NULL;
28199 }
28200
28201
28202 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28203 PyObject *resultobj = 0;
28204 wxListEvent *arg1 = (wxListEvent *) 0 ;
28205 wxPoint *result = 0 ;
28206 void *argp1 = 0 ;
28207 int res1 = 0 ;
28208 PyObject *swig_obj[1] ;
28209
28210 if (!args) SWIG_fail;
28211 swig_obj[0] = args;
28212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28213 if (!SWIG_IsOK(res1)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28215 }
28216 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28217 result = (wxPoint *)& ((arg1)->m_pointDrag);
28218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28226 PyObject *resultobj = 0;
28227 wxListEvent *arg1 = (wxListEvent *) 0 ;
28228 wxListItem *result = 0 ;
28229 void *argp1 = 0 ;
28230 int res1 = 0 ;
28231 PyObject *swig_obj[1] ;
28232
28233 if (!args) SWIG_fail;
28234 swig_obj[0] = args;
28235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28236 if (!SWIG_IsOK(res1)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28238 }
28239 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28240 result = (wxListItem *)& ((arg1)->m_item);
28241 {
28242 resultobj = wxPyMake_wxObject(result, (bool)0);
28243 }
28244 return resultobj;
28245 fail:
28246 return NULL;
28247 }
28248
28249
28250 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28251 PyObject *resultobj = 0;
28252 wxListEvent *arg1 = (wxListEvent *) 0 ;
28253 int result;
28254 void *argp1 = 0 ;
28255 int res1 = 0 ;
28256 PyObject *swig_obj[1] ;
28257
28258 if (!args) SWIG_fail;
28259 swig_obj[0] = args;
28260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28261 if (!SWIG_IsOK(res1)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28263 }
28264 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28265 {
28266 PyThreadState* __tstate = wxPyBeginAllowThreads();
28267 result = (int)(arg1)->GetKeyCode();
28268 wxPyEndAllowThreads(__tstate);
28269 if (PyErr_Occurred()) SWIG_fail;
28270 }
28271 resultobj = SWIG_From_int(static_cast< int >(result));
28272 return resultobj;
28273 fail:
28274 return NULL;
28275 }
28276
28277
28278 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28279 PyObject *resultobj = 0;
28280 wxListEvent *arg1 = (wxListEvent *) 0 ;
28281 long result;
28282 void *argp1 = 0 ;
28283 int res1 = 0 ;
28284 PyObject *swig_obj[1] ;
28285
28286 if (!args) SWIG_fail;
28287 swig_obj[0] = args;
28288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28289 if (!SWIG_IsOK(res1)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 }
28292 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28293 {
28294 PyThreadState* __tstate = wxPyBeginAllowThreads();
28295 result = (long)(arg1)->GetIndex();
28296 wxPyEndAllowThreads(__tstate);
28297 if (PyErr_Occurred()) SWIG_fail;
28298 }
28299 resultobj = SWIG_From_long(static_cast< long >(result));
28300 return resultobj;
28301 fail:
28302 return NULL;
28303 }
28304
28305
28306 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28307 PyObject *resultobj = 0;
28308 wxListEvent *arg1 = (wxListEvent *) 0 ;
28309 int result;
28310 void *argp1 = 0 ;
28311 int res1 = 0 ;
28312 PyObject *swig_obj[1] ;
28313
28314 if (!args) SWIG_fail;
28315 swig_obj[0] = args;
28316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28317 if (!SWIG_IsOK(res1)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28319 }
28320 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = (int)(arg1)->GetColumn();
28324 wxPyEndAllowThreads(__tstate);
28325 if (PyErr_Occurred()) SWIG_fail;
28326 }
28327 resultobj = SWIG_From_int(static_cast< int >(result));
28328 return resultobj;
28329 fail:
28330 return NULL;
28331 }
28332
28333
28334 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28335 PyObject *resultobj = 0;
28336 wxListEvent *arg1 = (wxListEvent *) 0 ;
28337 wxPoint result;
28338 void *argp1 = 0 ;
28339 int res1 = 0 ;
28340 PyObject *swig_obj[1] ;
28341
28342 if (!args) SWIG_fail;
28343 swig_obj[0] = args;
28344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28345 if (!SWIG_IsOK(res1)) {
28346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28347 }
28348 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 result = (arg1)->GetPoint();
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28356 return resultobj;
28357 fail:
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *resultobj = 0;
28364 wxListEvent *arg1 = (wxListEvent *) 0 ;
28365 wxString *result = 0 ;
28366 void *argp1 = 0 ;
28367 int res1 = 0 ;
28368 PyObject *swig_obj[1] ;
28369
28370 if (!args) SWIG_fail;
28371 swig_obj[0] = args;
28372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28373 if (!SWIG_IsOK(res1)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28375 }
28376 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28377 {
28378 PyThreadState* __tstate = wxPyBeginAllowThreads();
28379 {
28380 wxString const &_result_ref = (arg1)->GetLabel();
28381 result = (wxString *) &_result_ref;
28382 }
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 {
28387 #if wxUSE_UNICODE
28388 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28389 #else
28390 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28391 #endif
28392 }
28393 return resultobj;
28394 fail:
28395 return NULL;
28396 }
28397
28398
28399 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28400 PyObject *resultobj = 0;
28401 wxListEvent *arg1 = (wxListEvent *) 0 ;
28402 wxString *result = 0 ;
28403 void *argp1 = 0 ;
28404 int res1 = 0 ;
28405 PyObject *swig_obj[1] ;
28406
28407 if (!args) SWIG_fail;
28408 swig_obj[0] = args;
28409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28410 if (!SWIG_IsOK(res1)) {
28411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28412 }
28413 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28414 {
28415 PyThreadState* __tstate = wxPyBeginAllowThreads();
28416 {
28417 wxString const &_result_ref = (arg1)->GetText();
28418 result = (wxString *) &_result_ref;
28419 }
28420 wxPyEndAllowThreads(__tstate);
28421 if (PyErr_Occurred()) SWIG_fail;
28422 }
28423 {
28424 #if wxUSE_UNICODE
28425 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28426 #else
28427 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28428 #endif
28429 }
28430 return resultobj;
28431 fail:
28432 return NULL;
28433 }
28434
28435
28436 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28437 PyObject *resultobj = 0;
28438 wxListEvent *arg1 = (wxListEvent *) 0 ;
28439 int result;
28440 void *argp1 = 0 ;
28441 int res1 = 0 ;
28442 PyObject *swig_obj[1] ;
28443
28444 if (!args) SWIG_fail;
28445 swig_obj[0] = args;
28446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28447 if (!SWIG_IsOK(res1)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28449 }
28450 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 result = (int)(arg1)->GetImage();
28454 wxPyEndAllowThreads(__tstate);
28455 if (PyErr_Occurred()) SWIG_fail;
28456 }
28457 resultobj = SWIG_From_int(static_cast< int >(result));
28458 return resultobj;
28459 fail:
28460 return NULL;
28461 }
28462
28463
28464 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28465 PyObject *resultobj = 0;
28466 wxListEvent *arg1 = (wxListEvent *) 0 ;
28467 long result;
28468 void *argp1 = 0 ;
28469 int res1 = 0 ;
28470 PyObject *swig_obj[1] ;
28471
28472 if (!args) SWIG_fail;
28473 swig_obj[0] = args;
28474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28475 if (!SWIG_IsOK(res1)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28477 }
28478 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28479 {
28480 PyThreadState* __tstate = wxPyBeginAllowThreads();
28481 result = (long)(arg1)->GetData();
28482 wxPyEndAllowThreads(__tstate);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
28485 resultobj = SWIG_From_long(static_cast< long >(result));
28486 return resultobj;
28487 fail:
28488 return NULL;
28489 }
28490
28491
28492 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28493 PyObject *resultobj = 0;
28494 wxListEvent *arg1 = (wxListEvent *) 0 ;
28495 long result;
28496 void *argp1 = 0 ;
28497 int res1 = 0 ;
28498 PyObject *swig_obj[1] ;
28499
28500 if (!args) SWIG_fail;
28501 swig_obj[0] = args;
28502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28503 if (!SWIG_IsOK(res1)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28505 }
28506 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28507 {
28508 PyThreadState* __tstate = wxPyBeginAllowThreads();
28509 result = (long)(arg1)->GetMask();
28510 wxPyEndAllowThreads(__tstate);
28511 if (PyErr_Occurred()) SWIG_fail;
28512 }
28513 resultobj = SWIG_From_long(static_cast< long >(result));
28514 return resultobj;
28515 fail:
28516 return NULL;
28517 }
28518
28519
28520 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28521 PyObject *resultobj = 0;
28522 wxListEvent *arg1 = (wxListEvent *) 0 ;
28523 wxListItem *result = 0 ;
28524 void *argp1 = 0 ;
28525 int res1 = 0 ;
28526 PyObject *swig_obj[1] ;
28527
28528 if (!args) SWIG_fail;
28529 swig_obj[0] = args;
28530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28531 if (!SWIG_IsOK(res1)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28533 }
28534 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 {
28538 wxListItem const &_result_ref = (arg1)->GetItem();
28539 result = (wxListItem *) &_result_ref;
28540 }
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28552 PyObject *resultobj = 0;
28553 wxListEvent *arg1 = (wxListEvent *) 0 ;
28554 long result;
28555 void *argp1 = 0 ;
28556 int res1 = 0 ;
28557 PyObject *swig_obj[1] ;
28558
28559 if (!args) SWIG_fail;
28560 swig_obj[0] = args;
28561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28562 if (!SWIG_IsOK(res1)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28564 }
28565 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28566 {
28567 PyThreadState* __tstate = wxPyBeginAllowThreads();
28568 result = (long)(arg1)->GetCacheFrom();
28569 wxPyEndAllowThreads(__tstate);
28570 if (PyErr_Occurred()) SWIG_fail;
28571 }
28572 resultobj = SWIG_From_long(static_cast< long >(result));
28573 return resultobj;
28574 fail:
28575 return NULL;
28576 }
28577
28578
28579 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28580 PyObject *resultobj = 0;
28581 wxListEvent *arg1 = (wxListEvent *) 0 ;
28582 long result;
28583 void *argp1 = 0 ;
28584 int res1 = 0 ;
28585 PyObject *swig_obj[1] ;
28586
28587 if (!args) SWIG_fail;
28588 swig_obj[0] = args;
28589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28590 if (!SWIG_IsOK(res1)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28592 }
28593 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28594 {
28595 PyThreadState* __tstate = wxPyBeginAllowThreads();
28596 result = (long)(arg1)->GetCacheTo();
28597 wxPyEndAllowThreads(__tstate);
28598 if (PyErr_Occurred()) SWIG_fail;
28599 }
28600 resultobj = SWIG_From_long(static_cast< long >(result));
28601 return resultobj;
28602 fail:
28603 return NULL;
28604 }
28605
28606
28607 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28608 PyObject *resultobj = 0;
28609 wxListEvent *arg1 = (wxListEvent *) 0 ;
28610 bool result;
28611 void *argp1 = 0 ;
28612 int res1 = 0 ;
28613 PyObject *swig_obj[1] ;
28614
28615 if (!args) SWIG_fail;
28616 swig_obj[0] = args;
28617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28618 if (!SWIG_IsOK(res1)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28620 }
28621 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 {
28629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28630 }
28631 return resultobj;
28632 fail:
28633 return NULL;
28634 }
28635
28636
28637 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj = 0;
28639 wxListEvent *arg1 = (wxListEvent *) 0 ;
28640 bool arg2 ;
28641 void *argp1 = 0 ;
28642 int res1 = 0 ;
28643 bool val2 ;
28644 int ecode2 = 0 ;
28645 PyObject * obj0 = 0 ;
28646 PyObject * obj1 = 0 ;
28647 char * kwnames[] = {
28648 (char *) "self",(char *) "editCancelled", NULL
28649 };
28650
28651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28653 if (!SWIG_IsOK(res1)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28655 }
28656 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28657 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28658 if (!SWIG_IsOK(ecode2)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28660 }
28661 arg2 = static_cast< bool >(val2);
28662 {
28663 PyThreadState* __tstate = wxPyBeginAllowThreads();
28664 (arg1)->SetEditCanceled(arg2);
28665 wxPyEndAllowThreads(__tstate);
28666 if (PyErr_Occurred()) SWIG_fail;
28667 }
28668 resultobj = SWIG_Py_Void();
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28676 PyObject *obj;
28677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28678 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28679 return SWIG_Py_Void();
28680 }
28681
28682 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28683 return SWIG_Python_InitShadowInstance(args);
28684 }
28685
28686 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28687 PyObject *resultobj = 0;
28688 wxWindow *arg1 = (wxWindow *) 0 ;
28689 int arg2 = (int) -1 ;
28690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28692 wxSize const &arg4_defvalue = wxDefaultSize ;
28693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28694 long arg5 = (long) wxLC_ICON ;
28695 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28696 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28697 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28698 wxString *arg7 = (wxString *) &arg7_defvalue ;
28699 wxPyListCtrl *result = 0 ;
28700 void *argp1 = 0 ;
28701 int res1 = 0 ;
28702 int val2 ;
28703 int ecode2 = 0 ;
28704 wxPoint temp3 ;
28705 wxSize temp4 ;
28706 long val5 ;
28707 int ecode5 = 0 ;
28708 void *argp6 = 0 ;
28709 int res6 = 0 ;
28710 bool temp7 = false ;
28711 PyObject * obj0 = 0 ;
28712 PyObject * obj1 = 0 ;
28713 PyObject * obj2 = 0 ;
28714 PyObject * obj3 = 0 ;
28715 PyObject * obj4 = 0 ;
28716 PyObject * obj5 = 0 ;
28717 PyObject * obj6 = 0 ;
28718 char * kwnames[] = {
28719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28720 };
28721
28722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28724 if (!SWIG_IsOK(res1)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28726 }
28727 arg1 = reinterpret_cast< wxWindow * >(argp1);
28728 if (obj1) {
28729 ecode2 = SWIG_AsVal_int(obj1, &val2);
28730 if (!SWIG_IsOK(ecode2)) {
28731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28732 }
28733 arg2 = static_cast< int >(val2);
28734 }
28735 if (obj2) {
28736 {
28737 arg3 = &temp3;
28738 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28739 }
28740 }
28741 if (obj3) {
28742 {
28743 arg4 = &temp4;
28744 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28745 }
28746 }
28747 if (obj4) {
28748 ecode5 = SWIG_AsVal_long(obj4, &val5);
28749 if (!SWIG_IsOK(ecode5)) {
28750 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28751 }
28752 arg5 = static_cast< long >(val5);
28753 }
28754 if (obj5) {
28755 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28756 if (!SWIG_IsOK(res6)) {
28757 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28758 }
28759 if (!argp6) {
28760 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28761 }
28762 arg6 = reinterpret_cast< wxValidator * >(argp6);
28763 }
28764 if (obj6) {
28765 {
28766 arg7 = wxString_in_helper(obj6);
28767 if (arg7 == NULL) SWIG_fail;
28768 temp7 = true;
28769 }
28770 }
28771 {
28772 if (!wxPyCheckForApp()) SWIG_fail;
28773 PyThreadState* __tstate = wxPyBeginAllowThreads();
28774 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28775 wxPyEndAllowThreads(__tstate);
28776 if (PyErr_Occurred()) SWIG_fail;
28777 }
28778 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28779 {
28780 if (temp7)
28781 delete arg7;
28782 }
28783 return resultobj;
28784 fail:
28785 {
28786 if (temp7)
28787 delete arg7;
28788 }
28789 return NULL;
28790 }
28791
28792
28793 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28794 PyObject *resultobj = 0;
28795 wxPyListCtrl *result = 0 ;
28796
28797 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28798 {
28799 if (!wxPyCheckForApp()) SWIG_fail;
28800 PyThreadState* __tstate = wxPyBeginAllowThreads();
28801 result = (wxPyListCtrl *)new wxPyListCtrl();
28802 wxPyEndAllowThreads(__tstate);
28803 if (PyErr_Occurred()) SWIG_fail;
28804 }
28805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28806 return resultobj;
28807 fail:
28808 return NULL;
28809 }
28810
28811
28812 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28813 PyObject *resultobj = 0;
28814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28815 wxWindow *arg2 = (wxWindow *) 0 ;
28816 int arg3 = (int) -1 ;
28817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28819 wxSize const &arg5_defvalue = wxDefaultSize ;
28820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28821 long arg6 = (long) wxLC_ICON ;
28822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28824 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28825 wxString *arg8 = (wxString *) &arg8_defvalue ;
28826 bool result;
28827 void *argp1 = 0 ;
28828 int res1 = 0 ;
28829 void *argp2 = 0 ;
28830 int res2 = 0 ;
28831 int val3 ;
28832 int ecode3 = 0 ;
28833 wxPoint temp4 ;
28834 wxSize temp5 ;
28835 long val6 ;
28836 int ecode6 = 0 ;
28837 void *argp7 = 0 ;
28838 int res7 = 0 ;
28839 bool temp8 = false ;
28840 PyObject * obj0 = 0 ;
28841 PyObject * obj1 = 0 ;
28842 PyObject * obj2 = 0 ;
28843 PyObject * obj3 = 0 ;
28844 PyObject * obj4 = 0 ;
28845 PyObject * obj5 = 0 ;
28846 PyObject * obj6 = 0 ;
28847 PyObject * obj7 = 0 ;
28848 char * kwnames[] = {
28849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28850 };
28851
28852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28854 if (!SWIG_IsOK(res1)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28856 }
28857 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28858 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28859 if (!SWIG_IsOK(res2)) {
28860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28861 }
28862 arg2 = reinterpret_cast< wxWindow * >(argp2);
28863 if (obj2) {
28864 ecode3 = SWIG_AsVal_int(obj2, &val3);
28865 if (!SWIG_IsOK(ecode3)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28867 }
28868 arg3 = static_cast< int >(val3);
28869 }
28870 if (obj3) {
28871 {
28872 arg4 = &temp4;
28873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28874 }
28875 }
28876 if (obj4) {
28877 {
28878 arg5 = &temp5;
28879 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28880 }
28881 }
28882 if (obj5) {
28883 ecode6 = SWIG_AsVal_long(obj5, &val6);
28884 if (!SWIG_IsOK(ecode6)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28886 }
28887 arg6 = static_cast< long >(val6);
28888 }
28889 if (obj6) {
28890 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28891 if (!SWIG_IsOK(res7)) {
28892 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28893 }
28894 if (!argp7) {
28895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28896 }
28897 arg7 = reinterpret_cast< wxValidator * >(argp7);
28898 }
28899 if (obj7) {
28900 {
28901 arg8 = wxString_in_helper(obj7);
28902 if (arg8 == NULL) SWIG_fail;
28903 temp8 = true;
28904 }
28905 }
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28909 wxPyEndAllowThreads(__tstate);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 }
28912 {
28913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28914 }
28915 {
28916 if (temp8)
28917 delete arg8;
28918 }
28919 return resultobj;
28920 fail:
28921 {
28922 if (temp8)
28923 delete arg8;
28924 }
28925 return NULL;
28926 }
28927
28928
28929 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28930 PyObject *resultobj = 0;
28931 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28932 PyObject *arg2 = (PyObject *) 0 ;
28933 PyObject *arg3 = (PyObject *) 0 ;
28934 void *argp1 = 0 ;
28935 int res1 = 0 ;
28936 PyObject * obj0 = 0 ;
28937 PyObject * obj1 = 0 ;
28938 PyObject * obj2 = 0 ;
28939 char * kwnames[] = {
28940 (char *) "self",(char *) "self",(char *) "_class", NULL
28941 };
28942
28943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28945 if (!SWIG_IsOK(res1)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28947 }
28948 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28949 arg2 = obj1;
28950 arg3 = obj2;
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 (arg1)->_setCallbackInfo(arg2,arg3);
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 resultobj = SWIG_Py_Void();
28958 return resultobj;
28959 fail:
28960 return NULL;
28961 }
28962
28963
28964 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28965 PyObject *resultobj = 0;
28966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28967 int arg2 ;
28968 wxListItem *result = 0 ;
28969 void *argp1 = 0 ;
28970 int res1 = 0 ;
28971 int val2 ;
28972 int ecode2 = 0 ;
28973 PyObject * obj0 = 0 ;
28974 PyObject * obj1 = 0 ;
28975 char * kwnames[] = {
28976 (char *) "self",(char *) "col", NULL
28977 };
28978
28979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
28980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28981 if (!SWIG_IsOK(res1)) {
28982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28983 }
28984 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28985 ecode2 = SWIG_AsVal_int(obj1, &val2);
28986 if (!SWIG_IsOK(ecode2)) {
28987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28988 }
28989 arg2 = static_cast< int >(val2);
28990 {
28991 PyThreadState* __tstate = wxPyBeginAllowThreads();
28992 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
28993 wxPyEndAllowThreads(__tstate);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 {
28997 resultobj = wxPyMake_wxObject(result, (bool)0);
28998 }
28999 return resultobj;
29000 fail:
29001 return NULL;
29002 }
29003
29004
29005 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29006 PyObject *resultobj = 0;
29007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29008 int arg2 ;
29009 wxListItem *arg3 = 0 ;
29010 bool result;
29011 void *argp1 = 0 ;
29012 int res1 = 0 ;
29013 int val2 ;
29014 int ecode2 = 0 ;
29015 void *argp3 = 0 ;
29016 int res3 = 0 ;
29017 PyObject * obj0 = 0 ;
29018 PyObject * obj1 = 0 ;
29019 PyObject * obj2 = 0 ;
29020 char * kwnames[] = {
29021 (char *) "self",(char *) "col",(char *) "item", NULL
29022 };
29023
29024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29026 if (!SWIG_IsOK(res1)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29028 }
29029 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29030 ecode2 = SWIG_AsVal_int(obj1, &val2);
29031 if (!SWIG_IsOK(ecode2)) {
29032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29033 }
29034 arg2 = static_cast< int >(val2);
29035 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29036 if (!SWIG_IsOK(res3)) {
29037 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29038 }
29039 if (!argp3) {
29040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29041 }
29042 arg3 = reinterpret_cast< wxListItem * >(argp3);
29043 {
29044 PyThreadState* __tstate = wxPyBeginAllowThreads();
29045 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 {
29050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29051 }
29052 return resultobj;
29053 fail:
29054 return NULL;
29055 }
29056
29057
29058 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29059 PyObject *resultobj = 0;
29060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29061 int arg2 ;
29062 int result;
29063 void *argp1 = 0 ;
29064 int res1 = 0 ;
29065 int val2 ;
29066 int ecode2 = 0 ;
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 char * kwnames[] = {
29070 (char *) "self",(char *) "col", NULL
29071 };
29072
29073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29075 if (!SWIG_IsOK(res1)) {
29076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29077 }
29078 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29079 ecode2 = SWIG_AsVal_int(obj1, &val2);
29080 if (!SWIG_IsOK(ecode2)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29082 }
29083 arg2 = static_cast< int >(val2);
29084 {
29085 PyThreadState* __tstate = wxPyBeginAllowThreads();
29086 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29087 wxPyEndAllowThreads(__tstate);
29088 if (PyErr_Occurred()) SWIG_fail;
29089 }
29090 resultobj = SWIG_From_int(static_cast< int >(result));
29091 return resultobj;
29092 fail:
29093 return NULL;
29094 }
29095
29096
29097 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29098 PyObject *resultobj = 0;
29099 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29100 int arg2 ;
29101 int arg3 ;
29102 bool result;
29103 void *argp1 = 0 ;
29104 int res1 = 0 ;
29105 int val2 ;
29106 int ecode2 = 0 ;
29107 int val3 ;
29108 int ecode3 = 0 ;
29109 PyObject * obj0 = 0 ;
29110 PyObject * obj1 = 0 ;
29111 PyObject * obj2 = 0 ;
29112 char * kwnames[] = {
29113 (char *) "self",(char *) "col",(char *) "width", NULL
29114 };
29115
29116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29118 if (!SWIG_IsOK(res1)) {
29119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29120 }
29121 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29122 ecode2 = SWIG_AsVal_int(obj1, &val2);
29123 if (!SWIG_IsOK(ecode2)) {
29124 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29125 }
29126 arg2 = static_cast< int >(val2);
29127 ecode3 = SWIG_AsVal_int(obj2, &val3);
29128 if (!SWIG_IsOK(ecode3)) {
29129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29130 }
29131 arg3 = static_cast< int >(val3);
29132 {
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 {
29139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29140 }
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29148 PyObject *resultobj = 0;
29149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29150 int result;
29151 void *argp1 = 0 ;
29152 int res1 = 0 ;
29153 PyObject *swig_obj[1] ;
29154
29155 if (!args) SWIG_fail;
29156 swig_obj[0] = args;
29157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29158 if (!SWIG_IsOK(res1)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29160 }
29161 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
29168 resultobj = SWIG_From_int(static_cast< int >(result));
29169 return resultobj;
29170 fail:
29171 return NULL;
29172 }
29173
29174
29175 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29176 PyObject *resultobj = 0;
29177 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29178 wxRect result;
29179 void *argp1 = 0 ;
29180 int res1 = 0 ;
29181 PyObject *swig_obj[1] ;
29182
29183 if (!args) SWIG_fail;
29184 swig_obj[0] = args;
29185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29186 if (!SWIG_IsOK(res1)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29188 }
29189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29193 wxPyEndAllowThreads(__tstate);
29194 if (PyErr_Occurred()) SWIG_fail;
29195 }
29196 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29197 return resultobj;
29198 fail:
29199 return NULL;
29200 }
29201
29202
29203 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29204 PyObject *resultobj = 0;
29205 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29206 wxTextCtrl *result = 0 ;
29207 void *argp1 = 0 ;
29208 int res1 = 0 ;
29209 PyObject *swig_obj[1] ;
29210
29211 if (!args) SWIG_fail;
29212 swig_obj[0] = args;
29213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29214 if (!SWIG_IsOK(res1)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29216 }
29217 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 {
29225 resultobj = wxPyMake_wxObject(result, 0);
29226 }
29227 return resultobj;
29228 fail:
29229 return NULL;
29230 }
29231
29232
29233 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29234 PyObject *resultobj = 0;
29235 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29236 long arg2 ;
29237 int arg3 = (int) 0 ;
29238 wxListItem *result = 0 ;
29239 void *argp1 = 0 ;
29240 int res1 = 0 ;
29241 long val2 ;
29242 int ecode2 = 0 ;
29243 int val3 ;
29244 int ecode3 = 0 ;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 PyObject * obj2 = 0 ;
29248 char * kwnames[] = {
29249 (char *) "self",(char *) "itemId",(char *) "col", NULL
29250 };
29251
29252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29254 if (!SWIG_IsOK(res1)) {
29255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29256 }
29257 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29258 ecode2 = SWIG_AsVal_long(obj1, &val2);
29259 if (!SWIG_IsOK(ecode2)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29261 }
29262 arg2 = static_cast< long >(val2);
29263 if (obj2) {
29264 ecode3 = SWIG_AsVal_int(obj2, &val3);
29265 if (!SWIG_IsOK(ecode3)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29267 }
29268 arg3 = static_cast< int >(val3);
29269 }
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 {
29277 resultobj = wxPyMake_wxObject(result, (bool)0);
29278 }
29279 return resultobj;
29280 fail:
29281 return NULL;
29282 }
29283
29284
29285 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29286 PyObject *resultobj = 0;
29287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29288 wxListItem *arg2 = 0 ;
29289 bool result;
29290 void *argp1 = 0 ;
29291 int res1 = 0 ;
29292 void *argp2 = 0 ;
29293 int res2 = 0 ;
29294 PyObject * obj0 = 0 ;
29295 PyObject * obj1 = 0 ;
29296 char * kwnames[] = {
29297 (char *) "self",(char *) "info", NULL
29298 };
29299
29300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",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_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29304 }
29305 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29307 if (!SWIG_IsOK(res2)) {
29308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29309 }
29310 if (!argp2) {
29311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29312 }
29313 arg2 = reinterpret_cast< wxListItem * >(argp2);
29314 {
29315 PyThreadState* __tstate = wxPyBeginAllowThreads();
29316 result = (bool)(arg1)->SetItem(*arg2);
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 {
29321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29322 }
29323 return resultobj;
29324 fail:
29325 return NULL;
29326 }
29327
29328
29329 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29330 PyObject *resultobj = 0;
29331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29332 long arg2 ;
29333 int arg3 ;
29334 wxString *arg4 = 0 ;
29335 int arg5 = (int) -1 ;
29336 long result;
29337 void *argp1 = 0 ;
29338 int res1 = 0 ;
29339 long val2 ;
29340 int ecode2 = 0 ;
29341 int val3 ;
29342 int ecode3 = 0 ;
29343 bool temp4 = false ;
29344 int val5 ;
29345 int ecode5 = 0 ;
29346 PyObject * obj0 = 0 ;
29347 PyObject * obj1 = 0 ;
29348 PyObject * obj2 = 0 ;
29349 PyObject * obj3 = 0 ;
29350 PyObject * obj4 = 0 ;
29351 char * kwnames[] = {
29352 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29353 };
29354
29355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29357 if (!SWIG_IsOK(res1)) {
29358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29359 }
29360 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29361 ecode2 = SWIG_AsVal_long(obj1, &val2);
29362 if (!SWIG_IsOK(ecode2)) {
29363 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29364 }
29365 arg2 = static_cast< long >(val2);
29366 ecode3 = SWIG_AsVal_int(obj2, &val3);
29367 if (!SWIG_IsOK(ecode3)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29369 }
29370 arg3 = static_cast< int >(val3);
29371 {
29372 arg4 = wxString_in_helper(obj3);
29373 if (arg4 == NULL) SWIG_fail;
29374 temp4 = true;
29375 }
29376 if (obj4) {
29377 ecode5 = SWIG_AsVal_int(obj4, &val5);
29378 if (!SWIG_IsOK(ecode5)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29380 }
29381 arg5 = static_cast< int >(val5);
29382 }
29383 {
29384 PyThreadState* __tstate = wxPyBeginAllowThreads();
29385 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29386 wxPyEndAllowThreads(__tstate);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 }
29389 resultobj = SWIG_From_long(static_cast< long >(result));
29390 {
29391 if (temp4)
29392 delete arg4;
29393 }
29394 return resultobj;
29395 fail:
29396 {
29397 if (temp4)
29398 delete arg4;
29399 }
29400 return NULL;
29401 }
29402
29403
29404 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29405 PyObject *resultobj = 0;
29406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29407 long arg2 ;
29408 long arg3 ;
29409 int result;
29410 void *argp1 = 0 ;
29411 int res1 = 0 ;
29412 long val2 ;
29413 int ecode2 = 0 ;
29414 long val3 ;
29415 int ecode3 = 0 ;
29416 PyObject * obj0 = 0 ;
29417 PyObject * obj1 = 0 ;
29418 PyObject * obj2 = 0 ;
29419 char * kwnames[] = {
29420 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29421 };
29422
29423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29429 ecode2 = SWIG_AsVal_long(obj1, &val2);
29430 if (!SWIG_IsOK(ecode2)) {
29431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29432 }
29433 arg2 = static_cast< long >(val2);
29434 ecode3 = SWIG_AsVal_long(obj2, &val3);
29435 if (!SWIG_IsOK(ecode3)) {
29436 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29437 }
29438 arg3 = static_cast< long >(val3);
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 resultobj = SWIG_From_int(static_cast< int >(result));
29446 return resultobj;
29447 fail:
29448 return NULL;
29449 }
29450
29451
29452 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29453 PyObject *resultobj = 0;
29454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29455 long arg2 ;
29456 long arg3 ;
29457 long arg4 ;
29458 bool result;
29459 void *argp1 = 0 ;
29460 int res1 = 0 ;
29461 long val2 ;
29462 int ecode2 = 0 ;
29463 long val3 ;
29464 int ecode3 = 0 ;
29465 long val4 ;
29466 int ecode4 = 0 ;
29467 PyObject * obj0 = 0 ;
29468 PyObject * obj1 = 0 ;
29469 PyObject * obj2 = 0 ;
29470 PyObject * obj3 = 0 ;
29471 char * kwnames[] = {
29472 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29473 };
29474
29475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29477 if (!SWIG_IsOK(res1)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29479 }
29480 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29481 ecode2 = SWIG_AsVal_long(obj1, &val2);
29482 if (!SWIG_IsOK(ecode2)) {
29483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29484 }
29485 arg2 = static_cast< long >(val2);
29486 ecode3 = SWIG_AsVal_long(obj2, &val3);
29487 if (!SWIG_IsOK(ecode3)) {
29488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29489 }
29490 arg3 = static_cast< long >(val3);
29491 ecode4 = SWIG_AsVal_long(obj3, &val4);
29492 if (!SWIG_IsOK(ecode4)) {
29493 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29494 }
29495 arg4 = static_cast< long >(val4);
29496 {
29497 PyThreadState* __tstate = wxPyBeginAllowThreads();
29498 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29504 }
29505 return resultobj;
29506 fail:
29507 return NULL;
29508 }
29509
29510
29511 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29512 PyObject *resultobj = 0;
29513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29514 long arg2 ;
29515 int arg3 ;
29516 int arg4 = (int) -1 ;
29517 bool result;
29518 void *argp1 = 0 ;
29519 int res1 = 0 ;
29520 long val2 ;
29521 int ecode2 = 0 ;
29522 int val3 ;
29523 int ecode3 = 0 ;
29524 int val4 ;
29525 int ecode4 = 0 ;
29526 PyObject * obj0 = 0 ;
29527 PyObject * obj1 = 0 ;
29528 PyObject * obj2 = 0 ;
29529 PyObject * obj3 = 0 ;
29530 char * kwnames[] = {
29531 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29532 };
29533
29534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29536 if (!SWIG_IsOK(res1)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29538 }
29539 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29540 ecode2 = SWIG_AsVal_long(obj1, &val2);
29541 if (!SWIG_IsOK(ecode2)) {
29542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29543 }
29544 arg2 = static_cast< long >(val2);
29545 ecode3 = SWIG_AsVal_int(obj2, &val3);
29546 if (!SWIG_IsOK(ecode3)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29548 }
29549 arg3 = static_cast< int >(val3);
29550 if (obj3) {
29551 ecode4 = SWIG_AsVal_int(obj3, &val4);
29552 if (!SWIG_IsOK(ecode4)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29554 }
29555 arg4 = static_cast< int >(val4);
29556 }
29557 {
29558 PyThreadState* __tstate = wxPyBeginAllowThreads();
29559 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29560 wxPyEndAllowThreads(__tstate);
29561 if (PyErr_Occurred()) SWIG_fail;
29562 }
29563 {
29564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29565 }
29566 return resultobj;
29567 fail:
29568 return NULL;
29569 }
29570
29571
29572 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29573 PyObject *resultobj = 0;
29574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29575 long arg2 ;
29576 long arg3 ;
29577 int arg4 ;
29578 bool result;
29579 void *argp1 = 0 ;
29580 int res1 = 0 ;
29581 long val2 ;
29582 int ecode2 = 0 ;
29583 long val3 ;
29584 int ecode3 = 0 ;
29585 int val4 ;
29586 int ecode4 = 0 ;
29587 PyObject * obj0 = 0 ;
29588 PyObject * obj1 = 0 ;
29589 PyObject * obj2 = 0 ;
29590 PyObject * obj3 = 0 ;
29591 char * kwnames[] = {
29592 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29593 };
29594
29595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29597 if (!SWIG_IsOK(res1)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29599 }
29600 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29601 ecode2 = SWIG_AsVal_long(obj1, &val2);
29602 if (!SWIG_IsOK(ecode2)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29604 }
29605 arg2 = static_cast< long >(val2);
29606 ecode3 = SWIG_AsVal_long(obj2, &val3);
29607 if (!SWIG_IsOK(ecode3)) {
29608 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29609 }
29610 arg3 = static_cast< long >(val3);
29611 ecode4 = SWIG_AsVal_int(obj3, &val4);
29612 if (!SWIG_IsOK(ecode4)) {
29613 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29614 }
29615 arg4 = static_cast< int >(val4);
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29619 wxPyEndAllowThreads(__tstate);
29620 if (PyErr_Occurred()) SWIG_fail;
29621 }
29622 {
29623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29624 }
29625 return resultobj;
29626 fail:
29627 return NULL;
29628 }
29629
29630
29631 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29632 PyObject *resultobj = 0;
29633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29634 long arg2 ;
29635 wxString result;
29636 void *argp1 = 0 ;
29637 int res1 = 0 ;
29638 long val2 ;
29639 int ecode2 = 0 ;
29640 PyObject * obj0 = 0 ;
29641 PyObject * obj1 = 0 ;
29642 char * kwnames[] = {
29643 (char *) "self",(char *) "item", NULL
29644 };
29645
29646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29648 if (!SWIG_IsOK(res1)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29650 }
29651 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29652 ecode2 = SWIG_AsVal_long(obj1, &val2);
29653 if (!SWIG_IsOK(ecode2)) {
29654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29655 }
29656 arg2 = static_cast< long >(val2);
29657 {
29658 PyThreadState* __tstate = wxPyBeginAllowThreads();
29659 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29660 wxPyEndAllowThreads(__tstate);
29661 if (PyErr_Occurred()) SWIG_fail;
29662 }
29663 {
29664 #if wxUSE_UNICODE
29665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29666 #else
29667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29668 #endif
29669 }
29670 return resultobj;
29671 fail:
29672 return NULL;
29673 }
29674
29675
29676 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj = 0;
29678 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29679 long arg2 ;
29680 wxString *arg3 = 0 ;
29681 void *argp1 = 0 ;
29682 int res1 = 0 ;
29683 long val2 ;
29684 int ecode2 = 0 ;
29685 bool temp3 = false ;
29686 PyObject * obj0 = 0 ;
29687 PyObject * obj1 = 0 ;
29688 PyObject * obj2 = 0 ;
29689 char * kwnames[] = {
29690 (char *) "self",(char *) "item",(char *) "str", NULL
29691 };
29692
29693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29695 if (!SWIG_IsOK(res1)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29697 }
29698 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29699 ecode2 = SWIG_AsVal_long(obj1, &val2);
29700 if (!SWIG_IsOK(ecode2)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29702 }
29703 arg2 = static_cast< long >(val2);
29704 {
29705 arg3 = wxString_in_helper(obj2);
29706 if (arg3 == NULL) SWIG_fail;
29707 temp3 = true;
29708 }
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 resultobj = SWIG_Py_Void();
29716 {
29717 if (temp3)
29718 delete arg3;
29719 }
29720 return resultobj;
29721 fail:
29722 {
29723 if (temp3)
29724 delete arg3;
29725 }
29726 return NULL;
29727 }
29728
29729
29730 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29731 PyObject *resultobj = 0;
29732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29733 long arg2 ;
29734 long result;
29735 void *argp1 = 0 ;
29736 int res1 = 0 ;
29737 long val2 ;
29738 int ecode2 = 0 ;
29739 PyObject * obj0 = 0 ;
29740 PyObject * obj1 = 0 ;
29741 char * kwnames[] = {
29742 (char *) "self",(char *) "item", NULL
29743 };
29744
29745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29747 if (!SWIG_IsOK(res1)) {
29748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29749 }
29750 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29751 ecode2 = SWIG_AsVal_long(obj1, &val2);
29752 if (!SWIG_IsOK(ecode2)) {
29753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29754 }
29755 arg2 = static_cast< long >(val2);
29756 {
29757 PyThreadState* __tstate = wxPyBeginAllowThreads();
29758 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29759 wxPyEndAllowThreads(__tstate);
29760 if (PyErr_Occurred()) SWIG_fail;
29761 }
29762 resultobj = SWIG_From_long(static_cast< long >(result));
29763 return resultobj;
29764 fail:
29765 return NULL;
29766 }
29767
29768
29769 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29770 PyObject *resultobj = 0;
29771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29772 long arg2 ;
29773 long arg3 ;
29774 bool result;
29775 void *argp1 = 0 ;
29776 int res1 = 0 ;
29777 long val2 ;
29778 int ecode2 = 0 ;
29779 long val3 ;
29780 int ecode3 = 0 ;
29781 PyObject * obj0 = 0 ;
29782 PyObject * obj1 = 0 ;
29783 PyObject * obj2 = 0 ;
29784 char * kwnames[] = {
29785 (char *) "self",(char *) "item",(char *) "data", NULL
29786 };
29787
29788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29790 if (!SWIG_IsOK(res1)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29792 }
29793 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29794 ecode2 = SWIG_AsVal_long(obj1, &val2);
29795 if (!SWIG_IsOK(ecode2)) {
29796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29797 }
29798 arg2 = static_cast< long >(val2);
29799 ecode3 = SWIG_AsVal_long(obj2, &val3);
29800 if (!SWIG_IsOK(ecode3)) {
29801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29802 }
29803 arg3 = static_cast< long >(val3);
29804 {
29805 PyThreadState* __tstate = wxPyBeginAllowThreads();
29806 result = (bool)(arg1)->SetItemData(arg2,arg3);
29807 wxPyEndAllowThreads(__tstate);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 {
29811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29812 }
29813 return resultobj;
29814 fail:
29815 return NULL;
29816 }
29817
29818
29819 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29820 PyObject *resultobj = 0;
29821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29822 long arg2 ;
29823 wxPoint result;
29824 void *argp1 = 0 ;
29825 int res1 = 0 ;
29826 long val2 ;
29827 int ecode2 = 0 ;
29828 PyObject * obj0 = 0 ;
29829 PyObject * obj1 = 0 ;
29830 char * kwnames[] = {
29831 (char *) "self",(char *) "item", NULL
29832 };
29833
29834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29836 if (!SWIG_IsOK(res1)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29838 }
29839 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29840 ecode2 = SWIG_AsVal_long(obj1, &val2);
29841 if (!SWIG_IsOK(ecode2)) {
29842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29843 }
29844 arg2 = static_cast< long >(val2);
29845 {
29846 PyThreadState* __tstate = wxPyBeginAllowThreads();
29847 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29848 wxPyEndAllowThreads(__tstate);
29849 if (PyErr_Occurred()) SWIG_fail;
29850 }
29851 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29852 return resultobj;
29853 fail:
29854 return NULL;
29855 }
29856
29857
29858 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj = 0;
29860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29861 long arg2 ;
29862 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29863 wxRect result;
29864 void *argp1 = 0 ;
29865 int res1 = 0 ;
29866 long val2 ;
29867 int ecode2 = 0 ;
29868 int val3 ;
29869 int ecode3 = 0 ;
29870 PyObject * obj0 = 0 ;
29871 PyObject * obj1 = 0 ;
29872 PyObject * obj2 = 0 ;
29873 char * kwnames[] = {
29874 (char *) "self",(char *) "item",(char *) "code", NULL
29875 };
29876
29877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29879 if (!SWIG_IsOK(res1)) {
29880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29881 }
29882 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29883 ecode2 = SWIG_AsVal_long(obj1, &val2);
29884 if (!SWIG_IsOK(ecode2)) {
29885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29886 }
29887 arg2 = static_cast< long >(val2);
29888 if (obj2) {
29889 ecode3 = SWIG_AsVal_int(obj2, &val3);
29890 if (!SWIG_IsOK(ecode3)) {
29891 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29892 }
29893 arg3 = static_cast< int >(val3);
29894 }
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29898 wxPyEndAllowThreads(__tstate);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 }
29901 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29902 return resultobj;
29903 fail:
29904 return NULL;
29905 }
29906
29907
29908 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29909 PyObject *resultobj = 0;
29910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29911 long arg2 ;
29912 wxPoint *arg3 = 0 ;
29913 bool result;
29914 void *argp1 = 0 ;
29915 int res1 = 0 ;
29916 long val2 ;
29917 int ecode2 = 0 ;
29918 wxPoint temp3 ;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 PyObject * obj2 = 0 ;
29922 char * kwnames[] = {
29923 (char *) "self",(char *) "item",(char *) "pos", NULL
29924 };
29925
29926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29928 if (!SWIG_IsOK(res1)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29930 }
29931 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29932 ecode2 = SWIG_AsVal_long(obj1, &val2);
29933 if (!SWIG_IsOK(ecode2)) {
29934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29935 }
29936 arg2 = static_cast< long >(val2);
29937 {
29938 arg3 = &temp3;
29939 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29940 }
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 {
29948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29949 }
29950 return resultobj;
29951 fail:
29952 return NULL;
29953 }
29954
29955
29956 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29957 PyObject *resultobj = 0;
29958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29959 int result;
29960 void *argp1 = 0 ;
29961 int res1 = 0 ;
29962 PyObject *swig_obj[1] ;
29963
29964 if (!args) SWIG_fail;
29965 swig_obj[0] = args;
29966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29967 if (!SWIG_IsOK(res1)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29969 }
29970 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 resultobj = SWIG_From_int(static_cast< int >(result));
29978 return resultobj;
29979 fail:
29980 return NULL;
29981 }
29982
29983
29984 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29985 PyObject *resultobj = 0;
29986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29987 int result;
29988 void *argp1 = 0 ;
29989 int res1 = 0 ;
29990 PyObject *swig_obj[1] ;
29991
29992 if (!args) SWIG_fail;
29993 swig_obj[0] = args;
29994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29995 if (!SWIG_IsOK(res1)) {
29996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29997 }
29998 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29999 {
30000 PyThreadState* __tstate = wxPyBeginAllowThreads();
30001 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 resultobj = SWIG_From_int(static_cast< int >(result));
30006 return resultobj;
30007 fail:
30008 return NULL;
30009 }
30010
30011
30012 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30013 PyObject *resultobj = 0;
30014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30015 wxSize result;
30016 void *argp1 = 0 ;
30017 int res1 = 0 ;
30018 PyObject *swig_obj[1] ;
30019
30020 if (!args) SWIG_fail;
30021 swig_obj[0] = args;
30022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30023 if (!SWIG_IsOK(res1)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30025 }
30026 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30027 {
30028 PyThreadState* __tstate = wxPyBeginAllowThreads();
30029 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30030 wxPyEndAllowThreads(__tstate);
30031 if (PyErr_Occurred()) SWIG_fail;
30032 }
30033 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30034 return resultobj;
30035 fail:
30036 return NULL;
30037 }
30038
30039
30040 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30041 PyObject *resultobj = 0;
30042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30043 int result;
30044 void *argp1 = 0 ;
30045 int res1 = 0 ;
30046 PyObject *swig_obj[1] ;
30047
30048 if (!args) SWIG_fail;
30049 swig_obj[0] = args;
30050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30051 if (!SWIG_IsOK(res1)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30053 }
30054 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30055 {
30056 PyThreadState* __tstate = wxPyBeginAllowThreads();
30057 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30058 wxPyEndAllowThreads(__tstate);
30059 if (PyErr_Occurred()) SWIG_fail;
30060 }
30061 resultobj = SWIG_From_int(static_cast< int >(result));
30062 return resultobj;
30063 fail:
30064 return NULL;
30065 }
30066
30067
30068 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30069 PyObject *resultobj = 0;
30070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30071 wxColour result;
30072 void *argp1 = 0 ;
30073 int res1 = 0 ;
30074 PyObject *swig_obj[1] ;
30075
30076 if (!args) SWIG_fail;
30077 swig_obj[0] = args;
30078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30079 if (!SWIG_IsOK(res1)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30081 }
30082 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30083 {
30084 PyThreadState* __tstate = wxPyBeginAllowThreads();
30085 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30086 wxPyEndAllowThreads(__tstate);
30087 if (PyErr_Occurred()) SWIG_fail;
30088 }
30089 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30090 return resultobj;
30091 fail:
30092 return NULL;
30093 }
30094
30095
30096 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30097 PyObject *resultobj = 0;
30098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30099 wxColour *arg2 = 0 ;
30100 void *argp1 = 0 ;
30101 int res1 = 0 ;
30102 wxColour temp2 ;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 char * kwnames[] = {
30106 (char *) "self",(char *) "col", NULL
30107 };
30108
30109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30111 if (!SWIG_IsOK(res1)) {
30112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30113 }
30114 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30115 {
30116 arg2 = &temp2;
30117 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30118 }
30119 {
30120 PyThreadState* __tstate = wxPyBeginAllowThreads();
30121 (arg1)->SetTextColour((wxColour const &)*arg2);
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
30125 resultobj = SWIG_Py_Void();
30126 return resultobj;
30127 fail:
30128 return NULL;
30129 }
30130
30131
30132 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30133 PyObject *resultobj = 0;
30134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30135 long result;
30136 void *argp1 = 0 ;
30137 int res1 = 0 ;
30138 PyObject *swig_obj[1] ;
30139
30140 if (!args) SWIG_fail;
30141 swig_obj[0] = args;
30142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30147 {
30148 PyThreadState* __tstate = wxPyBeginAllowThreads();
30149 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30150 wxPyEndAllowThreads(__tstate);
30151 if (PyErr_Occurred()) SWIG_fail;
30152 }
30153 resultobj = SWIG_From_long(static_cast< long >(result));
30154 return resultobj;
30155 fail:
30156 return NULL;
30157 }
30158
30159
30160 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30161 PyObject *resultobj = 0;
30162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30163 long arg2 ;
30164 bool arg3 = (bool) true ;
30165 void *argp1 = 0 ;
30166 int res1 = 0 ;
30167 long val2 ;
30168 int ecode2 = 0 ;
30169 bool val3 ;
30170 int ecode3 = 0 ;
30171 PyObject * obj0 = 0 ;
30172 PyObject * obj1 = 0 ;
30173 PyObject * obj2 = 0 ;
30174 char * kwnames[] = {
30175 (char *) "self",(char *) "style",(char *) "add", NULL
30176 };
30177
30178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30180 if (!SWIG_IsOK(res1)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30182 }
30183 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30184 ecode2 = SWIG_AsVal_long(obj1, &val2);
30185 if (!SWIG_IsOK(ecode2)) {
30186 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30187 }
30188 arg2 = static_cast< long >(val2);
30189 if (obj2) {
30190 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30191 if (!SWIG_IsOK(ecode3)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30193 }
30194 arg3 = static_cast< bool >(val3);
30195 }
30196 {
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 (arg1)->SetSingleStyle(arg2,arg3);
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 resultobj = SWIG_Py_Void();
30203 return resultobj;
30204 fail:
30205 return NULL;
30206 }
30207
30208
30209 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30210 PyObject *resultobj = 0;
30211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30212 long arg2 ;
30213 int arg3 = (int) wxLIST_NEXT_ALL ;
30214 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30215 long result;
30216 void *argp1 = 0 ;
30217 int res1 = 0 ;
30218 long val2 ;
30219 int ecode2 = 0 ;
30220 int val3 ;
30221 int ecode3 = 0 ;
30222 int val4 ;
30223 int ecode4 = 0 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 PyObject * obj2 = 0 ;
30227 PyObject * obj3 = 0 ;
30228 char * kwnames[] = {
30229 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30230 };
30231
30232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30234 if (!SWIG_IsOK(res1)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30236 }
30237 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30238 ecode2 = SWIG_AsVal_long(obj1, &val2);
30239 if (!SWIG_IsOK(ecode2)) {
30240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30241 }
30242 arg2 = static_cast< long >(val2);
30243 if (obj2) {
30244 ecode3 = SWIG_AsVal_int(obj2, &val3);
30245 if (!SWIG_IsOK(ecode3)) {
30246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30247 }
30248 arg3 = static_cast< int >(val3);
30249 }
30250 if (obj3) {
30251 ecode4 = SWIG_AsVal_int(obj3, &val4);
30252 if (!SWIG_IsOK(ecode4)) {
30253 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30254 }
30255 arg4 = static_cast< int >(val4);
30256 }
30257 {
30258 PyThreadState* __tstate = wxPyBeginAllowThreads();
30259 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30260 wxPyEndAllowThreads(__tstate);
30261 if (PyErr_Occurred()) SWIG_fail;
30262 }
30263 resultobj = SWIG_From_long(static_cast< long >(result));
30264 return resultobj;
30265 fail:
30266 return NULL;
30267 }
30268
30269
30270 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30271 PyObject *resultobj = 0;
30272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30273 int arg2 ;
30274 wxImageList *result = 0 ;
30275 void *argp1 = 0 ;
30276 int res1 = 0 ;
30277 int val2 ;
30278 int ecode2 = 0 ;
30279 PyObject * obj0 = 0 ;
30280 PyObject * obj1 = 0 ;
30281 char * kwnames[] = {
30282 (char *) "self",(char *) "which", NULL
30283 };
30284
30285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30287 if (!SWIG_IsOK(res1)) {
30288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30289 }
30290 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30291 ecode2 = SWIG_AsVal_int(obj1, &val2);
30292 if (!SWIG_IsOK(ecode2)) {
30293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30294 }
30295 arg2 = static_cast< int >(val2);
30296 {
30297 PyThreadState* __tstate = wxPyBeginAllowThreads();
30298 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30299 wxPyEndAllowThreads(__tstate);
30300 if (PyErr_Occurred()) SWIG_fail;
30301 }
30302 {
30303 resultobj = wxPyMake_wxObject(result, (bool)0);
30304 }
30305 return resultobj;
30306 fail:
30307 return NULL;
30308 }
30309
30310
30311 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30312 PyObject *resultobj = 0;
30313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30314 wxImageList *arg2 = (wxImageList *) 0 ;
30315 int arg3 ;
30316 void *argp1 = 0 ;
30317 int res1 = 0 ;
30318 void *argp2 = 0 ;
30319 int res2 = 0 ;
30320 int val3 ;
30321 int ecode3 = 0 ;
30322 PyObject * obj0 = 0 ;
30323 PyObject * obj1 = 0 ;
30324 PyObject * obj2 = 0 ;
30325 char * kwnames[] = {
30326 (char *) "self",(char *) "imageList",(char *) "which", NULL
30327 };
30328
30329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30331 if (!SWIG_IsOK(res1)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30333 }
30334 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30335 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30336 if (!SWIG_IsOK(res2)) {
30337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30338 }
30339 arg2 = reinterpret_cast< wxImageList * >(argp2);
30340 ecode3 = SWIG_AsVal_int(obj2, &val3);
30341 if (!SWIG_IsOK(ecode3)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30343 }
30344 arg3 = static_cast< int >(val3);
30345 {
30346 PyThreadState* __tstate = wxPyBeginAllowThreads();
30347 (arg1)->SetImageList(arg2,arg3);
30348 wxPyEndAllowThreads(__tstate);
30349 if (PyErr_Occurred()) SWIG_fail;
30350 }
30351 resultobj = SWIG_Py_Void();
30352 return resultobj;
30353 fail:
30354 return NULL;
30355 }
30356
30357
30358 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30359 PyObject *resultobj = 0;
30360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30361 wxImageList *arg2 = (wxImageList *) 0 ;
30362 int arg3 ;
30363 void *argp1 = 0 ;
30364 int res1 = 0 ;
30365 int res2 = 0 ;
30366 int val3 ;
30367 int ecode3 = 0 ;
30368 PyObject * obj0 = 0 ;
30369 PyObject * obj1 = 0 ;
30370 PyObject * obj2 = 0 ;
30371 char * kwnames[] = {
30372 (char *) "self",(char *) "imageList",(char *) "which", NULL
30373 };
30374
30375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30377 if (!SWIG_IsOK(res1)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30379 }
30380 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30381 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30382 if (!SWIG_IsOK(res2)) {
30383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30384 }
30385 ecode3 = SWIG_AsVal_int(obj2, &val3);
30386 if (!SWIG_IsOK(ecode3)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30388 }
30389 arg3 = static_cast< int >(val3);
30390 {
30391 PyThreadState* __tstate = wxPyBeginAllowThreads();
30392 (arg1)->AssignImageList(arg2,arg3);
30393 wxPyEndAllowThreads(__tstate);
30394 if (PyErr_Occurred()) SWIG_fail;
30395 }
30396 resultobj = SWIG_Py_Void();
30397 return resultobj;
30398 fail:
30399 return NULL;
30400 }
30401
30402
30403 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30404 PyObject *resultobj = 0;
30405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30406 bool result;
30407 void *argp1 = 0 ;
30408 int res1 = 0 ;
30409 PyObject *swig_obj[1] ;
30410
30411 if (!args) SWIG_fail;
30412 swig_obj[0] = args;
30413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30414 if (!SWIG_IsOK(res1)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30416 }
30417 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30421 wxPyEndAllowThreads(__tstate);
30422 if (PyErr_Occurred()) SWIG_fail;
30423 }
30424 {
30425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30426 }
30427 return resultobj;
30428 fail:
30429 return NULL;
30430 }
30431
30432
30433 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30434 PyObject *resultobj = 0;
30435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30436 bool result;
30437 void *argp1 = 0 ;
30438 int res1 = 0 ;
30439 PyObject *swig_obj[1] ;
30440
30441 if (!args) SWIG_fail;
30442 swig_obj[0] = args;
30443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30444 if (!SWIG_IsOK(res1)) {
30445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30446 }
30447 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30448 {
30449 PyThreadState* __tstate = wxPyBeginAllowThreads();
30450 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30451 wxPyEndAllowThreads(__tstate);
30452 if (PyErr_Occurred()) SWIG_fail;
30453 }
30454 {
30455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30456 }
30457 return resultobj;
30458 fail:
30459 return NULL;
30460 }
30461
30462
30463 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30464 PyObject *resultobj = 0;
30465 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30466 long arg2 ;
30467 void *argp1 = 0 ;
30468 int res1 = 0 ;
30469 long val2 ;
30470 int ecode2 = 0 ;
30471 PyObject * obj0 = 0 ;
30472 PyObject * obj1 = 0 ;
30473 char * kwnames[] = {
30474 (char *) "self",(char *) "item", NULL
30475 };
30476
30477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30479 if (!SWIG_IsOK(res1)) {
30480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30481 }
30482 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30483 ecode2 = SWIG_AsVal_long(obj1, &val2);
30484 if (!SWIG_IsOK(ecode2)) {
30485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30486 }
30487 arg2 = static_cast< long >(val2);
30488 {
30489 PyThreadState* __tstate = wxPyBeginAllowThreads();
30490 (arg1)->RefreshItem(arg2);
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 resultobj = SWIG_Py_Void();
30495 return resultobj;
30496 fail:
30497 return NULL;
30498 }
30499
30500
30501 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30502 PyObject *resultobj = 0;
30503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30504 long arg2 ;
30505 long arg3 ;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 long val2 ;
30509 int ecode2 = 0 ;
30510 long val3 ;
30511 int ecode3 = 0 ;
30512 PyObject * obj0 = 0 ;
30513 PyObject * obj1 = 0 ;
30514 PyObject * obj2 = 0 ;
30515 char * kwnames[] = {
30516 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30517 };
30518
30519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30521 if (!SWIG_IsOK(res1)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30523 }
30524 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30525 ecode2 = SWIG_AsVal_long(obj1, &val2);
30526 if (!SWIG_IsOK(ecode2)) {
30527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30528 }
30529 arg2 = static_cast< long >(val2);
30530 ecode3 = SWIG_AsVal_long(obj2, &val3);
30531 if (!SWIG_IsOK(ecode3)) {
30532 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30533 }
30534 arg3 = static_cast< long >(val3);
30535 {
30536 PyThreadState* __tstate = wxPyBeginAllowThreads();
30537 (arg1)->RefreshItems(arg2,arg3);
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 resultobj = SWIG_Py_Void();
30542 return resultobj;
30543 fail:
30544 return NULL;
30545 }
30546
30547
30548 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30549 PyObject *resultobj = 0;
30550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30551 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30552 bool result;
30553 void *argp1 = 0 ;
30554 int res1 = 0 ;
30555 int val2 ;
30556 int ecode2 = 0 ;
30557 PyObject * obj0 = 0 ;
30558 PyObject * obj1 = 0 ;
30559 char * kwnames[] = {
30560 (char *) "self",(char *) "flag", NULL
30561 };
30562
30563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30565 if (!SWIG_IsOK(res1)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 }
30568 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30569 if (obj1) {
30570 ecode2 = SWIG_AsVal_int(obj1, &val2);
30571 if (!SWIG_IsOK(ecode2)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30573 }
30574 arg2 = static_cast< int >(val2);
30575 }
30576 {
30577 PyThreadState* __tstate = wxPyBeginAllowThreads();
30578 result = (bool)(arg1)->Arrange(arg2);
30579 wxPyEndAllowThreads(__tstate);
30580 if (PyErr_Occurred()) SWIG_fail;
30581 }
30582 {
30583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30584 }
30585 return resultobj;
30586 fail:
30587 return NULL;
30588 }
30589
30590
30591 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30592 PyObject *resultobj = 0;
30593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30594 long arg2 ;
30595 bool result;
30596 void *argp1 = 0 ;
30597 int res1 = 0 ;
30598 long val2 ;
30599 int ecode2 = 0 ;
30600 PyObject * obj0 = 0 ;
30601 PyObject * obj1 = 0 ;
30602 char * kwnames[] = {
30603 (char *) "self",(char *) "item", NULL
30604 };
30605
30606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30608 if (!SWIG_IsOK(res1)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30610 }
30611 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30612 ecode2 = SWIG_AsVal_long(obj1, &val2);
30613 if (!SWIG_IsOK(ecode2)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30615 }
30616 arg2 = static_cast< long >(val2);
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 result = (bool)(arg1)->DeleteItem(arg2);
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 {
30624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30625 }
30626 return resultobj;
30627 fail:
30628 return NULL;
30629 }
30630
30631
30632 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30633 PyObject *resultobj = 0;
30634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30635 bool result;
30636 void *argp1 = 0 ;
30637 int res1 = 0 ;
30638 PyObject *swig_obj[1] ;
30639
30640 if (!args) SWIG_fail;
30641 swig_obj[0] = args;
30642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30643 if (!SWIG_IsOK(res1)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30645 }
30646 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 result = (bool)(arg1)->DeleteAllItems();
30650 wxPyEndAllowThreads(__tstate);
30651 if (PyErr_Occurred()) SWIG_fail;
30652 }
30653 {
30654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30655 }
30656 return resultobj;
30657 fail:
30658 return NULL;
30659 }
30660
30661
30662 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30663 PyObject *resultobj = 0;
30664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30665 int arg2 ;
30666 bool result;
30667 void *argp1 = 0 ;
30668 int res1 = 0 ;
30669 int val2 ;
30670 int ecode2 = 0 ;
30671 PyObject * obj0 = 0 ;
30672 PyObject * obj1 = 0 ;
30673 char * kwnames[] = {
30674 (char *) "self",(char *) "col", NULL
30675 };
30676
30677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30679 if (!SWIG_IsOK(res1)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30681 }
30682 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30683 ecode2 = SWIG_AsVal_int(obj1, &val2);
30684 if (!SWIG_IsOK(ecode2)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30686 }
30687 arg2 = static_cast< int >(val2);
30688 {
30689 PyThreadState* __tstate = wxPyBeginAllowThreads();
30690 result = (bool)(arg1)->DeleteColumn(arg2);
30691 wxPyEndAllowThreads(__tstate);
30692 if (PyErr_Occurred()) SWIG_fail;
30693 }
30694 {
30695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30696 }
30697 return resultobj;
30698 fail:
30699 return NULL;
30700 }
30701
30702
30703 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30704 PyObject *resultobj = 0;
30705 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30706 bool result;
30707 void *argp1 = 0 ;
30708 int res1 = 0 ;
30709 PyObject *swig_obj[1] ;
30710
30711 if (!args) SWIG_fail;
30712 swig_obj[0] = args;
30713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30714 if (!SWIG_IsOK(res1)) {
30715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30716 }
30717 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30718 {
30719 PyThreadState* __tstate = wxPyBeginAllowThreads();
30720 result = (bool)(arg1)->DeleteAllColumns();
30721 wxPyEndAllowThreads(__tstate);
30722 if (PyErr_Occurred()) SWIG_fail;
30723 }
30724 {
30725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30726 }
30727 return resultobj;
30728 fail:
30729 return NULL;
30730 }
30731
30732
30733 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30734 PyObject *resultobj = 0;
30735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30736 void *argp1 = 0 ;
30737 int res1 = 0 ;
30738 PyObject *swig_obj[1] ;
30739
30740 if (!args) SWIG_fail;
30741 swig_obj[0] = args;
30742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30743 if (!SWIG_IsOK(res1)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30745 }
30746 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30747 {
30748 PyThreadState* __tstate = wxPyBeginAllowThreads();
30749 (arg1)->ClearAll();
30750 wxPyEndAllowThreads(__tstate);
30751 if (PyErr_Occurred()) SWIG_fail;
30752 }
30753 resultobj = SWIG_Py_Void();
30754 return resultobj;
30755 fail:
30756 return NULL;
30757 }
30758
30759
30760 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30761 PyObject *resultobj = 0;
30762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30763 long arg2 ;
30764 wxTextCtrl *result = 0 ;
30765 void *argp1 = 0 ;
30766 int res1 = 0 ;
30767 long val2 ;
30768 int ecode2 = 0 ;
30769 PyObject * obj0 = 0 ;
30770 PyObject * obj1 = 0 ;
30771 char * kwnames[] = {
30772 (char *) "self",(char *) "item", NULL
30773 };
30774
30775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30777 if (!SWIG_IsOK(res1)) {
30778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30779 }
30780 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30781 ecode2 = SWIG_AsVal_long(obj1, &val2);
30782 if (!SWIG_IsOK(ecode2)) {
30783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30784 }
30785 arg2 = static_cast< long >(val2);
30786 {
30787 PyThreadState* __tstate = wxPyBeginAllowThreads();
30788 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
30789 wxPyEndAllowThreads(__tstate);
30790 if (PyErr_Occurred()) SWIG_fail;
30791 }
30792 {
30793 resultobj = wxPyMake_wxObject(result, 0);
30794 }
30795 return resultobj;
30796 fail:
30797 return NULL;
30798 }
30799
30800
30801 SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30802 PyObject *resultobj = 0;
30803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30804 bool arg2 ;
30805 bool result;
30806 void *argp1 = 0 ;
30807 int res1 = 0 ;
30808 bool val2 ;
30809 int ecode2 = 0 ;
30810 PyObject * obj0 = 0 ;
30811 PyObject * obj1 = 0 ;
30812 char * kwnames[] = {
30813 (char *) "self",(char *) "cancel", NULL
30814 };
30815
30816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30818 if (!SWIG_IsOK(res1)) {
30819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30820 }
30821 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30822 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30823 if (!SWIG_IsOK(ecode2)) {
30824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30825 }
30826 arg2 = static_cast< bool >(val2);
30827 {
30828 PyThreadState* __tstate = wxPyBeginAllowThreads();
30829 result = (bool)(arg1)->EndEditLabel(arg2);
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
30833 {
30834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30835 }
30836 return resultobj;
30837 fail:
30838 return NULL;
30839 }
30840
30841
30842 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj = 0;
30844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30845 long arg2 ;
30846 bool result;
30847 void *argp1 = 0 ;
30848 int res1 = 0 ;
30849 long val2 ;
30850 int ecode2 = 0 ;
30851 PyObject * obj0 = 0 ;
30852 PyObject * obj1 = 0 ;
30853 char * kwnames[] = {
30854 (char *) "self",(char *) "item", NULL
30855 };
30856
30857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30859 if (!SWIG_IsOK(res1)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30861 }
30862 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30863 ecode2 = SWIG_AsVal_long(obj1, &val2);
30864 if (!SWIG_IsOK(ecode2)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30866 }
30867 arg2 = static_cast< long >(val2);
30868 {
30869 PyThreadState* __tstate = wxPyBeginAllowThreads();
30870 result = (bool)(arg1)->EnsureVisible(arg2);
30871 wxPyEndAllowThreads(__tstate);
30872 if (PyErr_Occurred()) SWIG_fail;
30873 }
30874 {
30875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30876 }
30877 return resultobj;
30878 fail:
30879 return NULL;
30880 }
30881
30882
30883 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30884 PyObject *resultobj = 0;
30885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30886 long arg2 ;
30887 wxString *arg3 = 0 ;
30888 bool arg4 = (bool) false ;
30889 long result;
30890 void *argp1 = 0 ;
30891 int res1 = 0 ;
30892 long val2 ;
30893 int ecode2 = 0 ;
30894 bool temp3 = false ;
30895 bool val4 ;
30896 int ecode4 = 0 ;
30897 PyObject * obj0 = 0 ;
30898 PyObject * obj1 = 0 ;
30899 PyObject * obj2 = 0 ;
30900 PyObject * obj3 = 0 ;
30901 char * kwnames[] = {
30902 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30903 };
30904
30905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30907 if (!SWIG_IsOK(res1)) {
30908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30909 }
30910 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30911 ecode2 = SWIG_AsVal_long(obj1, &val2);
30912 if (!SWIG_IsOK(ecode2)) {
30913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30914 }
30915 arg2 = static_cast< long >(val2);
30916 {
30917 arg3 = wxString_in_helper(obj2);
30918 if (arg3 == NULL) SWIG_fail;
30919 temp3 = true;
30920 }
30921 if (obj3) {
30922 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30923 if (!SWIG_IsOK(ecode4)) {
30924 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30925 }
30926 arg4 = static_cast< bool >(val4);
30927 }
30928 {
30929 PyThreadState* __tstate = wxPyBeginAllowThreads();
30930 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 resultobj = SWIG_From_long(static_cast< long >(result));
30935 {
30936 if (temp3)
30937 delete arg3;
30938 }
30939 return resultobj;
30940 fail:
30941 {
30942 if (temp3)
30943 delete arg3;
30944 }
30945 return NULL;
30946 }
30947
30948
30949 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30950 PyObject *resultobj = 0;
30951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30952 long arg2 ;
30953 long arg3 ;
30954 long result;
30955 void *argp1 = 0 ;
30956 int res1 = 0 ;
30957 long val2 ;
30958 int ecode2 = 0 ;
30959 long val3 ;
30960 int ecode3 = 0 ;
30961 PyObject * obj0 = 0 ;
30962 PyObject * obj1 = 0 ;
30963 PyObject * obj2 = 0 ;
30964 char * kwnames[] = {
30965 (char *) "self",(char *) "start",(char *) "data", NULL
30966 };
30967
30968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30970 if (!SWIG_IsOK(res1)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30972 }
30973 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30974 ecode2 = SWIG_AsVal_long(obj1, &val2);
30975 if (!SWIG_IsOK(ecode2)) {
30976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30977 }
30978 arg2 = static_cast< long >(val2);
30979 ecode3 = SWIG_AsVal_long(obj2, &val3);
30980 if (!SWIG_IsOK(ecode3)) {
30981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30982 }
30983 arg3 = static_cast< long >(val3);
30984 {
30985 PyThreadState* __tstate = wxPyBeginAllowThreads();
30986 result = (long)(arg1)->FindItem(arg2,arg3);
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 resultobj = SWIG_From_long(static_cast< long >(result));
30991 return resultobj;
30992 fail:
30993 return NULL;
30994 }
30995
30996
30997 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30998 PyObject *resultobj = 0;
30999 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31000 long arg2 ;
31001 wxPoint *arg3 = 0 ;
31002 int arg4 ;
31003 long result;
31004 void *argp1 = 0 ;
31005 int res1 = 0 ;
31006 long val2 ;
31007 int ecode2 = 0 ;
31008 wxPoint temp3 ;
31009 int val4 ;
31010 int ecode4 = 0 ;
31011 PyObject * obj0 = 0 ;
31012 PyObject * obj1 = 0 ;
31013 PyObject * obj2 = 0 ;
31014 PyObject * obj3 = 0 ;
31015 char * kwnames[] = {
31016 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31017 };
31018
31019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31021 if (!SWIG_IsOK(res1)) {
31022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31023 }
31024 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31025 ecode2 = SWIG_AsVal_long(obj1, &val2);
31026 if (!SWIG_IsOK(ecode2)) {
31027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31028 }
31029 arg2 = static_cast< long >(val2);
31030 {
31031 arg3 = &temp3;
31032 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31033 }
31034 ecode4 = SWIG_AsVal_int(obj3, &val4);
31035 if (!SWIG_IsOK(ecode4)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31037 }
31038 arg4 = static_cast< int >(val4);
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
31045 resultobj = SWIG_From_long(static_cast< long >(result));
31046 return resultobj;
31047 fail:
31048 return NULL;
31049 }
31050
31051
31052 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31053 PyObject *resultobj = 0;
31054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31055 wxPoint *arg2 = 0 ;
31056 int *arg3 = 0 ;
31057 long result;
31058 void *argp1 = 0 ;
31059 int res1 = 0 ;
31060 wxPoint temp2 ;
31061 int temp3 ;
31062 int res3 = SWIG_TMPOBJ ;
31063 PyObject * obj0 = 0 ;
31064 PyObject * obj1 = 0 ;
31065 char * kwnames[] = {
31066 (char *) "self",(char *) "point", NULL
31067 };
31068
31069 arg3 = &temp3;
31070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31072 if (!SWIG_IsOK(res1)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31074 }
31075 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31076 {
31077 arg2 = &temp2;
31078 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31079 }
31080 {
31081 PyThreadState* __tstate = wxPyBeginAllowThreads();
31082 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31083 wxPyEndAllowThreads(__tstate);
31084 if (PyErr_Occurred()) SWIG_fail;
31085 }
31086 resultobj = SWIG_From_long(static_cast< long >(result));
31087 if (SWIG_IsTmpObj(res3)) {
31088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31089 } else {
31090 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31092 }
31093 return resultobj;
31094 fail:
31095 return NULL;
31096 }
31097
31098
31099 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31100 PyObject *resultobj = 0;
31101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31102 wxPoint *arg2 = 0 ;
31103 int *arg3 = 0 ;
31104 long *arg4 = (long *) 0 ;
31105 long result;
31106 void *argp1 = 0 ;
31107 int res1 = 0 ;
31108 wxPoint temp2 ;
31109 int temp3 ;
31110 int res3 = SWIG_TMPOBJ ;
31111 long temp4 ;
31112 int res4 = SWIG_TMPOBJ ;
31113 PyObject * obj0 = 0 ;
31114 PyObject * obj1 = 0 ;
31115 char * kwnames[] = {
31116 (char *) "self",(char *) "point", NULL
31117 };
31118
31119 arg3 = &temp3;
31120 arg4 = &temp4;
31121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31123 if (!SWIG_IsOK(res1)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31125 }
31126 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31127 {
31128 arg2 = &temp2;
31129 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31130 }
31131 {
31132 PyThreadState* __tstate = wxPyBeginAllowThreads();
31133 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31134 wxPyEndAllowThreads(__tstate);
31135 if (PyErr_Occurred()) SWIG_fail;
31136 }
31137 resultobj = SWIG_From_long(static_cast< long >(result));
31138 if (SWIG_IsTmpObj(res3)) {
31139 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31140 } else {
31141 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31143 }
31144 if (SWIG_IsTmpObj(res4)) {
31145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31146 } else {
31147 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31149 }
31150 return resultobj;
31151 fail:
31152 return NULL;
31153 }
31154
31155
31156 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31157 PyObject *resultobj = 0;
31158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31159 wxListItem *arg2 = 0 ;
31160 long result;
31161 void *argp1 = 0 ;
31162 int res1 = 0 ;
31163 void *argp2 = 0 ;
31164 int res2 = 0 ;
31165 PyObject * obj0 = 0 ;
31166 PyObject * obj1 = 0 ;
31167 char * kwnames[] = {
31168 (char *) "self",(char *) "info", NULL
31169 };
31170
31171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31173 if (!SWIG_IsOK(res1)) {
31174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31175 }
31176 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31177 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31178 if (!SWIG_IsOK(res2)) {
31179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31180 }
31181 if (!argp2) {
31182 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31183 }
31184 arg2 = reinterpret_cast< wxListItem * >(argp2);
31185 {
31186 PyThreadState* __tstate = wxPyBeginAllowThreads();
31187 result = (long)(arg1)->InsertItem(*arg2);
31188 wxPyEndAllowThreads(__tstate);
31189 if (PyErr_Occurred()) SWIG_fail;
31190 }
31191 resultobj = SWIG_From_long(static_cast< long >(result));
31192 return resultobj;
31193 fail:
31194 return NULL;
31195 }
31196
31197
31198 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31199 PyObject *resultobj = 0;
31200 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31201 long arg2 ;
31202 wxString *arg3 = 0 ;
31203 int arg4 = (int) -1 ;
31204 long result;
31205 void *argp1 = 0 ;
31206 int res1 = 0 ;
31207 long val2 ;
31208 int ecode2 = 0 ;
31209 bool temp3 = false ;
31210 int val4 ;
31211 int ecode4 = 0 ;
31212 PyObject * obj0 = 0 ;
31213 PyObject * obj1 = 0 ;
31214 PyObject * obj2 = 0 ;
31215 PyObject * obj3 = 0 ;
31216 char * kwnames[] = {
31217 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31218 };
31219
31220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31222 if (!SWIG_IsOK(res1)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31224 }
31225 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31226 ecode2 = SWIG_AsVal_long(obj1, &val2);
31227 if (!SWIG_IsOK(ecode2)) {
31228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31229 }
31230 arg2 = static_cast< long >(val2);
31231 {
31232 arg3 = wxString_in_helper(obj2);
31233 if (arg3 == NULL) SWIG_fail;
31234 temp3 = true;
31235 }
31236 if (obj3) {
31237 ecode4 = SWIG_AsVal_int(obj3, &val4);
31238 if (!SWIG_IsOK(ecode4)) {
31239 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31240 }
31241 arg4 = static_cast< int >(val4);
31242 }
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31246 wxPyEndAllowThreads(__tstate);
31247 if (PyErr_Occurred()) SWIG_fail;
31248 }
31249 resultobj = SWIG_From_long(static_cast< long >(result));
31250 {
31251 if (temp3)
31252 delete arg3;
31253 }
31254 return resultobj;
31255 fail:
31256 {
31257 if (temp3)
31258 delete arg3;
31259 }
31260 return NULL;
31261 }
31262
31263
31264 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31265 PyObject *resultobj = 0;
31266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31267 long arg2 ;
31268 int arg3 ;
31269 long result;
31270 void *argp1 = 0 ;
31271 int res1 = 0 ;
31272 long val2 ;
31273 int ecode2 = 0 ;
31274 int val3 ;
31275 int ecode3 = 0 ;
31276 PyObject * obj0 = 0 ;
31277 PyObject * obj1 = 0 ;
31278 PyObject * obj2 = 0 ;
31279 char * kwnames[] = {
31280 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31281 };
31282
31283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31285 if (!SWIG_IsOK(res1)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31287 }
31288 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31289 ecode2 = SWIG_AsVal_long(obj1, &val2);
31290 if (!SWIG_IsOK(ecode2)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31292 }
31293 arg2 = static_cast< long >(val2);
31294 ecode3 = SWIG_AsVal_int(obj2, &val3);
31295 if (!SWIG_IsOK(ecode3)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31297 }
31298 arg3 = static_cast< int >(val3);
31299 {
31300 PyThreadState* __tstate = wxPyBeginAllowThreads();
31301 result = (long)(arg1)->InsertItem(arg2,arg3);
31302 wxPyEndAllowThreads(__tstate);
31303 if (PyErr_Occurred()) SWIG_fail;
31304 }
31305 resultobj = SWIG_From_long(static_cast< long >(result));
31306 return resultobj;
31307 fail:
31308 return NULL;
31309 }
31310
31311
31312 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31313 PyObject *resultobj = 0;
31314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31315 long arg2 ;
31316 wxString *arg3 = 0 ;
31317 int arg4 ;
31318 long result;
31319 void *argp1 = 0 ;
31320 int res1 = 0 ;
31321 long val2 ;
31322 int ecode2 = 0 ;
31323 bool temp3 = false ;
31324 int val4 ;
31325 int ecode4 = 0 ;
31326 PyObject * obj0 = 0 ;
31327 PyObject * obj1 = 0 ;
31328 PyObject * obj2 = 0 ;
31329 PyObject * obj3 = 0 ;
31330 char * kwnames[] = {
31331 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31332 };
31333
31334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31336 if (!SWIG_IsOK(res1)) {
31337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31338 }
31339 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31340 ecode2 = SWIG_AsVal_long(obj1, &val2);
31341 if (!SWIG_IsOK(ecode2)) {
31342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31343 }
31344 arg2 = static_cast< long >(val2);
31345 {
31346 arg3 = wxString_in_helper(obj2);
31347 if (arg3 == NULL) SWIG_fail;
31348 temp3 = true;
31349 }
31350 ecode4 = SWIG_AsVal_int(obj3, &val4);
31351 if (!SWIG_IsOK(ecode4)) {
31352 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31353 }
31354 arg4 = static_cast< int >(val4);
31355 {
31356 PyThreadState* __tstate = wxPyBeginAllowThreads();
31357 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31358 wxPyEndAllowThreads(__tstate);
31359 if (PyErr_Occurred()) SWIG_fail;
31360 }
31361 resultobj = SWIG_From_long(static_cast< long >(result));
31362 {
31363 if (temp3)
31364 delete arg3;
31365 }
31366 return resultobj;
31367 fail:
31368 {
31369 if (temp3)
31370 delete arg3;
31371 }
31372 return NULL;
31373 }
31374
31375
31376 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31377 PyObject *resultobj = 0;
31378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31379 long arg2 ;
31380 wxListItem *arg3 = 0 ;
31381 long result;
31382 void *argp1 = 0 ;
31383 int res1 = 0 ;
31384 long val2 ;
31385 int ecode2 = 0 ;
31386 void *argp3 = 0 ;
31387 int res3 = 0 ;
31388 PyObject * obj0 = 0 ;
31389 PyObject * obj1 = 0 ;
31390 PyObject * obj2 = 0 ;
31391 char * kwnames[] = {
31392 (char *) "self",(char *) "col",(char *) "info", NULL
31393 };
31394
31395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31397 if (!SWIG_IsOK(res1)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31399 }
31400 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31401 ecode2 = SWIG_AsVal_long(obj1, &val2);
31402 if (!SWIG_IsOK(ecode2)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31404 }
31405 arg2 = static_cast< long >(val2);
31406 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31407 if (!SWIG_IsOK(res3)) {
31408 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31409 }
31410 if (!argp3) {
31411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31412 }
31413 arg3 = reinterpret_cast< wxListItem * >(argp3);
31414 {
31415 PyThreadState* __tstate = wxPyBeginAllowThreads();
31416 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31417 wxPyEndAllowThreads(__tstate);
31418 if (PyErr_Occurred()) SWIG_fail;
31419 }
31420 resultobj = SWIG_From_long(static_cast< long >(result));
31421 return resultobj;
31422 fail:
31423 return NULL;
31424 }
31425
31426
31427 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31428 PyObject *resultobj = 0;
31429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31430 long arg2 ;
31431 wxString *arg3 = 0 ;
31432 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31433 int arg5 = (int) -1 ;
31434 long result;
31435 void *argp1 = 0 ;
31436 int res1 = 0 ;
31437 long val2 ;
31438 int ecode2 = 0 ;
31439 bool temp3 = false ;
31440 int val4 ;
31441 int ecode4 = 0 ;
31442 int val5 ;
31443 int ecode5 = 0 ;
31444 PyObject * obj0 = 0 ;
31445 PyObject * obj1 = 0 ;
31446 PyObject * obj2 = 0 ;
31447 PyObject * obj3 = 0 ;
31448 PyObject * obj4 = 0 ;
31449 char * kwnames[] = {
31450 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31451 };
31452
31453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31455 if (!SWIG_IsOK(res1)) {
31456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31457 }
31458 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31459 ecode2 = SWIG_AsVal_long(obj1, &val2);
31460 if (!SWIG_IsOK(ecode2)) {
31461 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31462 }
31463 arg2 = static_cast< long >(val2);
31464 {
31465 arg3 = wxString_in_helper(obj2);
31466 if (arg3 == NULL) SWIG_fail;
31467 temp3 = true;
31468 }
31469 if (obj3) {
31470 ecode4 = SWIG_AsVal_int(obj3, &val4);
31471 if (!SWIG_IsOK(ecode4)) {
31472 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31473 }
31474 arg4 = static_cast< int >(val4);
31475 }
31476 if (obj4) {
31477 ecode5 = SWIG_AsVal_int(obj4, &val5);
31478 if (!SWIG_IsOK(ecode5)) {
31479 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31480 }
31481 arg5 = static_cast< int >(val5);
31482 }
31483 {
31484 PyThreadState* __tstate = wxPyBeginAllowThreads();
31485 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31486 wxPyEndAllowThreads(__tstate);
31487 if (PyErr_Occurred()) SWIG_fail;
31488 }
31489 resultobj = SWIG_From_long(static_cast< long >(result));
31490 {
31491 if (temp3)
31492 delete arg3;
31493 }
31494 return resultobj;
31495 fail:
31496 {
31497 if (temp3)
31498 delete arg3;
31499 }
31500 return NULL;
31501 }
31502
31503
31504 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31505 PyObject *resultobj = 0;
31506 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31507 long arg2 ;
31508 void *argp1 = 0 ;
31509 int res1 = 0 ;
31510 long val2 ;
31511 int ecode2 = 0 ;
31512 PyObject * obj0 = 0 ;
31513 PyObject * obj1 = 0 ;
31514 char * kwnames[] = {
31515 (char *) "self",(char *) "count", NULL
31516 };
31517
31518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31520 if (!SWIG_IsOK(res1)) {
31521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31522 }
31523 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31524 ecode2 = SWIG_AsVal_long(obj1, &val2);
31525 if (!SWIG_IsOK(ecode2)) {
31526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31527 }
31528 arg2 = static_cast< long >(val2);
31529 {
31530 PyThreadState* __tstate = wxPyBeginAllowThreads();
31531 (arg1)->SetItemCount(arg2);
31532 wxPyEndAllowThreads(__tstate);
31533 if (PyErr_Occurred()) SWIG_fail;
31534 }
31535 resultobj = SWIG_Py_Void();
31536 return resultobj;
31537 fail:
31538 return NULL;
31539 }
31540
31541
31542 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31543 PyObject *resultobj = 0;
31544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31545 int arg2 ;
31546 int arg3 ;
31547 bool result;
31548 void *argp1 = 0 ;
31549 int res1 = 0 ;
31550 int val2 ;
31551 int ecode2 = 0 ;
31552 int val3 ;
31553 int ecode3 = 0 ;
31554 PyObject * obj0 = 0 ;
31555 PyObject * obj1 = 0 ;
31556 PyObject * obj2 = 0 ;
31557 char * kwnames[] = {
31558 (char *) "self",(char *) "dx",(char *) "dy", NULL
31559 };
31560
31561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) 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_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31565 }
31566 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31567 ecode2 = SWIG_AsVal_int(obj1, &val2);
31568 if (!SWIG_IsOK(ecode2)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31570 }
31571 arg2 = static_cast< int >(val2);
31572 ecode3 = SWIG_AsVal_int(obj2, &val3);
31573 if (!SWIG_IsOK(ecode3)) {
31574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31575 }
31576 arg3 = static_cast< int >(val3);
31577 {
31578 PyThreadState* __tstate = wxPyBeginAllowThreads();
31579 result = (bool)(arg1)->ScrollList(arg2,arg3);
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 {
31584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31585 }
31586 return resultobj;
31587 fail:
31588 return NULL;
31589 }
31590
31591
31592 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31593 PyObject *resultobj = 0;
31594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31595 long arg2 ;
31596 wxColour *arg3 = 0 ;
31597 void *argp1 = 0 ;
31598 int res1 = 0 ;
31599 long val2 ;
31600 int ecode2 = 0 ;
31601 wxColour temp3 ;
31602 PyObject * obj0 = 0 ;
31603 PyObject * obj1 = 0 ;
31604 PyObject * obj2 = 0 ;
31605 char * kwnames[] = {
31606 (char *) "self",(char *) "item",(char *) "col", NULL
31607 };
31608
31609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31611 if (!SWIG_IsOK(res1)) {
31612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31613 }
31614 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31615 ecode2 = SWIG_AsVal_long(obj1, &val2);
31616 if (!SWIG_IsOK(ecode2)) {
31617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31618 }
31619 arg2 = static_cast< long >(val2);
31620 {
31621 arg3 = &temp3;
31622 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31623 }
31624 {
31625 PyThreadState* __tstate = wxPyBeginAllowThreads();
31626 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31627 wxPyEndAllowThreads(__tstate);
31628 if (PyErr_Occurred()) SWIG_fail;
31629 }
31630 resultobj = SWIG_Py_Void();
31631 return resultobj;
31632 fail:
31633 return NULL;
31634 }
31635
31636
31637 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31638 PyObject *resultobj = 0;
31639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31640 long arg2 ;
31641 wxColour result;
31642 void *argp1 = 0 ;
31643 int res1 = 0 ;
31644 long val2 ;
31645 int ecode2 = 0 ;
31646 PyObject * obj0 = 0 ;
31647 PyObject * obj1 = 0 ;
31648 char * kwnames[] = {
31649 (char *) "self",(char *) "item", NULL
31650 };
31651
31652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31654 if (!SWIG_IsOK(res1)) {
31655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31656 }
31657 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31658 ecode2 = SWIG_AsVal_long(obj1, &val2);
31659 if (!SWIG_IsOK(ecode2)) {
31660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31661 }
31662 arg2 = static_cast< long >(val2);
31663 {
31664 PyThreadState* __tstate = wxPyBeginAllowThreads();
31665 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31666 wxPyEndAllowThreads(__tstate);
31667 if (PyErr_Occurred()) SWIG_fail;
31668 }
31669 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31670 return resultobj;
31671 fail:
31672 return NULL;
31673 }
31674
31675
31676 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31677 PyObject *resultobj = 0;
31678 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31679 long arg2 ;
31680 wxColour *arg3 = 0 ;
31681 void *argp1 = 0 ;
31682 int res1 = 0 ;
31683 long val2 ;
31684 int ecode2 = 0 ;
31685 wxColour temp3 ;
31686 PyObject * obj0 = 0 ;
31687 PyObject * obj1 = 0 ;
31688 PyObject * obj2 = 0 ;
31689 char * kwnames[] = {
31690 (char *) "self",(char *) "item",(char *) "col", NULL
31691 };
31692
31693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31695 if (!SWIG_IsOK(res1)) {
31696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31697 }
31698 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31699 ecode2 = SWIG_AsVal_long(obj1, &val2);
31700 if (!SWIG_IsOK(ecode2)) {
31701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31702 }
31703 arg2 = static_cast< long >(val2);
31704 {
31705 arg3 = &temp3;
31706 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31707 }
31708 {
31709 PyThreadState* __tstate = wxPyBeginAllowThreads();
31710 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31711 wxPyEndAllowThreads(__tstate);
31712 if (PyErr_Occurred()) SWIG_fail;
31713 }
31714 resultobj = SWIG_Py_Void();
31715 return resultobj;
31716 fail:
31717 return NULL;
31718 }
31719
31720
31721 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31722 PyObject *resultobj = 0;
31723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31724 long arg2 ;
31725 wxColour result;
31726 void *argp1 = 0 ;
31727 int res1 = 0 ;
31728 long val2 ;
31729 int ecode2 = 0 ;
31730 PyObject * obj0 = 0 ;
31731 PyObject * obj1 = 0 ;
31732 char * kwnames[] = {
31733 (char *) "self",(char *) "item", NULL
31734 };
31735
31736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31738 if (!SWIG_IsOK(res1)) {
31739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31740 }
31741 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31742 ecode2 = SWIG_AsVal_long(obj1, &val2);
31743 if (!SWIG_IsOK(ecode2)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31745 }
31746 arg2 = static_cast< long >(val2);
31747 {
31748 PyThreadState* __tstate = wxPyBeginAllowThreads();
31749 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31750 wxPyEndAllowThreads(__tstate);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 }
31753 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31754 return resultobj;
31755 fail:
31756 return NULL;
31757 }
31758
31759
31760 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31761 PyObject *resultobj = 0;
31762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31763 long arg2 ;
31764 wxFont *arg3 = 0 ;
31765 void *argp1 = 0 ;
31766 int res1 = 0 ;
31767 long val2 ;
31768 int ecode2 = 0 ;
31769 void *argp3 = 0 ;
31770 int res3 = 0 ;
31771 PyObject * obj0 = 0 ;
31772 PyObject * obj1 = 0 ;
31773 PyObject * obj2 = 0 ;
31774 char * kwnames[] = {
31775 (char *) "self",(char *) "item",(char *) "f", NULL
31776 };
31777
31778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31780 if (!SWIG_IsOK(res1)) {
31781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31782 }
31783 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31784 ecode2 = SWIG_AsVal_long(obj1, &val2);
31785 if (!SWIG_IsOK(ecode2)) {
31786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31787 }
31788 arg2 = static_cast< long >(val2);
31789 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31790 if (!SWIG_IsOK(res3)) {
31791 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31792 }
31793 if (!argp3) {
31794 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31795 }
31796 arg3 = reinterpret_cast< wxFont * >(argp3);
31797 {
31798 PyThreadState* __tstate = wxPyBeginAllowThreads();
31799 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31800 wxPyEndAllowThreads(__tstate);
31801 if (PyErr_Occurred()) SWIG_fail;
31802 }
31803 resultobj = SWIG_Py_Void();
31804 return resultobj;
31805 fail:
31806 return NULL;
31807 }
31808
31809
31810 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31811 PyObject *resultobj = 0;
31812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31813 long arg2 ;
31814 wxFont result;
31815 void *argp1 = 0 ;
31816 int res1 = 0 ;
31817 long val2 ;
31818 int ecode2 = 0 ;
31819 PyObject * obj0 = 0 ;
31820 PyObject * obj1 = 0 ;
31821 char * kwnames[] = {
31822 (char *) "self",(char *) "item", NULL
31823 };
31824
31825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31827 if (!SWIG_IsOK(res1)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31829 }
31830 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31831 ecode2 = SWIG_AsVal_long(obj1, &val2);
31832 if (!SWIG_IsOK(ecode2)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31834 }
31835 arg2 = static_cast< long >(val2);
31836 {
31837 PyThreadState* __tstate = wxPyBeginAllowThreads();
31838 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31839 wxPyEndAllowThreads(__tstate);
31840 if (PyErr_Occurred()) SWIG_fail;
31841 }
31842 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31843 return resultobj;
31844 fail:
31845 return NULL;
31846 }
31847
31848
31849 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31850 PyObject *resultobj = 0;
31851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31852 PyObject *arg2 = (PyObject *) 0 ;
31853 bool result;
31854 void *argp1 = 0 ;
31855 int res1 = 0 ;
31856 PyObject * obj0 = 0 ;
31857 PyObject * obj1 = 0 ;
31858 char * kwnames[] = {
31859 (char *) "self",(char *) "func", NULL
31860 };
31861
31862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31864 if (!SWIG_IsOK(res1)) {
31865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31866 }
31867 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31868 arg2 = obj1;
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31872 wxPyEndAllowThreads(__tstate);
31873 if (PyErr_Occurred()) SWIG_fail;
31874 }
31875 {
31876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31877 }
31878 return resultobj;
31879 fail:
31880 return NULL;
31881 }
31882
31883
31884 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31885 PyObject *resultobj = 0;
31886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31887 wxWindow *result = 0 ;
31888 void *argp1 = 0 ;
31889 int res1 = 0 ;
31890 PyObject *swig_obj[1] ;
31891
31892 if (!args) SWIG_fail;
31893 swig_obj[0] = args;
31894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31895 if (!SWIG_IsOK(res1)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31897 }
31898 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31902 wxPyEndAllowThreads(__tstate);
31903 if (PyErr_Occurred()) SWIG_fail;
31904 }
31905 {
31906 resultobj = wxPyMake_wxObject(result, 0);
31907 }
31908 return resultobj;
31909 fail:
31910 return NULL;
31911 }
31912
31913
31914 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31915 PyObject *resultobj = 0;
31916 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31917 SwigValueWrapper<wxVisualAttributes > result;
31918 int val1 ;
31919 int ecode1 = 0 ;
31920 PyObject * obj0 = 0 ;
31921 char * kwnames[] = {
31922 (char *) "variant", NULL
31923 };
31924
31925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
31926 if (obj0) {
31927 ecode1 = SWIG_AsVal_int(obj0, &val1);
31928 if (!SWIG_IsOK(ecode1)) {
31929 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31930 }
31931 arg1 = static_cast< wxWindowVariant >(val1);
31932 }
31933 {
31934 if (!wxPyCheckForApp()) SWIG_fail;
31935 PyThreadState* __tstate = wxPyBeginAllowThreads();
31936 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
31937 wxPyEndAllowThreads(__tstate);
31938 if (PyErr_Occurred()) SWIG_fail;
31939 }
31940 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
31941 return resultobj;
31942 fail:
31943 return NULL;
31944 }
31945
31946
31947 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31948 PyObject *obj;
31949 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31950 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
31951 return SWIG_Py_Void();
31952 }
31953
31954 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31955 return SWIG_Python_InitShadowInstance(args);
31956 }
31957
31958 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31959 PyObject *resultobj = 0;
31960 wxWindow *arg1 = (wxWindow *) 0 ;
31961 int arg2 = (int) -1 ;
31962 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31963 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31964 wxSize const &arg4_defvalue = wxDefaultSize ;
31965 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31966 long arg5 = (long) wxLC_REPORT ;
31967 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31968 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31969 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
31970 wxString *arg7 = (wxString *) &arg7_defvalue ;
31971 wxListView *result = 0 ;
31972 void *argp1 = 0 ;
31973 int res1 = 0 ;
31974 int val2 ;
31975 int ecode2 = 0 ;
31976 wxPoint temp3 ;
31977 wxSize temp4 ;
31978 long val5 ;
31979 int ecode5 = 0 ;
31980 void *argp6 = 0 ;
31981 int res6 = 0 ;
31982 bool temp7 = false ;
31983 PyObject * obj0 = 0 ;
31984 PyObject * obj1 = 0 ;
31985 PyObject * obj2 = 0 ;
31986 PyObject * obj3 = 0 ;
31987 PyObject * obj4 = 0 ;
31988 PyObject * obj5 = 0 ;
31989 PyObject * obj6 = 0 ;
31990 char * kwnames[] = {
31991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31992 };
31993
31994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
31996 if (!SWIG_IsOK(res1)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31998 }
31999 arg1 = reinterpret_cast< wxWindow * >(argp1);
32000 if (obj1) {
32001 ecode2 = SWIG_AsVal_int(obj1, &val2);
32002 if (!SWIG_IsOK(ecode2)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32004 }
32005 arg2 = static_cast< int >(val2);
32006 }
32007 if (obj2) {
32008 {
32009 arg3 = &temp3;
32010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32011 }
32012 }
32013 if (obj3) {
32014 {
32015 arg4 = &temp4;
32016 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32017 }
32018 }
32019 if (obj4) {
32020 ecode5 = SWIG_AsVal_long(obj4, &val5);
32021 if (!SWIG_IsOK(ecode5)) {
32022 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32023 }
32024 arg5 = static_cast< long >(val5);
32025 }
32026 if (obj5) {
32027 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32028 if (!SWIG_IsOK(res6)) {
32029 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32030 }
32031 if (!argp6) {
32032 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32033 }
32034 arg6 = reinterpret_cast< wxValidator * >(argp6);
32035 }
32036 if (obj6) {
32037 {
32038 arg7 = wxString_in_helper(obj6);
32039 if (arg7 == NULL) SWIG_fail;
32040 temp7 = true;
32041 }
32042 }
32043 {
32044 if (!wxPyCheckForApp()) SWIG_fail;
32045 PyThreadState* __tstate = wxPyBeginAllowThreads();
32046 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32047 wxPyEndAllowThreads(__tstate);
32048 if (PyErr_Occurred()) SWIG_fail;
32049 }
32050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32051 {
32052 if (temp7)
32053 delete arg7;
32054 }
32055 return resultobj;
32056 fail:
32057 {
32058 if (temp7)
32059 delete arg7;
32060 }
32061 return NULL;
32062 }
32063
32064
32065 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32066 PyObject *resultobj = 0;
32067 wxListView *result = 0 ;
32068
32069 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32070 {
32071 if (!wxPyCheckForApp()) SWIG_fail;
32072 PyThreadState* __tstate = wxPyBeginAllowThreads();
32073 result = (wxListView *)new wxListView();
32074 wxPyEndAllowThreads(__tstate);
32075 if (PyErr_Occurred()) SWIG_fail;
32076 }
32077 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32078 return resultobj;
32079 fail:
32080 return NULL;
32081 }
32082
32083
32084 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32085 PyObject *resultobj = 0;
32086 wxListView *arg1 = (wxListView *) 0 ;
32087 wxWindow *arg2 = (wxWindow *) 0 ;
32088 int arg3 = (int) -1 ;
32089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32091 wxSize const &arg5_defvalue = wxDefaultSize ;
32092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32093 long arg6 = (long) wxLC_REPORT ;
32094 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32095 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32096 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32097 wxString *arg8 = (wxString *) &arg8_defvalue ;
32098 bool result;
32099 void *argp1 = 0 ;
32100 int res1 = 0 ;
32101 void *argp2 = 0 ;
32102 int res2 = 0 ;
32103 int val3 ;
32104 int ecode3 = 0 ;
32105 wxPoint temp4 ;
32106 wxSize temp5 ;
32107 long val6 ;
32108 int ecode6 = 0 ;
32109 void *argp7 = 0 ;
32110 int res7 = 0 ;
32111 bool temp8 = false ;
32112 PyObject * obj0 = 0 ;
32113 PyObject * obj1 = 0 ;
32114 PyObject * obj2 = 0 ;
32115 PyObject * obj3 = 0 ;
32116 PyObject * obj4 = 0 ;
32117 PyObject * obj5 = 0 ;
32118 PyObject * obj6 = 0 ;
32119 PyObject * obj7 = 0 ;
32120 char * kwnames[] = {
32121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32122 };
32123
32124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32126 if (!SWIG_IsOK(res1)) {
32127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32128 }
32129 arg1 = reinterpret_cast< wxListView * >(argp1);
32130 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32131 if (!SWIG_IsOK(res2)) {
32132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32133 }
32134 arg2 = reinterpret_cast< wxWindow * >(argp2);
32135 if (obj2) {
32136 ecode3 = SWIG_AsVal_int(obj2, &val3);
32137 if (!SWIG_IsOK(ecode3)) {
32138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32139 }
32140 arg3 = static_cast< int >(val3);
32141 }
32142 if (obj3) {
32143 {
32144 arg4 = &temp4;
32145 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32146 }
32147 }
32148 if (obj4) {
32149 {
32150 arg5 = &temp5;
32151 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32152 }
32153 }
32154 if (obj5) {
32155 ecode6 = SWIG_AsVal_long(obj5, &val6);
32156 if (!SWIG_IsOK(ecode6)) {
32157 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32158 }
32159 arg6 = static_cast< long >(val6);
32160 }
32161 if (obj6) {
32162 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32163 if (!SWIG_IsOK(res7)) {
32164 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32165 }
32166 if (!argp7) {
32167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32168 }
32169 arg7 = reinterpret_cast< wxValidator * >(argp7);
32170 }
32171 if (obj7) {
32172 {
32173 arg8 = wxString_in_helper(obj7);
32174 if (arg8 == NULL) SWIG_fail;
32175 temp8 = true;
32176 }
32177 }
32178 {
32179 PyThreadState* __tstate = wxPyBeginAllowThreads();
32180 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32181 wxPyEndAllowThreads(__tstate);
32182 if (PyErr_Occurred()) SWIG_fail;
32183 }
32184 {
32185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32186 }
32187 {
32188 if (temp8)
32189 delete arg8;
32190 }
32191 return resultobj;
32192 fail:
32193 {
32194 if (temp8)
32195 delete arg8;
32196 }
32197 return NULL;
32198 }
32199
32200
32201 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32202 PyObject *resultobj = 0;
32203 wxListView *arg1 = (wxListView *) 0 ;
32204 long arg2 ;
32205 bool arg3 = (bool) true ;
32206 void *argp1 = 0 ;
32207 int res1 = 0 ;
32208 long val2 ;
32209 int ecode2 = 0 ;
32210 bool val3 ;
32211 int ecode3 = 0 ;
32212 PyObject * obj0 = 0 ;
32213 PyObject * obj1 = 0 ;
32214 PyObject * obj2 = 0 ;
32215 char * kwnames[] = {
32216 (char *) "self",(char *) "n",(char *) "on", NULL
32217 };
32218
32219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32221 if (!SWIG_IsOK(res1)) {
32222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32223 }
32224 arg1 = reinterpret_cast< wxListView * >(argp1);
32225 ecode2 = SWIG_AsVal_long(obj1, &val2);
32226 if (!SWIG_IsOK(ecode2)) {
32227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32228 }
32229 arg2 = static_cast< long >(val2);
32230 if (obj2) {
32231 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32232 if (!SWIG_IsOK(ecode3)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32234 }
32235 arg3 = static_cast< bool >(val3);
32236 }
32237 {
32238 PyThreadState* __tstate = wxPyBeginAllowThreads();
32239 (arg1)->Select(arg2,arg3);
32240 wxPyEndAllowThreads(__tstate);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 }
32243 resultobj = SWIG_Py_Void();
32244 return resultobj;
32245 fail:
32246 return NULL;
32247 }
32248
32249
32250 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32251 PyObject *resultobj = 0;
32252 wxListView *arg1 = (wxListView *) 0 ;
32253 long arg2 ;
32254 void *argp1 = 0 ;
32255 int res1 = 0 ;
32256 long val2 ;
32257 int ecode2 = 0 ;
32258 PyObject * obj0 = 0 ;
32259 PyObject * obj1 = 0 ;
32260 char * kwnames[] = {
32261 (char *) "self",(char *) "index", NULL
32262 };
32263
32264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32266 if (!SWIG_IsOK(res1)) {
32267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32268 }
32269 arg1 = reinterpret_cast< wxListView * >(argp1);
32270 ecode2 = SWIG_AsVal_long(obj1, &val2);
32271 if (!SWIG_IsOK(ecode2)) {
32272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32273 }
32274 arg2 = static_cast< long >(val2);
32275 {
32276 PyThreadState* __tstate = wxPyBeginAllowThreads();
32277 (arg1)->Focus(arg2);
32278 wxPyEndAllowThreads(__tstate);
32279 if (PyErr_Occurred()) SWIG_fail;
32280 }
32281 resultobj = SWIG_Py_Void();
32282 return resultobj;
32283 fail:
32284 return NULL;
32285 }
32286
32287
32288 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32289 PyObject *resultobj = 0;
32290 wxListView *arg1 = (wxListView *) 0 ;
32291 long result;
32292 void *argp1 = 0 ;
32293 int res1 = 0 ;
32294 PyObject *swig_obj[1] ;
32295
32296 if (!args) SWIG_fail;
32297 swig_obj[0] = args;
32298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32299 if (!SWIG_IsOK(res1)) {
32300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32301 }
32302 arg1 = reinterpret_cast< wxListView * >(argp1);
32303 {
32304 PyThreadState* __tstate = wxPyBeginAllowThreads();
32305 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32306 wxPyEndAllowThreads(__tstate);
32307 if (PyErr_Occurred()) SWIG_fail;
32308 }
32309 resultobj = SWIG_From_long(static_cast< long >(result));
32310 return resultobj;
32311 fail:
32312 return NULL;
32313 }
32314
32315
32316 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32317 PyObject *resultobj = 0;
32318 wxListView *arg1 = (wxListView *) 0 ;
32319 long arg2 ;
32320 long result;
32321 void *argp1 = 0 ;
32322 int res1 = 0 ;
32323 long val2 ;
32324 int ecode2 = 0 ;
32325 PyObject * obj0 = 0 ;
32326 PyObject * obj1 = 0 ;
32327 char * kwnames[] = {
32328 (char *) "self",(char *) "item", NULL
32329 };
32330
32331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32333 if (!SWIG_IsOK(res1)) {
32334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32335 }
32336 arg1 = reinterpret_cast< wxListView * >(argp1);
32337 ecode2 = SWIG_AsVal_long(obj1, &val2);
32338 if (!SWIG_IsOK(ecode2)) {
32339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32340 }
32341 arg2 = static_cast< long >(val2);
32342 {
32343 PyThreadState* __tstate = wxPyBeginAllowThreads();
32344 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32345 wxPyEndAllowThreads(__tstate);
32346 if (PyErr_Occurred()) SWIG_fail;
32347 }
32348 resultobj = SWIG_From_long(static_cast< long >(result));
32349 return resultobj;
32350 fail:
32351 return NULL;
32352 }
32353
32354
32355 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32356 PyObject *resultobj = 0;
32357 wxListView *arg1 = (wxListView *) 0 ;
32358 long result;
32359 void *argp1 = 0 ;
32360 int res1 = 0 ;
32361 PyObject *swig_obj[1] ;
32362
32363 if (!args) SWIG_fail;
32364 swig_obj[0] = args;
32365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32366 if (!SWIG_IsOK(res1)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32368 }
32369 arg1 = reinterpret_cast< wxListView * >(argp1);
32370 {
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32373 wxPyEndAllowThreads(__tstate);
32374 if (PyErr_Occurred()) SWIG_fail;
32375 }
32376 resultobj = SWIG_From_long(static_cast< long >(result));
32377 return resultobj;
32378 fail:
32379 return NULL;
32380 }
32381
32382
32383 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32384 PyObject *resultobj = 0;
32385 wxListView *arg1 = (wxListView *) 0 ;
32386 long arg2 ;
32387 bool result;
32388 void *argp1 = 0 ;
32389 int res1 = 0 ;
32390 long val2 ;
32391 int ecode2 = 0 ;
32392 PyObject * obj0 = 0 ;
32393 PyObject * obj1 = 0 ;
32394 char * kwnames[] = {
32395 (char *) "self",(char *) "index", NULL
32396 };
32397
32398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32400 if (!SWIG_IsOK(res1)) {
32401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32402 }
32403 arg1 = reinterpret_cast< wxListView * >(argp1);
32404 ecode2 = SWIG_AsVal_long(obj1, &val2);
32405 if (!SWIG_IsOK(ecode2)) {
32406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32407 }
32408 arg2 = static_cast< long >(val2);
32409 {
32410 PyThreadState* __tstate = wxPyBeginAllowThreads();
32411 result = (bool)(arg1)->IsSelected(arg2);
32412 wxPyEndAllowThreads(__tstate);
32413 if (PyErr_Occurred()) SWIG_fail;
32414 }
32415 {
32416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32417 }
32418 return resultobj;
32419 fail:
32420 return NULL;
32421 }
32422
32423
32424 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32425 PyObject *resultobj = 0;
32426 wxListView *arg1 = (wxListView *) 0 ;
32427 int arg2 ;
32428 int arg3 ;
32429 void *argp1 = 0 ;
32430 int res1 = 0 ;
32431 int val2 ;
32432 int ecode2 = 0 ;
32433 int val3 ;
32434 int ecode3 = 0 ;
32435 PyObject * obj0 = 0 ;
32436 PyObject * obj1 = 0 ;
32437 PyObject * obj2 = 0 ;
32438 char * kwnames[] = {
32439 (char *) "self",(char *) "col",(char *) "image", NULL
32440 };
32441
32442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32444 if (!SWIG_IsOK(res1)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32446 }
32447 arg1 = reinterpret_cast< wxListView * >(argp1);
32448 ecode2 = SWIG_AsVal_int(obj1, &val2);
32449 if (!SWIG_IsOK(ecode2)) {
32450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32451 }
32452 arg2 = static_cast< int >(val2);
32453 ecode3 = SWIG_AsVal_int(obj2, &val3);
32454 if (!SWIG_IsOK(ecode3)) {
32455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32456 }
32457 arg3 = static_cast< int >(val3);
32458 {
32459 PyThreadState* __tstate = wxPyBeginAllowThreads();
32460 (arg1)->SetColumnImage(arg2,arg3);
32461 wxPyEndAllowThreads(__tstate);
32462 if (PyErr_Occurred()) SWIG_fail;
32463 }
32464 resultobj = SWIG_Py_Void();
32465 return resultobj;
32466 fail:
32467 return NULL;
32468 }
32469
32470
32471 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32472 PyObject *resultobj = 0;
32473 wxListView *arg1 = (wxListView *) 0 ;
32474 int arg2 ;
32475 void *argp1 = 0 ;
32476 int res1 = 0 ;
32477 int val2 ;
32478 int ecode2 = 0 ;
32479 PyObject * obj0 = 0 ;
32480 PyObject * obj1 = 0 ;
32481 char * kwnames[] = {
32482 (char *) "self",(char *) "col", NULL
32483 };
32484
32485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32487 if (!SWIG_IsOK(res1)) {
32488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32489 }
32490 arg1 = reinterpret_cast< wxListView * >(argp1);
32491 ecode2 = SWIG_AsVal_int(obj1, &val2);
32492 if (!SWIG_IsOK(ecode2)) {
32493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32494 }
32495 arg2 = static_cast< int >(val2);
32496 {
32497 PyThreadState* __tstate = wxPyBeginAllowThreads();
32498 (arg1)->ClearColumnImage(arg2);
32499 wxPyEndAllowThreads(__tstate);
32500 if (PyErr_Occurred()) SWIG_fail;
32501 }
32502 resultobj = SWIG_Py_Void();
32503 return resultobj;
32504 fail:
32505 return NULL;
32506 }
32507
32508
32509 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32510 PyObject *obj;
32511 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32512 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32513 return SWIG_Py_Void();
32514 }
32515
32516 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32517 return SWIG_Python_InitShadowInstance(args);
32518 }
32519
32520 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32521 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32522 return 1;
32523 }
32524
32525
32526 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32527 PyObject *pyobj = 0;
32528
32529 {
32530 #if wxUSE_UNICODE
32531 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32532 #else
32533 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32534 #endif
32535 }
32536 return pyobj;
32537 }
32538
32539
32540 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32541 PyObject *resultobj = 0;
32542 wxTreeItemId *result = 0 ;
32543
32544 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32545 {
32546 PyThreadState* __tstate = wxPyBeginAllowThreads();
32547 result = (wxTreeItemId *)new wxTreeItemId();
32548 wxPyEndAllowThreads(__tstate);
32549 if (PyErr_Occurred()) SWIG_fail;
32550 }
32551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32552 return resultobj;
32553 fail:
32554 return NULL;
32555 }
32556
32557
32558 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32559 PyObject *resultobj = 0;
32560 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32561 void *argp1 = 0 ;
32562 int res1 = 0 ;
32563 PyObject *swig_obj[1] ;
32564
32565 if (!args) SWIG_fail;
32566 swig_obj[0] = args;
32567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32568 if (!SWIG_IsOK(res1)) {
32569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32570 }
32571 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32572 {
32573 PyThreadState* __tstate = wxPyBeginAllowThreads();
32574 delete arg1;
32575
32576 wxPyEndAllowThreads(__tstate);
32577 if (PyErr_Occurred()) SWIG_fail;
32578 }
32579 resultobj = SWIG_Py_Void();
32580 return resultobj;
32581 fail:
32582 return NULL;
32583 }
32584
32585
32586 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32587 PyObject *resultobj = 0;
32588 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32589 bool result;
32590 void *argp1 = 0 ;
32591 int res1 = 0 ;
32592 PyObject *swig_obj[1] ;
32593
32594 if (!args) SWIG_fail;
32595 swig_obj[0] = args;
32596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32597 if (!SWIG_IsOK(res1)) {
32598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32599 }
32600 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32601 {
32602 PyThreadState* __tstate = wxPyBeginAllowThreads();
32603 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32604 wxPyEndAllowThreads(__tstate);
32605 if (PyErr_Occurred()) SWIG_fail;
32606 }
32607 {
32608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32609 }
32610 return resultobj;
32611 fail:
32612 return NULL;
32613 }
32614
32615
32616 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32617 PyObject *resultobj = 0;
32618 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32619 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32620 bool result;
32621 void *argp1 = 0 ;
32622 int res1 = 0 ;
32623 void *argp2 = 0 ;
32624 int res2 = 0 ;
32625 PyObject * obj0 = 0 ;
32626 PyObject * obj1 = 0 ;
32627 char * kwnames[] = {
32628 (char *) "self",(char *) "other", NULL
32629 };
32630
32631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32633 if (!SWIG_IsOK(res1)) {
32634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32635 }
32636 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32638 if (!SWIG_IsOK(res2)) {
32639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32640 }
32641 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32642 {
32643 PyThreadState* __tstate = wxPyBeginAllowThreads();
32644 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32645 wxPyEndAllowThreads(__tstate);
32646 if (PyErr_Occurred()) SWIG_fail;
32647 }
32648 {
32649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32650 }
32651 return resultobj;
32652 fail:
32653 return NULL;
32654 }
32655
32656
32657 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32658 PyObject *resultobj = 0;
32659 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32660 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32661 bool result;
32662 void *argp1 = 0 ;
32663 int res1 = 0 ;
32664 void *argp2 = 0 ;
32665 int res2 = 0 ;
32666 PyObject * obj0 = 0 ;
32667 PyObject * obj1 = 0 ;
32668 char * kwnames[] = {
32669 (char *) "self",(char *) "other", NULL
32670 };
32671
32672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32674 if (!SWIG_IsOK(res1)) {
32675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32676 }
32677 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32678 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32679 if (!SWIG_IsOK(res2)) {
32680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32681 }
32682 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32683 {
32684 PyThreadState* __tstate = wxPyBeginAllowThreads();
32685 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32686 wxPyEndAllowThreads(__tstate);
32687 if (PyErr_Occurred()) SWIG_fail;
32688 }
32689 {
32690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32691 }
32692 return resultobj;
32693 fail:
32694 return NULL;
32695 }
32696
32697
32698 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32699 PyObject *resultobj = 0;
32700 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32701 void *arg2 = (void *) 0 ;
32702 void *argp1 = 0 ;
32703 int res1 = 0 ;
32704 int res2 ;
32705 PyObject *swig_obj[2] ;
32706
32707 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32709 if (!SWIG_IsOK(res1)) {
32710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32711 }
32712 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32713 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32714 if (!SWIG_IsOK(res2)) {
32715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32716 }
32717 if (arg1) (arg1)->m_pItem = arg2;
32718
32719 resultobj = SWIG_Py_Void();
32720 return resultobj;
32721 fail:
32722 return NULL;
32723 }
32724
32725
32726 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32727 PyObject *resultobj = 0;
32728 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32729 void *result = 0 ;
32730 void *argp1 = 0 ;
32731 int res1 = 0 ;
32732 PyObject *swig_obj[1] ;
32733
32734 if (!args) SWIG_fail;
32735 swig_obj[0] = args;
32736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32737 if (!SWIG_IsOK(res1)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32739 }
32740 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32741 result = (void *) ((arg1)->m_pItem);
32742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32743 return resultobj;
32744 fail:
32745 return NULL;
32746 }
32747
32748
32749 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32750 PyObject *obj;
32751 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32752 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32753 return SWIG_Py_Void();
32754 }
32755
32756 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32757 return SWIG_Python_InitShadowInstance(args);
32758 }
32759
32760 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32761 PyObject *resultobj = 0;
32762 PyObject *arg1 = (PyObject *) NULL ;
32763 wxPyTreeItemData *result = 0 ;
32764 PyObject * obj0 = 0 ;
32765 char * kwnames[] = {
32766 (char *) "obj", NULL
32767 };
32768
32769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32770 if (obj0) {
32771 arg1 = obj0;
32772 }
32773 {
32774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32775 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32776 wxPyEndAllowThreads(__tstate);
32777 if (PyErr_Occurred()) SWIG_fail;
32778 }
32779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32780 return resultobj;
32781 fail:
32782 return NULL;
32783 }
32784
32785
32786 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32787 PyObject *resultobj = 0;
32788 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32789 void *argp1 = 0 ;
32790 int res1 = 0 ;
32791 PyObject *swig_obj[1] ;
32792
32793 if (!args) SWIG_fail;
32794 swig_obj[0] = args;
32795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32796 if (!SWIG_IsOK(res1)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32798 }
32799 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32800 {
32801 PyThreadState* __tstate = wxPyBeginAllowThreads();
32802 delete arg1;
32803
32804 wxPyEndAllowThreads(__tstate);
32805 if (PyErr_Occurred()) SWIG_fail;
32806 }
32807 resultobj = SWIG_Py_Void();
32808 return resultobj;
32809 fail:
32810 return NULL;
32811 }
32812
32813
32814 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32815 PyObject *resultobj = 0;
32816 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32817 PyObject *result = 0 ;
32818 void *argp1 = 0 ;
32819 int res1 = 0 ;
32820 PyObject *swig_obj[1] ;
32821
32822 if (!args) SWIG_fail;
32823 swig_obj[0] = args;
32824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32825 if (!SWIG_IsOK(res1)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32827 }
32828 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32829 {
32830 PyThreadState* __tstate = wxPyBeginAllowThreads();
32831 result = (PyObject *)(arg1)->GetData();
32832 wxPyEndAllowThreads(__tstate);
32833 if (PyErr_Occurred()) SWIG_fail;
32834 }
32835 resultobj = result;
32836 return resultobj;
32837 fail:
32838 return NULL;
32839 }
32840
32841
32842 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32843 PyObject *resultobj = 0;
32844 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32845 PyObject *arg2 = (PyObject *) 0 ;
32846 void *argp1 = 0 ;
32847 int res1 = 0 ;
32848 PyObject * obj0 = 0 ;
32849 PyObject * obj1 = 0 ;
32850 char * kwnames[] = {
32851 (char *) "self",(char *) "obj", NULL
32852 };
32853
32854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32856 if (!SWIG_IsOK(res1)) {
32857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32858 }
32859 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32860 arg2 = obj1;
32861 {
32862 PyThreadState* __tstate = wxPyBeginAllowThreads();
32863 (arg1)->SetData(arg2);
32864 wxPyEndAllowThreads(__tstate);
32865 if (PyErr_Occurred()) SWIG_fail;
32866 }
32867 resultobj = SWIG_Py_Void();
32868 return resultobj;
32869 fail:
32870 return NULL;
32871 }
32872
32873
32874 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32875 PyObject *resultobj = 0;
32876 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32877 wxTreeItemId *result = 0 ;
32878 void *argp1 = 0 ;
32879 int res1 = 0 ;
32880 PyObject *swig_obj[1] ;
32881
32882 if (!args) SWIG_fail;
32883 swig_obj[0] = args;
32884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32885 if (!SWIG_IsOK(res1)) {
32886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32887 }
32888 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32889 {
32890 PyThreadState* __tstate = wxPyBeginAllowThreads();
32891 {
32892 wxTreeItemId const &_result_ref = (arg1)->GetId();
32893 result = (wxTreeItemId *) &_result_ref;
32894 }
32895 wxPyEndAllowThreads(__tstate);
32896 if (PyErr_Occurred()) SWIG_fail;
32897 }
32898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32899 return resultobj;
32900 fail:
32901 return NULL;
32902 }
32903
32904
32905 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32906 PyObject *resultobj = 0;
32907 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32908 wxTreeItemId *arg2 = 0 ;
32909 void *argp1 = 0 ;
32910 int res1 = 0 ;
32911 void *argp2 = 0 ;
32912 int res2 = 0 ;
32913 PyObject * obj0 = 0 ;
32914 PyObject * obj1 = 0 ;
32915 char * kwnames[] = {
32916 (char *) "self",(char *) "id", NULL
32917 };
32918
32919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
32920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32921 if (!SWIG_IsOK(res1)) {
32922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32923 }
32924 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32926 if (!SWIG_IsOK(res2)) {
32927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32928 }
32929 if (!argp2) {
32930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32931 }
32932 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32933 {
32934 PyThreadState* __tstate = wxPyBeginAllowThreads();
32935 (arg1)->SetId((wxTreeItemId const &)*arg2);
32936 wxPyEndAllowThreads(__tstate);
32937 if (PyErr_Occurred()) SWIG_fail;
32938 }
32939 resultobj = SWIG_Py_Void();
32940 return resultobj;
32941 fail:
32942 return NULL;
32943 }
32944
32945
32946 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32947 PyObject *resultobj = 0;
32948 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32949 void *argp1 = 0 ;
32950 int res1 = 0 ;
32951 PyObject *swig_obj[1] ;
32952
32953 if (!args) SWIG_fail;
32954 swig_obj[0] = args;
32955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32956 if (!SWIG_IsOK(res1)) {
32957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32958 }
32959 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32960 {
32961 PyThreadState* __tstate = wxPyBeginAllowThreads();
32962 wxPyTreeItemData_Destroy(arg1);
32963 wxPyEndAllowThreads(__tstate);
32964 if (PyErr_Occurred()) SWIG_fail;
32965 }
32966 resultobj = SWIG_Py_Void();
32967 return resultobj;
32968 fail:
32969 return NULL;
32970 }
32971
32972
32973 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32974 PyObject *obj;
32975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
32977 return SWIG_Py_Void();
32978 }
32979
32980 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32981 return SWIG_Python_InitShadowInstance(args);
32982 }
32983
32984 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
32985 {
32986 void *argp = 0;
32987 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32988 if (!SWIG_IsOK(res)) {
32989 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32990 }
32991 if (!argp) {
32992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
32993 } else {
32994 wxTreeItemId * temp;
32995 temp = reinterpret_cast< wxTreeItemId * >(argp);
32996 wxNullTreeItemId = *temp;
32997 if (SWIG_IsNewObj(res)) delete temp;
32998 }
32999 }
33000 return 0;
33001 fail:
33002 return 1;
33003 }
33004
33005
33006 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33007 PyObject *pyobj = 0;
33008
33009 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33010 return pyobj;
33011 }
33012
33013
33014 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33015 PyObject *resultobj = 0;
33016 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33017 int arg2 = (int) 0 ;
33018 wxTreeEvent *result = 0 ;
33019 int val1 ;
33020 int ecode1 = 0 ;
33021 int val2 ;
33022 int ecode2 = 0 ;
33023
33024 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33025 if (swig_obj[0]) {
33026 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33027 if (!SWIG_IsOK(ecode1)) {
33028 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33029 }
33030 arg1 = static_cast< wxEventType >(val1);
33031 }
33032 if (swig_obj[1]) {
33033 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33034 if (!SWIG_IsOK(ecode2)) {
33035 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33036 }
33037 arg2 = static_cast< int >(val2);
33038 }
33039 {
33040 PyThreadState* __tstate = wxPyBeginAllowThreads();
33041 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33042 wxPyEndAllowThreads(__tstate);
33043 if (PyErr_Occurred()) SWIG_fail;
33044 }
33045 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33046 return resultobj;
33047 fail:
33048 return NULL;
33049 }
33050
33051
33052 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33053 PyObject *resultobj = 0;
33054 wxEventType arg1 ;
33055 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33056 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33057 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33058 wxTreeEvent *result = 0 ;
33059 int val1 ;
33060 int ecode1 = 0 ;
33061 void *argp2 = 0 ;
33062 int res2 = 0 ;
33063 void *argp3 = 0 ;
33064 int res3 = 0 ;
33065
33066 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33067 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33068 if (!SWIG_IsOK(ecode1)) {
33069 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33070 }
33071 arg1 = static_cast< wxEventType >(val1);
33072 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33073 if (!SWIG_IsOK(res2)) {
33074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33075 }
33076 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33077 if (swig_obj[2]) {
33078 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33079 if (!SWIG_IsOK(res3)) {
33080 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33081 }
33082 if (!argp3) {
33083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33084 }
33085 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33086 }
33087 {
33088 PyThreadState* __tstate = wxPyBeginAllowThreads();
33089 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33090 wxPyEndAllowThreads(__tstate);
33091 if (PyErr_Occurred()) SWIG_fail;
33092 }
33093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33094 return resultobj;
33095 fail:
33096 return NULL;
33097 }
33098
33099
33100 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33101 int argc;
33102 PyObject *argv[4];
33103
33104 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33105 --argc;
33106 if ((argc >= 0) && (argc <= 2)) {
33107 int _v = 0;
33108 if (argc > 1) {
33109 {
33110 {
33111 int res = SWIG_AsVal_int(argv[1], NULL);
33112 _v = SWIG_CheckState(res);
33113 }
33114 }
33115 if (!_v) goto check_1;
33116 }
33117 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33118 }
33119 check_1:
33120
33121 if ((argc >= 2) && (argc <= 3)) {
33122 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33123 }
33124
33125 fail:
33126 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33127 return NULL;
33128 }
33129
33130
33131 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33132 PyObject *resultobj = 0;
33133 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33134 wxTreeItemId result;
33135 void *argp1 = 0 ;
33136 int res1 = 0 ;
33137 PyObject *swig_obj[1] ;
33138
33139 if (!args) SWIG_fail;
33140 swig_obj[0] = args;
33141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33142 if (!SWIG_IsOK(res1)) {
33143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33144 }
33145 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33146 {
33147 PyThreadState* __tstate = wxPyBeginAllowThreads();
33148 result = ((wxTreeEvent const *)arg1)->GetItem();
33149 wxPyEndAllowThreads(__tstate);
33150 if (PyErr_Occurred()) SWIG_fail;
33151 }
33152 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33153 return resultobj;
33154 fail:
33155 return NULL;
33156 }
33157
33158
33159 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33160 PyObject *resultobj = 0;
33161 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33162 wxTreeItemId *arg2 = 0 ;
33163 void *argp1 = 0 ;
33164 int res1 = 0 ;
33165 void *argp2 = 0 ;
33166 int res2 = 0 ;
33167 PyObject * obj0 = 0 ;
33168 PyObject * obj1 = 0 ;
33169 char * kwnames[] = {
33170 (char *) "self",(char *) "item", NULL
33171 };
33172
33173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33175 if (!SWIG_IsOK(res1)) {
33176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33177 }
33178 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33179 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33180 if (!SWIG_IsOK(res2)) {
33181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33182 }
33183 if (!argp2) {
33184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33185 }
33186 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33187 {
33188 PyThreadState* __tstate = wxPyBeginAllowThreads();
33189 (arg1)->SetItem((wxTreeItemId const &)*arg2);
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 *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33201 PyObject *resultobj = 0;
33202 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33203 wxTreeItemId result;
33204 void *argp1 = 0 ;
33205 int res1 = 0 ;
33206 PyObject *swig_obj[1] ;
33207
33208 if (!args) SWIG_fail;
33209 swig_obj[0] = args;
33210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33211 if (!SWIG_IsOK(res1)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33213 }
33214 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33215 {
33216 PyThreadState* __tstate = wxPyBeginAllowThreads();
33217 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33218 wxPyEndAllowThreads(__tstate);
33219 if (PyErr_Occurred()) SWIG_fail;
33220 }
33221 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33222 return resultobj;
33223 fail:
33224 return NULL;
33225 }
33226
33227
33228 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33229 PyObject *resultobj = 0;
33230 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33231 wxTreeItemId *arg2 = 0 ;
33232 void *argp1 = 0 ;
33233 int res1 = 0 ;
33234 void *argp2 = 0 ;
33235 int res2 = 0 ;
33236 PyObject * obj0 = 0 ;
33237 PyObject * obj1 = 0 ;
33238 char * kwnames[] = {
33239 (char *) "self",(char *) "item", NULL
33240 };
33241
33242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33244 if (!SWIG_IsOK(res1)) {
33245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33246 }
33247 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33249 if (!SWIG_IsOK(res2)) {
33250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33251 }
33252 if (!argp2) {
33253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33254 }
33255 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33256 {
33257 PyThreadState* __tstate = wxPyBeginAllowThreads();
33258 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33259 wxPyEndAllowThreads(__tstate);
33260 if (PyErr_Occurred()) SWIG_fail;
33261 }
33262 resultobj = SWIG_Py_Void();
33263 return resultobj;
33264 fail:
33265 return NULL;
33266 }
33267
33268
33269 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33270 PyObject *resultobj = 0;
33271 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33272 wxPoint result;
33273 void *argp1 = 0 ;
33274 int res1 = 0 ;
33275 PyObject *swig_obj[1] ;
33276
33277 if (!args) SWIG_fail;
33278 swig_obj[0] = args;
33279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33280 if (!SWIG_IsOK(res1)) {
33281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33282 }
33283 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33284 {
33285 PyThreadState* __tstate = wxPyBeginAllowThreads();
33286 result = ((wxTreeEvent const *)arg1)->GetPoint();
33287 wxPyEndAllowThreads(__tstate);
33288 if (PyErr_Occurred()) SWIG_fail;
33289 }
33290 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33291 return resultobj;
33292 fail:
33293 return NULL;
33294 }
33295
33296
33297 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33298 PyObject *resultobj = 0;
33299 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33300 wxPoint *arg2 = 0 ;
33301 void *argp1 = 0 ;
33302 int res1 = 0 ;
33303 wxPoint temp2 ;
33304 PyObject * obj0 = 0 ;
33305 PyObject * obj1 = 0 ;
33306 char * kwnames[] = {
33307 (char *) "self",(char *) "pt", NULL
33308 };
33309
33310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33312 if (!SWIG_IsOK(res1)) {
33313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33314 }
33315 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33316 {
33317 arg2 = &temp2;
33318 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33319 }
33320 {
33321 PyThreadState* __tstate = wxPyBeginAllowThreads();
33322 (arg1)->SetPoint((wxPoint const &)*arg2);
33323 wxPyEndAllowThreads(__tstate);
33324 if (PyErr_Occurred()) SWIG_fail;
33325 }
33326 resultobj = SWIG_Py_Void();
33327 return resultobj;
33328 fail:
33329 return NULL;
33330 }
33331
33332
33333 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33334 PyObject *resultobj = 0;
33335 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33336 wxKeyEvent *result = 0 ;
33337 void *argp1 = 0 ;
33338 int res1 = 0 ;
33339 PyObject *swig_obj[1] ;
33340
33341 if (!args) SWIG_fail;
33342 swig_obj[0] = args;
33343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33344 if (!SWIG_IsOK(res1)) {
33345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33346 }
33347 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33348 {
33349 PyThreadState* __tstate = wxPyBeginAllowThreads();
33350 {
33351 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33352 result = (wxKeyEvent *) &_result_ref;
33353 }
33354 wxPyEndAllowThreads(__tstate);
33355 if (PyErr_Occurred()) SWIG_fail;
33356 }
33357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33358 return resultobj;
33359 fail:
33360 return NULL;
33361 }
33362
33363
33364 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33365 PyObject *resultobj = 0;
33366 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33367 int result;
33368 void *argp1 = 0 ;
33369 int res1 = 0 ;
33370 PyObject *swig_obj[1] ;
33371
33372 if (!args) SWIG_fail;
33373 swig_obj[0] = args;
33374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33375 if (!SWIG_IsOK(res1)) {
33376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33377 }
33378 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33382 wxPyEndAllowThreads(__tstate);
33383 if (PyErr_Occurred()) SWIG_fail;
33384 }
33385 resultobj = SWIG_From_int(static_cast< int >(result));
33386 return resultobj;
33387 fail:
33388 return NULL;
33389 }
33390
33391
33392 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33393 PyObject *resultobj = 0;
33394 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33395 wxKeyEvent *arg2 = 0 ;
33396 void *argp1 = 0 ;
33397 int res1 = 0 ;
33398 void *argp2 = 0 ;
33399 int res2 = 0 ;
33400 PyObject * obj0 = 0 ;
33401 PyObject * obj1 = 0 ;
33402 char * kwnames[] = {
33403 (char *) "self",(char *) "evt", NULL
33404 };
33405
33406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33408 if (!SWIG_IsOK(res1)) {
33409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33410 }
33411 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33412 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33413 if (!SWIG_IsOK(res2)) {
33414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33415 }
33416 if (!argp2) {
33417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33418 }
33419 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33420 {
33421 PyThreadState* __tstate = wxPyBeginAllowThreads();
33422 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33423 wxPyEndAllowThreads(__tstate);
33424 if (PyErr_Occurred()) SWIG_fail;
33425 }
33426 resultobj = SWIG_Py_Void();
33427 return resultobj;
33428 fail:
33429 return NULL;
33430 }
33431
33432
33433 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33434 PyObject *resultobj = 0;
33435 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33436 wxString *result = 0 ;
33437 void *argp1 = 0 ;
33438 int res1 = 0 ;
33439 PyObject *swig_obj[1] ;
33440
33441 if (!args) SWIG_fail;
33442 swig_obj[0] = args;
33443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33444 if (!SWIG_IsOK(res1)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33446 }
33447 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33448 {
33449 PyThreadState* __tstate = wxPyBeginAllowThreads();
33450 {
33451 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33452 result = (wxString *) &_result_ref;
33453 }
33454 wxPyEndAllowThreads(__tstate);
33455 if (PyErr_Occurred()) SWIG_fail;
33456 }
33457 {
33458 #if wxUSE_UNICODE
33459 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33460 #else
33461 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33462 #endif
33463 }
33464 return resultobj;
33465 fail:
33466 return NULL;
33467 }
33468
33469
33470 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33471 PyObject *resultobj = 0;
33472 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33473 wxString *arg2 = 0 ;
33474 void *argp1 = 0 ;
33475 int res1 = 0 ;
33476 bool temp2 = false ;
33477 PyObject * obj0 = 0 ;
33478 PyObject * obj1 = 0 ;
33479 char * kwnames[] = {
33480 (char *) "self",(char *) "label", NULL
33481 };
33482
33483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33485 if (!SWIG_IsOK(res1)) {
33486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33487 }
33488 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33489 {
33490 arg2 = wxString_in_helper(obj1);
33491 if (arg2 == NULL) SWIG_fail;
33492 temp2 = true;
33493 }
33494 {
33495 PyThreadState* __tstate = wxPyBeginAllowThreads();
33496 (arg1)->SetLabel((wxString const &)*arg2);
33497 wxPyEndAllowThreads(__tstate);
33498 if (PyErr_Occurred()) SWIG_fail;
33499 }
33500 resultobj = SWIG_Py_Void();
33501 {
33502 if (temp2)
33503 delete arg2;
33504 }
33505 return resultobj;
33506 fail:
33507 {
33508 if (temp2)
33509 delete arg2;
33510 }
33511 return NULL;
33512 }
33513
33514
33515 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33516 PyObject *resultobj = 0;
33517 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33518 bool result;
33519 void *argp1 = 0 ;
33520 int res1 = 0 ;
33521 PyObject *swig_obj[1] ;
33522
33523 if (!args) SWIG_fail;
33524 swig_obj[0] = args;
33525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33526 if (!SWIG_IsOK(res1)) {
33527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33528 }
33529 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33530 {
33531 PyThreadState* __tstate = wxPyBeginAllowThreads();
33532 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33533 wxPyEndAllowThreads(__tstate);
33534 if (PyErr_Occurred()) SWIG_fail;
33535 }
33536 {
33537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33538 }
33539 return resultobj;
33540 fail:
33541 return NULL;
33542 }
33543
33544
33545 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33546 PyObject *resultobj = 0;
33547 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33548 bool arg2 ;
33549 void *argp1 = 0 ;
33550 int res1 = 0 ;
33551 bool val2 ;
33552 int ecode2 = 0 ;
33553 PyObject * obj0 = 0 ;
33554 PyObject * obj1 = 0 ;
33555 char * kwnames[] = {
33556 (char *) "self",(char *) "editCancelled", NULL
33557 };
33558
33559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33561 if (!SWIG_IsOK(res1)) {
33562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33563 }
33564 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33565 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33566 if (!SWIG_IsOK(ecode2)) {
33567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33568 }
33569 arg2 = static_cast< bool >(val2);
33570 {
33571 PyThreadState* __tstate = wxPyBeginAllowThreads();
33572 (arg1)->SetEditCanceled(arg2);
33573 wxPyEndAllowThreads(__tstate);
33574 if (PyErr_Occurred()) SWIG_fail;
33575 }
33576 resultobj = SWIG_Py_Void();
33577 return resultobj;
33578 fail:
33579 return NULL;
33580 }
33581
33582
33583 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33584 PyObject *resultobj = 0;
33585 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33586 wxString *arg2 = 0 ;
33587 void *argp1 = 0 ;
33588 int res1 = 0 ;
33589 bool temp2 = false ;
33590 PyObject * obj0 = 0 ;
33591 PyObject * obj1 = 0 ;
33592 char * kwnames[] = {
33593 (char *) "self",(char *) "toolTip", NULL
33594 };
33595
33596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33598 if (!SWIG_IsOK(res1)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33600 }
33601 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33602 {
33603 arg2 = wxString_in_helper(obj1);
33604 if (arg2 == NULL) SWIG_fail;
33605 temp2 = true;
33606 }
33607 {
33608 PyThreadState* __tstate = wxPyBeginAllowThreads();
33609 (arg1)->SetToolTip((wxString const &)*arg2);
33610 wxPyEndAllowThreads(__tstate);
33611 if (PyErr_Occurred()) SWIG_fail;
33612 }
33613 resultobj = SWIG_Py_Void();
33614 {
33615 if (temp2)
33616 delete arg2;
33617 }
33618 return resultobj;
33619 fail:
33620 {
33621 if (temp2)
33622 delete arg2;
33623 }
33624 return NULL;
33625 }
33626
33627
33628 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33629 PyObject *resultobj = 0;
33630 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33631 wxString result;
33632 void *argp1 = 0 ;
33633 int res1 = 0 ;
33634 PyObject *swig_obj[1] ;
33635
33636 if (!args) SWIG_fail;
33637 swig_obj[0] = args;
33638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33639 if (!SWIG_IsOK(res1)) {
33640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33641 }
33642 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33643 {
33644 PyThreadState* __tstate = wxPyBeginAllowThreads();
33645 result = (arg1)->GetToolTip();
33646 wxPyEndAllowThreads(__tstate);
33647 if (PyErr_Occurred()) SWIG_fail;
33648 }
33649 {
33650 #if wxUSE_UNICODE
33651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33652 #else
33653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33654 #endif
33655 }
33656 return resultobj;
33657 fail:
33658 return NULL;
33659 }
33660
33661
33662 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33663 PyObject *obj;
33664 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33665 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33666 return SWIG_Py_Void();
33667 }
33668
33669 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33670 return SWIG_Python_InitShadowInstance(args);
33671 }
33672
33673 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33674 PyObject *resultobj = 0;
33675 wxWindow *arg1 = (wxWindow *) 0 ;
33676 int arg2 = (int) -1 ;
33677 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33678 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33679 wxSize const &arg4_defvalue = wxDefaultSize ;
33680 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33681 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33682 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33683 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33684 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33685 wxString *arg7 = (wxString *) &arg7_defvalue ;
33686 wxPyTreeCtrl *result = 0 ;
33687 void *argp1 = 0 ;
33688 int res1 = 0 ;
33689 int val2 ;
33690 int ecode2 = 0 ;
33691 wxPoint temp3 ;
33692 wxSize temp4 ;
33693 long val5 ;
33694 int ecode5 = 0 ;
33695 void *argp6 = 0 ;
33696 int res6 = 0 ;
33697 bool temp7 = false ;
33698 PyObject * obj0 = 0 ;
33699 PyObject * obj1 = 0 ;
33700 PyObject * obj2 = 0 ;
33701 PyObject * obj3 = 0 ;
33702 PyObject * obj4 = 0 ;
33703 PyObject * obj5 = 0 ;
33704 PyObject * obj6 = 0 ;
33705 char * kwnames[] = {
33706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33707 };
33708
33709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33711 if (!SWIG_IsOK(res1)) {
33712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33713 }
33714 arg1 = reinterpret_cast< wxWindow * >(argp1);
33715 if (obj1) {
33716 ecode2 = SWIG_AsVal_int(obj1, &val2);
33717 if (!SWIG_IsOK(ecode2)) {
33718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33719 }
33720 arg2 = static_cast< int >(val2);
33721 }
33722 if (obj2) {
33723 {
33724 arg3 = &temp3;
33725 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33726 }
33727 }
33728 if (obj3) {
33729 {
33730 arg4 = &temp4;
33731 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33732 }
33733 }
33734 if (obj4) {
33735 ecode5 = SWIG_AsVal_long(obj4, &val5);
33736 if (!SWIG_IsOK(ecode5)) {
33737 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33738 }
33739 arg5 = static_cast< long >(val5);
33740 }
33741 if (obj5) {
33742 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33743 if (!SWIG_IsOK(res6)) {
33744 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33745 }
33746 if (!argp6) {
33747 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33748 }
33749 arg6 = reinterpret_cast< wxValidator * >(argp6);
33750 }
33751 if (obj6) {
33752 {
33753 arg7 = wxString_in_helper(obj6);
33754 if (arg7 == NULL) SWIG_fail;
33755 temp7 = true;
33756 }
33757 }
33758 {
33759 if (!wxPyCheckForApp()) SWIG_fail;
33760 PyThreadState* __tstate = wxPyBeginAllowThreads();
33761 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33762 wxPyEndAllowThreads(__tstate);
33763 if (PyErr_Occurred()) SWIG_fail;
33764 }
33765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33766 {
33767 if (temp7)
33768 delete arg7;
33769 }
33770 return resultobj;
33771 fail:
33772 {
33773 if (temp7)
33774 delete arg7;
33775 }
33776 return NULL;
33777 }
33778
33779
33780 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33781 PyObject *resultobj = 0;
33782 wxPyTreeCtrl *result = 0 ;
33783
33784 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33785 {
33786 if (!wxPyCheckForApp()) SWIG_fail;
33787 PyThreadState* __tstate = wxPyBeginAllowThreads();
33788 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33793 return resultobj;
33794 fail:
33795 return NULL;
33796 }
33797
33798
33799 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33800 PyObject *resultobj = 0;
33801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33802 wxWindow *arg2 = (wxWindow *) 0 ;
33803 int arg3 = (int) -1 ;
33804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33806 wxSize const &arg5_defvalue = wxDefaultSize ;
33807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33808 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33809 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33810 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33811 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33812 wxString *arg8 = (wxString *) &arg8_defvalue ;
33813 bool result;
33814 void *argp1 = 0 ;
33815 int res1 = 0 ;
33816 void *argp2 = 0 ;
33817 int res2 = 0 ;
33818 int val3 ;
33819 int ecode3 = 0 ;
33820 wxPoint temp4 ;
33821 wxSize temp5 ;
33822 long val6 ;
33823 int ecode6 = 0 ;
33824 void *argp7 = 0 ;
33825 int res7 = 0 ;
33826 bool temp8 = false ;
33827 PyObject * obj0 = 0 ;
33828 PyObject * obj1 = 0 ;
33829 PyObject * obj2 = 0 ;
33830 PyObject * obj3 = 0 ;
33831 PyObject * obj4 = 0 ;
33832 PyObject * obj5 = 0 ;
33833 PyObject * obj6 = 0 ;
33834 PyObject * obj7 = 0 ;
33835 char * kwnames[] = {
33836 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33837 };
33838
33839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33841 if (!SWIG_IsOK(res1)) {
33842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33843 }
33844 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33845 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33846 if (!SWIG_IsOK(res2)) {
33847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33848 }
33849 arg2 = reinterpret_cast< wxWindow * >(argp2);
33850 if (obj2) {
33851 ecode3 = SWIG_AsVal_int(obj2, &val3);
33852 if (!SWIG_IsOK(ecode3)) {
33853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33854 }
33855 arg3 = static_cast< int >(val3);
33856 }
33857 if (obj3) {
33858 {
33859 arg4 = &temp4;
33860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33861 }
33862 }
33863 if (obj4) {
33864 {
33865 arg5 = &temp5;
33866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33867 }
33868 }
33869 if (obj5) {
33870 ecode6 = SWIG_AsVal_long(obj5, &val6);
33871 if (!SWIG_IsOK(ecode6)) {
33872 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33873 }
33874 arg6 = static_cast< long >(val6);
33875 }
33876 if (obj6) {
33877 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33878 if (!SWIG_IsOK(res7)) {
33879 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33880 }
33881 if (!argp7) {
33882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33883 }
33884 arg7 = reinterpret_cast< wxValidator * >(argp7);
33885 }
33886 if (obj7) {
33887 {
33888 arg8 = wxString_in_helper(obj7);
33889 if (arg8 == NULL) SWIG_fail;
33890 temp8 = true;
33891 }
33892 }
33893 {
33894 PyThreadState* __tstate = wxPyBeginAllowThreads();
33895 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33896 wxPyEndAllowThreads(__tstate);
33897 if (PyErr_Occurred()) SWIG_fail;
33898 }
33899 {
33900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33901 }
33902 {
33903 if (temp8)
33904 delete arg8;
33905 }
33906 return resultobj;
33907 fail:
33908 {
33909 if (temp8)
33910 delete arg8;
33911 }
33912 return NULL;
33913 }
33914
33915
33916 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33917 PyObject *resultobj = 0;
33918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33919 PyObject *arg2 = (PyObject *) 0 ;
33920 PyObject *arg3 = (PyObject *) 0 ;
33921 void *argp1 = 0 ;
33922 int res1 = 0 ;
33923 PyObject * obj0 = 0 ;
33924 PyObject * obj1 = 0 ;
33925 PyObject * obj2 = 0 ;
33926 char * kwnames[] = {
33927 (char *) "self",(char *) "self",(char *) "_class", NULL
33928 };
33929
33930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33932 if (!SWIG_IsOK(res1)) {
33933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33934 }
33935 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33936 arg2 = obj1;
33937 arg3 = obj2;
33938 {
33939 PyThreadState* __tstate = wxPyBeginAllowThreads();
33940 (arg1)->_setCallbackInfo(arg2,arg3);
33941 wxPyEndAllowThreads(__tstate);
33942 if (PyErr_Occurred()) SWIG_fail;
33943 }
33944 resultobj = SWIG_Py_Void();
33945 return resultobj;
33946 fail:
33947 return NULL;
33948 }
33949
33950
33951 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33952 PyObject *resultobj = 0;
33953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33954 unsigned int result;
33955 void *argp1 = 0 ;
33956 int res1 = 0 ;
33957 PyObject *swig_obj[1] ;
33958
33959 if (!args) SWIG_fail;
33960 swig_obj[0] = args;
33961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33962 if (!SWIG_IsOK(res1)) {
33963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33964 }
33965 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33966 {
33967 PyThreadState* __tstate = wxPyBeginAllowThreads();
33968 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
33969 wxPyEndAllowThreads(__tstate);
33970 if (PyErr_Occurred()) SWIG_fail;
33971 }
33972 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33973 return resultobj;
33974 fail:
33975 return NULL;
33976 }
33977
33978
33979 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33980 PyObject *resultobj = 0;
33981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33982 unsigned int result;
33983 void *argp1 = 0 ;
33984 int res1 = 0 ;
33985 PyObject *swig_obj[1] ;
33986
33987 if (!args) SWIG_fail;
33988 swig_obj[0] = args;
33989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33990 if (!SWIG_IsOK(res1)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33992 }
33993 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33994 {
33995 PyThreadState* __tstate = wxPyBeginAllowThreads();
33996 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
33997 wxPyEndAllowThreads(__tstate);
33998 if (PyErr_Occurred()) SWIG_fail;
33999 }
34000 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34001 return resultobj;
34002 fail:
34003 return NULL;
34004 }
34005
34006
34007 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34008 PyObject *resultobj = 0;
34009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34010 unsigned int arg2 ;
34011 void *argp1 = 0 ;
34012 int res1 = 0 ;
34013 unsigned int val2 ;
34014 int ecode2 = 0 ;
34015 PyObject * obj0 = 0 ;
34016 PyObject * obj1 = 0 ;
34017 char * kwnames[] = {
34018 (char *) "self",(char *) "indent", NULL
34019 };
34020
34021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34023 if (!SWIG_IsOK(res1)) {
34024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34025 }
34026 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34027 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34028 if (!SWIG_IsOK(ecode2)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34030 }
34031 arg2 = static_cast< unsigned int >(val2);
34032 {
34033 PyThreadState* __tstate = wxPyBeginAllowThreads();
34034 (arg1)->SetIndent(arg2);
34035 wxPyEndAllowThreads(__tstate);
34036 if (PyErr_Occurred()) SWIG_fail;
34037 }
34038 resultobj = SWIG_Py_Void();
34039 return resultobj;
34040 fail:
34041 return NULL;
34042 }
34043
34044
34045 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34046 PyObject *resultobj = 0;
34047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34048 unsigned int result;
34049 void *argp1 = 0 ;
34050 int res1 = 0 ;
34051 PyObject *swig_obj[1] ;
34052
34053 if (!args) SWIG_fail;
34054 swig_obj[0] = args;
34055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34056 if (!SWIG_IsOK(res1)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34058 }
34059 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34060 {
34061 PyThreadState* __tstate = wxPyBeginAllowThreads();
34062 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34063 wxPyEndAllowThreads(__tstate);
34064 if (PyErr_Occurred()) SWIG_fail;
34065 }
34066 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34067 return resultobj;
34068 fail:
34069 return NULL;
34070 }
34071
34072
34073 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34074 PyObject *resultobj = 0;
34075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34076 unsigned int arg2 ;
34077 void *argp1 = 0 ;
34078 int res1 = 0 ;
34079 unsigned int val2 ;
34080 int ecode2 = 0 ;
34081 PyObject * obj0 = 0 ;
34082 PyObject * obj1 = 0 ;
34083 char * kwnames[] = {
34084 (char *) "self",(char *) "spacing", NULL
34085 };
34086
34087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34089 if (!SWIG_IsOK(res1)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34091 }
34092 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34093 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34094 if (!SWIG_IsOK(ecode2)) {
34095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34096 }
34097 arg2 = static_cast< unsigned int >(val2);
34098 {
34099 PyThreadState* __tstate = wxPyBeginAllowThreads();
34100 (arg1)->SetSpacing(arg2);
34101 wxPyEndAllowThreads(__tstate);
34102 if (PyErr_Occurred()) SWIG_fail;
34103 }
34104 resultobj = SWIG_Py_Void();
34105 return resultobj;
34106 fail:
34107 return NULL;
34108 }
34109
34110
34111 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34112 PyObject *resultobj = 0;
34113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34114 wxImageList *result = 0 ;
34115 void *argp1 = 0 ;
34116 int res1 = 0 ;
34117 PyObject *swig_obj[1] ;
34118
34119 if (!args) SWIG_fail;
34120 swig_obj[0] = args;
34121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34122 if (!SWIG_IsOK(res1)) {
34123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34124 }
34125 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34126 {
34127 PyThreadState* __tstate = wxPyBeginAllowThreads();
34128 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34129 wxPyEndAllowThreads(__tstate);
34130 if (PyErr_Occurred()) SWIG_fail;
34131 }
34132 {
34133 resultobj = wxPyMake_wxObject(result, (bool)0);
34134 }
34135 return resultobj;
34136 fail:
34137 return NULL;
34138 }
34139
34140
34141 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34142 PyObject *resultobj = 0;
34143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34144 wxImageList *result = 0 ;
34145 void *argp1 = 0 ;
34146 int res1 = 0 ;
34147 PyObject *swig_obj[1] ;
34148
34149 if (!args) SWIG_fail;
34150 swig_obj[0] = args;
34151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34152 if (!SWIG_IsOK(res1)) {
34153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34154 }
34155 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34156 {
34157 PyThreadState* __tstate = wxPyBeginAllowThreads();
34158 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34159 wxPyEndAllowThreads(__tstate);
34160 if (PyErr_Occurred()) SWIG_fail;
34161 }
34162 {
34163 resultobj = wxPyMake_wxObject(result, (bool)0);
34164 }
34165 return resultobj;
34166 fail:
34167 return NULL;
34168 }
34169
34170
34171 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34172 PyObject *resultobj = 0;
34173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34174 wxImageList *arg2 = (wxImageList *) 0 ;
34175 void *argp1 = 0 ;
34176 int res1 = 0 ;
34177 void *argp2 = 0 ;
34178 int res2 = 0 ;
34179 PyObject * obj0 = 0 ;
34180 PyObject * obj1 = 0 ;
34181 char * kwnames[] = {
34182 (char *) "self",(char *) "imageList", NULL
34183 };
34184
34185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34187 if (!SWIG_IsOK(res1)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34189 }
34190 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34192 if (!SWIG_IsOK(res2)) {
34193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34194 }
34195 arg2 = reinterpret_cast< wxImageList * >(argp2);
34196 {
34197 PyThreadState* __tstate = wxPyBeginAllowThreads();
34198 (arg1)->SetImageList(arg2);
34199 wxPyEndAllowThreads(__tstate);
34200 if (PyErr_Occurred()) SWIG_fail;
34201 }
34202 resultobj = SWIG_Py_Void();
34203 return resultobj;
34204 fail:
34205 return NULL;
34206 }
34207
34208
34209 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34210 PyObject *resultobj = 0;
34211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34212 wxImageList *arg2 = (wxImageList *) 0 ;
34213 void *argp1 = 0 ;
34214 int res1 = 0 ;
34215 void *argp2 = 0 ;
34216 int res2 = 0 ;
34217 PyObject * obj0 = 0 ;
34218 PyObject * obj1 = 0 ;
34219 char * kwnames[] = {
34220 (char *) "self",(char *) "imageList", NULL
34221 };
34222
34223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34225 if (!SWIG_IsOK(res1)) {
34226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34227 }
34228 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34230 if (!SWIG_IsOK(res2)) {
34231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34232 }
34233 arg2 = reinterpret_cast< wxImageList * >(argp2);
34234 {
34235 PyThreadState* __tstate = wxPyBeginAllowThreads();
34236 (arg1)->SetStateImageList(arg2);
34237 wxPyEndAllowThreads(__tstate);
34238 if (PyErr_Occurred()) SWIG_fail;
34239 }
34240 resultobj = SWIG_Py_Void();
34241 return resultobj;
34242 fail:
34243 return NULL;
34244 }
34245
34246
34247 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34248 PyObject *resultobj = 0;
34249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34250 wxImageList *arg2 = (wxImageList *) 0 ;
34251 void *argp1 = 0 ;
34252 int res1 = 0 ;
34253 int res2 = 0 ;
34254 PyObject * obj0 = 0 ;
34255 PyObject * obj1 = 0 ;
34256 char * kwnames[] = {
34257 (char *) "self",(char *) "imageList", NULL
34258 };
34259
34260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34262 if (!SWIG_IsOK(res1)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34264 }
34265 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34266 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34267 if (!SWIG_IsOK(res2)) {
34268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34269 }
34270 {
34271 PyThreadState* __tstate = wxPyBeginAllowThreads();
34272 (arg1)->AssignImageList(arg2);
34273 wxPyEndAllowThreads(__tstate);
34274 if (PyErr_Occurred()) SWIG_fail;
34275 }
34276 resultobj = SWIG_Py_Void();
34277 return resultobj;
34278 fail:
34279 return NULL;
34280 }
34281
34282
34283 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34284 PyObject *resultobj = 0;
34285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34286 wxImageList *arg2 = (wxImageList *) 0 ;
34287 void *argp1 = 0 ;
34288 int res1 = 0 ;
34289 int res2 = 0 ;
34290 PyObject * obj0 = 0 ;
34291 PyObject * obj1 = 0 ;
34292 char * kwnames[] = {
34293 (char *) "self",(char *) "imageList", NULL
34294 };
34295
34296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34298 if (!SWIG_IsOK(res1)) {
34299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34300 }
34301 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34302 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34303 if (!SWIG_IsOK(res2)) {
34304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34305 }
34306 {
34307 PyThreadState* __tstate = wxPyBeginAllowThreads();
34308 (arg1)->AssignStateImageList(arg2);
34309 wxPyEndAllowThreads(__tstate);
34310 if (PyErr_Occurred()) SWIG_fail;
34311 }
34312 resultobj = SWIG_Py_Void();
34313 return resultobj;
34314 fail:
34315 return NULL;
34316 }
34317
34318
34319 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34320 PyObject *resultobj = 0;
34321 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34322 wxTreeItemId *arg2 = 0 ;
34323 wxString result;
34324 void *argp1 = 0 ;
34325 int res1 = 0 ;
34326 void *argp2 = 0 ;
34327 int res2 = 0 ;
34328 PyObject * obj0 = 0 ;
34329 PyObject * obj1 = 0 ;
34330 char * kwnames[] = {
34331 (char *) "self",(char *) "item", NULL
34332 };
34333
34334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34336 if (!SWIG_IsOK(res1)) {
34337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34338 }
34339 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34341 if (!SWIG_IsOK(res2)) {
34342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34343 }
34344 if (!argp2) {
34345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34346 }
34347 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34348 {
34349 PyThreadState* __tstate = wxPyBeginAllowThreads();
34350 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34351 wxPyEndAllowThreads(__tstate);
34352 if (PyErr_Occurred()) SWIG_fail;
34353 }
34354 {
34355 #if wxUSE_UNICODE
34356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34357 #else
34358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34359 #endif
34360 }
34361 return resultobj;
34362 fail:
34363 return NULL;
34364 }
34365
34366
34367 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34368 PyObject *resultobj = 0;
34369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34370 wxTreeItemId *arg2 = 0 ;
34371 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34372 int result;
34373 void *argp1 = 0 ;
34374 int res1 = 0 ;
34375 void *argp2 = 0 ;
34376 int res2 = 0 ;
34377 int val3 ;
34378 int ecode3 = 0 ;
34379 PyObject * obj0 = 0 ;
34380 PyObject * obj1 = 0 ;
34381 PyObject * obj2 = 0 ;
34382 char * kwnames[] = {
34383 (char *) "self",(char *) "item",(char *) "which", NULL
34384 };
34385
34386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34388 if (!SWIG_IsOK(res1)) {
34389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34390 }
34391 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34393 if (!SWIG_IsOK(res2)) {
34394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34395 }
34396 if (!argp2) {
34397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34398 }
34399 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34400 if (obj2) {
34401 ecode3 = SWIG_AsVal_int(obj2, &val3);
34402 if (!SWIG_IsOK(ecode3)) {
34403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34404 }
34405 arg3 = static_cast< wxTreeItemIcon >(val3);
34406 }
34407 {
34408 PyThreadState* __tstate = wxPyBeginAllowThreads();
34409 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34410 wxPyEndAllowThreads(__tstate);
34411 if (PyErr_Occurred()) SWIG_fail;
34412 }
34413 resultobj = SWIG_From_int(static_cast< int >(result));
34414 return resultobj;
34415 fail:
34416 return NULL;
34417 }
34418
34419
34420 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34421 PyObject *resultobj = 0;
34422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34423 wxTreeItemId *arg2 = 0 ;
34424 wxPyTreeItemData *result = 0 ;
34425 void *argp1 = 0 ;
34426 int res1 = 0 ;
34427 void *argp2 = 0 ;
34428 int res2 = 0 ;
34429 PyObject * obj0 = 0 ;
34430 PyObject * obj1 = 0 ;
34431 char * kwnames[] = {
34432 (char *) "self",(char *) "item", NULL
34433 };
34434
34435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34437 if (!SWIG_IsOK(res1)) {
34438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34439 }
34440 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34441 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34442 if (!SWIG_IsOK(res2)) {
34443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34444 }
34445 if (!argp2) {
34446 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34447 }
34448 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34449 {
34450 PyThreadState* __tstate = wxPyBeginAllowThreads();
34451 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34452 wxPyEndAllowThreads(__tstate);
34453 if (PyErr_Occurred()) SWIG_fail;
34454 }
34455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34456 return resultobj;
34457 fail:
34458 return NULL;
34459 }
34460
34461
34462 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34463 PyObject *resultobj = 0;
34464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34465 wxTreeItemId *arg2 = 0 ;
34466 PyObject *result = 0 ;
34467 void *argp1 = 0 ;
34468 int res1 = 0 ;
34469 void *argp2 = 0 ;
34470 int res2 = 0 ;
34471 PyObject * obj0 = 0 ;
34472 PyObject * obj1 = 0 ;
34473 char * kwnames[] = {
34474 (char *) "self",(char *) "item", NULL
34475 };
34476
34477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34479 if (!SWIG_IsOK(res1)) {
34480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34481 }
34482 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34483 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34484 if (!SWIG_IsOK(res2)) {
34485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34486 }
34487 if (!argp2) {
34488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34489 }
34490 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34491 {
34492 PyThreadState* __tstate = wxPyBeginAllowThreads();
34493 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34494 wxPyEndAllowThreads(__tstate);
34495 if (PyErr_Occurred()) SWIG_fail;
34496 }
34497 resultobj = result;
34498 return resultobj;
34499 fail:
34500 return NULL;
34501 }
34502
34503
34504 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34505 PyObject *resultobj = 0;
34506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34507 wxTreeItemId *arg2 = 0 ;
34508 wxColour result;
34509 void *argp1 = 0 ;
34510 int res1 = 0 ;
34511 void *argp2 = 0 ;
34512 int res2 = 0 ;
34513 PyObject * obj0 = 0 ;
34514 PyObject * obj1 = 0 ;
34515 char * kwnames[] = {
34516 (char *) "self",(char *) "item", NULL
34517 };
34518
34519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34521 if (!SWIG_IsOK(res1)) {
34522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34523 }
34524 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34526 if (!SWIG_IsOK(res2)) {
34527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34528 }
34529 if (!argp2) {
34530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34531 }
34532 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34533 {
34534 PyThreadState* __tstate = wxPyBeginAllowThreads();
34535 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34536 wxPyEndAllowThreads(__tstate);
34537 if (PyErr_Occurred()) SWIG_fail;
34538 }
34539 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34540 return resultobj;
34541 fail:
34542 return NULL;
34543 }
34544
34545
34546 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34547 PyObject *resultobj = 0;
34548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34549 wxTreeItemId *arg2 = 0 ;
34550 wxColour 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_GetItemBackgroundColour",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_GetItemBackgroundColour" "', 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_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34570 }
34571 if (!argp2) {
34572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34573 }
34574 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34575 {
34576 PyThreadState* __tstate = wxPyBeginAllowThreads();
34577 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34578 wxPyEndAllowThreads(__tstate);
34579 if (PyErr_Occurred()) SWIG_fail;
34580 }
34581 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34582 return resultobj;
34583 fail:
34584 return NULL;
34585 }
34586
34587
34588 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34589 PyObject *resultobj = 0;
34590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34591 wxTreeItemId *arg2 = 0 ;
34592 wxFont result;
34593 void *argp1 = 0 ;
34594 int res1 = 0 ;
34595 void *argp2 = 0 ;
34596 int res2 = 0 ;
34597 PyObject * obj0 = 0 ;
34598 PyObject * obj1 = 0 ;
34599 char * kwnames[] = {
34600 (char *) "self",(char *) "item", NULL
34601 };
34602
34603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34605 if (!SWIG_IsOK(res1)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34607 }
34608 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34610 if (!SWIG_IsOK(res2)) {
34611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34612 }
34613 if (!argp2) {
34614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34615 }
34616 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34617 {
34618 PyThreadState* __tstate = wxPyBeginAllowThreads();
34619 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34620 wxPyEndAllowThreads(__tstate);
34621 if (PyErr_Occurred()) SWIG_fail;
34622 }
34623 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34624 return resultobj;
34625 fail:
34626 return NULL;
34627 }
34628
34629
34630 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34631 PyObject *resultobj = 0;
34632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34633 wxTreeItemId *arg2 = 0 ;
34634 wxString *arg3 = 0 ;
34635 void *argp1 = 0 ;
34636 int res1 = 0 ;
34637 void *argp2 = 0 ;
34638 int res2 = 0 ;
34639 bool temp3 = false ;
34640 PyObject * obj0 = 0 ;
34641 PyObject * obj1 = 0 ;
34642 PyObject * obj2 = 0 ;
34643 char * kwnames[] = {
34644 (char *) "self",(char *) "item",(char *) "text", NULL
34645 };
34646
34647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34649 if (!SWIG_IsOK(res1)) {
34650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34651 }
34652 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34654 if (!SWIG_IsOK(res2)) {
34655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34656 }
34657 if (!argp2) {
34658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 }
34660 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34661 {
34662 arg3 = wxString_in_helper(obj2);
34663 if (arg3 == NULL) SWIG_fail;
34664 temp3 = true;
34665 }
34666 {
34667 PyThreadState* __tstate = wxPyBeginAllowThreads();
34668 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34669 wxPyEndAllowThreads(__tstate);
34670 if (PyErr_Occurred()) SWIG_fail;
34671 }
34672 resultobj = SWIG_Py_Void();
34673 {
34674 if (temp3)
34675 delete arg3;
34676 }
34677 return resultobj;
34678 fail:
34679 {
34680 if (temp3)
34681 delete arg3;
34682 }
34683 return NULL;
34684 }
34685
34686
34687 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34688 PyObject *resultobj = 0;
34689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34690 wxTreeItemId *arg2 = 0 ;
34691 int arg3 ;
34692 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34693 void *argp1 = 0 ;
34694 int res1 = 0 ;
34695 void *argp2 = 0 ;
34696 int res2 = 0 ;
34697 int val3 ;
34698 int ecode3 = 0 ;
34699 int val4 ;
34700 int ecode4 = 0 ;
34701 PyObject * obj0 = 0 ;
34702 PyObject * obj1 = 0 ;
34703 PyObject * obj2 = 0 ;
34704 PyObject * obj3 = 0 ;
34705 char * kwnames[] = {
34706 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34707 };
34708
34709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34711 if (!SWIG_IsOK(res1)) {
34712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34713 }
34714 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34716 if (!SWIG_IsOK(res2)) {
34717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34718 }
34719 if (!argp2) {
34720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34721 }
34722 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34723 ecode3 = SWIG_AsVal_int(obj2, &val3);
34724 if (!SWIG_IsOK(ecode3)) {
34725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34726 }
34727 arg3 = static_cast< int >(val3);
34728 if (obj3) {
34729 ecode4 = SWIG_AsVal_int(obj3, &val4);
34730 if (!SWIG_IsOK(ecode4)) {
34731 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34732 }
34733 arg4 = static_cast< wxTreeItemIcon >(val4);
34734 }
34735 {
34736 PyThreadState* __tstate = wxPyBeginAllowThreads();
34737 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34738 wxPyEndAllowThreads(__tstate);
34739 if (PyErr_Occurred()) SWIG_fail;
34740 }
34741 resultobj = SWIG_Py_Void();
34742 return resultobj;
34743 fail:
34744 return NULL;
34745 }
34746
34747
34748 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34749 PyObject *resultobj = 0;
34750 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34751 wxTreeItemId *arg2 = 0 ;
34752 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34753 void *argp1 = 0 ;
34754 int res1 = 0 ;
34755 void *argp2 = 0 ;
34756 int res2 = 0 ;
34757 int res3 = 0 ;
34758 PyObject * obj0 = 0 ;
34759 PyObject * obj1 = 0 ;
34760 PyObject * obj2 = 0 ;
34761 char * kwnames[] = {
34762 (char *) "self",(char *) "item",(char *) "data", NULL
34763 };
34764
34765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34767 if (!SWIG_IsOK(res1)) {
34768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34769 }
34770 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34772 if (!SWIG_IsOK(res2)) {
34773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34774 }
34775 if (!argp2) {
34776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34777 }
34778 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34779 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34780 if (!SWIG_IsOK(res3)) {
34781 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34782 }
34783 {
34784 PyThreadState* __tstate = wxPyBeginAllowThreads();
34785 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34786 wxPyEndAllowThreads(__tstate);
34787 if (PyErr_Occurred()) SWIG_fail;
34788 }
34789 resultobj = SWIG_Py_Void();
34790 return resultobj;
34791 fail:
34792 return NULL;
34793 }
34794
34795
34796 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34797 PyObject *resultobj = 0;
34798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34799 wxTreeItemId *arg2 = 0 ;
34800 PyObject *arg3 = (PyObject *) 0 ;
34801 void *argp1 = 0 ;
34802 int res1 = 0 ;
34803 void *argp2 = 0 ;
34804 int res2 = 0 ;
34805 PyObject * obj0 = 0 ;
34806 PyObject * obj1 = 0 ;
34807 PyObject * obj2 = 0 ;
34808 char * kwnames[] = {
34809 (char *) "self",(char *) "item",(char *) "obj", NULL
34810 };
34811
34812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34814 if (!SWIG_IsOK(res1)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34816 }
34817 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34818 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34819 if (!SWIG_IsOK(res2)) {
34820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34821 }
34822 if (!argp2) {
34823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34824 }
34825 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34826 arg3 = obj2;
34827 {
34828 PyThreadState* __tstate = wxPyBeginAllowThreads();
34829 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34830 wxPyEndAllowThreads(__tstate);
34831 if (PyErr_Occurred()) SWIG_fail;
34832 }
34833 resultobj = SWIG_Py_Void();
34834 return resultobj;
34835 fail:
34836 return NULL;
34837 }
34838
34839
34840 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34841 PyObject *resultobj = 0;
34842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34843 wxTreeItemId *arg2 = 0 ;
34844 bool arg3 = (bool) true ;
34845 void *argp1 = 0 ;
34846 int res1 = 0 ;
34847 void *argp2 = 0 ;
34848 int res2 = 0 ;
34849 bool val3 ;
34850 int ecode3 = 0 ;
34851 PyObject * obj0 = 0 ;
34852 PyObject * obj1 = 0 ;
34853 PyObject * obj2 = 0 ;
34854 char * kwnames[] = {
34855 (char *) "self",(char *) "item",(char *) "has", NULL
34856 };
34857
34858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34860 if (!SWIG_IsOK(res1)) {
34861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34862 }
34863 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34865 if (!SWIG_IsOK(res2)) {
34866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34867 }
34868 if (!argp2) {
34869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34870 }
34871 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34872 if (obj2) {
34873 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34874 if (!SWIG_IsOK(ecode3)) {
34875 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34876 }
34877 arg3 = static_cast< bool >(val3);
34878 }
34879 {
34880 PyThreadState* __tstate = wxPyBeginAllowThreads();
34881 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34882 wxPyEndAllowThreads(__tstate);
34883 if (PyErr_Occurred()) SWIG_fail;
34884 }
34885 resultobj = SWIG_Py_Void();
34886 return resultobj;
34887 fail:
34888 return NULL;
34889 }
34890
34891
34892 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34893 PyObject *resultobj = 0;
34894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34895 wxTreeItemId *arg2 = 0 ;
34896 bool arg3 = (bool) true ;
34897 void *argp1 = 0 ;
34898 int res1 = 0 ;
34899 void *argp2 = 0 ;
34900 int res2 = 0 ;
34901 bool val3 ;
34902 int ecode3 = 0 ;
34903 PyObject * obj0 = 0 ;
34904 PyObject * obj1 = 0 ;
34905 PyObject * obj2 = 0 ;
34906 char * kwnames[] = {
34907 (char *) "self",(char *) "item",(char *) "bold", NULL
34908 };
34909
34910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34912 if (!SWIG_IsOK(res1)) {
34913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34914 }
34915 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34916 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34917 if (!SWIG_IsOK(res2)) {
34918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34919 }
34920 if (!argp2) {
34921 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34922 }
34923 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34924 if (obj2) {
34925 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34926 if (!SWIG_IsOK(ecode3)) {
34927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34928 }
34929 arg3 = static_cast< bool >(val3);
34930 }
34931 {
34932 PyThreadState* __tstate = wxPyBeginAllowThreads();
34933 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
34934 wxPyEndAllowThreads(__tstate);
34935 if (PyErr_Occurred()) SWIG_fail;
34936 }
34937 resultobj = SWIG_Py_Void();
34938 return resultobj;
34939 fail:
34940 return NULL;
34941 }
34942
34943
34944 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34945 PyObject *resultobj = 0;
34946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34947 wxTreeItemId *arg2 = 0 ;
34948 bool arg3 = (bool) true ;
34949 void *argp1 = 0 ;
34950 int res1 = 0 ;
34951 void *argp2 = 0 ;
34952 int res2 = 0 ;
34953 bool val3 ;
34954 int ecode3 = 0 ;
34955 PyObject * obj0 = 0 ;
34956 PyObject * obj1 = 0 ;
34957 PyObject * obj2 = 0 ;
34958 char * kwnames[] = {
34959 (char *) "self",(char *) "item",(char *) "highlight", NULL
34960 };
34961
34962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34964 if (!SWIG_IsOK(res1)) {
34965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34966 }
34967 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34968 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34969 if (!SWIG_IsOK(res2)) {
34970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 }
34972 if (!argp2) {
34973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34974 }
34975 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34976 if (obj2) {
34977 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34978 if (!SWIG_IsOK(ecode3)) {
34979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34980 }
34981 arg3 = static_cast< bool >(val3);
34982 }
34983 {
34984 PyThreadState* __tstate = wxPyBeginAllowThreads();
34985 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
34986 wxPyEndAllowThreads(__tstate);
34987 if (PyErr_Occurred()) SWIG_fail;
34988 }
34989 resultobj = SWIG_Py_Void();
34990 return resultobj;
34991 fail:
34992 return NULL;
34993 }
34994
34995
34996 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34997 PyObject *resultobj = 0;
34998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34999 wxTreeItemId *arg2 = 0 ;
35000 wxColour *arg3 = 0 ;
35001 void *argp1 = 0 ;
35002 int res1 = 0 ;
35003 void *argp2 = 0 ;
35004 int res2 = 0 ;
35005 wxColour temp3 ;
35006 PyObject * obj0 = 0 ;
35007 PyObject * obj1 = 0 ;
35008 PyObject * obj2 = 0 ;
35009 char * kwnames[] = {
35010 (char *) "self",(char *) "item",(char *) "col", NULL
35011 };
35012
35013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35015 if (!SWIG_IsOK(res1)) {
35016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35017 }
35018 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35019 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35020 if (!SWIG_IsOK(res2)) {
35021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35022 }
35023 if (!argp2) {
35024 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35025 }
35026 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35027 {
35028 arg3 = &temp3;
35029 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35030 }
35031 {
35032 PyThreadState* __tstate = wxPyBeginAllowThreads();
35033 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35034 wxPyEndAllowThreads(__tstate);
35035 if (PyErr_Occurred()) SWIG_fail;
35036 }
35037 resultobj = SWIG_Py_Void();
35038 return resultobj;
35039 fail:
35040 return NULL;
35041 }
35042
35043
35044 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35045 PyObject *resultobj = 0;
35046 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35047 wxTreeItemId *arg2 = 0 ;
35048 wxColour *arg3 = 0 ;
35049 void *argp1 = 0 ;
35050 int res1 = 0 ;
35051 void *argp2 = 0 ;
35052 int res2 = 0 ;
35053 wxColour temp3 ;
35054 PyObject * obj0 = 0 ;
35055 PyObject * obj1 = 0 ;
35056 PyObject * obj2 = 0 ;
35057 char * kwnames[] = {
35058 (char *) "self",(char *) "item",(char *) "col", NULL
35059 };
35060
35061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35063 if (!SWIG_IsOK(res1)) {
35064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35065 }
35066 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35068 if (!SWIG_IsOK(res2)) {
35069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35070 }
35071 if (!argp2) {
35072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35073 }
35074 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35075 {
35076 arg3 = &temp3;
35077 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35078 }
35079 {
35080 PyThreadState* __tstate = wxPyBeginAllowThreads();
35081 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35082 wxPyEndAllowThreads(__tstate);
35083 if (PyErr_Occurred()) SWIG_fail;
35084 }
35085 resultobj = SWIG_Py_Void();
35086 return resultobj;
35087 fail:
35088 return NULL;
35089 }
35090
35091
35092 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35093 PyObject *resultobj = 0;
35094 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35095 wxTreeItemId *arg2 = 0 ;
35096 wxFont *arg3 = 0 ;
35097 void *argp1 = 0 ;
35098 int res1 = 0 ;
35099 void *argp2 = 0 ;
35100 int res2 = 0 ;
35101 void *argp3 = 0 ;
35102 int res3 = 0 ;
35103 PyObject * obj0 = 0 ;
35104 PyObject * obj1 = 0 ;
35105 PyObject * obj2 = 0 ;
35106 char * kwnames[] = {
35107 (char *) "self",(char *) "item",(char *) "font", NULL
35108 };
35109
35110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35112 if (!SWIG_IsOK(res1)) {
35113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35114 }
35115 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35116 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35117 if (!SWIG_IsOK(res2)) {
35118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35119 }
35120 if (!argp2) {
35121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35122 }
35123 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35124 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35125 if (!SWIG_IsOK(res3)) {
35126 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35127 }
35128 if (!argp3) {
35129 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35130 }
35131 arg3 = reinterpret_cast< wxFont * >(argp3);
35132 {
35133 PyThreadState* __tstate = wxPyBeginAllowThreads();
35134 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35135 wxPyEndAllowThreads(__tstate);
35136 if (PyErr_Occurred()) SWIG_fail;
35137 }
35138 resultobj = SWIG_Py_Void();
35139 return resultobj;
35140 fail:
35141 return NULL;
35142 }
35143
35144
35145 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35146 PyObject *resultobj = 0;
35147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35148 wxTreeItemId *arg2 = 0 ;
35149 bool result;
35150 void *argp1 = 0 ;
35151 int res1 = 0 ;
35152 void *argp2 = 0 ;
35153 int res2 = 0 ;
35154 PyObject * obj0 = 0 ;
35155 PyObject * obj1 = 0 ;
35156 char * kwnames[] = {
35157 (char *) "self",(char *) "item", NULL
35158 };
35159
35160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35162 if (!SWIG_IsOK(res1)) {
35163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35164 }
35165 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35167 if (!SWIG_IsOK(res2)) {
35168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35169 }
35170 if (!argp2) {
35171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35172 }
35173 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35174 {
35175 PyThreadState* __tstate = wxPyBeginAllowThreads();
35176 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35177 wxPyEndAllowThreads(__tstate);
35178 if (PyErr_Occurred()) SWIG_fail;
35179 }
35180 {
35181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35182 }
35183 return resultobj;
35184 fail:
35185 return NULL;
35186 }
35187
35188
35189 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35190 PyObject *resultobj = 0;
35191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35192 wxTreeItemId *arg2 = 0 ;
35193 bool result;
35194 void *argp1 = 0 ;
35195 int res1 = 0 ;
35196 void *argp2 = 0 ;
35197 int res2 = 0 ;
35198 PyObject * obj0 = 0 ;
35199 PyObject * obj1 = 0 ;
35200 char * kwnames[] = {
35201 (char *) "self",(char *) "item", NULL
35202 };
35203
35204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35206 if (!SWIG_IsOK(res1)) {
35207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35208 }
35209 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35211 if (!SWIG_IsOK(res2)) {
35212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35213 }
35214 if (!argp2) {
35215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35216 }
35217 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35218 {
35219 PyThreadState* __tstate = wxPyBeginAllowThreads();
35220 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35221 wxPyEndAllowThreads(__tstate);
35222 if (PyErr_Occurred()) SWIG_fail;
35223 }
35224 {
35225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35226 }
35227 return resultobj;
35228 fail:
35229 return NULL;
35230 }
35231
35232
35233 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35234 PyObject *resultobj = 0;
35235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35236 wxTreeItemId *arg2 = 0 ;
35237 bool result;
35238 void *argp1 = 0 ;
35239 int res1 = 0 ;
35240 void *argp2 = 0 ;
35241 int res2 = 0 ;
35242 PyObject * obj0 = 0 ;
35243 PyObject * obj1 = 0 ;
35244 char * kwnames[] = {
35245 (char *) "self",(char *) "item", NULL
35246 };
35247
35248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35250 if (!SWIG_IsOK(res1)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35252 }
35253 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35254 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35255 if (!SWIG_IsOK(res2)) {
35256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35257 }
35258 if (!argp2) {
35259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35260 }
35261 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35262 {
35263 PyThreadState* __tstate = wxPyBeginAllowThreads();
35264 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35265 wxPyEndAllowThreads(__tstate);
35266 if (PyErr_Occurred()) SWIG_fail;
35267 }
35268 {
35269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35270 }
35271 return resultobj;
35272 fail:
35273 return NULL;
35274 }
35275
35276
35277 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35278 PyObject *resultobj = 0;
35279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35280 wxTreeItemId *arg2 = 0 ;
35281 bool result;
35282 void *argp1 = 0 ;
35283 int res1 = 0 ;
35284 void *argp2 = 0 ;
35285 int res2 = 0 ;
35286 PyObject * obj0 = 0 ;
35287 PyObject * obj1 = 0 ;
35288 char * kwnames[] = {
35289 (char *) "self",(char *) "item", NULL
35290 };
35291
35292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35294 if (!SWIG_IsOK(res1)) {
35295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35296 }
35297 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35298 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35299 if (!SWIG_IsOK(res2)) {
35300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35301 }
35302 if (!argp2) {
35303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35304 }
35305 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35306 {
35307 PyThreadState* __tstate = wxPyBeginAllowThreads();
35308 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35309 wxPyEndAllowThreads(__tstate);
35310 if (PyErr_Occurred()) SWIG_fail;
35311 }
35312 {
35313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35314 }
35315 return resultobj;
35316 fail:
35317 return NULL;
35318 }
35319
35320
35321 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35322 PyObject *resultobj = 0;
35323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35324 wxTreeItemId *arg2 = 0 ;
35325 bool result;
35326 void *argp1 = 0 ;
35327 int res1 = 0 ;
35328 void *argp2 = 0 ;
35329 int res2 = 0 ;
35330 PyObject * obj0 = 0 ;
35331 PyObject * obj1 = 0 ;
35332 char * kwnames[] = {
35333 (char *) "self",(char *) "item", NULL
35334 };
35335
35336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35338 if (!SWIG_IsOK(res1)) {
35339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35340 }
35341 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35342 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35343 if (!SWIG_IsOK(res2)) {
35344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35345 }
35346 if (!argp2) {
35347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35348 }
35349 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35350 {
35351 PyThreadState* __tstate = wxPyBeginAllowThreads();
35352 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35353 wxPyEndAllowThreads(__tstate);
35354 if (PyErr_Occurred()) SWIG_fail;
35355 }
35356 {
35357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35358 }
35359 return resultobj;
35360 fail:
35361 return NULL;
35362 }
35363
35364
35365 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35366 PyObject *resultobj = 0;
35367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35368 wxTreeItemId *arg2 = 0 ;
35369 bool arg3 = (bool) true ;
35370 size_t result;
35371 void *argp1 = 0 ;
35372 int res1 = 0 ;
35373 void *argp2 = 0 ;
35374 int res2 = 0 ;
35375 bool val3 ;
35376 int ecode3 = 0 ;
35377 PyObject * obj0 = 0 ;
35378 PyObject * obj1 = 0 ;
35379 PyObject * obj2 = 0 ;
35380 char * kwnames[] = {
35381 (char *) "self",(char *) "item",(char *) "recursively", NULL
35382 };
35383
35384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35386 if (!SWIG_IsOK(res1)) {
35387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35388 }
35389 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35390 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35391 if (!SWIG_IsOK(res2)) {
35392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35393 }
35394 if (!argp2) {
35395 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35396 }
35397 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35398 if (obj2) {
35399 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35400 if (!SWIG_IsOK(ecode3)) {
35401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35402 }
35403 arg3 = static_cast< bool >(val3);
35404 }
35405 {
35406 PyThreadState* __tstate = wxPyBeginAllowThreads();
35407 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35408 wxPyEndAllowThreads(__tstate);
35409 if (PyErr_Occurred()) SWIG_fail;
35410 }
35411 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35412 return resultobj;
35413 fail:
35414 return NULL;
35415 }
35416
35417
35418 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35419 PyObject *resultobj = 0;
35420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35421 wxTreeItemId result;
35422 void *argp1 = 0 ;
35423 int res1 = 0 ;
35424 PyObject *swig_obj[1] ;
35425
35426 if (!args) SWIG_fail;
35427 swig_obj[0] = args;
35428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35429 if (!SWIG_IsOK(res1)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35431 }
35432 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35433 {
35434 PyThreadState* __tstate = wxPyBeginAllowThreads();
35435 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35436 wxPyEndAllowThreads(__tstate);
35437 if (PyErr_Occurred()) SWIG_fail;
35438 }
35439 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35440 return resultobj;
35441 fail:
35442 return NULL;
35443 }
35444
35445
35446 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35447 PyObject *resultobj = 0;
35448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35449 wxTreeItemId result;
35450 void *argp1 = 0 ;
35451 int res1 = 0 ;
35452 PyObject *swig_obj[1] ;
35453
35454 if (!args) SWIG_fail;
35455 swig_obj[0] = args;
35456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35457 if (!SWIG_IsOK(res1)) {
35458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35459 }
35460 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35461 {
35462 PyThreadState* __tstate = wxPyBeginAllowThreads();
35463 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35464 wxPyEndAllowThreads(__tstate);
35465 if (PyErr_Occurred()) SWIG_fail;
35466 }
35467 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35468 return resultobj;
35469 fail:
35470 return NULL;
35471 }
35472
35473
35474 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35475 PyObject *resultobj = 0;
35476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35477 PyObject *result = 0 ;
35478 void *argp1 = 0 ;
35479 int res1 = 0 ;
35480 PyObject *swig_obj[1] ;
35481
35482 if (!args) SWIG_fail;
35483 swig_obj[0] = args;
35484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35485 if (!SWIG_IsOK(res1)) {
35486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35487 }
35488 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35489 {
35490 PyThreadState* __tstate = wxPyBeginAllowThreads();
35491 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35492 wxPyEndAllowThreads(__tstate);
35493 if (PyErr_Occurred()) SWIG_fail;
35494 }
35495 resultobj = result;
35496 return resultobj;
35497 fail:
35498 return NULL;
35499 }
35500
35501
35502 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35503 PyObject *resultobj = 0;
35504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35505 wxTreeItemId *arg2 = 0 ;
35506 wxTreeItemId result;
35507 void *argp1 = 0 ;
35508 int res1 = 0 ;
35509 void *argp2 = 0 ;
35510 int res2 = 0 ;
35511 PyObject * obj0 = 0 ;
35512 PyObject * obj1 = 0 ;
35513 char * kwnames[] = {
35514 (char *) "self",(char *) "item", NULL
35515 };
35516
35517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35519 if (!SWIG_IsOK(res1)) {
35520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35521 }
35522 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35523 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35524 if (!SWIG_IsOK(res2)) {
35525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35526 }
35527 if (!argp2) {
35528 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35529 }
35530 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35531 {
35532 PyThreadState* __tstate = wxPyBeginAllowThreads();
35533 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35534 wxPyEndAllowThreads(__tstate);
35535 if (PyErr_Occurred()) SWIG_fail;
35536 }
35537 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35538 return resultobj;
35539 fail:
35540 return NULL;
35541 }
35542
35543
35544 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35545 PyObject *resultobj = 0;
35546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35547 wxTreeItemId *arg2 = 0 ;
35548 PyObject *result = 0 ;
35549 void *argp1 = 0 ;
35550 int res1 = 0 ;
35551 void *argp2 = 0 ;
35552 int res2 = 0 ;
35553 PyObject * obj0 = 0 ;
35554 PyObject * obj1 = 0 ;
35555 char * kwnames[] = {
35556 (char *) "self",(char *) "item", NULL
35557 };
35558
35559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35561 if (!SWIG_IsOK(res1)) {
35562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35563 }
35564 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35566 if (!SWIG_IsOK(res2)) {
35567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35568 }
35569 if (!argp2) {
35570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35571 }
35572 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35573 {
35574 PyThreadState* __tstate = wxPyBeginAllowThreads();
35575 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35576 wxPyEndAllowThreads(__tstate);
35577 if (PyErr_Occurred()) SWIG_fail;
35578 }
35579 resultobj = result;
35580 return resultobj;
35581 fail:
35582 return NULL;
35583 }
35584
35585
35586 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35587 PyObject *resultobj = 0;
35588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35589 wxTreeItemId *arg2 = 0 ;
35590 void *arg3 = (void *) 0 ;
35591 PyObject *result = 0 ;
35592 void *argp1 = 0 ;
35593 int res1 = 0 ;
35594 void *argp2 = 0 ;
35595 int res2 = 0 ;
35596 int res3 ;
35597 PyObject * obj0 = 0 ;
35598 PyObject * obj1 = 0 ;
35599 PyObject * obj2 = 0 ;
35600 char * kwnames[] = {
35601 (char *) "self",(char *) "item",(char *) "cookie", NULL
35602 };
35603
35604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35606 if (!SWIG_IsOK(res1)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35608 }
35609 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35611 if (!SWIG_IsOK(res2)) {
35612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35613 }
35614 if (!argp2) {
35615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 }
35617 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35618 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35619 if (!SWIG_IsOK(res3)) {
35620 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35621 }
35622 {
35623 PyThreadState* __tstate = wxPyBeginAllowThreads();
35624 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35625 wxPyEndAllowThreads(__tstate);
35626 if (PyErr_Occurred()) SWIG_fail;
35627 }
35628 resultobj = result;
35629 return resultobj;
35630 fail:
35631 return NULL;
35632 }
35633
35634
35635 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35636 PyObject *resultobj = 0;
35637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35638 wxTreeItemId *arg2 = 0 ;
35639 wxTreeItemId result;
35640 void *argp1 = 0 ;
35641 int res1 = 0 ;
35642 void *argp2 = 0 ;
35643 int res2 = 0 ;
35644 PyObject * obj0 = 0 ;
35645 PyObject * obj1 = 0 ;
35646 char * kwnames[] = {
35647 (char *) "self",(char *) "item", NULL
35648 };
35649
35650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35652 if (!SWIG_IsOK(res1)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35654 }
35655 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35657 if (!SWIG_IsOK(res2)) {
35658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35659 }
35660 if (!argp2) {
35661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35662 }
35663 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35664 {
35665 PyThreadState* __tstate = wxPyBeginAllowThreads();
35666 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35667 wxPyEndAllowThreads(__tstate);
35668 if (PyErr_Occurred()) SWIG_fail;
35669 }
35670 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35671 return resultobj;
35672 fail:
35673 return NULL;
35674 }
35675
35676
35677 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35678 PyObject *resultobj = 0;
35679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35680 wxTreeItemId *arg2 = 0 ;
35681 wxTreeItemId result;
35682 void *argp1 = 0 ;
35683 int res1 = 0 ;
35684 void *argp2 = 0 ;
35685 int res2 = 0 ;
35686 PyObject * obj0 = 0 ;
35687 PyObject * obj1 = 0 ;
35688 char * kwnames[] = {
35689 (char *) "self",(char *) "item", NULL
35690 };
35691
35692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35694 if (!SWIG_IsOK(res1)) {
35695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35696 }
35697 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35699 if (!SWIG_IsOK(res2)) {
35700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35701 }
35702 if (!argp2) {
35703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35704 }
35705 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35706 {
35707 PyThreadState* __tstate = wxPyBeginAllowThreads();
35708 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35709 wxPyEndAllowThreads(__tstate);
35710 if (PyErr_Occurred()) SWIG_fail;
35711 }
35712 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35713 return resultobj;
35714 fail:
35715 return NULL;
35716 }
35717
35718
35719 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35720 PyObject *resultobj = 0;
35721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35722 wxTreeItemId *arg2 = 0 ;
35723 wxTreeItemId result;
35724 void *argp1 = 0 ;
35725 int res1 = 0 ;
35726 void *argp2 = 0 ;
35727 int res2 = 0 ;
35728 PyObject * obj0 = 0 ;
35729 PyObject * obj1 = 0 ;
35730 char * kwnames[] = {
35731 (char *) "self",(char *) "item", NULL
35732 };
35733
35734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35736 if (!SWIG_IsOK(res1)) {
35737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35738 }
35739 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35740 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35741 if (!SWIG_IsOK(res2)) {
35742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35743 }
35744 if (!argp2) {
35745 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35746 }
35747 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35748 {
35749 PyThreadState* __tstate = wxPyBeginAllowThreads();
35750 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35751 wxPyEndAllowThreads(__tstate);
35752 if (PyErr_Occurred()) SWIG_fail;
35753 }
35754 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35755 return resultobj;
35756 fail:
35757 return NULL;
35758 }
35759
35760
35761 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35762 PyObject *resultobj = 0;
35763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35764 wxTreeItemId result;
35765 void *argp1 = 0 ;
35766 int res1 = 0 ;
35767 PyObject *swig_obj[1] ;
35768
35769 if (!args) SWIG_fail;
35770 swig_obj[0] = args;
35771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35772 if (!SWIG_IsOK(res1)) {
35773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35774 }
35775 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35776 {
35777 PyThreadState* __tstate = wxPyBeginAllowThreads();
35778 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35779 wxPyEndAllowThreads(__tstate);
35780 if (PyErr_Occurred()) SWIG_fail;
35781 }
35782 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35783 return resultobj;
35784 fail:
35785 return NULL;
35786 }
35787
35788
35789 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35790 PyObject *resultobj = 0;
35791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35792 wxTreeItemId *arg2 = 0 ;
35793 wxTreeItemId result;
35794 void *argp1 = 0 ;
35795 int res1 = 0 ;
35796 void *argp2 = 0 ;
35797 int res2 = 0 ;
35798 PyObject * obj0 = 0 ;
35799 PyObject * obj1 = 0 ;
35800 char * kwnames[] = {
35801 (char *) "self",(char *) "item", NULL
35802 };
35803
35804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35806 if (!SWIG_IsOK(res1)) {
35807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35808 }
35809 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35810 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35811 if (!SWIG_IsOK(res2)) {
35812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35813 }
35814 if (!argp2) {
35815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35816 }
35817 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35818 {
35819 PyThreadState* __tstate = wxPyBeginAllowThreads();
35820 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35821 wxPyEndAllowThreads(__tstate);
35822 if (PyErr_Occurred()) SWIG_fail;
35823 }
35824 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35825 return resultobj;
35826 fail:
35827 return NULL;
35828 }
35829
35830
35831 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35832 PyObject *resultobj = 0;
35833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35834 wxTreeItemId *arg2 = 0 ;
35835 wxTreeItemId result;
35836 void *argp1 = 0 ;
35837 int res1 = 0 ;
35838 void *argp2 = 0 ;
35839 int res2 = 0 ;
35840 PyObject * obj0 = 0 ;
35841 PyObject * obj1 = 0 ;
35842 char * kwnames[] = {
35843 (char *) "self",(char *) "item", NULL
35844 };
35845
35846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35848 if (!SWIG_IsOK(res1)) {
35849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35850 }
35851 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35852 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35853 if (!SWIG_IsOK(res2)) {
35854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35855 }
35856 if (!argp2) {
35857 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35858 }
35859 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35860 {
35861 PyThreadState* __tstate = wxPyBeginAllowThreads();
35862 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35863 wxPyEndAllowThreads(__tstate);
35864 if (PyErr_Occurred()) SWIG_fail;
35865 }
35866 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35867 return resultobj;
35868 fail:
35869 return NULL;
35870 }
35871
35872
35873 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35874 PyObject *resultobj = 0;
35875 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35876 wxString *arg2 = 0 ;
35877 int arg3 = (int) -1 ;
35878 int arg4 = (int) -1 ;
35879 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35880 wxTreeItemId result;
35881 void *argp1 = 0 ;
35882 int res1 = 0 ;
35883 bool temp2 = false ;
35884 int val3 ;
35885 int ecode3 = 0 ;
35886 int val4 ;
35887 int ecode4 = 0 ;
35888 int res5 = 0 ;
35889 PyObject * obj0 = 0 ;
35890 PyObject * obj1 = 0 ;
35891 PyObject * obj2 = 0 ;
35892 PyObject * obj3 = 0 ;
35893 PyObject * obj4 = 0 ;
35894 char * kwnames[] = {
35895 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35896 };
35897
35898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35900 if (!SWIG_IsOK(res1)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35902 }
35903 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35904 {
35905 arg2 = wxString_in_helper(obj1);
35906 if (arg2 == NULL) SWIG_fail;
35907 temp2 = true;
35908 }
35909 if (obj2) {
35910 ecode3 = SWIG_AsVal_int(obj2, &val3);
35911 if (!SWIG_IsOK(ecode3)) {
35912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35913 }
35914 arg3 = static_cast< int >(val3);
35915 }
35916 if (obj3) {
35917 ecode4 = SWIG_AsVal_int(obj3, &val4);
35918 if (!SWIG_IsOK(ecode4)) {
35919 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35920 }
35921 arg4 = static_cast< int >(val4);
35922 }
35923 if (obj4) {
35924 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35925 if (!SWIG_IsOK(res5)) {
35926 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35927 }
35928 }
35929 {
35930 PyThreadState* __tstate = wxPyBeginAllowThreads();
35931 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
35932 wxPyEndAllowThreads(__tstate);
35933 if (PyErr_Occurred()) SWIG_fail;
35934 }
35935 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35936 {
35937 if (temp2)
35938 delete arg2;
35939 }
35940 return resultobj;
35941 fail:
35942 {
35943 if (temp2)
35944 delete arg2;
35945 }
35946 return NULL;
35947 }
35948
35949
35950 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35951 PyObject *resultobj = 0;
35952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35953 wxTreeItemId *arg2 = 0 ;
35954 wxString *arg3 = 0 ;
35955 int arg4 = (int) -1 ;
35956 int arg5 = (int) -1 ;
35957 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35958 wxTreeItemId result;
35959 void *argp1 = 0 ;
35960 int res1 = 0 ;
35961 void *argp2 = 0 ;
35962 int res2 = 0 ;
35963 bool temp3 = false ;
35964 int val4 ;
35965 int ecode4 = 0 ;
35966 int val5 ;
35967 int ecode5 = 0 ;
35968 int res6 = 0 ;
35969 PyObject * obj0 = 0 ;
35970 PyObject * obj1 = 0 ;
35971 PyObject * obj2 = 0 ;
35972 PyObject * obj3 = 0 ;
35973 PyObject * obj4 = 0 ;
35974 PyObject * obj5 = 0 ;
35975 char * kwnames[] = {
35976 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35977 };
35978
35979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35981 if (!SWIG_IsOK(res1)) {
35982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35983 }
35984 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35985 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35986 if (!SWIG_IsOK(res2)) {
35987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35988 }
35989 if (!argp2) {
35990 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35991 }
35992 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35993 {
35994 arg3 = wxString_in_helper(obj2);
35995 if (arg3 == NULL) SWIG_fail;
35996 temp3 = true;
35997 }
35998 if (obj3) {
35999 ecode4 = SWIG_AsVal_int(obj3, &val4);
36000 if (!SWIG_IsOK(ecode4)) {
36001 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36002 }
36003 arg4 = static_cast< int >(val4);
36004 }
36005 if (obj4) {
36006 ecode5 = SWIG_AsVal_int(obj4, &val5);
36007 if (!SWIG_IsOK(ecode5)) {
36008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36009 }
36010 arg5 = static_cast< int >(val5);
36011 }
36012 if (obj5) {
36013 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36014 if (!SWIG_IsOK(res6)) {
36015 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36016 }
36017 }
36018 {
36019 PyThreadState* __tstate = wxPyBeginAllowThreads();
36020 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36021 wxPyEndAllowThreads(__tstate);
36022 if (PyErr_Occurred()) SWIG_fail;
36023 }
36024 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36025 {
36026 if (temp3)
36027 delete arg3;
36028 }
36029 return resultobj;
36030 fail:
36031 {
36032 if (temp3)
36033 delete arg3;
36034 }
36035 return NULL;
36036 }
36037
36038
36039 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36040 PyObject *resultobj = 0;
36041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36042 wxTreeItemId *arg2 = 0 ;
36043 wxTreeItemId *arg3 = 0 ;
36044 wxString *arg4 = 0 ;
36045 int arg5 = (int) -1 ;
36046 int arg6 = (int) -1 ;
36047 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36048 wxTreeItemId result;
36049 void *argp1 = 0 ;
36050 int res1 = 0 ;
36051 void *argp2 = 0 ;
36052 int res2 = 0 ;
36053 void *argp3 = 0 ;
36054 int res3 = 0 ;
36055 bool temp4 = false ;
36056 int val5 ;
36057 int ecode5 = 0 ;
36058 int val6 ;
36059 int ecode6 = 0 ;
36060 int res7 = 0 ;
36061 PyObject * obj0 = 0 ;
36062 PyObject * obj1 = 0 ;
36063 PyObject * obj2 = 0 ;
36064 PyObject * obj3 = 0 ;
36065 PyObject * obj4 = 0 ;
36066 PyObject * obj5 = 0 ;
36067 PyObject * obj6 = 0 ;
36068 char * kwnames[] = {
36069 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36070 };
36071
36072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36074 if (!SWIG_IsOK(res1)) {
36075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36076 }
36077 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36078 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36079 if (!SWIG_IsOK(res2)) {
36080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36081 }
36082 if (!argp2) {
36083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36084 }
36085 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36086 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36087 if (!SWIG_IsOK(res3)) {
36088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36089 }
36090 if (!argp3) {
36091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36092 }
36093 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36094 {
36095 arg4 = wxString_in_helper(obj3);
36096 if (arg4 == NULL) SWIG_fail;
36097 temp4 = true;
36098 }
36099 if (obj4) {
36100 ecode5 = SWIG_AsVal_int(obj4, &val5);
36101 if (!SWIG_IsOK(ecode5)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36103 }
36104 arg5 = static_cast< int >(val5);
36105 }
36106 if (obj5) {
36107 ecode6 = SWIG_AsVal_int(obj5, &val6);
36108 if (!SWIG_IsOK(ecode6)) {
36109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36110 }
36111 arg6 = static_cast< int >(val6);
36112 }
36113 if (obj6) {
36114 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36115 if (!SWIG_IsOK(res7)) {
36116 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36117 }
36118 }
36119 {
36120 PyThreadState* __tstate = wxPyBeginAllowThreads();
36121 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36122 wxPyEndAllowThreads(__tstate);
36123 if (PyErr_Occurred()) SWIG_fail;
36124 }
36125 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36126 {
36127 if (temp4)
36128 delete arg4;
36129 }
36130 return resultobj;
36131 fail:
36132 {
36133 if (temp4)
36134 delete arg4;
36135 }
36136 return NULL;
36137 }
36138
36139
36140 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36141 PyObject *resultobj = 0;
36142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36143 wxTreeItemId *arg2 = 0 ;
36144 size_t arg3 ;
36145 wxString *arg4 = 0 ;
36146 int arg5 = (int) -1 ;
36147 int arg6 = (int) -1 ;
36148 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36149 wxTreeItemId result;
36150 void *argp1 = 0 ;
36151 int res1 = 0 ;
36152 void *argp2 = 0 ;
36153 int res2 = 0 ;
36154 size_t val3 ;
36155 int ecode3 = 0 ;
36156 bool temp4 = false ;
36157 int val5 ;
36158 int ecode5 = 0 ;
36159 int val6 ;
36160 int ecode6 = 0 ;
36161 int res7 = 0 ;
36162 PyObject * obj0 = 0 ;
36163 PyObject * obj1 = 0 ;
36164 PyObject * obj2 = 0 ;
36165 PyObject * obj3 = 0 ;
36166 PyObject * obj4 = 0 ;
36167 PyObject * obj5 = 0 ;
36168 PyObject * obj6 = 0 ;
36169 char * kwnames[] = {
36170 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36171 };
36172
36173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36175 if (!SWIG_IsOK(res1)) {
36176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36177 }
36178 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36179 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36180 if (!SWIG_IsOK(res2)) {
36181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36182 }
36183 if (!argp2) {
36184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36185 }
36186 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36187 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36188 if (!SWIG_IsOK(ecode3)) {
36189 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36190 }
36191 arg3 = static_cast< size_t >(val3);
36192 {
36193 arg4 = wxString_in_helper(obj3);
36194 if (arg4 == NULL) SWIG_fail;
36195 temp4 = true;
36196 }
36197 if (obj4) {
36198 ecode5 = SWIG_AsVal_int(obj4, &val5);
36199 if (!SWIG_IsOK(ecode5)) {
36200 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36201 }
36202 arg5 = static_cast< int >(val5);
36203 }
36204 if (obj5) {
36205 ecode6 = SWIG_AsVal_int(obj5, &val6);
36206 if (!SWIG_IsOK(ecode6)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36208 }
36209 arg6 = static_cast< int >(val6);
36210 }
36211 if (obj6) {
36212 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36213 if (!SWIG_IsOK(res7)) {
36214 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36215 }
36216 }
36217 {
36218 PyThreadState* __tstate = wxPyBeginAllowThreads();
36219 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36220 wxPyEndAllowThreads(__tstate);
36221 if (PyErr_Occurred()) SWIG_fail;
36222 }
36223 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36224 {
36225 if (temp4)
36226 delete arg4;
36227 }
36228 return resultobj;
36229 fail:
36230 {
36231 if (temp4)
36232 delete arg4;
36233 }
36234 return NULL;
36235 }
36236
36237
36238 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36239 PyObject *resultobj = 0;
36240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36241 wxTreeItemId *arg2 = 0 ;
36242 wxString *arg3 = 0 ;
36243 int arg4 = (int) -1 ;
36244 int arg5 = (int) -1 ;
36245 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36246 wxTreeItemId result;
36247 void *argp1 = 0 ;
36248 int res1 = 0 ;
36249 void *argp2 = 0 ;
36250 int res2 = 0 ;
36251 bool temp3 = false ;
36252 int val4 ;
36253 int ecode4 = 0 ;
36254 int val5 ;
36255 int ecode5 = 0 ;
36256 int res6 = 0 ;
36257 PyObject * obj0 = 0 ;
36258 PyObject * obj1 = 0 ;
36259 PyObject * obj2 = 0 ;
36260 PyObject * obj3 = 0 ;
36261 PyObject * obj4 = 0 ;
36262 PyObject * obj5 = 0 ;
36263 char * kwnames[] = {
36264 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36265 };
36266
36267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36269 if (!SWIG_IsOK(res1)) {
36270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36271 }
36272 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36273 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36274 if (!SWIG_IsOK(res2)) {
36275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36276 }
36277 if (!argp2) {
36278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36279 }
36280 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36281 {
36282 arg3 = wxString_in_helper(obj2);
36283 if (arg3 == NULL) SWIG_fail;
36284 temp3 = true;
36285 }
36286 if (obj3) {
36287 ecode4 = SWIG_AsVal_int(obj3, &val4);
36288 if (!SWIG_IsOK(ecode4)) {
36289 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36290 }
36291 arg4 = static_cast< int >(val4);
36292 }
36293 if (obj4) {
36294 ecode5 = SWIG_AsVal_int(obj4, &val5);
36295 if (!SWIG_IsOK(ecode5)) {
36296 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36297 }
36298 arg5 = static_cast< int >(val5);
36299 }
36300 if (obj5) {
36301 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36302 if (!SWIG_IsOK(res6)) {
36303 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36304 }
36305 }
36306 {
36307 PyThreadState* __tstate = wxPyBeginAllowThreads();
36308 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36309 wxPyEndAllowThreads(__tstate);
36310 if (PyErr_Occurred()) SWIG_fail;
36311 }
36312 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36313 {
36314 if (temp3)
36315 delete arg3;
36316 }
36317 return resultobj;
36318 fail:
36319 {
36320 if (temp3)
36321 delete arg3;
36322 }
36323 return NULL;
36324 }
36325
36326
36327 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36328 PyObject *resultobj = 0;
36329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36330 wxTreeItemId *arg2 = 0 ;
36331 void *argp1 = 0 ;
36332 int res1 = 0 ;
36333 void *argp2 = 0 ;
36334 int res2 = 0 ;
36335 PyObject * obj0 = 0 ;
36336 PyObject * obj1 = 0 ;
36337 char * kwnames[] = {
36338 (char *) "self",(char *) "item", NULL
36339 };
36340
36341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36343 if (!SWIG_IsOK(res1)) {
36344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36345 }
36346 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36347 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36348 if (!SWIG_IsOK(res2)) {
36349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36350 }
36351 if (!argp2) {
36352 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36353 }
36354 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36355 {
36356 PyThreadState* __tstate = wxPyBeginAllowThreads();
36357 (arg1)->Delete((wxTreeItemId const &)*arg2);
36358 wxPyEndAllowThreads(__tstate);
36359 if (PyErr_Occurred()) SWIG_fail;
36360 }
36361 resultobj = SWIG_Py_Void();
36362 return resultobj;
36363 fail:
36364 return NULL;
36365 }
36366
36367
36368 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36369 PyObject *resultobj = 0;
36370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36371 wxTreeItemId *arg2 = 0 ;
36372 void *argp1 = 0 ;
36373 int res1 = 0 ;
36374 void *argp2 = 0 ;
36375 int res2 = 0 ;
36376 PyObject * obj0 = 0 ;
36377 PyObject * obj1 = 0 ;
36378 char * kwnames[] = {
36379 (char *) "self",(char *) "item", NULL
36380 };
36381
36382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36384 if (!SWIG_IsOK(res1)) {
36385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36386 }
36387 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36388 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36389 if (!SWIG_IsOK(res2)) {
36390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36391 }
36392 if (!argp2) {
36393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36394 }
36395 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36396 {
36397 PyThreadState* __tstate = wxPyBeginAllowThreads();
36398 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36399 wxPyEndAllowThreads(__tstate);
36400 if (PyErr_Occurred()) SWIG_fail;
36401 }
36402 resultobj = SWIG_Py_Void();
36403 return resultobj;
36404 fail:
36405 return NULL;
36406 }
36407
36408
36409 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36410 PyObject *resultobj = 0;
36411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36412 void *argp1 = 0 ;
36413 int res1 = 0 ;
36414 PyObject *swig_obj[1] ;
36415
36416 if (!args) SWIG_fail;
36417 swig_obj[0] = args;
36418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36419 if (!SWIG_IsOK(res1)) {
36420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36421 }
36422 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36423 {
36424 PyThreadState* __tstate = wxPyBeginAllowThreads();
36425 (arg1)->DeleteAllItems();
36426 wxPyEndAllowThreads(__tstate);
36427 if (PyErr_Occurred()) SWIG_fail;
36428 }
36429 resultobj = SWIG_Py_Void();
36430 return resultobj;
36431 fail:
36432 return NULL;
36433 }
36434
36435
36436 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36437 PyObject *resultobj = 0;
36438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36439 wxTreeItemId *arg2 = 0 ;
36440 void *argp1 = 0 ;
36441 int res1 = 0 ;
36442 void *argp2 = 0 ;
36443 int res2 = 0 ;
36444 PyObject * obj0 = 0 ;
36445 PyObject * obj1 = 0 ;
36446 char * kwnames[] = {
36447 (char *) "self",(char *) "item", NULL
36448 };
36449
36450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36452 if (!SWIG_IsOK(res1)) {
36453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36454 }
36455 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36456 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36457 if (!SWIG_IsOK(res2)) {
36458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36459 }
36460 if (!argp2) {
36461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36462 }
36463 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36464 {
36465 PyThreadState* __tstate = wxPyBeginAllowThreads();
36466 (arg1)->Expand((wxTreeItemId const &)*arg2);
36467 wxPyEndAllowThreads(__tstate);
36468 if (PyErr_Occurred()) SWIG_fail;
36469 }
36470 resultobj = SWIG_Py_Void();
36471 return resultobj;
36472 fail:
36473 return NULL;
36474 }
36475
36476
36477 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36478 PyObject *resultobj = 0;
36479 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36480 wxTreeItemId *arg2 = 0 ;
36481 void *argp1 = 0 ;
36482 int res1 = 0 ;
36483 void *argp2 = 0 ;
36484 int res2 = 0 ;
36485 PyObject * obj0 = 0 ;
36486 PyObject * obj1 = 0 ;
36487 char * kwnames[] = {
36488 (char *) "self",(char *) "item", NULL
36489 };
36490
36491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36493 if (!SWIG_IsOK(res1)) {
36494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36495 }
36496 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36497 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36498 if (!SWIG_IsOK(res2)) {
36499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36500 }
36501 if (!argp2) {
36502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36503 }
36504 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36505 {
36506 PyThreadState* __tstate = wxPyBeginAllowThreads();
36507 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36508 wxPyEndAllowThreads(__tstate);
36509 if (PyErr_Occurred()) SWIG_fail;
36510 }
36511 resultobj = SWIG_Py_Void();
36512 return resultobj;
36513 fail:
36514 return NULL;
36515 }
36516
36517
36518 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36519 PyObject *resultobj = 0;
36520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36521 void *argp1 = 0 ;
36522 int res1 = 0 ;
36523 PyObject *swig_obj[1] ;
36524
36525 if (!args) SWIG_fail;
36526 swig_obj[0] = args;
36527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36528 if (!SWIG_IsOK(res1)) {
36529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36530 }
36531 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36532 {
36533 PyThreadState* __tstate = wxPyBeginAllowThreads();
36534 (arg1)->ExpandAll();
36535 wxPyEndAllowThreads(__tstate);
36536 if (PyErr_Occurred()) SWIG_fail;
36537 }
36538 resultobj = SWIG_Py_Void();
36539 return resultobj;
36540 fail:
36541 return NULL;
36542 }
36543
36544
36545 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36546 PyObject *resultobj = 0;
36547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36548 wxTreeItemId *arg2 = 0 ;
36549 void *argp1 = 0 ;
36550 int res1 = 0 ;
36551 void *argp2 = 0 ;
36552 int res2 = 0 ;
36553 PyObject * obj0 = 0 ;
36554 PyObject * obj1 = 0 ;
36555 char * kwnames[] = {
36556 (char *) "self",(char *) "item", NULL
36557 };
36558
36559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36561 if (!SWIG_IsOK(res1)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36563 }
36564 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36566 if (!SWIG_IsOK(res2)) {
36567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36568 }
36569 if (!argp2) {
36570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36571 }
36572 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36573 {
36574 PyThreadState* __tstate = wxPyBeginAllowThreads();
36575 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36576 wxPyEndAllowThreads(__tstate);
36577 if (PyErr_Occurred()) SWIG_fail;
36578 }
36579 resultobj = SWIG_Py_Void();
36580 return resultobj;
36581 fail:
36582 return NULL;
36583 }
36584
36585
36586 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36587 PyObject *resultobj = 0;
36588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36589 wxTreeItemId *arg2 = 0 ;
36590 void *argp1 = 0 ;
36591 int res1 = 0 ;
36592 void *argp2 = 0 ;
36593 int res2 = 0 ;
36594 PyObject * obj0 = 0 ;
36595 PyObject * obj1 = 0 ;
36596 char * kwnames[] = {
36597 (char *) "self",(char *) "item", NULL
36598 };
36599
36600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36602 if (!SWIG_IsOK(res1)) {
36603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36604 }
36605 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36606 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36607 if (!SWIG_IsOK(res2)) {
36608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36609 }
36610 if (!argp2) {
36611 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36612 }
36613 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36614 {
36615 PyThreadState* __tstate = wxPyBeginAllowThreads();
36616 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36617 wxPyEndAllowThreads(__tstate);
36618 if (PyErr_Occurred()) SWIG_fail;
36619 }
36620 resultobj = SWIG_Py_Void();
36621 return resultobj;
36622 fail:
36623 return NULL;
36624 }
36625
36626
36627 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36628 PyObject *resultobj = 0;
36629 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36630 wxTreeItemId *arg2 = 0 ;
36631 void *argp1 = 0 ;
36632 int res1 = 0 ;
36633 void *argp2 = 0 ;
36634 int res2 = 0 ;
36635 PyObject * obj0 = 0 ;
36636 PyObject * obj1 = 0 ;
36637 char * kwnames[] = {
36638 (char *) "self",(char *) "item", NULL
36639 };
36640
36641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36643 if (!SWIG_IsOK(res1)) {
36644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36645 }
36646 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36647 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36648 if (!SWIG_IsOK(res2)) {
36649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36650 }
36651 if (!argp2) {
36652 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36653 }
36654 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36655 {
36656 PyThreadState* __tstate = wxPyBeginAllowThreads();
36657 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36658 wxPyEndAllowThreads(__tstate);
36659 if (PyErr_Occurred()) SWIG_fail;
36660 }
36661 resultobj = SWIG_Py_Void();
36662 return resultobj;
36663 fail:
36664 return NULL;
36665 }
36666
36667
36668 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36669 PyObject *resultobj = 0;
36670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36671 void *argp1 = 0 ;
36672 int res1 = 0 ;
36673 PyObject *swig_obj[1] ;
36674
36675 if (!args) SWIG_fail;
36676 swig_obj[0] = args;
36677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36678 if (!SWIG_IsOK(res1)) {
36679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36680 }
36681 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36682 {
36683 PyThreadState* __tstate = wxPyBeginAllowThreads();
36684 (arg1)->Unselect();
36685 wxPyEndAllowThreads(__tstate);
36686 if (PyErr_Occurred()) SWIG_fail;
36687 }
36688 resultobj = SWIG_Py_Void();
36689 return resultobj;
36690 fail:
36691 return NULL;
36692 }
36693
36694
36695 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36696 PyObject *resultobj = 0;
36697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36698 wxTreeItemId *arg2 = 0 ;
36699 void *argp1 = 0 ;
36700 int res1 = 0 ;
36701 void *argp2 = 0 ;
36702 int res2 = 0 ;
36703 PyObject * obj0 = 0 ;
36704 PyObject * obj1 = 0 ;
36705 char * kwnames[] = {
36706 (char *) "self",(char *) "item", NULL
36707 };
36708
36709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36711 if (!SWIG_IsOK(res1)) {
36712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36713 }
36714 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36716 if (!SWIG_IsOK(res2)) {
36717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36718 }
36719 if (!argp2) {
36720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36721 }
36722 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36723 {
36724 PyThreadState* __tstate = wxPyBeginAllowThreads();
36725 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36726 wxPyEndAllowThreads(__tstate);
36727 if (PyErr_Occurred()) SWIG_fail;
36728 }
36729 resultobj = SWIG_Py_Void();
36730 return resultobj;
36731 fail:
36732 return NULL;
36733 }
36734
36735
36736 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36737 PyObject *resultobj = 0;
36738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36739 void *argp1 = 0 ;
36740 int res1 = 0 ;
36741 PyObject *swig_obj[1] ;
36742
36743 if (!args) SWIG_fail;
36744 swig_obj[0] = args;
36745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36746 if (!SWIG_IsOK(res1)) {
36747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36748 }
36749 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36750 {
36751 PyThreadState* __tstate = wxPyBeginAllowThreads();
36752 (arg1)->UnselectAll();
36753 wxPyEndAllowThreads(__tstate);
36754 if (PyErr_Occurred()) SWIG_fail;
36755 }
36756 resultobj = SWIG_Py_Void();
36757 return resultobj;
36758 fail:
36759 return NULL;
36760 }
36761
36762
36763 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36764 PyObject *resultobj = 0;
36765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36766 wxTreeItemId *arg2 = 0 ;
36767 bool arg3 = (bool) true ;
36768 void *argp1 = 0 ;
36769 int res1 = 0 ;
36770 void *argp2 = 0 ;
36771 int res2 = 0 ;
36772 bool val3 ;
36773 int ecode3 = 0 ;
36774 PyObject * obj0 = 0 ;
36775 PyObject * obj1 = 0 ;
36776 PyObject * obj2 = 0 ;
36777 char * kwnames[] = {
36778 (char *) "self",(char *) "item",(char *) "select", NULL
36779 };
36780
36781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36783 if (!SWIG_IsOK(res1)) {
36784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36785 }
36786 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36787 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36788 if (!SWIG_IsOK(res2)) {
36789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36790 }
36791 if (!argp2) {
36792 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36793 }
36794 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36795 if (obj2) {
36796 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36797 if (!SWIG_IsOK(ecode3)) {
36798 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36799 }
36800 arg3 = static_cast< bool >(val3);
36801 }
36802 {
36803 PyThreadState* __tstate = wxPyBeginAllowThreads();
36804 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36805 wxPyEndAllowThreads(__tstate);
36806 if (PyErr_Occurred()) SWIG_fail;
36807 }
36808 resultobj = SWIG_Py_Void();
36809 return resultobj;
36810 fail:
36811 return NULL;
36812 }
36813
36814
36815 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36816 PyObject *resultobj = 0;
36817 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36818 wxTreeItemId *arg2 = 0 ;
36819 void *argp1 = 0 ;
36820 int res1 = 0 ;
36821 void *argp2 = 0 ;
36822 int res2 = 0 ;
36823 PyObject * obj0 = 0 ;
36824 PyObject * obj1 = 0 ;
36825 char * kwnames[] = {
36826 (char *) "self",(char *) "item", NULL
36827 };
36828
36829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36831 if (!SWIG_IsOK(res1)) {
36832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36833 }
36834 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36835 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36836 if (!SWIG_IsOK(res2)) {
36837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36838 }
36839 if (!argp2) {
36840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36841 }
36842 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36843 {
36844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36845 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36846 wxPyEndAllowThreads(__tstate);
36847 if (PyErr_Occurred()) SWIG_fail;
36848 }
36849 resultobj = SWIG_Py_Void();
36850 return resultobj;
36851 fail:
36852 return NULL;
36853 }
36854
36855
36856 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36857 PyObject *resultobj = 0;
36858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36859 wxTreeItemId *arg2 = 0 ;
36860 void *argp1 = 0 ;
36861 int res1 = 0 ;
36862 void *argp2 = 0 ;
36863 int res2 = 0 ;
36864 PyObject * obj0 = 0 ;
36865 PyObject * obj1 = 0 ;
36866 char * kwnames[] = {
36867 (char *) "self",(char *) "item", NULL
36868 };
36869
36870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36872 if (!SWIG_IsOK(res1)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36874 }
36875 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36876 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36877 if (!SWIG_IsOK(res2)) {
36878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36879 }
36880 if (!argp2) {
36881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36882 }
36883 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36884 {
36885 PyThreadState* __tstate = wxPyBeginAllowThreads();
36886 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36887 wxPyEndAllowThreads(__tstate);
36888 if (PyErr_Occurred()) SWIG_fail;
36889 }
36890 resultobj = SWIG_Py_Void();
36891 return resultobj;
36892 fail:
36893 return NULL;
36894 }
36895
36896
36897 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36898 PyObject *resultobj = 0;
36899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36900 wxTreeItemId *arg2 = 0 ;
36901 void *argp1 = 0 ;
36902 int res1 = 0 ;
36903 void *argp2 = 0 ;
36904 int res2 = 0 ;
36905 PyObject * obj0 = 0 ;
36906 PyObject * obj1 = 0 ;
36907 char * kwnames[] = {
36908 (char *) "self",(char *) "item", NULL
36909 };
36910
36911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
36912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36913 if (!SWIG_IsOK(res1)) {
36914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36915 }
36916 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36917 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36918 if (!SWIG_IsOK(res2)) {
36919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36920 }
36921 if (!argp2) {
36922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36923 }
36924 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36925 {
36926 PyThreadState* __tstate = wxPyBeginAllowThreads();
36927 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
36928 wxPyEndAllowThreads(__tstate);
36929 if (PyErr_Occurred()) SWIG_fail;
36930 }
36931 resultobj = SWIG_Py_Void();
36932 return resultobj;
36933 fail:
36934 return NULL;
36935 }
36936
36937
36938 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36939 PyObject *resultobj = 0;
36940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36941 wxTreeItemId *arg2 = 0 ;
36942 void *argp1 = 0 ;
36943 int res1 = 0 ;
36944 void *argp2 = 0 ;
36945 int res2 = 0 ;
36946 PyObject * obj0 = 0 ;
36947 PyObject * obj1 = 0 ;
36948 char * kwnames[] = {
36949 (char *) "self",(char *) "item", NULL
36950 };
36951
36952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
36953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36954 if (!SWIG_IsOK(res1)) {
36955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36956 }
36957 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36958 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36959 if (!SWIG_IsOK(res2)) {
36960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36961 }
36962 if (!argp2) {
36963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36964 }
36965 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36966 {
36967 PyThreadState* __tstate = wxPyBeginAllowThreads();
36968 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
36969 wxPyEndAllowThreads(__tstate);
36970 if (PyErr_Occurred()) SWIG_fail;
36971 }
36972 resultobj = SWIG_Py_Void();
36973 return resultobj;
36974 fail:
36975 return NULL;
36976 }
36977
36978
36979 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36980 PyObject *resultobj = 0;
36981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36982 wxTextCtrl *result = 0 ;
36983 void *argp1 = 0 ;
36984 int res1 = 0 ;
36985 PyObject *swig_obj[1] ;
36986
36987 if (!args) SWIG_fail;
36988 swig_obj[0] = args;
36989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36990 if (!SWIG_IsOK(res1)) {
36991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36992 }
36993 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36994 {
36995 PyThreadState* __tstate = wxPyBeginAllowThreads();
36996 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
36997 wxPyEndAllowThreads(__tstate);
36998 if (PyErr_Occurred()) SWIG_fail;
36999 }
37000 {
37001 resultobj = wxPyMake_wxObject(result, 0);
37002 }
37003 return resultobj;
37004 fail:
37005 return NULL;
37006 }
37007
37008
37009 SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37010 PyObject *resultobj = 0;
37011 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37012 wxTreeItemId *arg2 = 0 ;
37013 bool arg3 = (bool) false ;
37014 void *argp1 = 0 ;
37015 int res1 = 0 ;
37016 void *argp2 = 0 ;
37017 int res2 = 0 ;
37018 bool val3 ;
37019 int ecode3 = 0 ;
37020 PyObject * obj0 = 0 ;
37021 PyObject * obj1 = 0 ;
37022 PyObject * obj2 = 0 ;
37023 char * kwnames[] = {
37024 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37025 };
37026
37027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37029 if (!SWIG_IsOK(res1)) {
37030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37031 }
37032 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37033 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37034 if (!SWIG_IsOK(res2)) {
37035 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37036 }
37037 if (!argp2) {
37038 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37039 }
37040 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37041 if (obj2) {
37042 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37043 if (!SWIG_IsOK(ecode3)) {
37044 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37045 }
37046 arg3 = static_cast< bool >(val3);
37047 }
37048 {
37049 PyThreadState* __tstate = wxPyBeginAllowThreads();
37050 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37051 wxPyEndAllowThreads(__tstate);
37052 if (PyErr_Occurred()) SWIG_fail;
37053 }
37054 resultobj = SWIG_Py_Void();
37055 return resultobj;
37056 fail:
37057 return NULL;
37058 }
37059
37060
37061 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37062 PyObject *resultobj = 0;
37063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37064 wxTreeItemId *arg2 = 0 ;
37065 void *argp1 = 0 ;
37066 int res1 = 0 ;
37067 void *argp2 = 0 ;
37068 int res2 = 0 ;
37069 PyObject * obj0 = 0 ;
37070 PyObject * obj1 = 0 ;
37071 char * kwnames[] = {
37072 (char *) "self",(char *) "item", NULL
37073 };
37074
37075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37077 if (!SWIG_IsOK(res1)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37079 }
37080 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37081 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37082 if (!SWIG_IsOK(res2)) {
37083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37084 }
37085 if (!argp2) {
37086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37087 }
37088 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37089 {
37090 PyThreadState* __tstate = wxPyBeginAllowThreads();
37091 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37092 wxPyEndAllowThreads(__tstate);
37093 if (PyErr_Occurred()) SWIG_fail;
37094 }
37095 resultobj = SWIG_Py_Void();
37096 return resultobj;
37097 fail:
37098 return NULL;
37099 }
37100
37101
37102 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37103 PyObject *resultobj = 0;
37104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37105 wxPoint *arg2 = 0 ;
37106 int *arg3 = 0 ;
37107 wxTreeItemId result;
37108 void *argp1 = 0 ;
37109 int res1 = 0 ;
37110 wxPoint temp2 ;
37111 int temp3 ;
37112 int res3 = SWIG_TMPOBJ ;
37113 PyObject * obj0 = 0 ;
37114 PyObject * obj1 = 0 ;
37115 char * kwnames[] = {
37116 (char *) "self",(char *) "point", NULL
37117 };
37118
37119 arg3 = &temp3;
37120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37122 if (!SWIG_IsOK(res1)) {
37123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37124 }
37125 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37126 {
37127 arg2 = &temp2;
37128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37129 }
37130 {
37131 PyThreadState* __tstate = wxPyBeginAllowThreads();
37132 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37133 wxPyEndAllowThreads(__tstate);
37134 if (PyErr_Occurred()) SWIG_fail;
37135 }
37136 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37137 if (SWIG_IsTmpObj(res3)) {
37138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37139 } else {
37140 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37142 }
37143 return resultobj;
37144 fail:
37145 return NULL;
37146 }
37147
37148
37149 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37150 PyObject *resultobj = 0;
37151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37152 wxTreeItemId *arg2 = 0 ;
37153 bool arg3 = (bool) false ;
37154 PyObject *result = 0 ;
37155 void *argp1 = 0 ;
37156 int res1 = 0 ;
37157 void *argp2 = 0 ;
37158 int res2 = 0 ;
37159 bool val3 ;
37160 int ecode3 = 0 ;
37161 PyObject * obj0 = 0 ;
37162 PyObject * obj1 = 0 ;
37163 PyObject * obj2 = 0 ;
37164 char * kwnames[] = {
37165 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37166 };
37167
37168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37170 if (!SWIG_IsOK(res1)) {
37171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37172 }
37173 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37174 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37175 if (!SWIG_IsOK(res2)) {
37176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37177 }
37178 if (!argp2) {
37179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37180 }
37181 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37182 if (obj2) {
37183 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37184 if (!SWIG_IsOK(ecode3)) {
37185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37186 }
37187 arg3 = static_cast< bool >(val3);
37188 }
37189 {
37190 PyThreadState* __tstate = wxPyBeginAllowThreads();
37191 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37192 wxPyEndAllowThreads(__tstate);
37193 if (PyErr_Occurred()) SWIG_fail;
37194 }
37195 resultobj = result;
37196 return resultobj;
37197 fail:
37198 return NULL;
37199 }
37200
37201
37202 SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37203 PyObject *resultobj = 0;
37204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37205 wxTreeItemId *arg2 = 0 ;
37206 int arg3 ;
37207 void *argp1 = 0 ;
37208 int res1 = 0 ;
37209 void *argp2 = 0 ;
37210 int res2 = 0 ;
37211 int val3 ;
37212 int ecode3 = 0 ;
37213 PyObject * obj0 = 0 ;
37214 PyObject * obj1 = 0 ;
37215 PyObject * obj2 = 0 ;
37216 char * kwnames[] = {
37217 (char *) "self",(char *) "node",(char *) "state", NULL
37218 };
37219
37220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37222 if (!SWIG_IsOK(res1)) {
37223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37224 }
37225 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37226 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37227 if (!SWIG_IsOK(res2)) {
37228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37229 }
37230 if (!argp2) {
37231 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37232 }
37233 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37234 ecode3 = SWIG_AsVal_int(obj2, &val3);
37235 if (!SWIG_IsOK(ecode3)) {
37236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37237 }
37238 arg3 = static_cast< int >(val3);
37239 {
37240 PyThreadState* __tstate = wxPyBeginAllowThreads();
37241 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37242 wxPyEndAllowThreads(__tstate);
37243 if (PyErr_Occurred()) SWIG_fail;
37244 }
37245 resultobj = SWIG_Py_Void();
37246 return resultobj;
37247 fail:
37248 return NULL;
37249 }
37250
37251
37252 SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37253 PyObject *resultobj = 0;
37254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37255 wxTreeItemId *arg2 = 0 ;
37256 int result;
37257 void *argp1 = 0 ;
37258 int res1 = 0 ;
37259 void *argp2 = 0 ;
37260 int res2 = 0 ;
37261 PyObject * obj0 = 0 ;
37262 PyObject * obj1 = 0 ;
37263 char * kwnames[] = {
37264 (char *) "self",(char *) "node", NULL
37265 };
37266
37267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37269 if (!SWIG_IsOK(res1)) {
37270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37271 }
37272 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37273 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37274 if (!SWIG_IsOK(res2)) {
37275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37276 }
37277 if (!argp2) {
37278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37279 }
37280 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37281 {
37282 PyThreadState* __tstate = wxPyBeginAllowThreads();
37283 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37284 wxPyEndAllowThreads(__tstate);
37285 if (PyErr_Occurred()) SWIG_fail;
37286 }
37287 resultobj = SWIG_From_int(static_cast< int >(result));
37288 return resultobj;
37289 fail:
37290 return NULL;
37291 }
37292
37293
37294 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37295 PyObject *resultobj = 0;
37296 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37297 SwigValueWrapper<wxVisualAttributes > result;
37298 int val1 ;
37299 int ecode1 = 0 ;
37300 PyObject * obj0 = 0 ;
37301 char * kwnames[] = {
37302 (char *) "variant", NULL
37303 };
37304
37305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37306 if (obj0) {
37307 ecode1 = SWIG_AsVal_int(obj0, &val1);
37308 if (!SWIG_IsOK(ecode1)) {
37309 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37310 }
37311 arg1 = static_cast< wxWindowVariant >(val1);
37312 }
37313 {
37314 if (!wxPyCheckForApp()) SWIG_fail;
37315 PyThreadState* __tstate = wxPyBeginAllowThreads();
37316 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37317 wxPyEndAllowThreads(__tstate);
37318 if (PyErr_Occurred()) SWIG_fail;
37319 }
37320 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37321 return resultobj;
37322 fail:
37323 return NULL;
37324 }
37325
37326
37327 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37328 PyObject *resultobj = 0;
37329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37330 bool arg2 ;
37331 void *argp1 = 0 ;
37332 int res1 = 0 ;
37333 bool val2 ;
37334 int ecode2 = 0 ;
37335 PyObject * obj0 = 0 ;
37336 PyObject * obj1 = 0 ;
37337 char * kwnames[] = {
37338 (char *) "self",(char *) "q", NULL
37339 };
37340
37341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37343 if (!SWIG_IsOK(res1)) {
37344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37345 }
37346 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37347 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37348 if (!SWIG_IsOK(ecode2)) {
37349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37350 }
37351 arg2 = static_cast< bool >(val2);
37352 {
37353 PyThreadState* __tstate = wxPyBeginAllowThreads();
37354 (arg1)->SetQuickBestSize(arg2);
37355 wxPyEndAllowThreads(__tstate);
37356 if (PyErr_Occurred()) SWIG_fail;
37357 }
37358 resultobj = SWIG_Py_Void();
37359 return resultobj;
37360 fail:
37361 return NULL;
37362 }
37363
37364
37365 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37366 PyObject *resultobj = 0;
37367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37368 bool result;
37369 void *argp1 = 0 ;
37370 int res1 = 0 ;
37371 PyObject *swig_obj[1] ;
37372
37373 if (!args) SWIG_fail;
37374 swig_obj[0] = args;
37375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37376 if (!SWIG_IsOK(res1)) {
37377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37378 }
37379 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37380 {
37381 PyThreadState* __tstate = wxPyBeginAllowThreads();
37382 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37383 wxPyEndAllowThreads(__tstate);
37384 if (PyErr_Occurred()) SWIG_fail;
37385 }
37386 {
37387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37388 }
37389 return resultobj;
37390 fail:
37391 return NULL;
37392 }
37393
37394
37395 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37396 PyObject *obj;
37397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37399 return SWIG_Py_Void();
37400 }
37401
37402 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37403 return SWIG_Python_InitShadowInstance(args);
37404 }
37405
37406 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37407 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37408 return 1;
37409 }
37410
37411
37412 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37413 PyObject *pyobj = 0;
37414
37415 {
37416 #if wxUSE_UNICODE
37417 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37418 #else
37419 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37420 #endif
37421 }
37422 return pyobj;
37423 }
37424
37425
37426 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37427 PyObject *resultobj = 0;
37428 wxWindow *arg1 = (wxWindow *) 0 ;
37429 int arg2 = (int) (int)-1 ;
37430 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37431 wxString *arg3 = (wxString *) &arg3_defvalue ;
37432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37434 wxSize const &arg5_defvalue = wxDefaultSize ;
37435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37436 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37437 wxString const &arg7_defvalue = wxPyEmptyString ;
37438 wxString *arg7 = (wxString *) &arg7_defvalue ;
37439 int arg8 = (int) 0 ;
37440 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37441 wxString *arg9 = (wxString *) &arg9_defvalue ;
37442 wxGenericDirCtrl *result = 0 ;
37443 void *argp1 = 0 ;
37444 int res1 = 0 ;
37445 int val2 ;
37446 int ecode2 = 0 ;
37447 bool temp3 = false ;
37448 wxPoint temp4 ;
37449 wxSize temp5 ;
37450 long val6 ;
37451 int ecode6 = 0 ;
37452 bool temp7 = false ;
37453 int val8 ;
37454 int ecode8 = 0 ;
37455 bool temp9 = false ;
37456 PyObject * obj0 = 0 ;
37457 PyObject * obj1 = 0 ;
37458 PyObject * obj2 = 0 ;
37459 PyObject * obj3 = 0 ;
37460 PyObject * obj4 = 0 ;
37461 PyObject * obj5 = 0 ;
37462 PyObject * obj6 = 0 ;
37463 PyObject * obj7 = 0 ;
37464 PyObject * obj8 = 0 ;
37465 char * kwnames[] = {
37466 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37467 };
37468
37469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37471 if (!SWIG_IsOK(res1)) {
37472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37473 }
37474 arg1 = reinterpret_cast< wxWindow * >(argp1);
37475 if (obj1) {
37476 ecode2 = SWIG_AsVal_int(obj1, &val2);
37477 if (!SWIG_IsOK(ecode2)) {
37478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37479 }
37480 arg2 = static_cast< int >(val2);
37481 }
37482 if (obj2) {
37483 {
37484 arg3 = wxString_in_helper(obj2);
37485 if (arg3 == NULL) SWIG_fail;
37486 temp3 = true;
37487 }
37488 }
37489 if (obj3) {
37490 {
37491 arg4 = &temp4;
37492 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37493 }
37494 }
37495 if (obj4) {
37496 {
37497 arg5 = &temp5;
37498 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37499 }
37500 }
37501 if (obj5) {
37502 ecode6 = SWIG_AsVal_long(obj5, &val6);
37503 if (!SWIG_IsOK(ecode6)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37505 }
37506 arg6 = static_cast< long >(val6);
37507 }
37508 if (obj6) {
37509 {
37510 arg7 = wxString_in_helper(obj6);
37511 if (arg7 == NULL) SWIG_fail;
37512 temp7 = true;
37513 }
37514 }
37515 if (obj7) {
37516 ecode8 = SWIG_AsVal_int(obj7, &val8);
37517 if (!SWIG_IsOK(ecode8)) {
37518 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37519 }
37520 arg8 = static_cast< int >(val8);
37521 }
37522 if (obj8) {
37523 {
37524 arg9 = wxString_in_helper(obj8);
37525 if (arg9 == NULL) SWIG_fail;
37526 temp9 = true;
37527 }
37528 }
37529 {
37530 if (!wxPyCheckForApp()) SWIG_fail;
37531 PyThreadState* __tstate = wxPyBeginAllowThreads();
37532 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37533 wxPyEndAllowThreads(__tstate);
37534 if (PyErr_Occurred()) SWIG_fail;
37535 }
37536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37537 {
37538 if (temp3)
37539 delete arg3;
37540 }
37541 {
37542 if (temp7)
37543 delete arg7;
37544 }
37545 {
37546 if (temp9)
37547 delete arg9;
37548 }
37549 return resultobj;
37550 fail:
37551 {
37552 if (temp3)
37553 delete arg3;
37554 }
37555 {
37556 if (temp7)
37557 delete arg7;
37558 }
37559 {
37560 if (temp9)
37561 delete arg9;
37562 }
37563 return NULL;
37564 }
37565
37566
37567 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37568 PyObject *resultobj = 0;
37569 wxGenericDirCtrl *result = 0 ;
37570
37571 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37572 {
37573 if (!wxPyCheckForApp()) SWIG_fail;
37574 PyThreadState* __tstate = wxPyBeginAllowThreads();
37575 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37576 wxPyEndAllowThreads(__tstate);
37577 if (PyErr_Occurred()) SWIG_fail;
37578 }
37579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37580 return resultobj;
37581 fail:
37582 return NULL;
37583 }
37584
37585
37586 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37587 PyObject *resultobj = 0;
37588 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37589 wxWindow *arg2 = (wxWindow *) 0 ;
37590 int arg3 = (int) (int)-1 ;
37591 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37592 wxString *arg4 = (wxString *) &arg4_defvalue ;
37593 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37594 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37595 wxSize const &arg6_defvalue = wxDefaultSize ;
37596 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37597 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37598 wxString const &arg8_defvalue = wxPyEmptyString ;
37599 wxString *arg8 = (wxString *) &arg8_defvalue ;
37600 int arg9 = (int) 0 ;
37601 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37602 wxString *arg10 = (wxString *) &arg10_defvalue ;
37603 bool result;
37604 void *argp1 = 0 ;
37605 int res1 = 0 ;
37606 void *argp2 = 0 ;
37607 int res2 = 0 ;
37608 int val3 ;
37609 int ecode3 = 0 ;
37610 bool temp4 = false ;
37611 wxPoint temp5 ;
37612 wxSize temp6 ;
37613 long val7 ;
37614 int ecode7 = 0 ;
37615 bool temp8 = false ;
37616 int val9 ;
37617 int ecode9 = 0 ;
37618 bool temp10 = false ;
37619 PyObject * obj0 = 0 ;
37620 PyObject * obj1 = 0 ;
37621 PyObject * obj2 = 0 ;
37622 PyObject * obj3 = 0 ;
37623 PyObject * obj4 = 0 ;
37624 PyObject * obj5 = 0 ;
37625 PyObject * obj6 = 0 ;
37626 PyObject * obj7 = 0 ;
37627 PyObject * obj8 = 0 ;
37628 PyObject * obj9 = 0 ;
37629 char * kwnames[] = {
37630 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37631 };
37632
37633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37635 if (!SWIG_IsOK(res1)) {
37636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37637 }
37638 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37639 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37640 if (!SWIG_IsOK(res2)) {
37641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37642 }
37643 arg2 = reinterpret_cast< wxWindow * >(argp2);
37644 if (obj2) {
37645 ecode3 = SWIG_AsVal_int(obj2, &val3);
37646 if (!SWIG_IsOK(ecode3)) {
37647 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37648 }
37649 arg3 = static_cast< int >(val3);
37650 }
37651 if (obj3) {
37652 {
37653 arg4 = wxString_in_helper(obj3);
37654 if (arg4 == NULL) SWIG_fail;
37655 temp4 = true;
37656 }
37657 }
37658 if (obj4) {
37659 {
37660 arg5 = &temp5;
37661 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
37662 }
37663 }
37664 if (obj5) {
37665 {
37666 arg6 = &temp6;
37667 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
37668 }
37669 }
37670 if (obj6) {
37671 ecode7 = SWIG_AsVal_long(obj6, &val7);
37672 if (!SWIG_IsOK(ecode7)) {
37673 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37674 }
37675 arg7 = static_cast< long >(val7);
37676 }
37677 if (obj7) {
37678 {
37679 arg8 = wxString_in_helper(obj7);
37680 if (arg8 == NULL) SWIG_fail;
37681 temp8 = true;
37682 }
37683 }
37684 if (obj8) {
37685 ecode9 = SWIG_AsVal_int(obj8, &val9);
37686 if (!SWIG_IsOK(ecode9)) {
37687 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37688 }
37689 arg9 = static_cast< int >(val9);
37690 }
37691 if (obj9) {
37692 {
37693 arg10 = wxString_in_helper(obj9);
37694 if (arg10 == NULL) SWIG_fail;
37695 temp10 = true;
37696 }
37697 }
37698 {
37699 PyThreadState* __tstate = wxPyBeginAllowThreads();
37700 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37701 wxPyEndAllowThreads(__tstate);
37702 if (PyErr_Occurred()) SWIG_fail;
37703 }
37704 {
37705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37706 }
37707 {
37708 if (temp4)
37709 delete arg4;
37710 }
37711 {
37712 if (temp8)
37713 delete arg8;
37714 }
37715 {
37716 if (temp10)
37717 delete arg10;
37718 }
37719 return resultobj;
37720 fail:
37721 {
37722 if (temp4)
37723 delete arg4;
37724 }
37725 {
37726 if (temp8)
37727 delete arg8;
37728 }
37729 {
37730 if (temp10)
37731 delete arg10;
37732 }
37733 return NULL;
37734 }
37735
37736
37737 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37738 PyObject *resultobj = 0;
37739 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37740 wxString *arg2 = 0 ;
37741 bool result;
37742 void *argp1 = 0 ;
37743 int res1 = 0 ;
37744 bool temp2 = false ;
37745 PyObject * obj0 = 0 ;
37746 PyObject * obj1 = 0 ;
37747 char * kwnames[] = {
37748 (char *) "self",(char *) "path", NULL
37749 };
37750
37751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37753 if (!SWIG_IsOK(res1)) {
37754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37755 }
37756 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37757 {
37758 arg2 = wxString_in_helper(obj1);
37759 if (arg2 == NULL) SWIG_fail;
37760 temp2 = true;
37761 }
37762 {
37763 PyThreadState* __tstate = wxPyBeginAllowThreads();
37764 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37765 wxPyEndAllowThreads(__tstate);
37766 if (PyErr_Occurred()) SWIG_fail;
37767 }
37768 {
37769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37770 }
37771 {
37772 if (temp2)
37773 delete arg2;
37774 }
37775 return resultobj;
37776 fail:
37777 {
37778 if (temp2)
37779 delete arg2;
37780 }
37781 return NULL;
37782 }
37783
37784
37785 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37786 PyObject *resultobj = 0;
37787 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37788 wxString *arg2 = 0 ;
37789 bool result;
37790 void *argp1 = 0 ;
37791 int res1 = 0 ;
37792 bool temp2 = false ;
37793 PyObject * obj0 = 0 ;
37794 PyObject * obj1 = 0 ;
37795 char * kwnames[] = {
37796 (char *) "self",(char *) "path", NULL
37797 };
37798
37799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37801 if (!SWIG_IsOK(res1)) {
37802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37803 }
37804 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37805 {
37806 arg2 = wxString_in_helper(obj1);
37807 if (arg2 == NULL) SWIG_fail;
37808 temp2 = true;
37809 }
37810 {
37811 PyThreadState* __tstate = wxPyBeginAllowThreads();
37812 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37813 wxPyEndAllowThreads(__tstate);
37814 if (PyErr_Occurred()) SWIG_fail;
37815 }
37816 {
37817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37818 }
37819 {
37820 if (temp2)
37821 delete arg2;
37822 }
37823 return resultobj;
37824 fail:
37825 {
37826 if (temp2)
37827 delete arg2;
37828 }
37829 return NULL;
37830 }
37831
37832
37833 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37834 PyObject *resultobj = 0;
37835 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37836 wxString result;
37837 void *argp1 = 0 ;
37838 int res1 = 0 ;
37839 PyObject *swig_obj[1] ;
37840
37841 if (!args) SWIG_fail;
37842 swig_obj[0] = args;
37843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37844 if (!SWIG_IsOK(res1)) {
37845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37846 }
37847 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37848 {
37849 PyThreadState* __tstate = wxPyBeginAllowThreads();
37850 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37851 wxPyEndAllowThreads(__tstate);
37852 if (PyErr_Occurred()) SWIG_fail;
37853 }
37854 {
37855 #if wxUSE_UNICODE
37856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37857 #else
37858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37859 #endif
37860 }
37861 return resultobj;
37862 fail:
37863 return NULL;
37864 }
37865
37866
37867 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37868 PyObject *resultobj = 0;
37869 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37870 wxString *arg2 = 0 ;
37871 void *argp1 = 0 ;
37872 int res1 = 0 ;
37873 bool temp2 = false ;
37874 PyObject * obj0 = 0 ;
37875 PyObject * obj1 = 0 ;
37876 char * kwnames[] = {
37877 (char *) "self",(char *) "path", NULL
37878 };
37879
37880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37882 if (!SWIG_IsOK(res1)) {
37883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37884 }
37885 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37886 {
37887 arg2 = wxString_in_helper(obj1);
37888 if (arg2 == NULL) SWIG_fail;
37889 temp2 = true;
37890 }
37891 {
37892 PyThreadState* __tstate = wxPyBeginAllowThreads();
37893 (arg1)->SetDefaultPath((wxString const &)*arg2);
37894 wxPyEndAllowThreads(__tstate);
37895 if (PyErr_Occurred()) SWIG_fail;
37896 }
37897 resultobj = SWIG_Py_Void();
37898 {
37899 if (temp2)
37900 delete arg2;
37901 }
37902 return resultobj;
37903 fail:
37904 {
37905 if (temp2)
37906 delete arg2;
37907 }
37908 return NULL;
37909 }
37910
37911
37912 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37913 PyObject *resultobj = 0;
37914 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37915 wxString result;
37916 void *argp1 = 0 ;
37917 int res1 = 0 ;
37918 PyObject *swig_obj[1] ;
37919
37920 if (!args) SWIG_fail;
37921 swig_obj[0] = args;
37922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37923 if (!SWIG_IsOK(res1)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37925 }
37926 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37927 {
37928 PyThreadState* __tstate = wxPyBeginAllowThreads();
37929 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37930 wxPyEndAllowThreads(__tstate);
37931 if (PyErr_Occurred()) SWIG_fail;
37932 }
37933 {
37934 #if wxUSE_UNICODE
37935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37936 #else
37937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37938 #endif
37939 }
37940 return resultobj;
37941 fail:
37942 return NULL;
37943 }
37944
37945
37946 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37947 PyObject *resultobj = 0;
37948 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37949 wxString result;
37950 void *argp1 = 0 ;
37951 int res1 = 0 ;
37952 PyObject *swig_obj[1] ;
37953
37954 if (!args) SWIG_fail;
37955 swig_obj[0] = args;
37956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37957 if (!SWIG_IsOK(res1)) {
37958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37959 }
37960 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37961 {
37962 PyThreadState* __tstate = wxPyBeginAllowThreads();
37963 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37964 wxPyEndAllowThreads(__tstate);
37965 if (PyErr_Occurred()) SWIG_fail;
37966 }
37967 {
37968 #if wxUSE_UNICODE
37969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37970 #else
37971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37972 #endif
37973 }
37974 return resultobj;
37975 fail:
37976 return NULL;
37977 }
37978
37979
37980 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37981 PyObject *resultobj = 0;
37982 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37983 wxString *arg2 = 0 ;
37984 void *argp1 = 0 ;
37985 int res1 = 0 ;
37986 bool temp2 = false ;
37987 PyObject * obj0 = 0 ;
37988 PyObject * obj1 = 0 ;
37989 char * kwnames[] = {
37990 (char *) "self",(char *) "path", NULL
37991 };
37992
37993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37995 if (!SWIG_IsOK(res1)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37997 }
37998 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37999 {
38000 arg2 = wxString_in_helper(obj1);
38001 if (arg2 == NULL) SWIG_fail;
38002 temp2 = true;
38003 }
38004 {
38005 PyThreadState* __tstate = wxPyBeginAllowThreads();
38006 (arg1)->SetPath((wxString const &)*arg2);
38007 wxPyEndAllowThreads(__tstate);
38008 if (PyErr_Occurred()) SWIG_fail;
38009 }
38010 resultobj = SWIG_Py_Void();
38011 {
38012 if (temp2)
38013 delete arg2;
38014 }
38015 return resultobj;
38016 fail:
38017 {
38018 if (temp2)
38019 delete arg2;
38020 }
38021 return NULL;
38022 }
38023
38024
38025 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38026 PyObject *resultobj = 0;
38027 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38028 bool arg2 ;
38029 void *argp1 = 0 ;
38030 int res1 = 0 ;
38031 bool val2 ;
38032 int ecode2 = 0 ;
38033 PyObject * obj0 = 0 ;
38034 PyObject * obj1 = 0 ;
38035 char * kwnames[] = {
38036 (char *) "self",(char *) "show", NULL
38037 };
38038
38039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38041 if (!SWIG_IsOK(res1)) {
38042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38043 }
38044 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38045 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38046 if (!SWIG_IsOK(ecode2)) {
38047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38048 }
38049 arg2 = static_cast< bool >(val2);
38050 {
38051 PyThreadState* __tstate = wxPyBeginAllowThreads();
38052 (arg1)->ShowHidden(arg2);
38053 wxPyEndAllowThreads(__tstate);
38054 if (PyErr_Occurred()) SWIG_fail;
38055 }
38056 resultobj = SWIG_Py_Void();
38057 return resultobj;
38058 fail:
38059 return NULL;
38060 }
38061
38062
38063 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38064 PyObject *resultobj = 0;
38065 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38066 bool result;
38067 void *argp1 = 0 ;
38068 int res1 = 0 ;
38069 PyObject *swig_obj[1] ;
38070
38071 if (!args) SWIG_fail;
38072 swig_obj[0] = args;
38073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38074 if (!SWIG_IsOK(res1)) {
38075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38076 }
38077 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38078 {
38079 PyThreadState* __tstate = wxPyBeginAllowThreads();
38080 result = (bool)(arg1)->GetShowHidden();
38081 wxPyEndAllowThreads(__tstate);
38082 if (PyErr_Occurred()) SWIG_fail;
38083 }
38084 {
38085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38086 }
38087 return resultobj;
38088 fail:
38089 return NULL;
38090 }
38091
38092
38093 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38094 PyObject *resultobj = 0;
38095 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38096 wxString result;
38097 void *argp1 = 0 ;
38098 int res1 = 0 ;
38099 PyObject *swig_obj[1] ;
38100
38101 if (!args) SWIG_fail;
38102 swig_obj[0] = args;
38103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38104 if (!SWIG_IsOK(res1)) {
38105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38106 }
38107 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38108 {
38109 PyThreadState* __tstate = wxPyBeginAllowThreads();
38110 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38111 wxPyEndAllowThreads(__tstate);
38112 if (PyErr_Occurred()) SWIG_fail;
38113 }
38114 {
38115 #if wxUSE_UNICODE
38116 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38117 #else
38118 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38119 #endif
38120 }
38121 return resultobj;
38122 fail:
38123 return NULL;
38124 }
38125
38126
38127 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38128 PyObject *resultobj = 0;
38129 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38130 wxString *arg2 = 0 ;
38131 void *argp1 = 0 ;
38132 int res1 = 0 ;
38133 bool temp2 = false ;
38134 PyObject * obj0 = 0 ;
38135 PyObject * obj1 = 0 ;
38136 char * kwnames[] = {
38137 (char *) "self",(char *) "filter", NULL
38138 };
38139
38140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38142 if (!SWIG_IsOK(res1)) {
38143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38144 }
38145 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38146 {
38147 arg2 = wxString_in_helper(obj1);
38148 if (arg2 == NULL) SWIG_fail;
38149 temp2 = true;
38150 }
38151 {
38152 PyThreadState* __tstate = wxPyBeginAllowThreads();
38153 (arg1)->SetFilter((wxString const &)*arg2);
38154 wxPyEndAllowThreads(__tstate);
38155 if (PyErr_Occurred()) SWIG_fail;
38156 }
38157 resultobj = SWIG_Py_Void();
38158 {
38159 if (temp2)
38160 delete arg2;
38161 }
38162 return resultobj;
38163 fail:
38164 {
38165 if (temp2)
38166 delete arg2;
38167 }
38168 return NULL;
38169 }
38170
38171
38172 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38173 PyObject *resultobj = 0;
38174 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38175 int result;
38176 void *argp1 = 0 ;
38177 int res1 = 0 ;
38178 PyObject *swig_obj[1] ;
38179
38180 if (!args) SWIG_fail;
38181 swig_obj[0] = args;
38182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38183 if (!SWIG_IsOK(res1)) {
38184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38185 }
38186 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38187 {
38188 PyThreadState* __tstate = wxPyBeginAllowThreads();
38189 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38190 wxPyEndAllowThreads(__tstate);
38191 if (PyErr_Occurred()) SWIG_fail;
38192 }
38193 resultobj = SWIG_From_int(static_cast< int >(result));
38194 return resultobj;
38195 fail:
38196 return NULL;
38197 }
38198
38199
38200 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38201 PyObject *resultobj = 0;
38202 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38203 int arg2 ;
38204 void *argp1 = 0 ;
38205 int res1 = 0 ;
38206 int val2 ;
38207 int ecode2 = 0 ;
38208 PyObject * obj0 = 0 ;
38209 PyObject * obj1 = 0 ;
38210 char * kwnames[] = {
38211 (char *) "self",(char *) "n", NULL
38212 };
38213
38214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38216 if (!SWIG_IsOK(res1)) {
38217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38218 }
38219 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38220 ecode2 = SWIG_AsVal_int(obj1, &val2);
38221 if (!SWIG_IsOK(ecode2)) {
38222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38223 }
38224 arg2 = static_cast< int >(val2);
38225 {
38226 PyThreadState* __tstate = wxPyBeginAllowThreads();
38227 (arg1)->SetFilterIndex(arg2);
38228 wxPyEndAllowThreads(__tstate);
38229 if (PyErr_Occurred()) SWIG_fail;
38230 }
38231 resultobj = SWIG_Py_Void();
38232 return resultobj;
38233 fail:
38234 return NULL;
38235 }
38236
38237
38238 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38239 PyObject *resultobj = 0;
38240 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38241 wxTreeItemId result;
38242 void *argp1 = 0 ;
38243 int res1 = 0 ;
38244 PyObject *swig_obj[1] ;
38245
38246 if (!args) SWIG_fail;
38247 swig_obj[0] = args;
38248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38249 if (!SWIG_IsOK(res1)) {
38250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38251 }
38252 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38253 {
38254 PyThreadState* __tstate = wxPyBeginAllowThreads();
38255 result = (arg1)->GetRootId();
38256 wxPyEndAllowThreads(__tstate);
38257 if (PyErr_Occurred()) SWIG_fail;
38258 }
38259 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38260 return resultobj;
38261 fail:
38262 return NULL;
38263 }
38264
38265
38266 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38267 PyObject *resultobj = 0;
38268 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38269 wxPyTreeCtrl *result = 0 ;
38270 void *argp1 = 0 ;
38271 int res1 = 0 ;
38272 PyObject *swig_obj[1] ;
38273
38274 if (!args) SWIG_fail;
38275 swig_obj[0] = args;
38276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38277 if (!SWIG_IsOK(res1)) {
38278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38279 }
38280 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38281 {
38282 PyThreadState* __tstate = wxPyBeginAllowThreads();
38283 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38284 wxPyEndAllowThreads(__tstate);
38285 if (PyErr_Occurred()) SWIG_fail;
38286 }
38287 {
38288 resultobj = wxPyMake_wxObject(result, 0);
38289 }
38290 return resultobj;
38291 fail:
38292 return NULL;
38293 }
38294
38295
38296 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38297 PyObject *resultobj = 0;
38298 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38299 wxDirFilterListCtrl *result = 0 ;
38300 void *argp1 = 0 ;
38301 int res1 = 0 ;
38302 PyObject *swig_obj[1] ;
38303
38304 if (!args) SWIG_fail;
38305 swig_obj[0] = args;
38306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38307 if (!SWIG_IsOK(res1)) {
38308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38309 }
38310 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38311 {
38312 PyThreadState* __tstate = wxPyBeginAllowThreads();
38313 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38314 wxPyEndAllowThreads(__tstate);
38315 if (PyErr_Occurred()) SWIG_fail;
38316 }
38317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38318 return resultobj;
38319 fail:
38320 return NULL;
38321 }
38322
38323
38324 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38325 PyObject *resultobj = 0;
38326 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38327 wxTreeItemId arg2 ;
38328 wxString *arg3 = 0 ;
38329 bool *arg4 = 0 ;
38330 wxTreeItemId result;
38331 void *argp1 = 0 ;
38332 int res1 = 0 ;
38333 void *argp2 ;
38334 int res2 = 0 ;
38335 bool temp3 = false ;
38336 bool temp4 ;
38337 int res4 = SWIG_TMPOBJ ;
38338 PyObject * obj0 = 0 ;
38339 PyObject * obj1 = 0 ;
38340 PyObject * obj2 = 0 ;
38341 char * kwnames[] = {
38342 (char *) "self",(char *) "parentId",(char *) "path", NULL
38343 };
38344
38345 arg4 = &temp4;
38346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38348 if (!SWIG_IsOK(res1)) {
38349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38350 }
38351 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38352 {
38353 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38354 if (!SWIG_IsOK(res2)) {
38355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38356 }
38357 if (!argp2) {
38358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38359 } else {
38360 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38361 arg2 = *temp;
38362 if (SWIG_IsNewObj(res2)) delete temp;
38363 }
38364 }
38365 {
38366 arg3 = wxString_in_helper(obj2);
38367 if (arg3 == NULL) SWIG_fail;
38368 temp3 = true;
38369 }
38370 {
38371 PyThreadState* __tstate = wxPyBeginAllowThreads();
38372 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38373 wxPyEndAllowThreads(__tstate);
38374 if (PyErr_Occurred()) SWIG_fail;
38375 }
38376 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38377 if (SWIG_IsTmpObj(res4)) {
38378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38379 } else {
38380 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38381 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38382 }
38383 {
38384 if (temp3)
38385 delete arg3;
38386 }
38387 return resultobj;
38388 fail:
38389 {
38390 if (temp3)
38391 delete arg3;
38392 }
38393 return NULL;
38394 }
38395
38396
38397 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38398 PyObject *resultobj = 0;
38399 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38400 void *argp1 = 0 ;
38401 int res1 = 0 ;
38402 PyObject *swig_obj[1] ;
38403
38404 if (!args) SWIG_fail;
38405 swig_obj[0] = args;
38406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38407 if (!SWIG_IsOK(res1)) {
38408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38409 }
38410 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38411 {
38412 PyThreadState* __tstate = wxPyBeginAllowThreads();
38413 (arg1)->DoResize();
38414 wxPyEndAllowThreads(__tstate);
38415 if (PyErr_Occurred()) SWIG_fail;
38416 }
38417 resultobj = SWIG_Py_Void();
38418 return resultobj;
38419 fail:
38420 return NULL;
38421 }
38422
38423
38424 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38425 PyObject *resultobj = 0;
38426 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38427 void *argp1 = 0 ;
38428 int res1 = 0 ;
38429 PyObject *swig_obj[1] ;
38430
38431 if (!args) SWIG_fail;
38432 swig_obj[0] = args;
38433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38434 if (!SWIG_IsOK(res1)) {
38435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38436 }
38437 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38438 {
38439 PyThreadState* __tstate = wxPyBeginAllowThreads();
38440 (arg1)->ReCreateTree();
38441 wxPyEndAllowThreads(__tstate);
38442 if (PyErr_Occurred()) SWIG_fail;
38443 }
38444 resultobj = SWIG_Py_Void();
38445 return resultobj;
38446 fail:
38447 return NULL;
38448 }
38449
38450
38451 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38452 PyObject *obj;
38453 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38454 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38455 return SWIG_Py_Void();
38456 }
38457
38458 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38459 return SWIG_Python_InitShadowInstance(args);
38460 }
38461
38462 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38463 PyObject *resultobj = 0;
38464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38465 int arg2 = (int) (int)-1 ;
38466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38468 wxSize const &arg4_defvalue = wxDefaultSize ;
38469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38470 long arg5 = (long) 0 ;
38471 wxDirFilterListCtrl *result = 0 ;
38472 void *argp1 = 0 ;
38473 int res1 = 0 ;
38474 int val2 ;
38475 int ecode2 = 0 ;
38476 wxPoint temp3 ;
38477 wxSize temp4 ;
38478 long val5 ;
38479 int ecode5 = 0 ;
38480 PyObject * obj0 = 0 ;
38481 PyObject * obj1 = 0 ;
38482 PyObject * obj2 = 0 ;
38483 PyObject * obj3 = 0 ;
38484 PyObject * obj4 = 0 ;
38485 char * kwnames[] = {
38486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38487 };
38488
38489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38491 if (!SWIG_IsOK(res1)) {
38492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38493 }
38494 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38495 if (obj1) {
38496 ecode2 = SWIG_AsVal_int(obj1, &val2);
38497 if (!SWIG_IsOK(ecode2)) {
38498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38499 }
38500 arg2 = static_cast< int >(val2);
38501 }
38502 if (obj2) {
38503 {
38504 arg3 = &temp3;
38505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38506 }
38507 }
38508 if (obj3) {
38509 {
38510 arg4 = &temp4;
38511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38512 }
38513 }
38514 if (obj4) {
38515 ecode5 = SWIG_AsVal_long(obj4, &val5);
38516 if (!SWIG_IsOK(ecode5)) {
38517 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38518 }
38519 arg5 = static_cast< long >(val5);
38520 }
38521 {
38522 if (!wxPyCheckForApp()) SWIG_fail;
38523 PyThreadState* __tstate = wxPyBeginAllowThreads();
38524 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38525 wxPyEndAllowThreads(__tstate);
38526 if (PyErr_Occurred()) SWIG_fail;
38527 }
38528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38529 return resultobj;
38530 fail:
38531 return NULL;
38532 }
38533
38534
38535 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38536 PyObject *resultobj = 0;
38537 wxDirFilterListCtrl *result = 0 ;
38538
38539 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38540 {
38541 if (!wxPyCheckForApp()) SWIG_fail;
38542 PyThreadState* __tstate = wxPyBeginAllowThreads();
38543 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38544 wxPyEndAllowThreads(__tstate);
38545 if (PyErr_Occurred()) SWIG_fail;
38546 }
38547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38548 return resultobj;
38549 fail:
38550 return NULL;
38551 }
38552
38553
38554 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38555 PyObject *resultobj = 0;
38556 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38557 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38558 int arg3 = (int) (int)-1 ;
38559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38561 wxSize const &arg5_defvalue = wxDefaultSize ;
38562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38563 long arg6 = (long) 0 ;
38564 bool result;
38565 void *argp1 = 0 ;
38566 int res1 = 0 ;
38567 void *argp2 = 0 ;
38568 int res2 = 0 ;
38569 int val3 ;
38570 int ecode3 = 0 ;
38571 wxPoint temp4 ;
38572 wxSize temp5 ;
38573 long val6 ;
38574 int ecode6 = 0 ;
38575 PyObject * obj0 = 0 ;
38576 PyObject * obj1 = 0 ;
38577 PyObject * obj2 = 0 ;
38578 PyObject * obj3 = 0 ;
38579 PyObject * obj4 = 0 ;
38580 PyObject * obj5 = 0 ;
38581 char * kwnames[] = {
38582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38583 };
38584
38585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38587 if (!SWIG_IsOK(res1)) {
38588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38589 }
38590 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38591 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38592 if (!SWIG_IsOK(res2)) {
38593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38594 }
38595 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38596 if (obj2) {
38597 ecode3 = SWIG_AsVal_int(obj2, &val3);
38598 if (!SWIG_IsOK(ecode3)) {
38599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38600 }
38601 arg3 = static_cast< int >(val3);
38602 }
38603 if (obj3) {
38604 {
38605 arg4 = &temp4;
38606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38607 }
38608 }
38609 if (obj4) {
38610 {
38611 arg5 = &temp5;
38612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38613 }
38614 }
38615 if (obj5) {
38616 ecode6 = SWIG_AsVal_long(obj5, &val6);
38617 if (!SWIG_IsOK(ecode6)) {
38618 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38619 }
38620 arg6 = static_cast< long >(val6);
38621 }
38622 {
38623 PyThreadState* __tstate = wxPyBeginAllowThreads();
38624 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38625 wxPyEndAllowThreads(__tstate);
38626 if (PyErr_Occurred()) SWIG_fail;
38627 }
38628 {
38629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38630 }
38631 return resultobj;
38632 fail:
38633 return NULL;
38634 }
38635
38636
38637 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38638 PyObject *resultobj = 0;
38639 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38640 wxString *arg2 = 0 ;
38641 int arg3 ;
38642 void *argp1 = 0 ;
38643 int res1 = 0 ;
38644 bool temp2 = false ;
38645 int val3 ;
38646 int ecode3 = 0 ;
38647 PyObject * obj0 = 0 ;
38648 PyObject * obj1 = 0 ;
38649 PyObject * obj2 = 0 ;
38650 char * kwnames[] = {
38651 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38652 };
38653
38654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38656 if (!SWIG_IsOK(res1)) {
38657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38658 }
38659 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38660 {
38661 arg2 = wxString_in_helper(obj1);
38662 if (arg2 == NULL) SWIG_fail;
38663 temp2 = true;
38664 }
38665 ecode3 = SWIG_AsVal_int(obj2, &val3);
38666 if (!SWIG_IsOK(ecode3)) {
38667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38668 }
38669 arg3 = static_cast< int >(val3);
38670 {
38671 PyThreadState* __tstate = wxPyBeginAllowThreads();
38672 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38673 wxPyEndAllowThreads(__tstate);
38674 if (PyErr_Occurred()) SWIG_fail;
38675 }
38676 resultobj = SWIG_Py_Void();
38677 {
38678 if (temp2)
38679 delete arg2;
38680 }
38681 return resultobj;
38682 fail:
38683 {
38684 if (temp2)
38685 delete arg2;
38686 }
38687 return NULL;
38688 }
38689
38690
38691 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38692 PyObject *obj;
38693 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38694 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38695 return SWIG_Py_Void();
38696 }
38697
38698 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38699 return SWIG_Python_InitShadowInstance(args);
38700 }
38701
38702 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38703 PyObject *resultobj = 0;
38704 wxWindow *arg1 = (wxWindow *) 0 ;
38705 int arg2 = (int) (int)-1 ;
38706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38708 wxSize const &arg4_defvalue = wxDefaultSize ;
38709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38710 long arg5 = (long) 0 ;
38711 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38712 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38713 wxString const &arg7_defvalue = wxPyControlNameStr ;
38714 wxString *arg7 = (wxString *) &arg7_defvalue ;
38715 wxPyControl *result = 0 ;
38716 void *argp1 = 0 ;
38717 int res1 = 0 ;
38718 int val2 ;
38719 int ecode2 = 0 ;
38720 wxPoint temp3 ;
38721 wxSize temp4 ;
38722 long val5 ;
38723 int ecode5 = 0 ;
38724 void *argp6 = 0 ;
38725 int res6 = 0 ;
38726 bool temp7 = false ;
38727 PyObject * obj0 = 0 ;
38728 PyObject * obj1 = 0 ;
38729 PyObject * obj2 = 0 ;
38730 PyObject * obj3 = 0 ;
38731 PyObject * obj4 = 0 ;
38732 PyObject * obj5 = 0 ;
38733 PyObject * obj6 = 0 ;
38734 char * kwnames[] = {
38735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38736 };
38737
38738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38740 if (!SWIG_IsOK(res1)) {
38741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38742 }
38743 arg1 = reinterpret_cast< wxWindow * >(argp1);
38744 if (obj1) {
38745 ecode2 = SWIG_AsVal_int(obj1, &val2);
38746 if (!SWIG_IsOK(ecode2)) {
38747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38748 }
38749 arg2 = static_cast< int >(val2);
38750 }
38751 if (obj2) {
38752 {
38753 arg3 = &temp3;
38754 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38755 }
38756 }
38757 if (obj3) {
38758 {
38759 arg4 = &temp4;
38760 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38761 }
38762 }
38763 if (obj4) {
38764 ecode5 = SWIG_AsVal_long(obj4, &val5);
38765 if (!SWIG_IsOK(ecode5)) {
38766 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38767 }
38768 arg5 = static_cast< long >(val5);
38769 }
38770 if (obj5) {
38771 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38772 if (!SWIG_IsOK(res6)) {
38773 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38774 }
38775 if (!argp6) {
38776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38777 }
38778 arg6 = reinterpret_cast< wxValidator * >(argp6);
38779 }
38780 if (obj6) {
38781 {
38782 arg7 = wxString_in_helper(obj6);
38783 if (arg7 == NULL) SWIG_fail;
38784 temp7 = true;
38785 }
38786 }
38787 {
38788 if (!wxPyCheckForApp()) SWIG_fail;
38789 PyThreadState* __tstate = wxPyBeginAllowThreads();
38790 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38791 wxPyEndAllowThreads(__tstate);
38792 if (PyErr_Occurred()) SWIG_fail;
38793 }
38794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38795 {
38796 if (temp7)
38797 delete arg7;
38798 }
38799 return resultobj;
38800 fail:
38801 {
38802 if (temp7)
38803 delete arg7;
38804 }
38805 return NULL;
38806 }
38807
38808
38809 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38810 PyObject *resultobj = 0;
38811 wxPyControl *result = 0 ;
38812
38813 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38814 {
38815 if (!wxPyCheckForApp()) SWIG_fail;
38816 PyThreadState* __tstate = wxPyBeginAllowThreads();
38817 result = (wxPyControl *)new wxPyControl();
38818 wxPyEndAllowThreads(__tstate);
38819 if (PyErr_Occurred()) SWIG_fail;
38820 }
38821 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38822 return resultobj;
38823 fail:
38824 return NULL;
38825 }
38826
38827
38828 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38829 PyObject *resultobj = 0;
38830 wxPyControl *arg1 = (wxPyControl *) 0 ;
38831 PyObject *arg2 = (PyObject *) 0 ;
38832 PyObject *arg3 = (PyObject *) 0 ;
38833 void *argp1 = 0 ;
38834 int res1 = 0 ;
38835 PyObject * obj0 = 0 ;
38836 PyObject * obj1 = 0 ;
38837 PyObject * obj2 = 0 ;
38838 char * kwnames[] = {
38839 (char *) "self",(char *) "self",(char *) "_class", NULL
38840 };
38841
38842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38844 if (!SWIG_IsOK(res1)) {
38845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38846 }
38847 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38848 arg2 = obj1;
38849 arg3 = obj2;
38850 {
38851 PyThreadState* __tstate = wxPyBeginAllowThreads();
38852 (arg1)->_setCallbackInfo(arg2,arg3);
38853 wxPyEndAllowThreads(__tstate);
38854 if (PyErr_Occurred()) SWIG_fail;
38855 }
38856 resultobj = SWIG_Py_Void();
38857 return resultobj;
38858 fail:
38859 return NULL;
38860 }
38861
38862
38863 SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38864 PyObject *resultobj = 0;
38865 wxPyControl *arg1 = (wxPyControl *) 0 ;
38866 wxSize *arg2 = 0 ;
38867 void *argp1 = 0 ;
38868 int res1 = 0 ;
38869 wxSize temp2 ;
38870 PyObject * obj0 = 0 ;
38871 PyObject * obj1 = 0 ;
38872 char * kwnames[] = {
38873 (char *) "self",(char *) "size", NULL
38874 };
38875
38876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
38877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38878 if (!SWIG_IsOK(res1)) {
38879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38880 }
38881 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38882 {
38883 arg2 = &temp2;
38884 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38885 }
38886 {
38887 PyThreadState* __tstate = wxPyBeginAllowThreads();
38888 (arg1)->SetBestSize((wxSize const &)*arg2);
38889 wxPyEndAllowThreads(__tstate);
38890 if (PyErr_Occurred()) SWIG_fail;
38891 }
38892 resultobj = SWIG_Py_Void();
38893 return resultobj;
38894 fail:
38895 return NULL;
38896 }
38897
38898
38899 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38900 PyObject *resultobj = 0;
38901 wxPyControl *arg1 = (wxPyControl *) 0 ;
38902 wxDC *arg2 = (wxDC *) 0 ;
38903 bool result;
38904 void *argp1 = 0 ;
38905 int res1 = 0 ;
38906 void *argp2 = 0 ;
38907 int res2 = 0 ;
38908 PyObject * obj0 = 0 ;
38909 PyObject * obj1 = 0 ;
38910 char * kwnames[] = {
38911 (char *) "self",(char *) "dc", NULL
38912 };
38913
38914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38916 if (!SWIG_IsOK(res1)) {
38917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38918 }
38919 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38920 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38921 if (!SWIG_IsOK(res2)) {
38922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38923 }
38924 arg2 = reinterpret_cast< wxDC * >(argp2);
38925 {
38926 PyThreadState* __tstate = wxPyBeginAllowThreads();
38927 result = (bool)(arg1)->DoEraseBackground(arg2);
38928 wxPyEndAllowThreads(__tstate);
38929 if (PyErr_Occurred()) SWIG_fail;
38930 }
38931 {
38932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38933 }
38934 return resultobj;
38935 fail:
38936 return NULL;
38937 }
38938
38939
38940 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38941 PyObject *resultobj = 0;
38942 wxPyControl *arg1 = (wxPyControl *) 0 ;
38943 int arg2 ;
38944 int arg3 ;
38945 int arg4 ;
38946 int arg5 ;
38947 void *argp1 = 0 ;
38948 int res1 = 0 ;
38949 int val2 ;
38950 int ecode2 = 0 ;
38951 int val3 ;
38952 int ecode3 = 0 ;
38953 int val4 ;
38954 int ecode4 = 0 ;
38955 int val5 ;
38956 int ecode5 = 0 ;
38957 PyObject * obj0 = 0 ;
38958 PyObject * obj1 = 0 ;
38959 PyObject * obj2 = 0 ;
38960 PyObject * obj3 = 0 ;
38961 PyObject * obj4 = 0 ;
38962 char * kwnames[] = {
38963 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38964 };
38965
38966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38968 if (!SWIG_IsOK(res1)) {
38969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38970 }
38971 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38972 ecode2 = SWIG_AsVal_int(obj1, &val2);
38973 if (!SWIG_IsOK(ecode2)) {
38974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38975 }
38976 arg2 = static_cast< int >(val2);
38977 ecode3 = SWIG_AsVal_int(obj2, &val3);
38978 if (!SWIG_IsOK(ecode3)) {
38979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38980 }
38981 arg3 = static_cast< int >(val3);
38982 ecode4 = SWIG_AsVal_int(obj3, &val4);
38983 if (!SWIG_IsOK(ecode4)) {
38984 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38985 }
38986 arg4 = static_cast< int >(val4);
38987 ecode5 = SWIG_AsVal_int(obj4, &val5);
38988 if (!SWIG_IsOK(ecode5)) {
38989 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38990 }
38991 arg5 = static_cast< int >(val5);
38992 {
38993 PyThreadState* __tstate = wxPyBeginAllowThreads();
38994 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38995 wxPyEndAllowThreads(__tstate);
38996 if (PyErr_Occurred()) SWIG_fail;
38997 }
38998 resultobj = SWIG_Py_Void();
38999 return resultobj;
39000 fail:
39001 return NULL;
39002 }
39003
39004
39005 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39006 PyObject *resultobj = 0;
39007 wxPyControl *arg1 = (wxPyControl *) 0 ;
39008 int arg2 ;
39009 int arg3 ;
39010 int arg4 ;
39011 int arg5 ;
39012 int arg6 = (int) wxSIZE_AUTO ;
39013 void *argp1 = 0 ;
39014 int res1 = 0 ;
39015 int val2 ;
39016 int ecode2 = 0 ;
39017 int val3 ;
39018 int ecode3 = 0 ;
39019 int val4 ;
39020 int ecode4 = 0 ;
39021 int val5 ;
39022 int ecode5 = 0 ;
39023 int val6 ;
39024 int ecode6 = 0 ;
39025 PyObject * obj0 = 0 ;
39026 PyObject * obj1 = 0 ;
39027 PyObject * obj2 = 0 ;
39028 PyObject * obj3 = 0 ;
39029 PyObject * obj4 = 0 ;
39030 PyObject * obj5 = 0 ;
39031 char * kwnames[] = {
39032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39033 };
39034
39035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39037 if (!SWIG_IsOK(res1)) {
39038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39039 }
39040 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39041 ecode2 = SWIG_AsVal_int(obj1, &val2);
39042 if (!SWIG_IsOK(ecode2)) {
39043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39044 }
39045 arg2 = static_cast< int >(val2);
39046 ecode3 = SWIG_AsVal_int(obj2, &val3);
39047 if (!SWIG_IsOK(ecode3)) {
39048 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39049 }
39050 arg3 = static_cast< int >(val3);
39051 ecode4 = SWIG_AsVal_int(obj3, &val4);
39052 if (!SWIG_IsOK(ecode4)) {
39053 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39054 }
39055 arg4 = static_cast< int >(val4);
39056 ecode5 = SWIG_AsVal_int(obj4, &val5);
39057 if (!SWIG_IsOK(ecode5)) {
39058 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39059 }
39060 arg5 = static_cast< int >(val5);
39061 if (obj5) {
39062 ecode6 = SWIG_AsVal_int(obj5, &val6);
39063 if (!SWIG_IsOK(ecode6)) {
39064 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39065 }
39066 arg6 = static_cast< int >(val6);
39067 }
39068 {
39069 PyThreadState* __tstate = wxPyBeginAllowThreads();
39070 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39071 wxPyEndAllowThreads(__tstate);
39072 if (PyErr_Occurred()) SWIG_fail;
39073 }
39074 resultobj = SWIG_Py_Void();
39075 return resultobj;
39076 fail:
39077 return NULL;
39078 }
39079
39080
39081 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39082 PyObject *resultobj = 0;
39083 wxPyControl *arg1 = (wxPyControl *) 0 ;
39084 int arg2 ;
39085 int arg3 ;
39086 void *argp1 = 0 ;
39087 int res1 = 0 ;
39088 int val2 ;
39089 int ecode2 = 0 ;
39090 int val3 ;
39091 int ecode3 = 0 ;
39092 PyObject * obj0 = 0 ;
39093 PyObject * obj1 = 0 ;
39094 PyObject * obj2 = 0 ;
39095 char * kwnames[] = {
39096 (char *) "self",(char *) "width",(char *) "height", NULL
39097 };
39098
39099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39101 if (!SWIG_IsOK(res1)) {
39102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39103 }
39104 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39105 ecode2 = SWIG_AsVal_int(obj1, &val2);
39106 if (!SWIG_IsOK(ecode2)) {
39107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39108 }
39109 arg2 = static_cast< int >(val2);
39110 ecode3 = SWIG_AsVal_int(obj2, &val3);
39111 if (!SWIG_IsOK(ecode3)) {
39112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39113 }
39114 arg3 = static_cast< int >(val3);
39115 {
39116 PyThreadState* __tstate = wxPyBeginAllowThreads();
39117 (arg1)->DoSetClientSize(arg2,arg3);
39118 wxPyEndAllowThreads(__tstate);
39119 if (PyErr_Occurred()) SWIG_fail;
39120 }
39121 resultobj = SWIG_Py_Void();
39122 return resultobj;
39123 fail:
39124 return NULL;
39125 }
39126
39127
39128 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39129 PyObject *resultobj = 0;
39130 wxPyControl *arg1 = (wxPyControl *) 0 ;
39131 int arg2 ;
39132 int arg3 ;
39133 void *argp1 = 0 ;
39134 int res1 = 0 ;
39135 int val2 ;
39136 int ecode2 = 0 ;
39137 int val3 ;
39138 int ecode3 = 0 ;
39139 PyObject * obj0 = 0 ;
39140 PyObject * obj1 = 0 ;
39141 PyObject * obj2 = 0 ;
39142 char * kwnames[] = {
39143 (char *) "self",(char *) "x",(char *) "y", NULL
39144 };
39145
39146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39148 if (!SWIG_IsOK(res1)) {
39149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39150 }
39151 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39152 ecode2 = SWIG_AsVal_int(obj1, &val2);
39153 if (!SWIG_IsOK(ecode2)) {
39154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39155 }
39156 arg2 = static_cast< int >(val2);
39157 ecode3 = SWIG_AsVal_int(obj2, &val3);
39158 if (!SWIG_IsOK(ecode3)) {
39159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39160 }
39161 arg3 = static_cast< int >(val3);
39162 {
39163 PyThreadState* __tstate = wxPyBeginAllowThreads();
39164 (arg1)->DoSetVirtualSize(arg2,arg3);
39165 wxPyEndAllowThreads(__tstate);
39166 if (PyErr_Occurred()) SWIG_fail;
39167 }
39168 resultobj = SWIG_Py_Void();
39169 return resultobj;
39170 fail:
39171 return NULL;
39172 }
39173
39174
39175 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39176 PyObject *resultobj = 0;
39177 wxPyControl *arg1 = (wxPyControl *) 0 ;
39178 int *arg2 = (int *) 0 ;
39179 int *arg3 = (int *) 0 ;
39180 void *argp1 = 0 ;
39181 int res1 = 0 ;
39182 int temp2 ;
39183 int res2 = SWIG_TMPOBJ ;
39184 int temp3 ;
39185 int res3 = SWIG_TMPOBJ ;
39186 PyObject *swig_obj[1] ;
39187
39188 arg2 = &temp2;
39189 arg3 = &temp3;
39190 if (!args) SWIG_fail;
39191 swig_obj[0] = args;
39192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39193 if (!SWIG_IsOK(res1)) {
39194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39195 }
39196 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39197 {
39198 PyThreadState* __tstate = wxPyBeginAllowThreads();
39199 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39200 wxPyEndAllowThreads(__tstate);
39201 if (PyErr_Occurred()) SWIG_fail;
39202 }
39203 resultobj = SWIG_Py_Void();
39204 if (SWIG_IsTmpObj(res2)) {
39205 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39206 } else {
39207 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39209 }
39210 if (SWIG_IsTmpObj(res3)) {
39211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39212 } else {
39213 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39215 }
39216 return resultobj;
39217 fail:
39218 return NULL;
39219 }
39220
39221
39222 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39223 PyObject *resultobj = 0;
39224 wxPyControl *arg1 = (wxPyControl *) 0 ;
39225 int *arg2 = (int *) 0 ;
39226 int *arg3 = (int *) 0 ;
39227 void *argp1 = 0 ;
39228 int res1 = 0 ;
39229 int temp2 ;
39230 int res2 = SWIG_TMPOBJ ;
39231 int temp3 ;
39232 int res3 = SWIG_TMPOBJ ;
39233 PyObject *swig_obj[1] ;
39234
39235 arg2 = &temp2;
39236 arg3 = &temp3;
39237 if (!args) SWIG_fail;
39238 swig_obj[0] = args;
39239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39240 if (!SWIG_IsOK(res1)) {
39241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39242 }
39243 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39244 {
39245 PyThreadState* __tstate = wxPyBeginAllowThreads();
39246 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39247 wxPyEndAllowThreads(__tstate);
39248 if (PyErr_Occurred()) SWIG_fail;
39249 }
39250 resultobj = SWIG_Py_Void();
39251 if (SWIG_IsTmpObj(res2)) {
39252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39253 } else {
39254 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39256 }
39257 if (SWIG_IsTmpObj(res3)) {
39258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39259 } else {
39260 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39262 }
39263 return resultobj;
39264 fail:
39265 return NULL;
39266 }
39267
39268
39269 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39270 PyObject *resultobj = 0;
39271 wxPyControl *arg1 = (wxPyControl *) 0 ;
39272 int *arg2 = (int *) 0 ;
39273 int *arg3 = (int *) 0 ;
39274 void *argp1 = 0 ;
39275 int res1 = 0 ;
39276 int temp2 ;
39277 int res2 = SWIG_TMPOBJ ;
39278 int temp3 ;
39279 int res3 = SWIG_TMPOBJ ;
39280 PyObject *swig_obj[1] ;
39281
39282 arg2 = &temp2;
39283 arg3 = &temp3;
39284 if (!args) SWIG_fail;
39285 swig_obj[0] = args;
39286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39287 if (!SWIG_IsOK(res1)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39289 }
39290 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39291 {
39292 PyThreadState* __tstate = wxPyBeginAllowThreads();
39293 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39294 wxPyEndAllowThreads(__tstate);
39295 if (PyErr_Occurred()) SWIG_fail;
39296 }
39297 resultobj = SWIG_Py_Void();
39298 if (SWIG_IsTmpObj(res2)) {
39299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39300 } else {
39301 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39303 }
39304 if (SWIG_IsTmpObj(res3)) {
39305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39306 } else {
39307 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39309 }
39310 return resultobj;
39311 fail:
39312 return NULL;
39313 }
39314
39315
39316 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39317 PyObject *resultobj = 0;
39318 wxPyControl *arg1 = (wxPyControl *) 0 ;
39319 wxSize result;
39320 void *argp1 = 0 ;
39321 int res1 = 0 ;
39322 PyObject *swig_obj[1] ;
39323
39324 if (!args) SWIG_fail;
39325 swig_obj[0] = args;
39326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39327 if (!SWIG_IsOK(res1)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39329 }
39330 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39331 {
39332 PyThreadState* __tstate = wxPyBeginAllowThreads();
39333 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39334 wxPyEndAllowThreads(__tstate);
39335 if (PyErr_Occurred()) SWIG_fail;
39336 }
39337 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39338 return resultobj;
39339 fail:
39340 return NULL;
39341 }
39342
39343
39344 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39345 PyObject *resultobj = 0;
39346 wxPyControl *arg1 = (wxPyControl *) 0 ;
39347 wxSize result;
39348 void *argp1 = 0 ;
39349 int res1 = 0 ;
39350 PyObject *swig_obj[1] ;
39351
39352 if (!args) SWIG_fail;
39353 swig_obj[0] = args;
39354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39355 if (!SWIG_IsOK(res1)) {
39356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39357 }
39358 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39359 {
39360 PyThreadState* __tstate = wxPyBeginAllowThreads();
39361 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39362 wxPyEndAllowThreads(__tstate);
39363 if (PyErr_Occurred()) SWIG_fail;
39364 }
39365 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39366 return resultobj;
39367 fail:
39368 return NULL;
39369 }
39370
39371
39372 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39373 PyObject *resultobj = 0;
39374 wxPyControl *arg1 = (wxPyControl *) 0 ;
39375 SwigValueWrapper<wxVisualAttributes > result;
39376 void *argp1 = 0 ;
39377 int res1 = 0 ;
39378 PyObject *swig_obj[1] ;
39379
39380 if (!args) SWIG_fail;
39381 swig_obj[0] = args;
39382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39383 if (!SWIG_IsOK(res1)) {
39384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39385 }
39386 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39387 {
39388 PyThreadState* __tstate = wxPyBeginAllowThreads();
39389 result = (arg1)->GetDefaultAttributes();
39390 wxPyEndAllowThreads(__tstate);
39391 if (PyErr_Occurred()) SWIG_fail;
39392 }
39393 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39394 return resultobj;
39395 fail:
39396 return NULL;
39397 }
39398
39399
39400 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39401 PyObject *resultobj = 0;
39402 wxPyControl *arg1 = (wxPyControl *) 0 ;
39403 void *argp1 = 0 ;
39404 int res1 = 0 ;
39405 PyObject *swig_obj[1] ;
39406
39407 if (!args) SWIG_fail;
39408 swig_obj[0] = args;
39409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39410 if (!SWIG_IsOK(res1)) {
39411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39412 }
39413 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39414 {
39415 PyThreadState* __tstate = wxPyBeginAllowThreads();
39416 (arg1)->OnInternalIdle();
39417 wxPyEndAllowThreads(__tstate);
39418 if (PyErr_Occurred()) SWIG_fail;
39419 }
39420 resultobj = SWIG_Py_Void();
39421 return resultobj;
39422 fail:
39423 return NULL;
39424 }
39425
39426
39427 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39428 PyObject *obj;
39429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39430 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39431 return SWIG_Py_Void();
39432 }
39433
39434 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39435 return SWIG_Python_InitShadowInstance(args);
39436 }
39437
39438 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39439 PyObject *resultobj = 0;
39440 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39441 int arg2 = (int) 0 ;
39442 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39443 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39444 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39445 wxHelpEvent *result = 0 ;
39446 int val1 ;
39447 int ecode1 = 0 ;
39448 int val2 ;
39449 int ecode2 = 0 ;
39450 wxPoint temp3 ;
39451 int val4 ;
39452 int ecode4 = 0 ;
39453 PyObject * obj0 = 0 ;
39454 PyObject * obj1 = 0 ;
39455 PyObject * obj2 = 0 ;
39456 PyObject * obj3 = 0 ;
39457 char * kwnames[] = {
39458 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39459 };
39460
39461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39462 if (obj0) {
39463 ecode1 = SWIG_AsVal_int(obj0, &val1);
39464 if (!SWIG_IsOK(ecode1)) {
39465 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39466 }
39467 arg1 = static_cast< wxEventType >(val1);
39468 }
39469 if (obj1) {
39470 ecode2 = SWIG_AsVal_int(obj1, &val2);
39471 if (!SWIG_IsOK(ecode2)) {
39472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39473 }
39474 arg2 = static_cast< int >(val2);
39475 }
39476 if (obj2) {
39477 {
39478 arg3 = &temp3;
39479 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39480 }
39481 }
39482 if (obj3) {
39483 ecode4 = SWIG_AsVal_int(obj3, &val4);
39484 if (!SWIG_IsOK(ecode4)) {
39485 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39486 }
39487 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39488 }
39489 {
39490 PyThreadState* __tstate = wxPyBeginAllowThreads();
39491 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39492 wxPyEndAllowThreads(__tstate);
39493 if (PyErr_Occurred()) SWIG_fail;
39494 }
39495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39496 return resultobj;
39497 fail:
39498 return NULL;
39499 }
39500
39501
39502 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39503 PyObject *resultobj = 0;
39504 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39505 wxPoint result;
39506 void *argp1 = 0 ;
39507 int res1 = 0 ;
39508 PyObject *swig_obj[1] ;
39509
39510 if (!args) SWIG_fail;
39511 swig_obj[0] = args;
39512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39513 if (!SWIG_IsOK(res1)) {
39514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39515 }
39516 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39517 {
39518 PyThreadState* __tstate = wxPyBeginAllowThreads();
39519 result = ((wxHelpEvent const *)arg1)->GetPosition();
39520 wxPyEndAllowThreads(__tstate);
39521 if (PyErr_Occurred()) SWIG_fail;
39522 }
39523 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39524 return resultobj;
39525 fail:
39526 return NULL;
39527 }
39528
39529
39530 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39531 PyObject *resultobj = 0;
39532 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39533 wxPoint *arg2 = 0 ;
39534 void *argp1 = 0 ;
39535 int res1 = 0 ;
39536 wxPoint temp2 ;
39537 PyObject * obj0 = 0 ;
39538 PyObject * obj1 = 0 ;
39539 char * kwnames[] = {
39540 (char *) "self",(char *) "pos", NULL
39541 };
39542
39543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39545 if (!SWIG_IsOK(res1)) {
39546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39547 }
39548 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39549 {
39550 arg2 = &temp2;
39551 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39552 }
39553 {
39554 PyThreadState* __tstate = wxPyBeginAllowThreads();
39555 (arg1)->SetPosition((wxPoint const &)*arg2);
39556 wxPyEndAllowThreads(__tstate);
39557 if (PyErr_Occurred()) SWIG_fail;
39558 }
39559 resultobj = SWIG_Py_Void();
39560 return resultobj;
39561 fail:
39562 return NULL;
39563 }
39564
39565
39566 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39567 PyObject *resultobj = 0;
39568 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39569 wxString *result = 0 ;
39570 void *argp1 = 0 ;
39571 int res1 = 0 ;
39572 PyObject *swig_obj[1] ;
39573
39574 if (!args) SWIG_fail;
39575 swig_obj[0] = args;
39576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39577 if (!SWIG_IsOK(res1)) {
39578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39579 }
39580 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39581 {
39582 PyThreadState* __tstate = wxPyBeginAllowThreads();
39583 {
39584 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39585 result = (wxString *) &_result_ref;
39586 }
39587 wxPyEndAllowThreads(__tstate);
39588 if (PyErr_Occurred()) SWIG_fail;
39589 }
39590 {
39591 #if wxUSE_UNICODE
39592 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39593 #else
39594 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39595 #endif
39596 }
39597 return resultobj;
39598 fail:
39599 return NULL;
39600 }
39601
39602
39603 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39604 PyObject *resultobj = 0;
39605 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39606 wxString *arg2 = 0 ;
39607 void *argp1 = 0 ;
39608 int res1 = 0 ;
39609 bool temp2 = false ;
39610 PyObject * obj0 = 0 ;
39611 PyObject * obj1 = 0 ;
39612 char * kwnames[] = {
39613 (char *) "self",(char *) "link", NULL
39614 };
39615
39616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39618 if (!SWIG_IsOK(res1)) {
39619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39620 }
39621 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39622 {
39623 arg2 = wxString_in_helper(obj1);
39624 if (arg2 == NULL) SWIG_fail;
39625 temp2 = true;
39626 }
39627 {
39628 PyThreadState* __tstate = wxPyBeginAllowThreads();
39629 (arg1)->SetLink((wxString const &)*arg2);
39630 wxPyEndAllowThreads(__tstate);
39631 if (PyErr_Occurred()) SWIG_fail;
39632 }
39633 resultobj = SWIG_Py_Void();
39634 {
39635 if (temp2)
39636 delete arg2;
39637 }
39638 return resultobj;
39639 fail:
39640 {
39641 if (temp2)
39642 delete arg2;
39643 }
39644 return NULL;
39645 }
39646
39647
39648 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39649 PyObject *resultobj = 0;
39650 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39651 wxString *result = 0 ;
39652 void *argp1 = 0 ;
39653 int res1 = 0 ;
39654 PyObject *swig_obj[1] ;
39655
39656 if (!args) SWIG_fail;
39657 swig_obj[0] = args;
39658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39659 if (!SWIG_IsOK(res1)) {
39660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39661 }
39662 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39663 {
39664 PyThreadState* __tstate = wxPyBeginAllowThreads();
39665 {
39666 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39667 result = (wxString *) &_result_ref;
39668 }
39669 wxPyEndAllowThreads(__tstate);
39670 if (PyErr_Occurred()) SWIG_fail;
39671 }
39672 {
39673 #if wxUSE_UNICODE
39674 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39675 #else
39676 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39677 #endif
39678 }
39679 return resultobj;
39680 fail:
39681 return NULL;
39682 }
39683
39684
39685 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39686 PyObject *resultobj = 0;
39687 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39688 wxString *arg2 = 0 ;
39689 void *argp1 = 0 ;
39690 int res1 = 0 ;
39691 bool temp2 = false ;
39692 PyObject * obj0 = 0 ;
39693 PyObject * obj1 = 0 ;
39694 char * kwnames[] = {
39695 (char *) "self",(char *) "target", NULL
39696 };
39697
39698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39700 if (!SWIG_IsOK(res1)) {
39701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39702 }
39703 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39704 {
39705 arg2 = wxString_in_helper(obj1);
39706 if (arg2 == NULL) SWIG_fail;
39707 temp2 = true;
39708 }
39709 {
39710 PyThreadState* __tstate = wxPyBeginAllowThreads();
39711 (arg1)->SetTarget((wxString const &)*arg2);
39712 wxPyEndAllowThreads(__tstate);
39713 if (PyErr_Occurred()) SWIG_fail;
39714 }
39715 resultobj = SWIG_Py_Void();
39716 {
39717 if (temp2)
39718 delete arg2;
39719 }
39720 return resultobj;
39721 fail:
39722 {
39723 if (temp2)
39724 delete arg2;
39725 }
39726 return NULL;
39727 }
39728
39729
39730 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39731 PyObject *resultobj = 0;
39732 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39733 wxHelpEvent::Origin result;
39734 void *argp1 = 0 ;
39735 int res1 = 0 ;
39736 PyObject *swig_obj[1] ;
39737
39738 if (!args) SWIG_fail;
39739 swig_obj[0] = args;
39740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39741 if (!SWIG_IsOK(res1)) {
39742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39743 }
39744 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39745 {
39746 PyThreadState* __tstate = wxPyBeginAllowThreads();
39747 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39748 wxPyEndAllowThreads(__tstate);
39749 if (PyErr_Occurred()) SWIG_fail;
39750 }
39751 resultobj = SWIG_From_int(static_cast< int >(result));
39752 return resultobj;
39753 fail:
39754 return NULL;
39755 }
39756
39757
39758 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39759 PyObject *resultobj = 0;
39760 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39761 wxHelpEvent::Origin arg2 ;
39762 void *argp1 = 0 ;
39763 int res1 = 0 ;
39764 int val2 ;
39765 int ecode2 = 0 ;
39766 PyObject * obj0 = 0 ;
39767 PyObject * obj1 = 0 ;
39768 char * kwnames[] = {
39769 (char *) "self",(char *) "origin", NULL
39770 };
39771
39772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39774 if (!SWIG_IsOK(res1)) {
39775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39776 }
39777 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39778 ecode2 = SWIG_AsVal_int(obj1, &val2);
39779 if (!SWIG_IsOK(ecode2)) {
39780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39781 }
39782 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39783 {
39784 PyThreadState* __tstate = wxPyBeginAllowThreads();
39785 (arg1)->SetOrigin(arg2);
39786 wxPyEndAllowThreads(__tstate);
39787 if (PyErr_Occurred()) SWIG_fail;
39788 }
39789 resultobj = SWIG_Py_Void();
39790 return resultobj;
39791 fail:
39792 return NULL;
39793 }
39794
39795
39796 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39797 PyObject *obj;
39798 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39799 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39800 return SWIG_Py_Void();
39801 }
39802
39803 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39804 return SWIG_Python_InitShadowInstance(args);
39805 }
39806
39807 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39808 PyObject *resultobj = 0;
39809 wxWindow *arg1 = (wxWindow *) NULL ;
39810 bool arg2 = (bool) true ;
39811 wxContextHelp *result = 0 ;
39812 void *argp1 = 0 ;
39813 int res1 = 0 ;
39814 bool val2 ;
39815 int ecode2 = 0 ;
39816 PyObject * obj0 = 0 ;
39817 PyObject * obj1 = 0 ;
39818 char * kwnames[] = {
39819 (char *) "window",(char *) "doNow", NULL
39820 };
39821
39822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39823 if (obj0) {
39824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39825 if (!SWIG_IsOK(res1)) {
39826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39827 }
39828 arg1 = reinterpret_cast< wxWindow * >(argp1);
39829 }
39830 if (obj1) {
39831 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39832 if (!SWIG_IsOK(ecode2)) {
39833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39834 }
39835 arg2 = static_cast< bool >(val2);
39836 }
39837 {
39838 if (!wxPyCheckForApp()) SWIG_fail;
39839 PyThreadState* __tstate = wxPyBeginAllowThreads();
39840 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39841 wxPyEndAllowThreads(__tstate);
39842 if (PyErr_Occurred()) SWIG_fail;
39843 }
39844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39845 return resultobj;
39846 fail:
39847 return NULL;
39848 }
39849
39850
39851 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39852 PyObject *resultobj = 0;
39853 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39854 void *argp1 = 0 ;
39855 int res1 = 0 ;
39856 PyObject *swig_obj[1] ;
39857
39858 if (!args) SWIG_fail;
39859 swig_obj[0] = args;
39860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39861 if (!SWIG_IsOK(res1)) {
39862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39863 }
39864 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39865 {
39866 PyThreadState* __tstate = wxPyBeginAllowThreads();
39867 delete arg1;
39868
39869 wxPyEndAllowThreads(__tstate);
39870 if (PyErr_Occurred()) SWIG_fail;
39871 }
39872 resultobj = SWIG_Py_Void();
39873 return resultobj;
39874 fail:
39875 return NULL;
39876 }
39877
39878
39879 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39880 PyObject *resultobj = 0;
39881 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39882 wxWindow *arg2 = (wxWindow *) NULL ;
39883 bool result;
39884 void *argp1 = 0 ;
39885 int res1 = 0 ;
39886 void *argp2 = 0 ;
39887 int res2 = 0 ;
39888 PyObject * obj0 = 0 ;
39889 PyObject * obj1 = 0 ;
39890 char * kwnames[] = {
39891 (char *) "self",(char *) "window", NULL
39892 };
39893
39894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39896 if (!SWIG_IsOK(res1)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39898 }
39899 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39900 if (obj1) {
39901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39902 if (!SWIG_IsOK(res2)) {
39903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39904 }
39905 arg2 = reinterpret_cast< wxWindow * >(argp2);
39906 }
39907 {
39908 PyThreadState* __tstate = wxPyBeginAllowThreads();
39909 result = (bool)(arg1)->BeginContextHelp(arg2);
39910 wxPyEndAllowThreads(__tstate);
39911 if (PyErr_Occurred()) SWIG_fail;
39912 }
39913 {
39914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39915 }
39916 return resultobj;
39917 fail:
39918 return NULL;
39919 }
39920
39921
39922 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39923 PyObject *resultobj = 0;
39924 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39925 bool result;
39926 void *argp1 = 0 ;
39927 int res1 = 0 ;
39928 PyObject *swig_obj[1] ;
39929
39930 if (!args) SWIG_fail;
39931 swig_obj[0] = args;
39932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39933 if (!SWIG_IsOK(res1)) {
39934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39935 }
39936 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39937 {
39938 PyThreadState* __tstate = wxPyBeginAllowThreads();
39939 result = (bool)(arg1)->EndContextHelp();
39940 wxPyEndAllowThreads(__tstate);
39941 if (PyErr_Occurred()) SWIG_fail;
39942 }
39943 {
39944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39945 }
39946 return resultobj;
39947 fail:
39948 return NULL;
39949 }
39950
39951
39952 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39953 PyObject *obj;
39954 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39955 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39956 return SWIG_Py_Void();
39957 }
39958
39959 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39960 return SWIG_Python_InitShadowInstance(args);
39961 }
39962
39963 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39964 PyObject *resultobj = 0;
39965 wxWindow *arg1 = (wxWindow *) 0 ;
39966 int arg2 = (int) wxID_CONTEXT_HELP ;
39967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39969 wxSize const &arg4_defvalue = wxDefaultSize ;
39970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39971 long arg5 = (long) wxBU_AUTODRAW ;
39972 wxContextHelpButton *result = 0 ;
39973 void *argp1 = 0 ;
39974 int res1 = 0 ;
39975 int val2 ;
39976 int ecode2 = 0 ;
39977 wxPoint temp3 ;
39978 wxSize temp4 ;
39979 long val5 ;
39980 int ecode5 = 0 ;
39981 PyObject * obj0 = 0 ;
39982 PyObject * obj1 = 0 ;
39983 PyObject * obj2 = 0 ;
39984 PyObject * obj3 = 0 ;
39985 PyObject * obj4 = 0 ;
39986 char * kwnames[] = {
39987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39988 };
39989
39990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39992 if (!SWIG_IsOK(res1)) {
39993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39994 }
39995 arg1 = reinterpret_cast< wxWindow * >(argp1);
39996 if (obj1) {
39997 ecode2 = SWIG_AsVal_int(obj1, &val2);
39998 if (!SWIG_IsOK(ecode2)) {
39999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40000 }
40001 arg2 = static_cast< int >(val2);
40002 }
40003 if (obj2) {
40004 {
40005 arg3 = &temp3;
40006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40007 }
40008 }
40009 if (obj3) {
40010 {
40011 arg4 = &temp4;
40012 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40013 }
40014 }
40015 if (obj4) {
40016 ecode5 = SWIG_AsVal_long(obj4, &val5);
40017 if (!SWIG_IsOK(ecode5)) {
40018 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40019 }
40020 arg5 = static_cast< long >(val5);
40021 }
40022 {
40023 if (!wxPyCheckForApp()) SWIG_fail;
40024 PyThreadState* __tstate = wxPyBeginAllowThreads();
40025 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40026 wxPyEndAllowThreads(__tstate);
40027 if (PyErr_Occurred()) SWIG_fail;
40028 }
40029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40030 return resultobj;
40031 fail:
40032 return NULL;
40033 }
40034
40035
40036 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40037 PyObject *obj;
40038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40039 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40040 return SWIG_Py_Void();
40041 }
40042
40043 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40044 return SWIG_Python_InitShadowInstance(args);
40045 }
40046
40047 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40048 PyObject *resultobj = 0;
40049 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40050 void *argp1 = 0 ;
40051 int res1 = 0 ;
40052 PyObject *swig_obj[1] ;
40053
40054 if (!args) SWIG_fail;
40055 swig_obj[0] = args;
40056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40057 if (!SWIG_IsOK(res1)) {
40058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40059 }
40060 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40061 {
40062 PyThreadState* __tstate = wxPyBeginAllowThreads();
40063 delete arg1;
40064
40065 wxPyEndAllowThreads(__tstate);
40066 if (PyErr_Occurred()) SWIG_fail;
40067 }
40068 resultobj = SWIG_Py_Void();
40069 return resultobj;
40070 fail:
40071 return NULL;
40072 }
40073
40074
40075 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40076 PyObject *resultobj = 0;
40077 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40078 wxHelpProvider *result = 0 ;
40079 int res1 = 0 ;
40080 PyObject * obj0 = 0 ;
40081 char * kwnames[] = {
40082 (char *) "helpProvider", NULL
40083 };
40084
40085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40086 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40087 if (!SWIG_IsOK(res1)) {
40088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40089 }
40090 {
40091 PyThreadState* __tstate = wxPyBeginAllowThreads();
40092 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40093 wxPyEndAllowThreads(__tstate);
40094 if (PyErr_Occurred()) SWIG_fail;
40095 }
40096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40097 return resultobj;
40098 fail:
40099 return NULL;
40100 }
40101
40102
40103 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40104 PyObject *resultobj = 0;
40105 wxHelpProvider *result = 0 ;
40106
40107 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40108 {
40109 PyThreadState* __tstate = wxPyBeginAllowThreads();
40110 result = (wxHelpProvider *)wxHelpProvider::Get();
40111 wxPyEndAllowThreads(__tstate);
40112 if (PyErr_Occurred()) SWIG_fail;
40113 }
40114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40115 return resultobj;
40116 fail:
40117 return NULL;
40118 }
40119
40120
40121 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40122 PyObject *resultobj = 0;
40123 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40124 wxWindow *arg2 = (wxWindow *) 0 ;
40125 wxString result;
40126 void *argp1 = 0 ;
40127 int res1 = 0 ;
40128 void *argp2 = 0 ;
40129 int res2 = 0 ;
40130 PyObject * obj0 = 0 ;
40131 PyObject * obj1 = 0 ;
40132 char * kwnames[] = {
40133 (char *) "self",(char *) "window", NULL
40134 };
40135
40136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40138 if (!SWIG_IsOK(res1)) {
40139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40140 }
40141 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40143 if (!SWIG_IsOK(res2)) {
40144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40145 }
40146 arg2 = reinterpret_cast< wxWindow * >(argp2);
40147 {
40148 PyThreadState* __tstate = wxPyBeginAllowThreads();
40149 result = (arg1)->GetHelp((wxWindow const *)arg2);
40150 wxPyEndAllowThreads(__tstate);
40151 if (PyErr_Occurred()) SWIG_fail;
40152 }
40153 {
40154 #if wxUSE_UNICODE
40155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40156 #else
40157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40158 #endif
40159 }
40160 return resultobj;
40161 fail:
40162 return NULL;
40163 }
40164
40165
40166 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40167 PyObject *resultobj = 0;
40168 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40169 wxWindow *arg2 = (wxWindow *) 0 ;
40170 bool result;
40171 void *argp1 = 0 ;
40172 int res1 = 0 ;
40173 void *argp2 = 0 ;
40174 int res2 = 0 ;
40175 PyObject * obj0 = 0 ;
40176 PyObject * obj1 = 0 ;
40177 char * kwnames[] = {
40178 (char *) "self",(char *) "window", NULL
40179 };
40180
40181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40183 if (!SWIG_IsOK(res1)) {
40184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40185 }
40186 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40188 if (!SWIG_IsOK(res2)) {
40189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40190 }
40191 arg2 = reinterpret_cast< wxWindow * >(argp2);
40192 {
40193 PyThreadState* __tstate = wxPyBeginAllowThreads();
40194 result = (bool)(arg1)->ShowHelp(arg2);
40195 wxPyEndAllowThreads(__tstate);
40196 if (PyErr_Occurred()) SWIG_fail;
40197 }
40198 {
40199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40200 }
40201 return resultobj;
40202 fail:
40203 return NULL;
40204 }
40205
40206
40207 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40208 PyObject *resultobj = 0;
40209 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40210 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40211 wxPoint *arg3 = 0 ;
40212 wxHelpEvent::Origin arg4 ;
40213 bool result;
40214 void *argp1 = 0 ;
40215 int res1 = 0 ;
40216 void *argp2 = 0 ;
40217 int res2 = 0 ;
40218 wxPoint temp3 ;
40219 int val4 ;
40220 int ecode4 = 0 ;
40221 PyObject * obj0 = 0 ;
40222 PyObject * obj1 = 0 ;
40223 PyObject * obj2 = 0 ;
40224 PyObject * obj3 = 0 ;
40225 char * kwnames[] = {
40226 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40227 };
40228
40229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40231 if (!SWIG_IsOK(res1)) {
40232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40233 }
40234 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40236 if (!SWIG_IsOK(res2)) {
40237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40238 }
40239 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40240 {
40241 arg3 = &temp3;
40242 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40243 }
40244 ecode4 = SWIG_AsVal_int(obj3, &val4);
40245 if (!SWIG_IsOK(ecode4)) {
40246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40247 }
40248 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40249 {
40250 PyThreadState* __tstate = wxPyBeginAllowThreads();
40251 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40252 wxPyEndAllowThreads(__tstate);
40253 if (PyErr_Occurred()) SWIG_fail;
40254 }
40255 {
40256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40257 }
40258 return resultobj;
40259 fail:
40260 return NULL;
40261 }
40262
40263
40264 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40265 PyObject *resultobj = 0;
40266 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40267 wxWindow *arg2 = (wxWindow *) 0 ;
40268 wxString *arg3 = 0 ;
40269 void *argp1 = 0 ;
40270 int res1 = 0 ;
40271 void *argp2 = 0 ;
40272 int res2 = 0 ;
40273 bool temp3 = false ;
40274 PyObject * obj0 = 0 ;
40275 PyObject * obj1 = 0 ;
40276 PyObject * obj2 = 0 ;
40277 char * kwnames[] = {
40278 (char *) "self",(char *) "window",(char *) "text", NULL
40279 };
40280
40281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40283 if (!SWIG_IsOK(res1)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40285 }
40286 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40288 if (!SWIG_IsOK(res2)) {
40289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40290 }
40291 arg2 = reinterpret_cast< wxWindow * >(argp2);
40292 {
40293 arg3 = wxString_in_helper(obj2);
40294 if (arg3 == NULL) SWIG_fail;
40295 temp3 = true;
40296 }
40297 {
40298 PyThreadState* __tstate = wxPyBeginAllowThreads();
40299 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40300 wxPyEndAllowThreads(__tstate);
40301 if (PyErr_Occurred()) SWIG_fail;
40302 }
40303 resultobj = SWIG_Py_Void();
40304 {
40305 if (temp3)
40306 delete arg3;
40307 }
40308 return resultobj;
40309 fail:
40310 {
40311 if (temp3)
40312 delete arg3;
40313 }
40314 return NULL;
40315 }
40316
40317
40318 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40319 PyObject *resultobj = 0;
40320 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40321 int arg2 ;
40322 wxString *arg3 = 0 ;
40323 void *argp1 = 0 ;
40324 int res1 = 0 ;
40325 int val2 ;
40326 int ecode2 = 0 ;
40327 bool temp3 = false ;
40328 PyObject * obj0 = 0 ;
40329 PyObject * obj1 = 0 ;
40330 PyObject * obj2 = 0 ;
40331 char * kwnames[] = {
40332 (char *) "self",(char *) "id",(char *) "text", NULL
40333 };
40334
40335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40337 if (!SWIG_IsOK(res1)) {
40338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40339 }
40340 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40341 ecode2 = SWIG_AsVal_int(obj1, &val2);
40342 if (!SWIG_IsOK(ecode2)) {
40343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40344 }
40345 arg2 = static_cast< int >(val2);
40346 {
40347 arg3 = wxString_in_helper(obj2);
40348 if (arg3 == NULL) SWIG_fail;
40349 temp3 = true;
40350 }
40351 {
40352 PyThreadState* __tstate = wxPyBeginAllowThreads();
40353 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40354 wxPyEndAllowThreads(__tstate);
40355 if (PyErr_Occurred()) SWIG_fail;
40356 }
40357 resultobj = SWIG_Py_Void();
40358 {
40359 if (temp3)
40360 delete arg3;
40361 }
40362 return resultobj;
40363 fail:
40364 {
40365 if (temp3)
40366 delete arg3;
40367 }
40368 return NULL;
40369 }
40370
40371
40372 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40373 PyObject *resultobj = 0;
40374 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40375 wxWindow *arg2 = (wxWindow *) 0 ;
40376 void *argp1 = 0 ;
40377 int res1 = 0 ;
40378 void *argp2 = 0 ;
40379 int res2 = 0 ;
40380 PyObject * obj0 = 0 ;
40381 PyObject * obj1 = 0 ;
40382 char * kwnames[] = {
40383 (char *) "self",(char *) "window", NULL
40384 };
40385
40386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40388 if (!SWIG_IsOK(res1)) {
40389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40390 }
40391 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40393 if (!SWIG_IsOK(res2)) {
40394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40395 }
40396 arg2 = reinterpret_cast< wxWindow * >(argp2);
40397 {
40398 PyThreadState* __tstate = wxPyBeginAllowThreads();
40399 (arg1)->RemoveHelp(arg2);
40400 wxPyEndAllowThreads(__tstate);
40401 if (PyErr_Occurred()) SWIG_fail;
40402 }
40403 resultobj = SWIG_Py_Void();
40404 return resultobj;
40405 fail:
40406 return NULL;
40407 }
40408
40409
40410 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40411 PyObject *resultobj = 0;
40412 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40413 void *argp1 = 0 ;
40414 int res1 = 0 ;
40415 PyObject *swig_obj[1] ;
40416
40417 if (!args) SWIG_fail;
40418 swig_obj[0] = args;
40419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40420 if (!SWIG_IsOK(res1)) {
40421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40422 }
40423 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40424 {
40425 PyThreadState* __tstate = wxPyBeginAllowThreads();
40426 wxHelpProvider_Destroy(arg1);
40427 wxPyEndAllowThreads(__tstate);
40428 if (PyErr_Occurred()) SWIG_fail;
40429 }
40430 resultobj = SWIG_Py_Void();
40431 return resultobj;
40432 fail:
40433 return NULL;
40434 }
40435
40436
40437 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40438 PyObject *obj;
40439 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40440 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40441 return SWIG_Py_Void();
40442 }
40443
40444 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40445 PyObject *resultobj = 0;
40446 wxSimpleHelpProvider *result = 0 ;
40447
40448 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40449 {
40450 PyThreadState* __tstate = wxPyBeginAllowThreads();
40451 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40452 wxPyEndAllowThreads(__tstate);
40453 if (PyErr_Occurred()) SWIG_fail;
40454 }
40455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40456 return resultobj;
40457 fail:
40458 return NULL;
40459 }
40460
40461
40462 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40463 PyObject *obj;
40464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40465 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40466 return SWIG_Py_Void();
40467 }
40468
40469 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40470 return SWIG_Python_InitShadowInstance(args);
40471 }
40472
40473 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40474 PyObject *resultobj = 0;
40475 wxBitmap *arg1 = 0 ;
40476 wxCursor const &arg2_defvalue = wxNullCursor ;
40477 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40478 wxGenericDragImage *result = 0 ;
40479 void *argp1 = 0 ;
40480 int res1 = 0 ;
40481 void *argp2 = 0 ;
40482 int res2 = 0 ;
40483 PyObject * obj0 = 0 ;
40484 PyObject * obj1 = 0 ;
40485 char * kwnames[] = {
40486 (char *) "image",(char *) "cursor", NULL
40487 };
40488
40489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40490 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40491 if (!SWIG_IsOK(res1)) {
40492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40493 }
40494 if (!argp1) {
40495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40496 }
40497 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40498 if (obj1) {
40499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40500 if (!SWIG_IsOK(res2)) {
40501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40502 }
40503 if (!argp2) {
40504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40505 }
40506 arg2 = reinterpret_cast< wxCursor * >(argp2);
40507 }
40508 {
40509 if (!wxPyCheckForApp()) SWIG_fail;
40510 PyThreadState* __tstate = wxPyBeginAllowThreads();
40511 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40512 wxPyEndAllowThreads(__tstate);
40513 if (PyErr_Occurred()) SWIG_fail;
40514 }
40515 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40516 return resultobj;
40517 fail:
40518 return NULL;
40519 }
40520
40521
40522 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40523 PyObject *resultobj = 0;
40524 wxIcon *arg1 = 0 ;
40525 wxCursor const &arg2_defvalue = wxNullCursor ;
40526 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40527 wxGenericDragImage *result = 0 ;
40528 void *argp1 = 0 ;
40529 int res1 = 0 ;
40530 void *argp2 = 0 ;
40531 int res2 = 0 ;
40532 PyObject * obj0 = 0 ;
40533 PyObject * obj1 = 0 ;
40534 char * kwnames[] = {
40535 (char *) "image",(char *) "cursor", NULL
40536 };
40537
40538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40539 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40540 if (!SWIG_IsOK(res1)) {
40541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40542 }
40543 if (!argp1) {
40544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40545 }
40546 arg1 = reinterpret_cast< wxIcon * >(argp1);
40547 if (obj1) {
40548 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40549 if (!SWIG_IsOK(res2)) {
40550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40551 }
40552 if (!argp2) {
40553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40554 }
40555 arg2 = reinterpret_cast< wxCursor * >(argp2);
40556 }
40557 {
40558 if (!wxPyCheckForApp()) SWIG_fail;
40559 PyThreadState* __tstate = wxPyBeginAllowThreads();
40560 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40561 wxPyEndAllowThreads(__tstate);
40562 if (PyErr_Occurred()) SWIG_fail;
40563 }
40564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40565 return resultobj;
40566 fail:
40567 return NULL;
40568 }
40569
40570
40571 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40572 PyObject *resultobj = 0;
40573 wxString *arg1 = 0 ;
40574 wxCursor const &arg2_defvalue = wxNullCursor ;
40575 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40576 wxGenericDragImage *result = 0 ;
40577 bool temp1 = false ;
40578 void *argp2 = 0 ;
40579 int res2 = 0 ;
40580 PyObject * obj0 = 0 ;
40581 PyObject * obj1 = 0 ;
40582 char * kwnames[] = {
40583 (char *) "str",(char *) "cursor", NULL
40584 };
40585
40586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40587 {
40588 arg1 = wxString_in_helper(obj0);
40589 if (arg1 == NULL) SWIG_fail;
40590 temp1 = true;
40591 }
40592 if (obj1) {
40593 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40594 if (!SWIG_IsOK(res2)) {
40595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40596 }
40597 if (!argp2) {
40598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40599 }
40600 arg2 = reinterpret_cast< wxCursor * >(argp2);
40601 }
40602 {
40603 if (!wxPyCheckForApp()) SWIG_fail;
40604 PyThreadState* __tstate = wxPyBeginAllowThreads();
40605 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40606 wxPyEndAllowThreads(__tstate);
40607 if (PyErr_Occurred()) SWIG_fail;
40608 }
40609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40610 {
40611 if (temp1)
40612 delete arg1;
40613 }
40614 return resultobj;
40615 fail:
40616 {
40617 if (temp1)
40618 delete arg1;
40619 }
40620 return NULL;
40621 }
40622
40623
40624 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40625 PyObject *resultobj = 0;
40626 wxPyTreeCtrl *arg1 = 0 ;
40627 wxTreeItemId *arg2 = 0 ;
40628 wxGenericDragImage *result = 0 ;
40629 void *argp1 = 0 ;
40630 int res1 = 0 ;
40631 void *argp2 = 0 ;
40632 int res2 = 0 ;
40633 PyObject * obj0 = 0 ;
40634 PyObject * obj1 = 0 ;
40635 char * kwnames[] = {
40636 (char *) "treeCtrl",(char *) "id", NULL
40637 };
40638
40639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40640 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40641 if (!SWIG_IsOK(res1)) {
40642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40643 }
40644 if (!argp1) {
40645 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40646 }
40647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40649 if (!SWIG_IsOK(res2)) {
40650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40651 }
40652 if (!argp2) {
40653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40654 }
40655 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40656 {
40657 if (!wxPyCheckForApp()) SWIG_fail;
40658 PyThreadState* __tstate = wxPyBeginAllowThreads();
40659 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40660 wxPyEndAllowThreads(__tstate);
40661 if (PyErr_Occurred()) SWIG_fail;
40662 }
40663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40664 return resultobj;
40665 fail:
40666 return NULL;
40667 }
40668
40669
40670 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40671 PyObject *resultobj = 0;
40672 wxPyListCtrl *arg1 = 0 ;
40673 long arg2 ;
40674 wxGenericDragImage *result = 0 ;
40675 void *argp1 = 0 ;
40676 int res1 = 0 ;
40677 long val2 ;
40678 int ecode2 = 0 ;
40679 PyObject * obj0 = 0 ;
40680 PyObject * obj1 = 0 ;
40681 char * kwnames[] = {
40682 (char *) "listCtrl",(char *) "id", NULL
40683 };
40684
40685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40686 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40687 if (!SWIG_IsOK(res1)) {
40688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40689 }
40690 if (!argp1) {
40691 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40692 }
40693 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40694 ecode2 = SWIG_AsVal_long(obj1, &val2);
40695 if (!SWIG_IsOK(ecode2)) {
40696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40697 }
40698 arg2 = static_cast< long >(val2);
40699 {
40700 if (!wxPyCheckForApp()) SWIG_fail;
40701 PyThreadState* __tstate = wxPyBeginAllowThreads();
40702 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40703 wxPyEndAllowThreads(__tstate);
40704 if (PyErr_Occurred()) SWIG_fail;
40705 }
40706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40707 return resultobj;
40708 fail:
40709 return NULL;
40710 }
40711
40712
40713 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40714 PyObject *resultobj = 0;
40715 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40716 void *argp1 = 0 ;
40717 int res1 = 0 ;
40718 PyObject *swig_obj[1] ;
40719
40720 if (!args) SWIG_fail;
40721 swig_obj[0] = args;
40722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40723 if (!SWIG_IsOK(res1)) {
40724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40725 }
40726 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40727 {
40728 PyThreadState* __tstate = wxPyBeginAllowThreads();
40729 delete arg1;
40730
40731 wxPyEndAllowThreads(__tstate);
40732 if (PyErr_Occurred()) SWIG_fail;
40733 }
40734 resultobj = SWIG_Py_Void();
40735 return resultobj;
40736 fail:
40737 return NULL;
40738 }
40739
40740
40741 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40742 PyObject *resultobj = 0;
40743 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40744 wxBitmap *arg2 = (wxBitmap *) 0 ;
40745 void *argp1 = 0 ;
40746 int res1 = 0 ;
40747 void *argp2 = 0 ;
40748 int res2 = 0 ;
40749 PyObject * obj0 = 0 ;
40750 PyObject * obj1 = 0 ;
40751 char * kwnames[] = {
40752 (char *) "self",(char *) "bitmap", NULL
40753 };
40754
40755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40757 if (!SWIG_IsOK(res1)) {
40758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40759 }
40760 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40762 if (!SWIG_IsOK(res2)) {
40763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40764 }
40765 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40766 {
40767 PyThreadState* __tstate = wxPyBeginAllowThreads();
40768 (arg1)->SetBackingBitmap(arg2);
40769 wxPyEndAllowThreads(__tstate);
40770 if (PyErr_Occurred()) SWIG_fail;
40771 }
40772 resultobj = SWIG_Py_Void();
40773 return resultobj;
40774 fail:
40775 return NULL;
40776 }
40777
40778
40779 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40780 PyObject *resultobj = 0;
40781 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40782 wxPoint *arg2 = 0 ;
40783 wxWindow *arg3 = (wxWindow *) 0 ;
40784 bool arg4 = (bool) false ;
40785 wxRect *arg5 = (wxRect *) NULL ;
40786 bool result;
40787 void *argp1 = 0 ;
40788 int res1 = 0 ;
40789 wxPoint temp2 ;
40790 void *argp3 = 0 ;
40791 int res3 = 0 ;
40792 bool val4 ;
40793 int ecode4 = 0 ;
40794 void *argp5 = 0 ;
40795 int res5 = 0 ;
40796 PyObject * obj0 = 0 ;
40797 PyObject * obj1 = 0 ;
40798 PyObject * obj2 = 0 ;
40799 PyObject * obj3 = 0 ;
40800 PyObject * obj4 = 0 ;
40801 char * kwnames[] = {
40802 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40803 };
40804
40805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40807 if (!SWIG_IsOK(res1)) {
40808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40809 }
40810 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40811 {
40812 arg2 = &temp2;
40813 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40814 }
40815 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40816 if (!SWIG_IsOK(res3)) {
40817 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40818 }
40819 arg3 = reinterpret_cast< wxWindow * >(argp3);
40820 if (obj3) {
40821 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40822 if (!SWIG_IsOK(ecode4)) {
40823 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40824 }
40825 arg4 = static_cast< bool >(val4);
40826 }
40827 if (obj4) {
40828 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40829 if (!SWIG_IsOK(res5)) {
40830 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40831 }
40832 arg5 = reinterpret_cast< wxRect * >(argp5);
40833 }
40834 {
40835 PyThreadState* __tstate = wxPyBeginAllowThreads();
40836 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40837 wxPyEndAllowThreads(__tstate);
40838 if (PyErr_Occurred()) SWIG_fail;
40839 }
40840 {
40841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40842 }
40843 return resultobj;
40844 fail:
40845 return NULL;
40846 }
40847
40848
40849 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40850 PyObject *resultobj = 0;
40851 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40852 wxPoint *arg2 = 0 ;
40853 wxWindow *arg3 = (wxWindow *) 0 ;
40854 wxWindow *arg4 = (wxWindow *) 0 ;
40855 bool result;
40856 void *argp1 = 0 ;
40857 int res1 = 0 ;
40858 wxPoint temp2 ;
40859 void *argp3 = 0 ;
40860 int res3 = 0 ;
40861 void *argp4 = 0 ;
40862 int res4 = 0 ;
40863 PyObject * obj0 = 0 ;
40864 PyObject * obj1 = 0 ;
40865 PyObject * obj2 = 0 ;
40866 PyObject * obj3 = 0 ;
40867 char * kwnames[] = {
40868 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40869 };
40870
40871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40873 if (!SWIG_IsOK(res1)) {
40874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40875 }
40876 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40877 {
40878 arg2 = &temp2;
40879 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40880 }
40881 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40882 if (!SWIG_IsOK(res3)) {
40883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40884 }
40885 arg3 = reinterpret_cast< wxWindow * >(argp3);
40886 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40887 if (!SWIG_IsOK(res4)) {
40888 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40889 }
40890 arg4 = reinterpret_cast< wxWindow * >(argp4);
40891 {
40892 PyThreadState* __tstate = wxPyBeginAllowThreads();
40893 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40894 wxPyEndAllowThreads(__tstate);
40895 if (PyErr_Occurred()) SWIG_fail;
40896 }
40897 {
40898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40899 }
40900 return resultobj;
40901 fail:
40902 return NULL;
40903 }
40904
40905
40906 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40907 PyObject *resultobj = 0;
40908 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40909 bool result;
40910 void *argp1 = 0 ;
40911 int res1 = 0 ;
40912 PyObject *swig_obj[1] ;
40913
40914 if (!args) SWIG_fail;
40915 swig_obj[0] = args;
40916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40917 if (!SWIG_IsOK(res1)) {
40918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40919 }
40920 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40921 {
40922 PyThreadState* __tstate = wxPyBeginAllowThreads();
40923 result = (bool)(arg1)->EndDrag();
40924 wxPyEndAllowThreads(__tstate);
40925 if (PyErr_Occurred()) SWIG_fail;
40926 }
40927 {
40928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40929 }
40930 return resultobj;
40931 fail:
40932 return NULL;
40933 }
40934
40935
40936 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40937 PyObject *resultobj = 0;
40938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40939 wxPoint *arg2 = 0 ;
40940 bool result;
40941 void *argp1 = 0 ;
40942 int res1 = 0 ;
40943 wxPoint temp2 ;
40944 PyObject * obj0 = 0 ;
40945 PyObject * obj1 = 0 ;
40946 char * kwnames[] = {
40947 (char *) "self",(char *) "pt", NULL
40948 };
40949
40950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40952 if (!SWIG_IsOK(res1)) {
40953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40954 }
40955 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40956 {
40957 arg2 = &temp2;
40958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40959 }
40960 {
40961 PyThreadState* __tstate = wxPyBeginAllowThreads();
40962 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40963 wxPyEndAllowThreads(__tstate);
40964 if (PyErr_Occurred()) SWIG_fail;
40965 }
40966 {
40967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40968 }
40969 return resultobj;
40970 fail:
40971 return NULL;
40972 }
40973
40974
40975 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40976 PyObject *resultobj = 0;
40977 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40978 bool result;
40979 void *argp1 = 0 ;
40980 int res1 = 0 ;
40981 PyObject *swig_obj[1] ;
40982
40983 if (!args) SWIG_fail;
40984 swig_obj[0] = args;
40985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40986 if (!SWIG_IsOK(res1)) {
40987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40988 }
40989 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40990 {
40991 PyThreadState* __tstate = wxPyBeginAllowThreads();
40992 result = (bool)(arg1)->Show();
40993 wxPyEndAllowThreads(__tstate);
40994 if (PyErr_Occurred()) SWIG_fail;
40995 }
40996 {
40997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40998 }
40999 return resultobj;
41000 fail:
41001 return NULL;
41002 }
41003
41004
41005 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41006 PyObject *resultobj = 0;
41007 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41008 bool result;
41009 void *argp1 = 0 ;
41010 int res1 = 0 ;
41011 PyObject *swig_obj[1] ;
41012
41013 if (!args) SWIG_fail;
41014 swig_obj[0] = args;
41015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41016 if (!SWIG_IsOK(res1)) {
41017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41018 }
41019 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41020 {
41021 PyThreadState* __tstate = wxPyBeginAllowThreads();
41022 result = (bool)(arg1)->Hide();
41023 wxPyEndAllowThreads(__tstate);
41024 if (PyErr_Occurred()) SWIG_fail;
41025 }
41026 {
41027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41028 }
41029 return resultobj;
41030 fail:
41031 return NULL;
41032 }
41033
41034
41035 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41036 PyObject *resultobj = 0;
41037 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41038 wxPoint *arg2 = 0 ;
41039 wxRect result;
41040 void *argp1 = 0 ;
41041 int res1 = 0 ;
41042 wxPoint temp2 ;
41043 PyObject * obj0 = 0 ;
41044 PyObject * obj1 = 0 ;
41045 char * kwnames[] = {
41046 (char *) "self",(char *) "pos", NULL
41047 };
41048
41049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41051 if (!SWIG_IsOK(res1)) {
41052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41053 }
41054 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41055 {
41056 arg2 = &temp2;
41057 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41058 }
41059 {
41060 PyThreadState* __tstate = wxPyBeginAllowThreads();
41061 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41062 wxPyEndAllowThreads(__tstate);
41063 if (PyErr_Occurred()) SWIG_fail;
41064 }
41065 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41066 return resultobj;
41067 fail:
41068 return NULL;
41069 }
41070
41071
41072 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41073 PyObject *resultobj = 0;
41074 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41075 wxDC *arg2 = 0 ;
41076 wxPoint *arg3 = 0 ;
41077 bool result;
41078 void *argp1 = 0 ;
41079 int res1 = 0 ;
41080 void *argp2 = 0 ;
41081 int res2 = 0 ;
41082 wxPoint temp3 ;
41083 PyObject * obj0 = 0 ;
41084 PyObject * obj1 = 0 ;
41085 PyObject * obj2 = 0 ;
41086 char * kwnames[] = {
41087 (char *) "self",(char *) "dc",(char *) "pos", NULL
41088 };
41089
41090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41092 if (!SWIG_IsOK(res1)) {
41093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41094 }
41095 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41097 if (!SWIG_IsOK(res2)) {
41098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41099 }
41100 if (!argp2) {
41101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41102 }
41103 arg2 = reinterpret_cast< wxDC * >(argp2);
41104 {
41105 arg3 = &temp3;
41106 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41107 }
41108 {
41109 PyThreadState* __tstate = wxPyBeginAllowThreads();
41110 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41111 wxPyEndAllowThreads(__tstate);
41112 if (PyErr_Occurred()) SWIG_fail;
41113 }
41114 {
41115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41116 }
41117 return resultobj;
41118 fail:
41119 return NULL;
41120 }
41121
41122
41123 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41124 PyObject *resultobj = 0;
41125 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41126 wxDC *arg2 = 0 ;
41127 wxMemoryDC *arg3 = 0 ;
41128 wxRect *arg4 = 0 ;
41129 wxRect *arg5 = 0 ;
41130 bool result;
41131 void *argp1 = 0 ;
41132 int res1 = 0 ;
41133 void *argp2 = 0 ;
41134 int res2 = 0 ;
41135 void *argp3 = 0 ;
41136 int res3 = 0 ;
41137 wxRect temp4 ;
41138 wxRect temp5 ;
41139 PyObject * obj0 = 0 ;
41140 PyObject * obj1 = 0 ;
41141 PyObject * obj2 = 0 ;
41142 PyObject * obj3 = 0 ;
41143 PyObject * obj4 = 0 ;
41144 char * kwnames[] = {
41145 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41146 };
41147
41148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41150 if (!SWIG_IsOK(res1)) {
41151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41152 }
41153 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41154 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41155 if (!SWIG_IsOK(res2)) {
41156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41157 }
41158 if (!argp2) {
41159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41160 }
41161 arg2 = reinterpret_cast< wxDC * >(argp2);
41162 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41163 if (!SWIG_IsOK(res3)) {
41164 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41165 }
41166 if (!argp3) {
41167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41168 }
41169 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41170 {
41171 arg4 = &temp4;
41172 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41173 }
41174 {
41175 arg5 = &temp5;
41176 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41177 }
41178 {
41179 PyThreadState* __tstate = wxPyBeginAllowThreads();
41180 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41181 wxPyEndAllowThreads(__tstate);
41182 if (PyErr_Occurred()) SWIG_fail;
41183 }
41184 {
41185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41186 }
41187 return resultobj;
41188 fail:
41189 return NULL;
41190 }
41191
41192
41193 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41194 PyObject *resultobj = 0;
41195 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41196 wxPoint *arg2 = 0 ;
41197 wxPoint *arg3 = 0 ;
41198 bool arg4 ;
41199 bool arg5 ;
41200 bool result;
41201 void *argp1 = 0 ;
41202 int res1 = 0 ;
41203 wxPoint temp2 ;
41204 wxPoint temp3 ;
41205 bool val4 ;
41206 int ecode4 = 0 ;
41207 bool val5 ;
41208 int ecode5 = 0 ;
41209 PyObject * obj0 = 0 ;
41210 PyObject * obj1 = 0 ;
41211 PyObject * obj2 = 0 ;
41212 PyObject * obj3 = 0 ;
41213 PyObject * obj4 = 0 ;
41214 char * kwnames[] = {
41215 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41216 };
41217
41218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41220 if (!SWIG_IsOK(res1)) {
41221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41222 }
41223 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41224 {
41225 arg2 = &temp2;
41226 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41227 }
41228 {
41229 arg3 = &temp3;
41230 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41231 }
41232 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41233 if (!SWIG_IsOK(ecode4)) {
41234 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41235 }
41236 arg4 = static_cast< bool >(val4);
41237 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41238 if (!SWIG_IsOK(ecode5)) {
41239 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41240 }
41241 arg5 = static_cast< bool >(val5);
41242 {
41243 PyThreadState* __tstate = wxPyBeginAllowThreads();
41244 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41245 wxPyEndAllowThreads(__tstate);
41246 if (PyErr_Occurred()) SWIG_fail;
41247 }
41248 {
41249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41250 }
41251 return resultobj;
41252 fail:
41253 return NULL;
41254 }
41255
41256
41257 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41258 PyObject *obj;
41259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41260 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41261 return SWIG_Py_Void();
41262 }
41263
41264 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41265 return SWIG_Python_InitShadowInstance(args);
41266 }
41267
41268 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41269 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41270 return 1;
41271 }
41272
41273
41274 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41275 PyObject *pyobj = 0;
41276
41277 {
41278 #if wxUSE_UNICODE
41279 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41280 #else
41281 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41282 #endif
41283 }
41284 return pyobj;
41285 }
41286
41287
41288 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41289 PyObject *resultobj = 0;
41290 wxWindow *arg1 = (wxWindow *) 0 ;
41291 int arg2 = (int) -1 ;
41292 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41293 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41294 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41295 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41296 wxSize const &arg5_defvalue = wxDefaultSize ;
41297 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41298 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41299 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41300 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41301 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41302 wxString *arg8 = (wxString *) &arg8_defvalue ;
41303 wxDatePickerCtrl *result = 0 ;
41304 void *argp1 = 0 ;
41305 int res1 = 0 ;
41306 int val2 ;
41307 int ecode2 = 0 ;
41308 void *argp3 = 0 ;
41309 int res3 = 0 ;
41310 wxPoint temp4 ;
41311 wxSize temp5 ;
41312 long val6 ;
41313 int ecode6 = 0 ;
41314 void *argp7 = 0 ;
41315 int res7 = 0 ;
41316 bool temp8 = false ;
41317 PyObject * obj0 = 0 ;
41318 PyObject * obj1 = 0 ;
41319 PyObject * obj2 = 0 ;
41320 PyObject * obj3 = 0 ;
41321 PyObject * obj4 = 0 ;
41322 PyObject * obj5 = 0 ;
41323 PyObject * obj6 = 0 ;
41324 PyObject * obj7 = 0 ;
41325 char * kwnames[] = {
41326 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41327 };
41328
41329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41331 if (!SWIG_IsOK(res1)) {
41332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41333 }
41334 arg1 = reinterpret_cast< wxWindow * >(argp1);
41335 if (obj1) {
41336 ecode2 = SWIG_AsVal_int(obj1, &val2);
41337 if (!SWIG_IsOK(ecode2)) {
41338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41339 }
41340 arg2 = static_cast< int >(val2);
41341 }
41342 if (obj2) {
41343 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41344 if (!SWIG_IsOK(res3)) {
41345 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41346 }
41347 if (!argp3) {
41348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41349 }
41350 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41351 }
41352 if (obj3) {
41353 {
41354 arg4 = &temp4;
41355 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41356 }
41357 }
41358 if (obj4) {
41359 {
41360 arg5 = &temp5;
41361 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41362 }
41363 }
41364 if (obj5) {
41365 ecode6 = SWIG_AsVal_long(obj5, &val6);
41366 if (!SWIG_IsOK(ecode6)) {
41367 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41368 }
41369 arg6 = static_cast< long >(val6);
41370 }
41371 if (obj6) {
41372 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41373 if (!SWIG_IsOK(res7)) {
41374 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41375 }
41376 if (!argp7) {
41377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41378 }
41379 arg7 = reinterpret_cast< wxValidator * >(argp7);
41380 }
41381 if (obj7) {
41382 {
41383 arg8 = wxString_in_helper(obj7);
41384 if (arg8 == NULL) SWIG_fail;
41385 temp8 = true;
41386 }
41387 }
41388 {
41389 if (!wxPyCheckForApp()) SWIG_fail;
41390 PyThreadState* __tstate = wxPyBeginAllowThreads();
41391 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41392 wxPyEndAllowThreads(__tstate);
41393 if (PyErr_Occurred()) SWIG_fail;
41394 }
41395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41396 {
41397 if (temp8)
41398 delete arg8;
41399 }
41400 return resultobj;
41401 fail:
41402 {
41403 if (temp8)
41404 delete arg8;
41405 }
41406 return NULL;
41407 }
41408
41409
41410 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41411 PyObject *resultobj = 0;
41412 wxDatePickerCtrl *result = 0 ;
41413
41414 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41415 {
41416 if (!wxPyCheckForApp()) SWIG_fail;
41417 PyThreadState* __tstate = wxPyBeginAllowThreads();
41418 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41419 wxPyEndAllowThreads(__tstate);
41420 if (PyErr_Occurred()) SWIG_fail;
41421 }
41422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41423 return resultobj;
41424 fail:
41425 return NULL;
41426 }
41427
41428
41429 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41430 PyObject *resultobj = 0;
41431 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41432 wxWindow *arg2 = (wxWindow *) 0 ;
41433 int arg3 = (int) -1 ;
41434 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41435 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41436 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41437 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41438 wxSize const &arg6_defvalue = wxDefaultSize ;
41439 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41440 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41441 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41442 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41443 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41444 wxString *arg9 = (wxString *) &arg9_defvalue ;
41445 bool result;
41446 void *argp1 = 0 ;
41447 int res1 = 0 ;
41448 void *argp2 = 0 ;
41449 int res2 = 0 ;
41450 int val3 ;
41451 int ecode3 = 0 ;
41452 void *argp4 = 0 ;
41453 int res4 = 0 ;
41454 wxPoint temp5 ;
41455 wxSize temp6 ;
41456 long val7 ;
41457 int ecode7 = 0 ;
41458 void *argp8 = 0 ;
41459 int res8 = 0 ;
41460 bool temp9 = false ;
41461 PyObject * obj0 = 0 ;
41462 PyObject * obj1 = 0 ;
41463 PyObject * obj2 = 0 ;
41464 PyObject * obj3 = 0 ;
41465 PyObject * obj4 = 0 ;
41466 PyObject * obj5 = 0 ;
41467 PyObject * obj6 = 0 ;
41468 PyObject * obj7 = 0 ;
41469 PyObject * obj8 = 0 ;
41470 char * kwnames[] = {
41471 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41472 };
41473
41474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41476 if (!SWIG_IsOK(res1)) {
41477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41478 }
41479 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41481 if (!SWIG_IsOK(res2)) {
41482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41483 }
41484 arg2 = reinterpret_cast< wxWindow * >(argp2);
41485 if (obj2) {
41486 ecode3 = SWIG_AsVal_int(obj2, &val3);
41487 if (!SWIG_IsOK(ecode3)) {
41488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41489 }
41490 arg3 = static_cast< int >(val3);
41491 }
41492 if (obj3) {
41493 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41494 if (!SWIG_IsOK(res4)) {
41495 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41496 }
41497 if (!argp4) {
41498 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41499 }
41500 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41501 }
41502 if (obj4) {
41503 {
41504 arg5 = &temp5;
41505 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41506 }
41507 }
41508 if (obj5) {
41509 {
41510 arg6 = &temp6;
41511 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41512 }
41513 }
41514 if (obj6) {
41515 ecode7 = SWIG_AsVal_long(obj6, &val7);
41516 if (!SWIG_IsOK(ecode7)) {
41517 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41518 }
41519 arg7 = static_cast< long >(val7);
41520 }
41521 if (obj7) {
41522 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41523 if (!SWIG_IsOK(res8)) {
41524 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41525 }
41526 if (!argp8) {
41527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41528 }
41529 arg8 = reinterpret_cast< wxValidator * >(argp8);
41530 }
41531 if (obj8) {
41532 {
41533 arg9 = wxString_in_helper(obj8);
41534 if (arg9 == NULL) SWIG_fail;
41535 temp9 = true;
41536 }
41537 }
41538 {
41539 PyThreadState* __tstate = wxPyBeginAllowThreads();
41540 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41541 wxPyEndAllowThreads(__tstate);
41542 if (PyErr_Occurred()) SWIG_fail;
41543 }
41544 {
41545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41546 }
41547 {
41548 if (temp9)
41549 delete arg9;
41550 }
41551 return resultobj;
41552 fail:
41553 {
41554 if (temp9)
41555 delete arg9;
41556 }
41557 return NULL;
41558 }
41559
41560
41561 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41562 PyObject *resultobj = 0;
41563 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41564 wxDateTime *arg2 = 0 ;
41565 void *argp1 = 0 ;
41566 int res1 = 0 ;
41567 void *argp2 = 0 ;
41568 int res2 = 0 ;
41569 PyObject * obj0 = 0 ;
41570 PyObject * obj1 = 0 ;
41571 char * kwnames[] = {
41572 (char *) "self",(char *) "dt", NULL
41573 };
41574
41575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41577 if (!SWIG_IsOK(res1)) {
41578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41579 }
41580 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41581 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41582 if (!SWIG_IsOK(res2)) {
41583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41584 }
41585 if (!argp2) {
41586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41587 }
41588 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41589 {
41590 PyThreadState* __tstate = wxPyBeginAllowThreads();
41591 (arg1)->SetValue((wxDateTime const &)*arg2);
41592 wxPyEndAllowThreads(__tstate);
41593 if (PyErr_Occurred()) SWIG_fail;
41594 }
41595 resultobj = SWIG_Py_Void();
41596 return resultobj;
41597 fail:
41598 return NULL;
41599 }
41600
41601
41602 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41603 PyObject *resultobj = 0;
41604 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41605 wxDateTime result;
41606 void *argp1 = 0 ;
41607 int res1 = 0 ;
41608 PyObject *swig_obj[1] ;
41609
41610 if (!args) SWIG_fail;
41611 swig_obj[0] = args;
41612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41613 if (!SWIG_IsOK(res1)) {
41614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41615 }
41616 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41617 {
41618 PyThreadState* __tstate = wxPyBeginAllowThreads();
41619 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41620 wxPyEndAllowThreads(__tstate);
41621 if (PyErr_Occurred()) SWIG_fail;
41622 }
41623 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41624 return resultobj;
41625 fail:
41626 return NULL;
41627 }
41628
41629
41630 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41631 PyObject *resultobj = 0;
41632 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41633 wxDateTime *arg2 = 0 ;
41634 wxDateTime *arg3 = 0 ;
41635 void *argp1 = 0 ;
41636 int res1 = 0 ;
41637 void *argp2 = 0 ;
41638 int res2 = 0 ;
41639 void *argp3 = 0 ;
41640 int res3 = 0 ;
41641 PyObject * obj0 = 0 ;
41642 PyObject * obj1 = 0 ;
41643 PyObject * obj2 = 0 ;
41644 char * kwnames[] = {
41645 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41646 };
41647
41648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41650 if (!SWIG_IsOK(res1)) {
41651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41652 }
41653 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41655 if (!SWIG_IsOK(res2)) {
41656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41657 }
41658 if (!argp2) {
41659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41660 }
41661 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41662 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41663 if (!SWIG_IsOK(res3)) {
41664 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41665 }
41666 if (!argp3) {
41667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41668 }
41669 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41670 {
41671 PyThreadState* __tstate = wxPyBeginAllowThreads();
41672 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41673 wxPyEndAllowThreads(__tstate);
41674 if (PyErr_Occurred()) SWIG_fail;
41675 }
41676 resultobj = SWIG_Py_Void();
41677 return resultobj;
41678 fail:
41679 return NULL;
41680 }
41681
41682
41683 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41684 PyObject *resultobj = 0;
41685 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41686 wxDateTime result;
41687 void *argp1 = 0 ;
41688 int res1 = 0 ;
41689 PyObject *swig_obj[1] ;
41690
41691 if (!args) SWIG_fail;
41692 swig_obj[0] = args;
41693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41694 if (!SWIG_IsOK(res1)) {
41695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41696 }
41697 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41698 {
41699 PyThreadState* __tstate = wxPyBeginAllowThreads();
41700 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41701 wxPyEndAllowThreads(__tstate);
41702 if (PyErr_Occurred()) SWIG_fail;
41703 }
41704 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41705 return resultobj;
41706 fail:
41707 return NULL;
41708 }
41709
41710
41711 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41712 PyObject *resultobj = 0;
41713 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41714 wxDateTime result;
41715 void *argp1 = 0 ;
41716 int res1 = 0 ;
41717 PyObject *swig_obj[1] ;
41718
41719 if (!args) SWIG_fail;
41720 swig_obj[0] = args;
41721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41722 if (!SWIG_IsOK(res1)) {
41723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41724 }
41725 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41726 {
41727 PyThreadState* __tstate = wxPyBeginAllowThreads();
41728 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41729 wxPyEndAllowThreads(__tstate);
41730 if (PyErr_Occurred()) SWIG_fail;
41731 }
41732 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41733 return resultobj;
41734 fail:
41735 return NULL;
41736 }
41737
41738
41739 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41740 PyObject *obj;
41741 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41742 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41743 return SWIG_Py_Void();
41744 }
41745
41746 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41747 return SWIG_Python_InitShadowInstance(args);
41748 }
41749
41750 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41751 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41752 return 1;
41753 }
41754
41755
41756 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41757 PyObject *pyobj = 0;
41758
41759 {
41760 #if wxUSE_UNICODE
41761 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41762 #else
41763 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41764 #endif
41765 }
41766 return pyobj;
41767 }
41768
41769
41770 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41771 PyObject *resultobj = 0;
41772 wxWindow *arg1 = (wxWindow *) 0 ;
41773 int arg2 ;
41774 wxString *arg3 = 0 ;
41775 wxString *arg4 = 0 ;
41776 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41777 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41778 wxSize const &arg6_defvalue = wxDefaultSize ;
41779 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41780 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41781 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41782 wxString *arg8 = (wxString *) &arg8_defvalue ;
41783 wxHyperlinkCtrl *result = 0 ;
41784 void *argp1 = 0 ;
41785 int res1 = 0 ;
41786 int val2 ;
41787 int ecode2 = 0 ;
41788 bool temp3 = false ;
41789 bool temp4 = false ;
41790 wxPoint temp5 ;
41791 wxSize temp6 ;
41792 long val7 ;
41793 int ecode7 = 0 ;
41794 bool temp8 = false ;
41795 PyObject * obj0 = 0 ;
41796 PyObject * obj1 = 0 ;
41797 PyObject * obj2 = 0 ;
41798 PyObject * obj3 = 0 ;
41799 PyObject * obj4 = 0 ;
41800 PyObject * obj5 = 0 ;
41801 PyObject * obj6 = 0 ;
41802 PyObject * obj7 = 0 ;
41803 char * kwnames[] = {
41804 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41805 };
41806
41807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41809 if (!SWIG_IsOK(res1)) {
41810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41811 }
41812 arg1 = reinterpret_cast< wxWindow * >(argp1);
41813 ecode2 = SWIG_AsVal_int(obj1, &val2);
41814 if (!SWIG_IsOK(ecode2)) {
41815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41816 }
41817 arg2 = static_cast< int >(val2);
41818 {
41819 arg3 = wxString_in_helper(obj2);
41820 if (arg3 == NULL) SWIG_fail;
41821 temp3 = true;
41822 }
41823 {
41824 arg4 = wxString_in_helper(obj3);
41825 if (arg4 == NULL) SWIG_fail;
41826 temp4 = true;
41827 }
41828 if (obj4) {
41829 {
41830 arg5 = &temp5;
41831 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41832 }
41833 }
41834 if (obj5) {
41835 {
41836 arg6 = &temp6;
41837 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41838 }
41839 }
41840 if (obj6) {
41841 ecode7 = SWIG_AsVal_long(obj6, &val7);
41842 if (!SWIG_IsOK(ecode7)) {
41843 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41844 }
41845 arg7 = static_cast< long >(val7);
41846 }
41847 if (obj7) {
41848 {
41849 arg8 = wxString_in_helper(obj7);
41850 if (arg8 == NULL) SWIG_fail;
41851 temp8 = true;
41852 }
41853 }
41854 {
41855 if (!wxPyCheckForApp()) SWIG_fail;
41856 PyThreadState* __tstate = wxPyBeginAllowThreads();
41857 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41858 wxPyEndAllowThreads(__tstate);
41859 if (PyErr_Occurred()) SWIG_fail;
41860 }
41861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41862 {
41863 if (temp3)
41864 delete arg3;
41865 }
41866 {
41867 if (temp4)
41868 delete arg4;
41869 }
41870 {
41871 if (temp8)
41872 delete arg8;
41873 }
41874 return resultobj;
41875 fail:
41876 {
41877 if (temp3)
41878 delete arg3;
41879 }
41880 {
41881 if (temp4)
41882 delete arg4;
41883 }
41884 {
41885 if (temp8)
41886 delete arg8;
41887 }
41888 return NULL;
41889 }
41890
41891
41892 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41893 PyObject *resultobj = 0;
41894 wxHyperlinkCtrl *result = 0 ;
41895
41896 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41897 {
41898 if (!wxPyCheckForApp()) SWIG_fail;
41899 PyThreadState* __tstate = wxPyBeginAllowThreads();
41900 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41901 wxPyEndAllowThreads(__tstate);
41902 if (PyErr_Occurred()) SWIG_fail;
41903 }
41904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41905 return resultobj;
41906 fail:
41907 return NULL;
41908 }
41909
41910
41911 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41912 PyObject *resultobj = 0;
41913 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41914 wxWindow *arg2 = (wxWindow *) 0 ;
41915 int arg3 ;
41916 wxString *arg4 = 0 ;
41917 wxString *arg5 = 0 ;
41918 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41919 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41920 wxSize const &arg7_defvalue = wxDefaultSize ;
41921 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41922 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41923 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41924 wxString *arg9 = (wxString *) &arg9_defvalue ;
41925 bool result;
41926 void *argp1 = 0 ;
41927 int res1 = 0 ;
41928 void *argp2 = 0 ;
41929 int res2 = 0 ;
41930 int val3 ;
41931 int ecode3 = 0 ;
41932 bool temp4 = false ;
41933 bool temp5 = false ;
41934 wxPoint temp6 ;
41935 wxSize temp7 ;
41936 long val8 ;
41937 int ecode8 = 0 ;
41938 bool temp9 = false ;
41939 PyObject * obj0 = 0 ;
41940 PyObject * obj1 = 0 ;
41941 PyObject * obj2 = 0 ;
41942 PyObject * obj3 = 0 ;
41943 PyObject * obj4 = 0 ;
41944 PyObject * obj5 = 0 ;
41945 PyObject * obj6 = 0 ;
41946 PyObject * obj7 = 0 ;
41947 PyObject * obj8 = 0 ;
41948 char * kwnames[] = {
41949 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41950 };
41951
41952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41954 if (!SWIG_IsOK(res1)) {
41955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41956 }
41957 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41958 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41959 if (!SWIG_IsOK(res2)) {
41960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41961 }
41962 arg2 = reinterpret_cast< wxWindow * >(argp2);
41963 ecode3 = SWIG_AsVal_int(obj2, &val3);
41964 if (!SWIG_IsOK(ecode3)) {
41965 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41966 }
41967 arg3 = static_cast< int >(val3);
41968 {
41969 arg4 = wxString_in_helper(obj3);
41970 if (arg4 == NULL) SWIG_fail;
41971 temp4 = true;
41972 }
41973 {
41974 arg5 = wxString_in_helper(obj4);
41975 if (arg5 == NULL) SWIG_fail;
41976 temp5 = true;
41977 }
41978 if (obj5) {
41979 {
41980 arg6 = &temp6;
41981 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41982 }
41983 }
41984 if (obj6) {
41985 {
41986 arg7 = &temp7;
41987 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41988 }
41989 }
41990 if (obj7) {
41991 ecode8 = SWIG_AsVal_long(obj7, &val8);
41992 if (!SWIG_IsOK(ecode8)) {
41993 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41994 }
41995 arg8 = static_cast< long >(val8);
41996 }
41997 if (obj8) {
41998 {
41999 arg9 = wxString_in_helper(obj8);
42000 if (arg9 == NULL) SWIG_fail;
42001 temp9 = true;
42002 }
42003 }
42004 {
42005 PyThreadState* __tstate = wxPyBeginAllowThreads();
42006 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42007 wxPyEndAllowThreads(__tstate);
42008 if (PyErr_Occurred()) SWIG_fail;
42009 }
42010 {
42011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42012 }
42013 {
42014 if (temp4)
42015 delete arg4;
42016 }
42017 {
42018 if (temp5)
42019 delete arg5;
42020 }
42021 {
42022 if (temp9)
42023 delete arg9;
42024 }
42025 return resultobj;
42026 fail:
42027 {
42028 if (temp4)
42029 delete arg4;
42030 }
42031 {
42032 if (temp5)
42033 delete arg5;
42034 }
42035 {
42036 if (temp9)
42037 delete arg9;
42038 }
42039 return NULL;
42040 }
42041
42042
42043 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42044 PyObject *resultobj = 0;
42045 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42046 wxColour result;
42047 void *argp1 = 0 ;
42048 int res1 = 0 ;
42049 PyObject *swig_obj[1] ;
42050
42051 if (!args) SWIG_fail;
42052 swig_obj[0] = args;
42053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42054 if (!SWIG_IsOK(res1)) {
42055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42056 }
42057 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42058 {
42059 PyThreadState* __tstate = wxPyBeginAllowThreads();
42060 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42061 wxPyEndAllowThreads(__tstate);
42062 if (PyErr_Occurred()) SWIG_fail;
42063 }
42064 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42065 return resultobj;
42066 fail:
42067 return NULL;
42068 }
42069
42070
42071 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42072 PyObject *resultobj = 0;
42073 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42074 wxColour *arg2 = 0 ;
42075 void *argp1 = 0 ;
42076 int res1 = 0 ;
42077 wxColour temp2 ;
42078 PyObject * obj0 = 0 ;
42079 PyObject * obj1 = 0 ;
42080 char * kwnames[] = {
42081 (char *) "self",(char *) "colour", NULL
42082 };
42083
42084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42086 if (!SWIG_IsOK(res1)) {
42087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42088 }
42089 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42090 {
42091 arg2 = &temp2;
42092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42093 }
42094 {
42095 PyThreadState* __tstate = wxPyBeginAllowThreads();
42096 (arg1)->SetHoverColour((wxColour const &)*arg2);
42097 wxPyEndAllowThreads(__tstate);
42098 if (PyErr_Occurred()) SWIG_fail;
42099 }
42100 resultobj = SWIG_Py_Void();
42101 return resultobj;
42102 fail:
42103 return NULL;
42104 }
42105
42106
42107 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42108 PyObject *resultobj = 0;
42109 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42110 wxColour result;
42111 void *argp1 = 0 ;
42112 int res1 = 0 ;
42113 PyObject *swig_obj[1] ;
42114
42115 if (!args) SWIG_fail;
42116 swig_obj[0] = args;
42117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42118 if (!SWIG_IsOK(res1)) {
42119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42120 }
42121 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42122 {
42123 PyThreadState* __tstate = wxPyBeginAllowThreads();
42124 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42125 wxPyEndAllowThreads(__tstate);
42126 if (PyErr_Occurred()) SWIG_fail;
42127 }
42128 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42129 return resultobj;
42130 fail:
42131 return NULL;
42132 }
42133
42134
42135 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42136 PyObject *resultobj = 0;
42137 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42138 wxColour *arg2 = 0 ;
42139 void *argp1 = 0 ;
42140 int res1 = 0 ;
42141 wxColour temp2 ;
42142 PyObject * obj0 = 0 ;
42143 PyObject * obj1 = 0 ;
42144 char * kwnames[] = {
42145 (char *) "self",(char *) "colour", NULL
42146 };
42147
42148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42150 if (!SWIG_IsOK(res1)) {
42151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42152 }
42153 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42154 {
42155 arg2 = &temp2;
42156 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42157 }
42158 {
42159 PyThreadState* __tstate = wxPyBeginAllowThreads();
42160 (arg1)->SetNormalColour((wxColour const &)*arg2);
42161 wxPyEndAllowThreads(__tstate);
42162 if (PyErr_Occurred()) SWIG_fail;
42163 }
42164 resultobj = SWIG_Py_Void();
42165 return resultobj;
42166 fail:
42167 return NULL;
42168 }
42169
42170
42171 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42172 PyObject *resultobj = 0;
42173 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42174 wxColour result;
42175 void *argp1 = 0 ;
42176 int res1 = 0 ;
42177 PyObject *swig_obj[1] ;
42178
42179 if (!args) SWIG_fail;
42180 swig_obj[0] = args;
42181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42182 if (!SWIG_IsOK(res1)) {
42183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42184 }
42185 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42186 {
42187 PyThreadState* __tstate = wxPyBeginAllowThreads();
42188 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42189 wxPyEndAllowThreads(__tstate);
42190 if (PyErr_Occurred()) SWIG_fail;
42191 }
42192 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42193 return resultobj;
42194 fail:
42195 return NULL;
42196 }
42197
42198
42199 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42200 PyObject *resultobj = 0;
42201 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42202 wxColour *arg2 = 0 ;
42203 void *argp1 = 0 ;
42204 int res1 = 0 ;
42205 wxColour temp2 ;
42206 PyObject * obj0 = 0 ;
42207 PyObject * obj1 = 0 ;
42208 char * kwnames[] = {
42209 (char *) "self",(char *) "colour", NULL
42210 };
42211
42212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42214 if (!SWIG_IsOK(res1)) {
42215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42216 }
42217 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42218 {
42219 arg2 = &temp2;
42220 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42221 }
42222 {
42223 PyThreadState* __tstate = wxPyBeginAllowThreads();
42224 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42225 wxPyEndAllowThreads(__tstate);
42226 if (PyErr_Occurred()) SWIG_fail;
42227 }
42228 resultobj = SWIG_Py_Void();
42229 return resultobj;
42230 fail:
42231 return NULL;
42232 }
42233
42234
42235 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42236 PyObject *resultobj = 0;
42237 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42238 wxString result;
42239 void *argp1 = 0 ;
42240 int res1 = 0 ;
42241 PyObject *swig_obj[1] ;
42242
42243 if (!args) SWIG_fail;
42244 swig_obj[0] = args;
42245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42246 if (!SWIG_IsOK(res1)) {
42247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42248 }
42249 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42250 {
42251 PyThreadState* __tstate = wxPyBeginAllowThreads();
42252 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42253 wxPyEndAllowThreads(__tstate);
42254 if (PyErr_Occurred()) SWIG_fail;
42255 }
42256 {
42257 #if wxUSE_UNICODE
42258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42259 #else
42260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42261 #endif
42262 }
42263 return resultobj;
42264 fail:
42265 return NULL;
42266 }
42267
42268
42269 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42270 PyObject *resultobj = 0;
42271 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42272 wxString *arg2 = 0 ;
42273 void *argp1 = 0 ;
42274 int res1 = 0 ;
42275 bool temp2 = false ;
42276 PyObject * obj0 = 0 ;
42277 PyObject * obj1 = 0 ;
42278 char * kwnames[] = {
42279 (char *) "self",(char *) "url", NULL
42280 };
42281
42282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42284 if (!SWIG_IsOK(res1)) {
42285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42286 }
42287 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42288 {
42289 arg2 = wxString_in_helper(obj1);
42290 if (arg2 == NULL) SWIG_fail;
42291 temp2 = true;
42292 }
42293 {
42294 PyThreadState* __tstate = wxPyBeginAllowThreads();
42295 (arg1)->SetURL((wxString const &)*arg2);
42296 wxPyEndAllowThreads(__tstate);
42297 if (PyErr_Occurred()) SWIG_fail;
42298 }
42299 resultobj = SWIG_Py_Void();
42300 {
42301 if (temp2)
42302 delete arg2;
42303 }
42304 return resultobj;
42305 fail:
42306 {
42307 if (temp2)
42308 delete arg2;
42309 }
42310 return NULL;
42311 }
42312
42313
42314 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42315 PyObject *resultobj = 0;
42316 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42317 bool arg2 = (bool) true ;
42318 void *argp1 = 0 ;
42319 int res1 = 0 ;
42320 bool val2 ;
42321 int ecode2 = 0 ;
42322 PyObject * obj0 = 0 ;
42323 PyObject * obj1 = 0 ;
42324 char * kwnames[] = {
42325 (char *) "self",(char *) "visited", NULL
42326 };
42327
42328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42330 if (!SWIG_IsOK(res1)) {
42331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42332 }
42333 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42334 if (obj1) {
42335 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42336 if (!SWIG_IsOK(ecode2)) {
42337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42338 }
42339 arg2 = static_cast< bool >(val2);
42340 }
42341 {
42342 PyThreadState* __tstate = wxPyBeginAllowThreads();
42343 (arg1)->SetVisited(arg2);
42344 wxPyEndAllowThreads(__tstate);
42345 if (PyErr_Occurred()) SWIG_fail;
42346 }
42347 resultobj = SWIG_Py_Void();
42348 return resultobj;
42349 fail:
42350 return NULL;
42351 }
42352
42353
42354 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42355 PyObject *resultobj = 0;
42356 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42357 bool result;
42358 void *argp1 = 0 ;
42359 int res1 = 0 ;
42360 PyObject *swig_obj[1] ;
42361
42362 if (!args) SWIG_fail;
42363 swig_obj[0] = args;
42364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42365 if (!SWIG_IsOK(res1)) {
42366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42367 }
42368 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42369 {
42370 PyThreadState* __tstate = wxPyBeginAllowThreads();
42371 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42372 wxPyEndAllowThreads(__tstate);
42373 if (PyErr_Occurred()) SWIG_fail;
42374 }
42375 {
42376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42377 }
42378 return resultobj;
42379 fail:
42380 return NULL;
42381 }
42382
42383
42384 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42385 PyObject *obj;
42386 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42387 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42388 return SWIG_Py_Void();
42389 }
42390
42391 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42392 return SWIG_Python_InitShadowInstance(args);
42393 }
42394
42395 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42396 PyObject *resultobj = 0;
42397 wxObject *arg1 = (wxObject *) 0 ;
42398 int arg2 ;
42399 wxString *arg3 = 0 ;
42400 wxHyperlinkEvent *result = 0 ;
42401 void *argp1 = 0 ;
42402 int res1 = 0 ;
42403 int val2 ;
42404 int ecode2 = 0 ;
42405 bool temp3 = false ;
42406 PyObject * obj0 = 0 ;
42407 PyObject * obj1 = 0 ;
42408 PyObject * obj2 = 0 ;
42409 char * kwnames[] = {
42410 (char *) "generator",(char *) "id",(char *) "url", NULL
42411 };
42412
42413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42415 if (!SWIG_IsOK(res1)) {
42416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42417 }
42418 arg1 = reinterpret_cast< wxObject * >(argp1);
42419 ecode2 = SWIG_AsVal_int(obj1, &val2);
42420 if (!SWIG_IsOK(ecode2)) {
42421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42422 }
42423 arg2 = static_cast< int >(val2);
42424 {
42425 arg3 = wxString_in_helper(obj2);
42426 if (arg3 == NULL) SWIG_fail;
42427 temp3 = true;
42428 }
42429 {
42430 PyThreadState* __tstate = wxPyBeginAllowThreads();
42431 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42432 wxPyEndAllowThreads(__tstate);
42433 if (PyErr_Occurred()) SWIG_fail;
42434 }
42435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42436 {
42437 if (temp3)
42438 delete arg3;
42439 }
42440 return resultobj;
42441 fail:
42442 {
42443 if (temp3)
42444 delete arg3;
42445 }
42446 return NULL;
42447 }
42448
42449
42450 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42451 PyObject *resultobj = 0;
42452 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42453 wxString result;
42454 void *argp1 = 0 ;
42455 int res1 = 0 ;
42456 PyObject *swig_obj[1] ;
42457
42458 if (!args) SWIG_fail;
42459 swig_obj[0] = args;
42460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42461 if (!SWIG_IsOK(res1)) {
42462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42463 }
42464 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42465 {
42466 PyThreadState* __tstate = wxPyBeginAllowThreads();
42467 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42468 wxPyEndAllowThreads(__tstate);
42469 if (PyErr_Occurred()) SWIG_fail;
42470 }
42471 {
42472 #if wxUSE_UNICODE
42473 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42474 #else
42475 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42476 #endif
42477 }
42478 return resultobj;
42479 fail:
42480 return NULL;
42481 }
42482
42483
42484 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42485 PyObject *resultobj = 0;
42486 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42487 wxString *arg2 = 0 ;
42488 void *argp1 = 0 ;
42489 int res1 = 0 ;
42490 bool temp2 = false ;
42491 PyObject * obj0 = 0 ;
42492 PyObject * obj1 = 0 ;
42493 char * kwnames[] = {
42494 (char *) "self",(char *) "url", NULL
42495 };
42496
42497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42499 if (!SWIG_IsOK(res1)) {
42500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42501 }
42502 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42503 {
42504 arg2 = wxString_in_helper(obj1);
42505 if (arg2 == NULL) SWIG_fail;
42506 temp2 = true;
42507 }
42508 {
42509 PyThreadState* __tstate = wxPyBeginAllowThreads();
42510 (arg1)->SetURL((wxString const &)*arg2);
42511 wxPyEndAllowThreads(__tstate);
42512 if (PyErr_Occurred()) SWIG_fail;
42513 }
42514 resultobj = SWIG_Py_Void();
42515 {
42516 if (temp2)
42517 delete arg2;
42518 }
42519 return resultobj;
42520 fail:
42521 {
42522 if (temp2)
42523 delete arg2;
42524 }
42525 return NULL;
42526 }
42527
42528
42529 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42530 PyObject *obj;
42531 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42532 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42533 return SWIG_Py_Void();
42534 }
42535
42536 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42537 return SWIG_Python_InitShadowInstance(args);
42538 }
42539
42540 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42541 PyObject *resultobj = 0;
42542 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42543 wxWindow *arg2 = (wxWindow *) 0 ;
42544 int arg3 ;
42545 wxString const &arg4_defvalue = wxEmptyString ;
42546 wxString *arg4 = (wxString *) &arg4_defvalue ;
42547 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42548 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42549 wxSize const &arg6_defvalue = wxDefaultSize ;
42550 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42551 long arg7 = (long) 0 ;
42552 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42553 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42554 wxString const &arg9_defvalue = wxButtonNameStr ;
42555 wxString *arg9 = (wxString *) &arg9_defvalue ;
42556 bool result;
42557 void *argp1 = 0 ;
42558 int res1 = 0 ;
42559 void *argp2 = 0 ;
42560 int res2 = 0 ;
42561 int val3 ;
42562 int ecode3 = 0 ;
42563 bool temp4 = false ;
42564 wxPoint temp5 ;
42565 wxSize temp6 ;
42566 long val7 ;
42567 int ecode7 = 0 ;
42568 void *argp8 = 0 ;
42569 int res8 = 0 ;
42570 bool temp9 = false ;
42571 PyObject * obj0 = 0 ;
42572 PyObject * obj1 = 0 ;
42573 PyObject * obj2 = 0 ;
42574 PyObject * obj3 = 0 ;
42575 PyObject * obj4 = 0 ;
42576 PyObject * obj5 = 0 ;
42577 PyObject * obj6 = 0 ;
42578 PyObject * obj7 = 0 ;
42579 PyObject * obj8 = 0 ;
42580 char * kwnames[] = {
42581 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42582 };
42583
42584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42586 if (!SWIG_IsOK(res1)) {
42587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42588 }
42589 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42590 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42591 if (!SWIG_IsOK(res2)) {
42592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42593 }
42594 arg2 = reinterpret_cast< wxWindow * >(argp2);
42595 ecode3 = SWIG_AsVal_int(obj2, &val3);
42596 if (!SWIG_IsOK(ecode3)) {
42597 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42598 }
42599 arg3 = static_cast< int >(val3);
42600 if (obj3) {
42601 {
42602 arg4 = wxString_in_helper(obj3);
42603 if (arg4 == NULL) SWIG_fail;
42604 temp4 = true;
42605 }
42606 }
42607 if (obj4) {
42608 {
42609 arg5 = &temp5;
42610 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42611 }
42612 }
42613 if (obj5) {
42614 {
42615 arg6 = &temp6;
42616 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42617 }
42618 }
42619 if (obj6) {
42620 ecode7 = SWIG_AsVal_long(obj6, &val7);
42621 if (!SWIG_IsOK(ecode7)) {
42622 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42623 }
42624 arg7 = static_cast< long >(val7);
42625 }
42626 if (obj7) {
42627 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42628 if (!SWIG_IsOK(res8)) {
42629 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42630 }
42631 if (!argp8) {
42632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42633 }
42634 arg8 = reinterpret_cast< wxValidator * >(argp8);
42635 }
42636 if (obj8) {
42637 {
42638 arg9 = wxString_in_helper(obj8);
42639 if (arg9 == NULL) SWIG_fail;
42640 temp9 = true;
42641 }
42642 }
42643 {
42644 PyThreadState* __tstate = wxPyBeginAllowThreads();
42645 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42646 wxPyEndAllowThreads(__tstate);
42647 if (PyErr_Occurred()) SWIG_fail;
42648 }
42649 {
42650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42651 }
42652 {
42653 if (temp4)
42654 delete arg4;
42655 }
42656 {
42657 if (temp9)
42658 delete arg9;
42659 }
42660 return resultobj;
42661 fail:
42662 {
42663 if (temp4)
42664 delete arg4;
42665 }
42666 {
42667 if (temp9)
42668 delete arg9;
42669 }
42670 return NULL;
42671 }
42672
42673
42674 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42675 PyObject *resultobj = 0;
42676 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42677 int arg2 ;
42678 void *argp1 = 0 ;
42679 int res1 = 0 ;
42680 int val2 ;
42681 int ecode2 = 0 ;
42682 PyObject * obj0 = 0 ;
42683 PyObject * obj1 = 0 ;
42684 char * kwnames[] = {
42685 (char *) "self",(char *) "newmargin", NULL
42686 };
42687
42688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42690 if (!SWIG_IsOK(res1)) {
42691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42692 }
42693 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42694 ecode2 = SWIG_AsVal_int(obj1, &val2);
42695 if (!SWIG_IsOK(ecode2)) {
42696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42697 }
42698 arg2 = static_cast< int >(val2);
42699 {
42700 PyThreadState* __tstate = wxPyBeginAllowThreads();
42701 (arg1)->SetInternalMargin(arg2);
42702 wxPyEndAllowThreads(__tstate);
42703 if (PyErr_Occurred()) SWIG_fail;
42704 }
42705 resultobj = SWIG_Py_Void();
42706 return resultobj;
42707 fail:
42708 return NULL;
42709 }
42710
42711
42712 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42713 PyObject *resultobj = 0;
42714 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42715 int result;
42716 void *argp1 = 0 ;
42717 int res1 = 0 ;
42718 PyObject *swig_obj[1] ;
42719
42720 if (!args) SWIG_fail;
42721 swig_obj[0] = args;
42722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42723 if (!SWIG_IsOK(res1)) {
42724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42725 }
42726 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42727 {
42728 PyThreadState* __tstate = wxPyBeginAllowThreads();
42729 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42730 wxPyEndAllowThreads(__tstate);
42731 if (PyErr_Occurred()) SWIG_fail;
42732 }
42733 resultobj = SWIG_From_int(static_cast< int >(result));
42734 return resultobj;
42735 fail:
42736 return NULL;
42737 }
42738
42739
42740 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42741 PyObject *resultobj = 0;
42742 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42743 int arg2 ;
42744 void *argp1 = 0 ;
42745 int res1 = 0 ;
42746 int val2 ;
42747 int ecode2 = 0 ;
42748 PyObject * obj0 = 0 ;
42749 PyObject * obj1 = 0 ;
42750 char * kwnames[] = {
42751 (char *) "self",(char *) "prop", NULL
42752 };
42753
42754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42756 if (!SWIG_IsOK(res1)) {
42757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42758 }
42759 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42760 ecode2 = SWIG_AsVal_int(obj1, &val2);
42761 if (!SWIG_IsOK(ecode2)) {
42762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42763 }
42764 arg2 = static_cast< int >(val2);
42765 {
42766 PyThreadState* __tstate = wxPyBeginAllowThreads();
42767 (arg1)->SetTextCtrlProportion(arg2);
42768 wxPyEndAllowThreads(__tstate);
42769 if (PyErr_Occurred()) SWIG_fail;
42770 }
42771 resultobj = SWIG_Py_Void();
42772 return resultobj;
42773 fail:
42774 return NULL;
42775 }
42776
42777
42778 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42779 PyObject *resultobj = 0;
42780 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42781 int result;
42782 void *argp1 = 0 ;
42783 int res1 = 0 ;
42784 PyObject *swig_obj[1] ;
42785
42786 if (!args) SWIG_fail;
42787 swig_obj[0] = args;
42788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42789 if (!SWIG_IsOK(res1)) {
42790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42791 }
42792 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42793 {
42794 PyThreadState* __tstate = wxPyBeginAllowThreads();
42795 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42796 wxPyEndAllowThreads(__tstate);
42797 if (PyErr_Occurred()) SWIG_fail;
42798 }
42799 resultobj = SWIG_From_int(static_cast< int >(result));
42800 return resultobj;
42801 fail:
42802 return NULL;
42803 }
42804
42805
42806 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42807 PyObject *resultobj = 0;
42808 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42809 int arg2 ;
42810 void *argp1 = 0 ;
42811 int res1 = 0 ;
42812 int val2 ;
42813 int ecode2 = 0 ;
42814 PyObject * obj0 = 0 ;
42815 PyObject * obj1 = 0 ;
42816 char * kwnames[] = {
42817 (char *) "self",(char *) "prop", NULL
42818 };
42819
42820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42822 if (!SWIG_IsOK(res1)) {
42823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42824 }
42825 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42826 ecode2 = SWIG_AsVal_int(obj1, &val2);
42827 if (!SWIG_IsOK(ecode2)) {
42828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42829 }
42830 arg2 = static_cast< int >(val2);
42831 {
42832 PyThreadState* __tstate = wxPyBeginAllowThreads();
42833 (arg1)->SetPickerCtrlProportion(arg2);
42834 wxPyEndAllowThreads(__tstate);
42835 if (PyErr_Occurred()) SWIG_fail;
42836 }
42837 resultobj = SWIG_Py_Void();
42838 return resultobj;
42839 fail:
42840 return NULL;
42841 }
42842
42843
42844 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42845 PyObject *resultobj = 0;
42846 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42847 int result;
42848 void *argp1 = 0 ;
42849 int res1 = 0 ;
42850 PyObject *swig_obj[1] ;
42851
42852 if (!args) SWIG_fail;
42853 swig_obj[0] = args;
42854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42855 if (!SWIG_IsOK(res1)) {
42856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42857 }
42858 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42859 {
42860 PyThreadState* __tstate = wxPyBeginAllowThreads();
42861 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
42862 wxPyEndAllowThreads(__tstate);
42863 if (PyErr_Occurred()) SWIG_fail;
42864 }
42865 resultobj = SWIG_From_int(static_cast< int >(result));
42866 return resultobj;
42867 fail:
42868 return NULL;
42869 }
42870
42871
42872 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42873 PyObject *resultobj = 0;
42874 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42875 bool result;
42876 void *argp1 = 0 ;
42877 int res1 = 0 ;
42878 PyObject *swig_obj[1] ;
42879
42880 if (!args) SWIG_fail;
42881 swig_obj[0] = args;
42882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42883 if (!SWIG_IsOK(res1)) {
42884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42885 }
42886 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42887 {
42888 PyThreadState* __tstate = wxPyBeginAllowThreads();
42889 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
42890 wxPyEndAllowThreads(__tstate);
42891 if (PyErr_Occurred()) SWIG_fail;
42892 }
42893 {
42894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42895 }
42896 return resultobj;
42897 fail:
42898 return NULL;
42899 }
42900
42901
42902 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42903 PyObject *resultobj = 0;
42904 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42905 bool arg2 = (bool) true ;
42906 void *argp1 = 0 ;
42907 int res1 = 0 ;
42908 bool val2 ;
42909 int ecode2 = 0 ;
42910 PyObject * obj0 = 0 ;
42911 PyObject * obj1 = 0 ;
42912 char * kwnames[] = {
42913 (char *) "self",(char *) "grow", NULL
42914 };
42915
42916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42918 if (!SWIG_IsOK(res1)) {
42919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42920 }
42921 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42922 if (obj1) {
42923 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42924 if (!SWIG_IsOK(ecode2)) {
42925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42926 }
42927 arg2 = static_cast< bool >(val2);
42928 }
42929 {
42930 PyThreadState* __tstate = wxPyBeginAllowThreads();
42931 (arg1)->SetTextCtrlGrowable(arg2);
42932 wxPyEndAllowThreads(__tstate);
42933 if (PyErr_Occurred()) SWIG_fail;
42934 }
42935 resultobj = SWIG_Py_Void();
42936 return resultobj;
42937 fail:
42938 return NULL;
42939 }
42940
42941
42942 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42943 PyObject *resultobj = 0;
42944 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42945 bool result;
42946 void *argp1 = 0 ;
42947 int res1 = 0 ;
42948 PyObject *swig_obj[1] ;
42949
42950 if (!args) SWIG_fail;
42951 swig_obj[0] = args;
42952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42953 if (!SWIG_IsOK(res1)) {
42954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42955 }
42956 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42957 {
42958 PyThreadState* __tstate = wxPyBeginAllowThreads();
42959 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
42960 wxPyEndAllowThreads(__tstate);
42961 if (PyErr_Occurred()) SWIG_fail;
42962 }
42963 {
42964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42965 }
42966 return resultobj;
42967 fail:
42968 return NULL;
42969 }
42970
42971
42972 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42973 PyObject *resultobj = 0;
42974 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42975 bool arg2 = (bool) true ;
42976 void *argp1 = 0 ;
42977 int res1 = 0 ;
42978 bool val2 ;
42979 int ecode2 = 0 ;
42980 PyObject * obj0 = 0 ;
42981 PyObject * obj1 = 0 ;
42982 char * kwnames[] = {
42983 (char *) "self",(char *) "grow", NULL
42984 };
42985
42986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
42987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42988 if (!SWIG_IsOK(res1)) {
42989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42990 }
42991 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42992 if (obj1) {
42993 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42994 if (!SWIG_IsOK(ecode2)) {
42995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42996 }
42997 arg2 = static_cast< bool >(val2);
42998 }
42999 {
43000 PyThreadState* __tstate = wxPyBeginAllowThreads();
43001 (arg1)->SetPickerCtrlGrowable(arg2);
43002 wxPyEndAllowThreads(__tstate);
43003 if (PyErr_Occurred()) SWIG_fail;
43004 }
43005 resultobj = SWIG_Py_Void();
43006 return resultobj;
43007 fail:
43008 return NULL;
43009 }
43010
43011
43012 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43013 PyObject *resultobj = 0;
43014 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43015 bool result;
43016 void *argp1 = 0 ;
43017 int res1 = 0 ;
43018 PyObject *swig_obj[1] ;
43019
43020 if (!args) SWIG_fail;
43021 swig_obj[0] = args;
43022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43023 if (!SWIG_IsOK(res1)) {
43024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43025 }
43026 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43027 {
43028 PyThreadState* __tstate = wxPyBeginAllowThreads();
43029 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43030 wxPyEndAllowThreads(__tstate);
43031 if (PyErr_Occurred()) SWIG_fail;
43032 }
43033 {
43034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43035 }
43036 return resultobj;
43037 fail:
43038 return NULL;
43039 }
43040
43041
43042 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43043 PyObject *resultobj = 0;
43044 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43045 wxTextCtrl *result = 0 ;
43046 void *argp1 = 0 ;
43047 int res1 = 0 ;
43048 PyObject *swig_obj[1] ;
43049
43050 if (!args) SWIG_fail;
43051 swig_obj[0] = args;
43052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43053 if (!SWIG_IsOK(res1)) {
43054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43055 }
43056 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43057 {
43058 PyThreadState* __tstate = wxPyBeginAllowThreads();
43059 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43060 wxPyEndAllowThreads(__tstate);
43061 if (PyErr_Occurred()) SWIG_fail;
43062 }
43063 {
43064 resultobj = wxPyMake_wxObject(result, 0);
43065 }
43066 return resultobj;
43067 fail:
43068 return NULL;
43069 }
43070
43071
43072 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43073 PyObject *resultobj = 0;
43074 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43075 wxControl *result = 0 ;
43076 void *argp1 = 0 ;
43077 int res1 = 0 ;
43078 PyObject *swig_obj[1] ;
43079
43080 if (!args) SWIG_fail;
43081 swig_obj[0] = args;
43082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43083 if (!SWIG_IsOK(res1)) {
43084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43085 }
43086 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43087 {
43088 PyThreadState* __tstate = wxPyBeginAllowThreads();
43089 result = (wxControl *)(arg1)->GetPickerCtrl();
43090 wxPyEndAllowThreads(__tstate);
43091 if (PyErr_Occurred()) SWIG_fail;
43092 }
43093 {
43094 resultobj = wxPyMake_wxObject(result, 0);
43095 }
43096 return resultobj;
43097 fail:
43098 return NULL;
43099 }
43100
43101
43102 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43103 PyObject *obj;
43104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43106 return SWIG_Py_Void();
43107 }
43108
43109 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43110 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43111 return 1;
43112 }
43113
43114
43115 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43116 PyObject *pyobj = 0;
43117
43118 {
43119 #if wxUSE_UNICODE
43120 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43121 #else
43122 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43123 #endif
43124 }
43125 return pyobj;
43126 }
43127
43128
43129 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43130 PyObject *resultobj = 0;
43131 wxWindow *arg1 = (wxWindow *) 0 ;
43132 int arg2 = (int) -1 ;
43133 wxColour const &arg3_defvalue = *wxBLACK ;
43134 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43135 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43136 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43137 wxSize const &arg5_defvalue = wxDefaultSize ;
43138 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43139 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43140 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43141 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43142 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43143 wxString *arg8 = (wxString *) &arg8_defvalue ;
43144 wxColourPickerCtrl *result = 0 ;
43145 void *argp1 = 0 ;
43146 int res1 = 0 ;
43147 int val2 ;
43148 int ecode2 = 0 ;
43149 wxColour temp3 ;
43150 wxPoint temp4 ;
43151 wxSize temp5 ;
43152 long val6 ;
43153 int ecode6 = 0 ;
43154 void *argp7 = 0 ;
43155 int res7 = 0 ;
43156 bool temp8 = false ;
43157 PyObject * obj0 = 0 ;
43158 PyObject * obj1 = 0 ;
43159 PyObject * obj2 = 0 ;
43160 PyObject * obj3 = 0 ;
43161 PyObject * obj4 = 0 ;
43162 PyObject * obj5 = 0 ;
43163 PyObject * obj6 = 0 ;
43164 PyObject * obj7 = 0 ;
43165 char * kwnames[] = {
43166 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43167 };
43168
43169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43171 if (!SWIG_IsOK(res1)) {
43172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43173 }
43174 arg1 = reinterpret_cast< wxWindow * >(argp1);
43175 if (obj1) {
43176 ecode2 = SWIG_AsVal_int(obj1, &val2);
43177 if (!SWIG_IsOK(ecode2)) {
43178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43179 }
43180 arg2 = static_cast< int >(val2);
43181 }
43182 if (obj2) {
43183 {
43184 arg3 = &temp3;
43185 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43186 }
43187 }
43188 if (obj3) {
43189 {
43190 arg4 = &temp4;
43191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43192 }
43193 }
43194 if (obj4) {
43195 {
43196 arg5 = &temp5;
43197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43198 }
43199 }
43200 if (obj5) {
43201 ecode6 = SWIG_AsVal_long(obj5, &val6);
43202 if (!SWIG_IsOK(ecode6)) {
43203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43204 }
43205 arg6 = static_cast< long >(val6);
43206 }
43207 if (obj6) {
43208 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43209 if (!SWIG_IsOK(res7)) {
43210 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43211 }
43212 if (!argp7) {
43213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43214 }
43215 arg7 = reinterpret_cast< wxValidator * >(argp7);
43216 }
43217 if (obj7) {
43218 {
43219 arg8 = wxString_in_helper(obj7);
43220 if (arg8 == NULL) SWIG_fail;
43221 temp8 = true;
43222 }
43223 }
43224 {
43225 if (!wxPyCheckForApp()) SWIG_fail;
43226 PyThreadState* __tstate = wxPyBeginAllowThreads();
43227 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43228 wxPyEndAllowThreads(__tstate);
43229 if (PyErr_Occurred()) SWIG_fail;
43230 }
43231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43232 {
43233 if (temp8)
43234 delete arg8;
43235 }
43236 return resultobj;
43237 fail:
43238 {
43239 if (temp8)
43240 delete arg8;
43241 }
43242 return NULL;
43243 }
43244
43245
43246 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43247 PyObject *resultobj = 0;
43248 wxColourPickerCtrl *result = 0 ;
43249
43250 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43251 {
43252 if (!wxPyCheckForApp()) SWIG_fail;
43253 PyThreadState* __tstate = wxPyBeginAllowThreads();
43254 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43255 wxPyEndAllowThreads(__tstate);
43256 if (PyErr_Occurred()) SWIG_fail;
43257 }
43258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43259 return resultobj;
43260 fail:
43261 return NULL;
43262 }
43263
43264
43265 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43266 PyObject *resultobj = 0;
43267 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43268 wxWindow *arg2 = (wxWindow *) 0 ;
43269 int arg3 ;
43270 wxColour const &arg4_defvalue = *wxBLACK ;
43271 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43272 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43273 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43274 wxSize const &arg6_defvalue = wxDefaultSize ;
43275 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43276 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43277 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43278 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43279 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43280 wxString *arg9 = (wxString *) &arg9_defvalue ;
43281 bool result;
43282 void *argp1 = 0 ;
43283 int res1 = 0 ;
43284 void *argp2 = 0 ;
43285 int res2 = 0 ;
43286 int val3 ;
43287 int ecode3 = 0 ;
43288 wxColour temp4 ;
43289 wxPoint temp5 ;
43290 wxSize temp6 ;
43291 long val7 ;
43292 int ecode7 = 0 ;
43293 void *argp8 = 0 ;
43294 int res8 = 0 ;
43295 bool temp9 = false ;
43296 PyObject * obj0 = 0 ;
43297 PyObject * obj1 = 0 ;
43298 PyObject * obj2 = 0 ;
43299 PyObject * obj3 = 0 ;
43300 PyObject * obj4 = 0 ;
43301 PyObject * obj5 = 0 ;
43302 PyObject * obj6 = 0 ;
43303 PyObject * obj7 = 0 ;
43304 PyObject * obj8 = 0 ;
43305 char * kwnames[] = {
43306 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43307 };
43308
43309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43311 if (!SWIG_IsOK(res1)) {
43312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43313 }
43314 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43315 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43316 if (!SWIG_IsOK(res2)) {
43317 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43318 }
43319 arg2 = reinterpret_cast< wxWindow * >(argp2);
43320 ecode3 = SWIG_AsVal_int(obj2, &val3);
43321 if (!SWIG_IsOK(ecode3)) {
43322 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43323 }
43324 arg3 = static_cast< int >(val3);
43325 if (obj3) {
43326 {
43327 arg4 = &temp4;
43328 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43329 }
43330 }
43331 if (obj4) {
43332 {
43333 arg5 = &temp5;
43334 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43335 }
43336 }
43337 if (obj5) {
43338 {
43339 arg6 = &temp6;
43340 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43341 }
43342 }
43343 if (obj6) {
43344 ecode7 = SWIG_AsVal_long(obj6, &val7);
43345 if (!SWIG_IsOK(ecode7)) {
43346 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43347 }
43348 arg7 = static_cast< long >(val7);
43349 }
43350 if (obj7) {
43351 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43352 if (!SWIG_IsOK(res8)) {
43353 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43354 }
43355 if (!argp8) {
43356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43357 }
43358 arg8 = reinterpret_cast< wxValidator * >(argp8);
43359 }
43360 if (obj8) {
43361 {
43362 arg9 = wxString_in_helper(obj8);
43363 if (arg9 == NULL) SWIG_fail;
43364 temp9 = true;
43365 }
43366 }
43367 {
43368 PyThreadState* __tstate = wxPyBeginAllowThreads();
43369 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43370 wxPyEndAllowThreads(__tstate);
43371 if (PyErr_Occurred()) SWIG_fail;
43372 }
43373 {
43374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43375 }
43376 {
43377 if (temp9)
43378 delete arg9;
43379 }
43380 return resultobj;
43381 fail:
43382 {
43383 if (temp9)
43384 delete arg9;
43385 }
43386 return NULL;
43387 }
43388
43389
43390 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43391 PyObject *resultobj = 0;
43392 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43393 wxColour result;
43394 void *argp1 = 0 ;
43395 int res1 = 0 ;
43396 PyObject *swig_obj[1] ;
43397
43398 if (!args) SWIG_fail;
43399 swig_obj[0] = args;
43400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43401 if (!SWIG_IsOK(res1)) {
43402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43403 }
43404 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43405 {
43406 PyThreadState* __tstate = wxPyBeginAllowThreads();
43407 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43408 wxPyEndAllowThreads(__tstate);
43409 if (PyErr_Occurred()) SWIG_fail;
43410 }
43411 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43412 return resultobj;
43413 fail:
43414 return NULL;
43415 }
43416
43417
43418 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43419 PyObject *resultobj = 0;
43420 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43421 wxColour *arg2 = 0 ;
43422 void *argp1 = 0 ;
43423 int res1 = 0 ;
43424 wxColour temp2 ;
43425 PyObject * obj0 = 0 ;
43426 PyObject * obj1 = 0 ;
43427 char * kwnames[] = {
43428 (char *) "self",(char *) "col", NULL
43429 };
43430
43431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43433 if (!SWIG_IsOK(res1)) {
43434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43435 }
43436 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43437 {
43438 arg2 = &temp2;
43439 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43440 }
43441 {
43442 PyThreadState* __tstate = wxPyBeginAllowThreads();
43443 (arg1)->SetColour((wxColour const &)*arg2);
43444 wxPyEndAllowThreads(__tstate);
43445 if (PyErr_Occurred()) SWIG_fail;
43446 }
43447 resultobj = SWIG_Py_Void();
43448 return resultobj;
43449 fail:
43450 return NULL;
43451 }
43452
43453
43454 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43455 PyObject *obj;
43456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43457 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43458 return SWIG_Py_Void();
43459 }
43460
43461 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43462 return SWIG_Python_InitShadowInstance(args);
43463 }
43464
43465 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43466 PyObject *resultobj = 0;
43467 wxObject *arg1 = (wxObject *) 0 ;
43468 int arg2 ;
43469 wxColour *arg3 = 0 ;
43470 wxColourPickerEvent *result = 0 ;
43471 void *argp1 = 0 ;
43472 int res1 = 0 ;
43473 int val2 ;
43474 int ecode2 = 0 ;
43475 wxColour temp3 ;
43476 PyObject * obj0 = 0 ;
43477 PyObject * obj1 = 0 ;
43478 PyObject * obj2 = 0 ;
43479 char * kwnames[] = {
43480 (char *) "generator",(char *) "id",(char *) "col", NULL
43481 };
43482
43483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43485 if (!SWIG_IsOK(res1)) {
43486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43487 }
43488 arg1 = reinterpret_cast< wxObject * >(argp1);
43489 ecode2 = SWIG_AsVal_int(obj1, &val2);
43490 if (!SWIG_IsOK(ecode2)) {
43491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43492 }
43493 arg2 = static_cast< int >(val2);
43494 {
43495 arg3 = &temp3;
43496 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43497 }
43498 {
43499 PyThreadState* __tstate = wxPyBeginAllowThreads();
43500 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43501 wxPyEndAllowThreads(__tstate);
43502 if (PyErr_Occurred()) SWIG_fail;
43503 }
43504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43505 return resultobj;
43506 fail:
43507 return NULL;
43508 }
43509
43510
43511 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43512 PyObject *resultobj = 0;
43513 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43514 wxColour result;
43515 void *argp1 = 0 ;
43516 int res1 = 0 ;
43517 PyObject *swig_obj[1] ;
43518
43519 if (!args) SWIG_fail;
43520 swig_obj[0] = args;
43521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43522 if (!SWIG_IsOK(res1)) {
43523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43524 }
43525 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43526 {
43527 PyThreadState* __tstate = wxPyBeginAllowThreads();
43528 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43529 wxPyEndAllowThreads(__tstate);
43530 if (PyErr_Occurred()) SWIG_fail;
43531 }
43532 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43533 return resultobj;
43534 fail:
43535 return NULL;
43536 }
43537
43538
43539 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43540 PyObject *resultobj = 0;
43541 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43542 wxColour *arg2 = 0 ;
43543 void *argp1 = 0 ;
43544 int res1 = 0 ;
43545 wxColour temp2 ;
43546 PyObject * obj0 = 0 ;
43547 PyObject * obj1 = 0 ;
43548 char * kwnames[] = {
43549 (char *) "self",(char *) "c", NULL
43550 };
43551
43552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43554 if (!SWIG_IsOK(res1)) {
43555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43556 }
43557 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43558 {
43559 arg2 = &temp2;
43560 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43561 }
43562 {
43563 PyThreadState* __tstate = wxPyBeginAllowThreads();
43564 (arg1)->SetColour((wxColour const &)*arg2);
43565 wxPyEndAllowThreads(__tstate);
43566 if (PyErr_Occurred()) SWIG_fail;
43567 }
43568 resultobj = SWIG_Py_Void();
43569 return resultobj;
43570 fail:
43571 return NULL;
43572 }
43573
43574
43575 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43576 PyObject *obj;
43577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43578 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43579 return SWIG_Py_Void();
43580 }
43581
43582 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43583 return SWIG_Python_InitShadowInstance(args);
43584 }
43585
43586 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43587 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43588 return 1;
43589 }
43590
43591
43592 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43593 PyObject *pyobj = 0;
43594
43595 {
43596 #if wxUSE_UNICODE
43597 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43598 #else
43599 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43600 #endif
43601 }
43602 return pyobj;
43603 }
43604
43605
43606 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43607 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43608 return 1;
43609 }
43610
43611
43612 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43613 PyObject *pyobj = 0;
43614
43615 {
43616 #if wxUSE_UNICODE
43617 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43618 #else
43619 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43620 #endif
43621 }
43622 return pyobj;
43623 }
43624
43625
43626 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43627 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43628 return 1;
43629 }
43630
43631
43632 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43633 PyObject *pyobj = 0;
43634
43635 {
43636 #if wxUSE_UNICODE
43637 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43638 #else
43639 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43640 #endif
43641 }
43642 return pyobj;
43643 }
43644
43645
43646 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43647 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43648 return 1;
43649 }
43650
43651
43652 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43653 PyObject *pyobj = 0;
43654
43655 {
43656 #if wxUSE_UNICODE
43657 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43658 #else
43659 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43660 #endif
43661 }
43662 return pyobj;
43663 }
43664
43665
43666 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43667 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43668 return 1;
43669 }
43670
43671
43672 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43673 PyObject *pyobj = 0;
43674
43675 {
43676 #if wxUSE_UNICODE
43677 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43678 #else
43679 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43680 #endif
43681 }
43682 return pyobj;
43683 }
43684
43685
43686 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43687 PyObject *resultobj = 0;
43688 wxWindow *arg1 = (wxWindow *) 0 ;
43689 int arg2 = (int) -1 ;
43690 wxString const &arg3_defvalue = wxPyEmptyString ;
43691 wxString *arg3 = (wxString *) &arg3_defvalue ;
43692 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43693 wxString *arg4 = (wxString *) &arg4_defvalue ;
43694 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43695 wxString *arg5 = (wxString *) &arg5_defvalue ;
43696 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43697 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43698 wxSize const &arg7_defvalue = wxDefaultSize ;
43699 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43700 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43701 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43702 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43703 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43704 wxString *arg10 = (wxString *) &arg10_defvalue ;
43705 wxFilePickerCtrl *result = 0 ;
43706 void *argp1 = 0 ;
43707 int res1 = 0 ;
43708 int val2 ;
43709 int ecode2 = 0 ;
43710 bool temp3 = false ;
43711 bool temp4 = false ;
43712 bool temp5 = false ;
43713 wxPoint temp6 ;
43714 wxSize temp7 ;
43715 long val8 ;
43716 int ecode8 = 0 ;
43717 void *argp9 = 0 ;
43718 int res9 = 0 ;
43719 bool temp10 = false ;
43720 PyObject * obj0 = 0 ;
43721 PyObject * obj1 = 0 ;
43722 PyObject * obj2 = 0 ;
43723 PyObject * obj3 = 0 ;
43724 PyObject * obj4 = 0 ;
43725 PyObject * obj5 = 0 ;
43726 PyObject * obj6 = 0 ;
43727 PyObject * obj7 = 0 ;
43728 PyObject * obj8 = 0 ;
43729 PyObject * obj9 = 0 ;
43730 char * kwnames[] = {
43731 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43732 };
43733
43734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43736 if (!SWIG_IsOK(res1)) {
43737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43738 }
43739 arg1 = reinterpret_cast< wxWindow * >(argp1);
43740 if (obj1) {
43741 ecode2 = SWIG_AsVal_int(obj1, &val2);
43742 if (!SWIG_IsOK(ecode2)) {
43743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43744 }
43745 arg2 = static_cast< int >(val2);
43746 }
43747 if (obj2) {
43748 {
43749 arg3 = wxString_in_helper(obj2);
43750 if (arg3 == NULL) SWIG_fail;
43751 temp3 = true;
43752 }
43753 }
43754 if (obj3) {
43755 {
43756 arg4 = wxString_in_helper(obj3);
43757 if (arg4 == NULL) SWIG_fail;
43758 temp4 = true;
43759 }
43760 }
43761 if (obj4) {
43762 {
43763 arg5 = wxString_in_helper(obj4);
43764 if (arg5 == NULL) SWIG_fail;
43765 temp5 = true;
43766 }
43767 }
43768 if (obj5) {
43769 {
43770 arg6 = &temp6;
43771 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43772 }
43773 }
43774 if (obj6) {
43775 {
43776 arg7 = &temp7;
43777 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43778 }
43779 }
43780 if (obj7) {
43781 ecode8 = SWIG_AsVal_long(obj7, &val8);
43782 if (!SWIG_IsOK(ecode8)) {
43783 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43784 }
43785 arg8 = static_cast< long >(val8);
43786 }
43787 if (obj8) {
43788 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43789 if (!SWIG_IsOK(res9)) {
43790 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43791 }
43792 if (!argp9) {
43793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43794 }
43795 arg9 = reinterpret_cast< wxValidator * >(argp9);
43796 }
43797 if (obj9) {
43798 {
43799 arg10 = wxString_in_helper(obj9);
43800 if (arg10 == NULL) SWIG_fail;
43801 temp10 = true;
43802 }
43803 }
43804 {
43805 if (!wxPyCheckForApp()) SWIG_fail;
43806 PyThreadState* __tstate = wxPyBeginAllowThreads();
43807 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);
43808 wxPyEndAllowThreads(__tstate);
43809 if (PyErr_Occurred()) SWIG_fail;
43810 }
43811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43812 {
43813 if (temp3)
43814 delete arg3;
43815 }
43816 {
43817 if (temp4)
43818 delete arg4;
43819 }
43820 {
43821 if (temp5)
43822 delete arg5;
43823 }
43824 {
43825 if (temp10)
43826 delete arg10;
43827 }
43828 return resultobj;
43829 fail:
43830 {
43831 if (temp3)
43832 delete arg3;
43833 }
43834 {
43835 if (temp4)
43836 delete arg4;
43837 }
43838 {
43839 if (temp5)
43840 delete arg5;
43841 }
43842 {
43843 if (temp10)
43844 delete arg10;
43845 }
43846 return NULL;
43847 }
43848
43849
43850 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43851 PyObject *resultobj = 0;
43852 wxFilePickerCtrl *result = 0 ;
43853
43854 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43855 {
43856 if (!wxPyCheckForApp()) SWIG_fail;
43857 PyThreadState* __tstate = wxPyBeginAllowThreads();
43858 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43859 wxPyEndAllowThreads(__tstate);
43860 if (PyErr_Occurred()) SWIG_fail;
43861 }
43862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43863 return resultobj;
43864 fail:
43865 return NULL;
43866 }
43867
43868
43869 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43870 PyObject *resultobj = 0;
43871 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43872 wxWindow *arg2 = (wxWindow *) 0 ;
43873 int arg3 = (int) -1 ;
43874 wxString const &arg4_defvalue = wxPyEmptyString ;
43875 wxString *arg4 = (wxString *) &arg4_defvalue ;
43876 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43877 wxString *arg5 = (wxString *) &arg5_defvalue ;
43878 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43879 wxString *arg6 = (wxString *) &arg6_defvalue ;
43880 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43881 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43882 wxSize const &arg8_defvalue = wxDefaultSize ;
43883 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43884 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43885 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43886 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43887 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43888 wxString *arg11 = (wxString *) &arg11_defvalue ;
43889 bool result;
43890 void *argp1 = 0 ;
43891 int res1 = 0 ;
43892 void *argp2 = 0 ;
43893 int res2 = 0 ;
43894 int val3 ;
43895 int ecode3 = 0 ;
43896 bool temp4 = false ;
43897 bool temp5 = false ;
43898 bool temp6 = false ;
43899 wxPoint temp7 ;
43900 wxSize temp8 ;
43901 long val9 ;
43902 int ecode9 = 0 ;
43903 void *argp10 = 0 ;
43904 int res10 = 0 ;
43905 bool temp11 = false ;
43906 PyObject * obj0 = 0 ;
43907 PyObject * obj1 = 0 ;
43908 PyObject * obj2 = 0 ;
43909 PyObject * obj3 = 0 ;
43910 PyObject * obj4 = 0 ;
43911 PyObject * obj5 = 0 ;
43912 PyObject * obj6 = 0 ;
43913 PyObject * obj7 = 0 ;
43914 PyObject * obj8 = 0 ;
43915 PyObject * obj9 = 0 ;
43916 PyObject * obj10 = 0 ;
43917 char * kwnames[] = {
43918 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43919 };
43920
43921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43923 if (!SWIG_IsOK(res1)) {
43924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43925 }
43926 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43927 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43928 if (!SWIG_IsOK(res2)) {
43929 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43930 }
43931 arg2 = reinterpret_cast< wxWindow * >(argp2);
43932 if (obj2) {
43933 ecode3 = SWIG_AsVal_int(obj2, &val3);
43934 if (!SWIG_IsOK(ecode3)) {
43935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43936 }
43937 arg3 = static_cast< int >(val3);
43938 }
43939 if (obj3) {
43940 {
43941 arg4 = wxString_in_helper(obj3);
43942 if (arg4 == NULL) SWIG_fail;
43943 temp4 = true;
43944 }
43945 }
43946 if (obj4) {
43947 {
43948 arg5 = wxString_in_helper(obj4);
43949 if (arg5 == NULL) SWIG_fail;
43950 temp5 = true;
43951 }
43952 }
43953 if (obj5) {
43954 {
43955 arg6 = wxString_in_helper(obj5);
43956 if (arg6 == NULL) SWIG_fail;
43957 temp6 = true;
43958 }
43959 }
43960 if (obj6) {
43961 {
43962 arg7 = &temp7;
43963 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43964 }
43965 }
43966 if (obj7) {
43967 {
43968 arg8 = &temp8;
43969 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43970 }
43971 }
43972 if (obj8) {
43973 ecode9 = SWIG_AsVal_long(obj8, &val9);
43974 if (!SWIG_IsOK(ecode9)) {
43975 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43976 }
43977 arg9 = static_cast< long >(val9);
43978 }
43979 if (obj9) {
43980 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43981 if (!SWIG_IsOK(res10)) {
43982 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43983 }
43984 if (!argp10) {
43985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43986 }
43987 arg10 = reinterpret_cast< wxValidator * >(argp10);
43988 }
43989 if (obj10) {
43990 {
43991 arg11 = wxString_in_helper(obj10);
43992 if (arg11 == NULL) SWIG_fail;
43993 temp11 = true;
43994 }
43995 }
43996 {
43997 PyThreadState* __tstate = wxPyBeginAllowThreads();
43998 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);
43999 wxPyEndAllowThreads(__tstate);
44000 if (PyErr_Occurred()) SWIG_fail;
44001 }
44002 {
44003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44004 }
44005 {
44006 if (temp4)
44007 delete arg4;
44008 }
44009 {
44010 if (temp5)
44011 delete arg5;
44012 }
44013 {
44014 if (temp6)
44015 delete arg6;
44016 }
44017 {
44018 if (temp11)
44019 delete arg11;
44020 }
44021 return resultobj;
44022 fail:
44023 {
44024 if (temp4)
44025 delete arg4;
44026 }
44027 {
44028 if (temp5)
44029 delete arg5;
44030 }
44031 {
44032 if (temp6)
44033 delete arg6;
44034 }
44035 {
44036 if (temp11)
44037 delete arg11;
44038 }
44039 return NULL;
44040 }
44041
44042
44043 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44044 PyObject *resultobj = 0;
44045 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44046 wxString result;
44047 void *argp1 = 0 ;
44048 int res1 = 0 ;
44049 PyObject *swig_obj[1] ;
44050
44051 if (!args) SWIG_fail;
44052 swig_obj[0] = args;
44053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44054 if (!SWIG_IsOK(res1)) {
44055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44056 }
44057 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44058 {
44059 PyThreadState* __tstate = wxPyBeginAllowThreads();
44060 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44061 wxPyEndAllowThreads(__tstate);
44062 if (PyErr_Occurred()) SWIG_fail;
44063 }
44064 {
44065 #if wxUSE_UNICODE
44066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44067 #else
44068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44069 #endif
44070 }
44071 return resultobj;
44072 fail:
44073 return NULL;
44074 }
44075
44076
44077 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44078 PyObject *resultobj = 0;
44079 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44080 wxString *arg2 = 0 ;
44081 void *argp1 = 0 ;
44082 int res1 = 0 ;
44083 bool temp2 = false ;
44084 PyObject * obj0 = 0 ;
44085 PyObject * obj1 = 0 ;
44086 char * kwnames[] = {
44087 (char *) "self",(char *) "str", NULL
44088 };
44089
44090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44092 if (!SWIG_IsOK(res1)) {
44093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44094 }
44095 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44096 {
44097 arg2 = wxString_in_helper(obj1);
44098 if (arg2 == NULL) SWIG_fail;
44099 temp2 = true;
44100 }
44101 {
44102 PyThreadState* __tstate = wxPyBeginAllowThreads();
44103 (arg1)->SetPath((wxString const &)*arg2);
44104 wxPyEndAllowThreads(__tstate);
44105 if (PyErr_Occurred()) SWIG_fail;
44106 }
44107 resultobj = SWIG_Py_Void();
44108 {
44109 if (temp2)
44110 delete arg2;
44111 }
44112 return resultobj;
44113 fail:
44114 {
44115 if (temp2)
44116 delete arg2;
44117 }
44118 return NULL;
44119 }
44120
44121
44122 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44123 PyObject *resultobj = 0;
44124 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44125 wxString *arg2 = 0 ;
44126 bool result;
44127 void *argp1 = 0 ;
44128 int res1 = 0 ;
44129 bool temp2 = false ;
44130 PyObject * obj0 = 0 ;
44131 PyObject * obj1 = 0 ;
44132 char * kwnames[] = {
44133 (char *) "self",(char *) "path", NULL
44134 };
44135
44136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44138 if (!SWIG_IsOK(res1)) {
44139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44140 }
44141 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44142 {
44143 arg2 = wxString_in_helper(obj1);
44144 if (arg2 == NULL) SWIG_fail;
44145 temp2 = true;
44146 }
44147 {
44148 PyThreadState* __tstate = wxPyBeginAllowThreads();
44149 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44150 wxPyEndAllowThreads(__tstate);
44151 if (PyErr_Occurred()) SWIG_fail;
44152 }
44153 {
44154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44155 }
44156 {
44157 if (temp2)
44158 delete arg2;
44159 }
44160 return resultobj;
44161 fail:
44162 {
44163 if (temp2)
44164 delete arg2;
44165 }
44166 return NULL;
44167 }
44168
44169
44170 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44171 PyObject *resultobj = 0;
44172 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44173 wxString result;
44174 void *argp1 = 0 ;
44175 int res1 = 0 ;
44176 PyObject *swig_obj[1] ;
44177
44178 if (!args) SWIG_fail;
44179 swig_obj[0] = args;
44180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44181 if (!SWIG_IsOK(res1)) {
44182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44183 }
44184 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44185 {
44186 PyThreadState* __tstate = wxPyBeginAllowThreads();
44187 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44188 wxPyEndAllowThreads(__tstate);
44189 if (PyErr_Occurred()) SWIG_fail;
44190 }
44191 {
44192 #if wxUSE_UNICODE
44193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44194 #else
44195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44196 #endif
44197 }
44198 return resultobj;
44199 fail:
44200 return NULL;
44201 }
44202
44203
44204 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44205 PyObject *obj;
44206 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44207 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44208 return SWIG_Py_Void();
44209 }
44210
44211 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44212 return SWIG_Python_InitShadowInstance(args);
44213 }
44214
44215 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44216 PyObject *resultobj = 0;
44217 wxWindow *arg1 = (wxWindow *) 0 ;
44218 int arg2 = (int) -1 ;
44219 wxString const &arg3_defvalue = wxPyEmptyString ;
44220 wxString *arg3 = (wxString *) &arg3_defvalue ;
44221 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44222 wxString *arg4 = (wxString *) &arg4_defvalue ;
44223 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44224 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44225 wxSize const &arg6_defvalue = wxDefaultSize ;
44226 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44227 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44228 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44229 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44230 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44231 wxString *arg9 = (wxString *) &arg9_defvalue ;
44232 wxDirPickerCtrl *result = 0 ;
44233 void *argp1 = 0 ;
44234 int res1 = 0 ;
44235 int val2 ;
44236 int ecode2 = 0 ;
44237 bool temp3 = false ;
44238 bool temp4 = false ;
44239 wxPoint temp5 ;
44240 wxSize temp6 ;
44241 long val7 ;
44242 int ecode7 = 0 ;
44243 void *argp8 = 0 ;
44244 int res8 = 0 ;
44245 bool temp9 = false ;
44246 PyObject * obj0 = 0 ;
44247 PyObject * obj1 = 0 ;
44248 PyObject * obj2 = 0 ;
44249 PyObject * obj3 = 0 ;
44250 PyObject * obj4 = 0 ;
44251 PyObject * obj5 = 0 ;
44252 PyObject * obj6 = 0 ;
44253 PyObject * obj7 = 0 ;
44254 PyObject * obj8 = 0 ;
44255 char * kwnames[] = {
44256 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44257 };
44258
44259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44261 if (!SWIG_IsOK(res1)) {
44262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44263 }
44264 arg1 = reinterpret_cast< wxWindow * >(argp1);
44265 if (obj1) {
44266 ecode2 = SWIG_AsVal_int(obj1, &val2);
44267 if (!SWIG_IsOK(ecode2)) {
44268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44269 }
44270 arg2 = static_cast< int >(val2);
44271 }
44272 if (obj2) {
44273 {
44274 arg3 = wxString_in_helper(obj2);
44275 if (arg3 == NULL) SWIG_fail;
44276 temp3 = true;
44277 }
44278 }
44279 if (obj3) {
44280 {
44281 arg4 = wxString_in_helper(obj3);
44282 if (arg4 == NULL) SWIG_fail;
44283 temp4 = true;
44284 }
44285 }
44286 if (obj4) {
44287 {
44288 arg5 = &temp5;
44289 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44290 }
44291 }
44292 if (obj5) {
44293 {
44294 arg6 = &temp6;
44295 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44296 }
44297 }
44298 if (obj6) {
44299 ecode7 = SWIG_AsVal_long(obj6, &val7);
44300 if (!SWIG_IsOK(ecode7)) {
44301 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44302 }
44303 arg7 = static_cast< long >(val7);
44304 }
44305 if (obj7) {
44306 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44307 if (!SWIG_IsOK(res8)) {
44308 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44309 }
44310 if (!argp8) {
44311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44312 }
44313 arg8 = reinterpret_cast< wxValidator * >(argp8);
44314 }
44315 if (obj8) {
44316 {
44317 arg9 = wxString_in_helper(obj8);
44318 if (arg9 == NULL) SWIG_fail;
44319 temp9 = true;
44320 }
44321 }
44322 {
44323 if (!wxPyCheckForApp()) SWIG_fail;
44324 PyThreadState* __tstate = wxPyBeginAllowThreads();
44325 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);
44326 wxPyEndAllowThreads(__tstate);
44327 if (PyErr_Occurred()) SWIG_fail;
44328 }
44329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44330 {
44331 if (temp3)
44332 delete arg3;
44333 }
44334 {
44335 if (temp4)
44336 delete arg4;
44337 }
44338 {
44339 if (temp9)
44340 delete arg9;
44341 }
44342 return resultobj;
44343 fail:
44344 {
44345 if (temp3)
44346 delete arg3;
44347 }
44348 {
44349 if (temp4)
44350 delete arg4;
44351 }
44352 {
44353 if (temp9)
44354 delete arg9;
44355 }
44356 return NULL;
44357 }
44358
44359
44360 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44361 PyObject *resultobj = 0;
44362 wxDirPickerCtrl *result = 0 ;
44363
44364 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44365 {
44366 if (!wxPyCheckForApp()) SWIG_fail;
44367 PyThreadState* __tstate = wxPyBeginAllowThreads();
44368 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44369 wxPyEndAllowThreads(__tstate);
44370 if (PyErr_Occurred()) SWIG_fail;
44371 }
44372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44373 return resultobj;
44374 fail:
44375 return NULL;
44376 }
44377
44378
44379 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44380 PyObject *resultobj = 0;
44381 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44382 wxWindow *arg2 = (wxWindow *) 0 ;
44383 int arg3 = (int) -1 ;
44384 wxString const &arg4_defvalue = wxPyEmptyString ;
44385 wxString *arg4 = (wxString *) &arg4_defvalue ;
44386 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44387 wxString *arg5 = (wxString *) &arg5_defvalue ;
44388 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44389 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44390 wxSize const &arg7_defvalue = wxDefaultSize ;
44391 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44392 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44393 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44394 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44395 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44396 wxString *arg10 = (wxString *) &arg10_defvalue ;
44397 bool result;
44398 void *argp1 = 0 ;
44399 int res1 = 0 ;
44400 void *argp2 = 0 ;
44401 int res2 = 0 ;
44402 int val3 ;
44403 int ecode3 = 0 ;
44404 bool temp4 = false ;
44405 bool temp5 = false ;
44406 wxPoint temp6 ;
44407 wxSize temp7 ;
44408 long val8 ;
44409 int ecode8 = 0 ;
44410 void *argp9 = 0 ;
44411 int res9 = 0 ;
44412 bool temp10 = false ;
44413 PyObject * obj0 = 0 ;
44414 PyObject * obj1 = 0 ;
44415 PyObject * obj2 = 0 ;
44416 PyObject * obj3 = 0 ;
44417 PyObject * obj4 = 0 ;
44418 PyObject * obj5 = 0 ;
44419 PyObject * obj6 = 0 ;
44420 PyObject * obj7 = 0 ;
44421 PyObject * obj8 = 0 ;
44422 PyObject * obj9 = 0 ;
44423 char * kwnames[] = {
44424 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44425 };
44426
44427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44429 if (!SWIG_IsOK(res1)) {
44430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44431 }
44432 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44433 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44434 if (!SWIG_IsOK(res2)) {
44435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44436 }
44437 arg2 = reinterpret_cast< wxWindow * >(argp2);
44438 if (obj2) {
44439 ecode3 = SWIG_AsVal_int(obj2, &val3);
44440 if (!SWIG_IsOK(ecode3)) {
44441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44442 }
44443 arg3 = static_cast< int >(val3);
44444 }
44445 if (obj3) {
44446 {
44447 arg4 = wxString_in_helper(obj3);
44448 if (arg4 == NULL) SWIG_fail;
44449 temp4 = true;
44450 }
44451 }
44452 if (obj4) {
44453 {
44454 arg5 = wxString_in_helper(obj4);
44455 if (arg5 == NULL) SWIG_fail;
44456 temp5 = true;
44457 }
44458 }
44459 if (obj5) {
44460 {
44461 arg6 = &temp6;
44462 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44463 }
44464 }
44465 if (obj6) {
44466 {
44467 arg7 = &temp7;
44468 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44469 }
44470 }
44471 if (obj7) {
44472 ecode8 = SWIG_AsVal_long(obj7, &val8);
44473 if (!SWIG_IsOK(ecode8)) {
44474 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44475 }
44476 arg8 = static_cast< long >(val8);
44477 }
44478 if (obj8) {
44479 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44480 if (!SWIG_IsOK(res9)) {
44481 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44482 }
44483 if (!argp9) {
44484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44485 }
44486 arg9 = reinterpret_cast< wxValidator * >(argp9);
44487 }
44488 if (obj9) {
44489 {
44490 arg10 = wxString_in_helper(obj9);
44491 if (arg10 == NULL) SWIG_fail;
44492 temp10 = true;
44493 }
44494 }
44495 {
44496 PyThreadState* __tstate = wxPyBeginAllowThreads();
44497 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);
44498 wxPyEndAllowThreads(__tstate);
44499 if (PyErr_Occurred()) SWIG_fail;
44500 }
44501 {
44502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44503 }
44504 {
44505 if (temp4)
44506 delete arg4;
44507 }
44508 {
44509 if (temp5)
44510 delete arg5;
44511 }
44512 {
44513 if (temp10)
44514 delete arg10;
44515 }
44516 return resultobj;
44517 fail:
44518 {
44519 if (temp4)
44520 delete arg4;
44521 }
44522 {
44523 if (temp5)
44524 delete arg5;
44525 }
44526 {
44527 if (temp10)
44528 delete arg10;
44529 }
44530 return NULL;
44531 }
44532
44533
44534 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44535 PyObject *resultobj = 0;
44536 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44537 wxString result;
44538 void *argp1 = 0 ;
44539 int res1 = 0 ;
44540 PyObject *swig_obj[1] ;
44541
44542 if (!args) SWIG_fail;
44543 swig_obj[0] = args;
44544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44545 if (!SWIG_IsOK(res1)) {
44546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44547 }
44548 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44549 {
44550 PyThreadState* __tstate = wxPyBeginAllowThreads();
44551 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44552 wxPyEndAllowThreads(__tstate);
44553 if (PyErr_Occurred()) SWIG_fail;
44554 }
44555 {
44556 #if wxUSE_UNICODE
44557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44558 #else
44559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44560 #endif
44561 }
44562 return resultobj;
44563 fail:
44564 return NULL;
44565 }
44566
44567
44568 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44569 PyObject *resultobj = 0;
44570 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44571 wxString *arg2 = 0 ;
44572 void *argp1 = 0 ;
44573 int res1 = 0 ;
44574 bool temp2 = false ;
44575 PyObject * obj0 = 0 ;
44576 PyObject * obj1 = 0 ;
44577 char * kwnames[] = {
44578 (char *) "self",(char *) "str", NULL
44579 };
44580
44581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44583 if (!SWIG_IsOK(res1)) {
44584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44585 }
44586 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44587 {
44588 arg2 = wxString_in_helper(obj1);
44589 if (arg2 == NULL) SWIG_fail;
44590 temp2 = true;
44591 }
44592 {
44593 PyThreadState* __tstate = wxPyBeginAllowThreads();
44594 (arg1)->SetPath((wxString const &)*arg2);
44595 wxPyEndAllowThreads(__tstate);
44596 if (PyErr_Occurred()) SWIG_fail;
44597 }
44598 resultobj = SWIG_Py_Void();
44599 {
44600 if (temp2)
44601 delete arg2;
44602 }
44603 return resultobj;
44604 fail:
44605 {
44606 if (temp2)
44607 delete arg2;
44608 }
44609 return NULL;
44610 }
44611
44612
44613 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44614 PyObject *resultobj = 0;
44615 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44616 wxString *arg2 = 0 ;
44617 bool result;
44618 void *argp1 = 0 ;
44619 int res1 = 0 ;
44620 bool temp2 = false ;
44621 PyObject * obj0 = 0 ;
44622 PyObject * obj1 = 0 ;
44623 char * kwnames[] = {
44624 (char *) "self",(char *) "path", NULL
44625 };
44626
44627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44629 if (!SWIG_IsOK(res1)) {
44630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44631 }
44632 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44633 {
44634 arg2 = wxString_in_helper(obj1);
44635 if (arg2 == NULL) SWIG_fail;
44636 temp2 = true;
44637 }
44638 {
44639 PyThreadState* __tstate = wxPyBeginAllowThreads();
44640 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44641 wxPyEndAllowThreads(__tstate);
44642 if (PyErr_Occurred()) SWIG_fail;
44643 }
44644 {
44645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44646 }
44647 {
44648 if (temp2)
44649 delete arg2;
44650 }
44651 return resultobj;
44652 fail:
44653 {
44654 if (temp2)
44655 delete arg2;
44656 }
44657 return NULL;
44658 }
44659
44660
44661 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44662 PyObject *resultobj = 0;
44663 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44664 wxString result;
44665 void *argp1 = 0 ;
44666 int res1 = 0 ;
44667 PyObject *swig_obj[1] ;
44668
44669 if (!args) SWIG_fail;
44670 swig_obj[0] = args;
44671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44672 if (!SWIG_IsOK(res1)) {
44673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44674 }
44675 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44676 {
44677 PyThreadState* __tstate = wxPyBeginAllowThreads();
44678 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44679 wxPyEndAllowThreads(__tstate);
44680 if (PyErr_Occurred()) SWIG_fail;
44681 }
44682 {
44683 #if wxUSE_UNICODE
44684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44685 #else
44686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44687 #endif
44688 }
44689 return resultobj;
44690 fail:
44691 return NULL;
44692 }
44693
44694
44695 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44696 PyObject *obj;
44697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44698 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44699 return SWIG_Py_Void();
44700 }
44701
44702 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44703 return SWIG_Python_InitShadowInstance(args);
44704 }
44705
44706 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44707 PyObject *resultobj = 0;
44708 wxEventType arg1 ;
44709 wxObject *arg2 = (wxObject *) 0 ;
44710 int arg3 ;
44711 wxString *arg4 = 0 ;
44712 wxFileDirPickerEvent *result = 0 ;
44713 int val1 ;
44714 int ecode1 = 0 ;
44715 void *argp2 = 0 ;
44716 int res2 = 0 ;
44717 int val3 ;
44718 int ecode3 = 0 ;
44719 bool temp4 = false ;
44720 PyObject * obj0 = 0 ;
44721 PyObject * obj1 = 0 ;
44722 PyObject * obj2 = 0 ;
44723 PyObject * obj3 = 0 ;
44724 char * kwnames[] = {
44725 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44726 };
44727
44728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44729 ecode1 = SWIG_AsVal_int(obj0, &val1);
44730 if (!SWIG_IsOK(ecode1)) {
44731 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44732 }
44733 arg1 = static_cast< wxEventType >(val1);
44734 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44735 if (!SWIG_IsOK(res2)) {
44736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44737 }
44738 arg2 = reinterpret_cast< wxObject * >(argp2);
44739 ecode3 = SWIG_AsVal_int(obj2, &val3);
44740 if (!SWIG_IsOK(ecode3)) {
44741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44742 }
44743 arg3 = static_cast< int >(val3);
44744 {
44745 arg4 = wxString_in_helper(obj3);
44746 if (arg4 == NULL) SWIG_fail;
44747 temp4 = true;
44748 }
44749 {
44750 PyThreadState* __tstate = wxPyBeginAllowThreads();
44751 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44752 wxPyEndAllowThreads(__tstate);
44753 if (PyErr_Occurred()) SWIG_fail;
44754 }
44755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44756 {
44757 if (temp4)
44758 delete arg4;
44759 }
44760 return resultobj;
44761 fail:
44762 {
44763 if (temp4)
44764 delete arg4;
44765 }
44766 return NULL;
44767 }
44768
44769
44770 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44771 PyObject *resultobj = 0;
44772 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44773 wxString result;
44774 void *argp1 = 0 ;
44775 int res1 = 0 ;
44776 PyObject *swig_obj[1] ;
44777
44778 if (!args) SWIG_fail;
44779 swig_obj[0] = args;
44780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44781 if (!SWIG_IsOK(res1)) {
44782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44783 }
44784 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44785 {
44786 PyThreadState* __tstate = wxPyBeginAllowThreads();
44787 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44788 wxPyEndAllowThreads(__tstate);
44789 if (PyErr_Occurred()) SWIG_fail;
44790 }
44791 {
44792 #if wxUSE_UNICODE
44793 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44794 #else
44795 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44796 #endif
44797 }
44798 return resultobj;
44799 fail:
44800 return NULL;
44801 }
44802
44803
44804 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44805 PyObject *resultobj = 0;
44806 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44807 wxString *arg2 = 0 ;
44808 void *argp1 = 0 ;
44809 int res1 = 0 ;
44810 bool temp2 = false ;
44811 PyObject * obj0 = 0 ;
44812 PyObject * obj1 = 0 ;
44813 char * kwnames[] = {
44814 (char *) "self",(char *) "p", NULL
44815 };
44816
44817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44819 if (!SWIG_IsOK(res1)) {
44820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44821 }
44822 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44823 {
44824 arg2 = wxString_in_helper(obj1);
44825 if (arg2 == NULL) SWIG_fail;
44826 temp2 = true;
44827 }
44828 {
44829 PyThreadState* __tstate = wxPyBeginAllowThreads();
44830 (arg1)->SetPath((wxString const &)*arg2);
44831 wxPyEndAllowThreads(__tstate);
44832 if (PyErr_Occurred()) SWIG_fail;
44833 }
44834 resultobj = SWIG_Py_Void();
44835 {
44836 if (temp2)
44837 delete arg2;
44838 }
44839 return resultobj;
44840 fail:
44841 {
44842 if (temp2)
44843 delete arg2;
44844 }
44845 return NULL;
44846 }
44847
44848
44849 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44850 PyObject *obj;
44851 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44852 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44853 return SWIG_Py_Void();
44854 }
44855
44856 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44857 return SWIG_Python_InitShadowInstance(args);
44858 }
44859
44860 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44861 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44862 return 1;
44863 }
44864
44865
44866 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44867 PyObject *pyobj = 0;
44868
44869 {
44870 #if wxUSE_UNICODE
44871 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44872 #else
44873 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44874 #endif
44875 }
44876 return pyobj;
44877 }
44878
44879
44880 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44881 PyObject *resultobj = 0;
44882 wxWindow *arg1 = (wxWindow *) 0 ;
44883 int arg2 = (int) -1 ;
44884 wxFont const &arg3_defvalue = *wxNORMAL_FONT ;
44885 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44886 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44887 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44888 wxSize const &arg5_defvalue = wxDefaultSize ;
44889 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44890 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44891 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44892 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44893 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44894 wxString *arg8 = (wxString *) &arg8_defvalue ;
44895 wxFontPickerCtrl *result = 0 ;
44896 void *argp1 = 0 ;
44897 int res1 = 0 ;
44898 int val2 ;
44899 int ecode2 = 0 ;
44900 void *argp3 = 0 ;
44901 int res3 = 0 ;
44902 wxPoint temp4 ;
44903 wxSize temp5 ;
44904 long val6 ;
44905 int ecode6 = 0 ;
44906 void *argp7 = 0 ;
44907 int res7 = 0 ;
44908 bool temp8 = false ;
44909 PyObject * obj0 = 0 ;
44910 PyObject * obj1 = 0 ;
44911 PyObject * obj2 = 0 ;
44912 PyObject * obj3 = 0 ;
44913 PyObject * obj4 = 0 ;
44914 PyObject * obj5 = 0 ;
44915 PyObject * obj6 = 0 ;
44916 PyObject * obj7 = 0 ;
44917 char * kwnames[] = {
44918 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44919 };
44920
44921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44923 if (!SWIG_IsOK(res1)) {
44924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44925 }
44926 arg1 = reinterpret_cast< wxWindow * >(argp1);
44927 if (obj1) {
44928 ecode2 = SWIG_AsVal_int(obj1, &val2);
44929 if (!SWIG_IsOK(ecode2)) {
44930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44931 }
44932 arg2 = static_cast< int >(val2);
44933 }
44934 if (obj2) {
44935 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44936 if (!SWIG_IsOK(res3)) {
44937 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44938 }
44939 if (!argp3) {
44940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44941 }
44942 arg3 = reinterpret_cast< wxFont * >(argp3);
44943 }
44944 if (obj3) {
44945 {
44946 arg4 = &temp4;
44947 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44948 }
44949 }
44950 if (obj4) {
44951 {
44952 arg5 = &temp5;
44953 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44954 }
44955 }
44956 if (obj5) {
44957 ecode6 = SWIG_AsVal_long(obj5, &val6);
44958 if (!SWIG_IsOK(ecode6)) {
44959 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44960 }
44961 arg6 = static_cast< long >(val6);
44962 }
44963 if (obj6) {
44964 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44965 if (!SWIG_IsOK(res7)) {
44966 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44967 }
44968 if (!argp7) {
44969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44970 }
44971 arg7 = reinterpret_cast< wxValidator * >(argp7);
44972 }
44973 if (obj7) {
44974 {
44975 arg8 = wxString_in_helper(obj7);
44976 if (arg8 == NULL) SWIG_fail;
44977 temp8 = true;
44978 }
44979 }
44980 {
44981 if (!wxPyCheckForApp()) SWIG_fail;
44982 PyThreadState* __tstate = wxPyBeginAllowThreads();
44983 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44984 wxPyEndAllowThreads(__tstate);
44985 if (PyErr_Occurred()) SWIG_fail;
44986 }
44987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44988 {
44989 if (temp8)
44990 delete arg8;
44991 }
44992 return resultobj;
44993 fail:
44994 {
44995 if (temp8)
44996 delete arg8;
44997 }
44998 return NULL;
44999 }
45000
45001
45002 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45003 PyObject *resultobj = 0;
45004 wxFontPickerCtrl *result = 0 ;
45005
45006 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45007 {
45008 if (!wxPyCheckForApp()) SWIG_fail;
45009 PyThreadState* __tstate = wxPyBeginAllowThreads();
45010 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45011 wxPyEndAllowThreads(__tstate);
45012 if (PyErr_Occurred()) SWIG_fail;
45013 }
45014 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45015 return resultobj;
45016 fail:
45017 return NULL;
45018 }
45019
45020
45021 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45022 PyObject *resultobj = 0;
45023 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45024 wxWindow *arg2 = (wxWindow *) 0 ;
45025 int arg3 = (int) -1 ;
45026 wxFont const &arg4_defvalue = *wxNORMAL_FONT ;
45027 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45028 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45029 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45030 wxSize const &arg6_defvalue = wxDefaultSize ;
45031 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45032 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45033 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45034 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45035 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45036 wxString *arg9 = (wxString *) &arg9_defvalue ;
45037 bool result;
45038 void *argp1 = 0 ;
45039 int res1 = 0 ;
45040 void *argp2 = 0 ;
45041 int res2 = 0 ;
45042 int val3 ;
45043 int ecode3 = 0 ;
45044 void *argp4 = 0 ;
45045 int res4 = 0 ;
45046 wxPoint temp5 ;
45047 wxSize temp6 ;
45048 long val7 ;
45049 int ecode7 = 0 ;
45050 void *argp8 = 0 ;
45051 int res8 = 0 ;
45052 bool temp9 = false ;
45053 PyObject * obj0 = 0 ;
45054 PyObject * obj1 = 0 ;
45055 PyObject * obj2 = 0 ;
45056 PyObject * obj3 = 0 ;
45057 PyObject * obj4 = 0 ;
45058 PyObject * obj5 = 0 ;
45059 PyObject * obj6 = 0 ;
45060 PyObject * obj7 = 0 ;
45061 PyObject * obj8 = 0 ;
45062 char * kwnames[] = {
45063 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45064 };
45065
45066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45068 if (!SWIG_IsOK(res1)) {
45069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45070 }
45071 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45073 if (!SWIG_IsOK(res2)) {
45074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45075 }
45076 arg2 = reinterpret_cast< wxWindow * >(argp2);
45077 if (obj2) {
45078 ecode3 = SWIG_AsVal_int(obj2, &val3);
45079 if (!SWIG_IsOK(ecode3)) {
45080 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45081 }
45082 arg3 = static_cast< int >(val3);
45083 }
45084 if (obj3) {
45085 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45086 if (!SWIG_IsOK(res4)) {
45087 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45088 }
45089 if (!argp4) {
45090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45091 }
45092 arg4 = reinterpret_cast< wxFont * >(argp4);
45093 }
45094 if (obj4) {
45095 {
45096 arg5 = &temp5;
45097 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45098 }
45099 }
45100 if (obj5) {
45101 {
45102 arg6 = &temp6;
45103 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45104 }
45105 }
45106 if (obj6) {
45107 ecode7 = SWIG_AsVal_long(obj6, &val7);
45108 if (!SWIG_IsOK(ecode7)) {
45109 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45110 }
45111 arg7 = static_cast< long >(val7);
45112 }
45113 if (obj7) {
45114 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45115 if (!SWIG_IsOK(res8)) {
45116 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45117 }
45118 if (!argp8) {
45119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45120 }
45121 arg8 = reinterpret_cast< wxValidator * >(argp8);
45122 }
45123 if (obj8) {
45124 {
45125 arg9 = wxString_in_helper(obj8);
45126 if (arg9 == NULL) SWIG_fail;
45127 temp9 = true;
45128 }
45129 }
45130 {
45131 PyThreadState* __tstate = wxPyBeginAllowThreads();
45132 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45133 wxPyEndAllowThreads(__tstate);
45134 if (PyErr_Occurred()) SWIG_fail;
45135 }
45136 {
45137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45138 }
45139 {
45140 if (temp9)
45141 delete arg9;
45142 }
45143 return resultobj;
45144 fail:
45145 {
45146 if (temp9)
45147 delete arg9;
45148 }
45149 return NULL;
45150 }
45151
45152
45153 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45154 PyObject *resultobj = 0;
45155 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45156 wxFont result;
45157 void *argp1 = 0 ;
45158 int res1 = 0 ;
45159 PyObject *swig_obj[1] ;
45160
45161 if (!args) SWIG_fail;
45162 swig_obj[0] = args;
45163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45164 if (!SWIG_IsOK(res1)) {
45165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45166 }
45167 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45168 {
45169 PyThreadState* __tstate = wxPyBeginAllowThreads();
45170 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45171 wxPyEndAllowThreads(__tstate);
45172 if (PyErr_Occurred()) SWIG_fail;
45173 }
45174 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45175 return resultobj;
45176 fail:
45177 return NULL;
45178 }
45179
45180
45181 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45182 PyObject *resultobj = 0;
45183 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45184 wxFont *arg2 = 0 ;
45185 void *argp1 = 0 ;
45186 int res1 = 0 ;
45187 void *argp2 = 0 ;
45188 int res2 = 0 ;
45189 PyObject * obj0 = 0 ;
45190 PyObject * obj1 = 0 ;
45191 char * kwnames[] = {
45192 (char *) "self",(char *) "f", NULL
45193 };
45194
45195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45197 if (!SWIG_IsOK(res1)) {
45198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45199 }
45200 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45201 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45202 if (!SWIG_IsOK(res2)) {
45203 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45204 }
45205 if (!argp2) {
45206 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45207 }
45208 arg2 = reinterpret_cast< wxFont * >(argp2);
45209 {
45210 PyThreadState* __tstate = wxPyBeginAllowThreads();
45211 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45212 wxPyEndAllowThreads(__tstate);
45213 if (PyErr_Occurred()) SWIG_fail;
45214 }
45215 resultobj = SWIG_Py_Void();
45216 return resultobj;
45217 fail:
45218 return NULL;
45219 }
45220
45221
45222 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45223 PyObject *resultobj = 0;
45224 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45225 unsigned int arg2 ;
45226 void *argp1 = 0 ;
45227 int res1 = 0 ;
45228 unsigned int val2 ;
45229 int ecode2 = 0 ;
45230 PyObject * obj0 = 0 ;
45231 PyObject * obj1 = 0 ;
45232 char * kwnames[] = {
45233 (char *) "self",(char *) "max", NULL
45234 };
45235
45236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45238 if (!SWIG_IsOK(res1)) {
45239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45240 }
45241 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45242 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45243 if (!SWIG_IsOK(ecode2)) {
45244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45245 }
45246 arg2 = static_cast< unsigned int >(val2);
45247 {
45248 PyThreadState* __tstate = wxPyBeginAllowThreads();
45249 (arg1)->SetMaxPointSize(arg2);
45250 wxPyEndAllowThreads(__tstate);
45251 if (PyErr_Occurred()) SWIG_fail;
45252 }
45253 resultobj = SWIG_Py_Void();
45254 return resultobj;
45255 fail:
45256 return NULL;
45257 }
45258
45259
45260 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45261 PyObject *resultobj = 0;
45262 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45263 unsigned int result;
45264 void *argp1 = 0 ;
45265 int res1 = 0 ;
45266 PyObject *swig_obj[1] ;
45267
45268 if (!args) SWIG_fail;
45269 swig_obj[0] = args;
45270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45271 if (!SWIG_IsOK(res1)) {
45272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45273 }
45274 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45275 {
45276 PyThreadState* __tstate = wxPyBeginAllowThreads();
45277 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45278 wxPyEndAllowThreads(__tstate);
45279 if (PyErr_Occurred()) SWIG_fail;
45280 }
45281 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45282 return resultobj;
45283 fail:
45284 return NULL;
45285 }
45286
45287
45288 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45289 PyObject *obj;
45290 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45291 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45292 return SWIG_Py_Void();
45293 }
45294
45295 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45296 return SWIG_Python_InitShadowInstance(args);
45297 }
45298
45299 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45300 PyObject *resultobj = 0;
45301 wxObject *arg1 = (wxObject *) 0 ;
45302 int arg2 ;
45303 wxFont *arg3 = 0 ;
45304 wxFontPickerEvent *result = 0 ;
45305 void *argp1 = 0 ;
45306 int res1 = 0 ;
45307 int val2 ;
45308 int ecode2 = 0 ;
45309 void *argp3 = 0 ;
45310 int res3 = 0 ;
45311 PyObject * obj0 = 0 ;
45312 PyObject * obj1 = 0 ;
45313 PyObject * obj2 = 0 ;
45314 char * kwnames[] = {
45315 (char *) "generator",(char *) "id",(char *) "f", NULL
45316 };
45317
45318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45320 if (!SWIG_IsOK(res1)) {
45321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45322 }
45323 arg1 = reinterpret_cast< wxObject * >(argp1);
45324 ecode2 = SWIG_AsVal_int(obj1, &val2);
45325 if (!SWIG_IsOK(ecode2)) {
45326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45327 }
45328 arg2 = static_cast< int >(val2);
45329 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45330 if (!SWIG_IsOK(res3)) {
45331 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45332 }
45333 if (!argp3) {
45334 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45335 }
45336 arg3 = reinterpret_cast< wxFont * >(argp3);
45337 {
45338 PyThreadState* __tstate = wxPyBeginAllowThreads();
45339 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45340 wxPyEndAllowThreads(__tstate);
45341 if (PyErr_Occurred()) SWIG_fail;
45342 }
45343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45344 return resultobj;
45345 fail:
45346 return NULL;
45347 }
45348
45349
45350 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45351 PyObject *resultobj = 0;
45352 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45353 wxFont result;
45354 void *argp1 = 0 ;
45355 int res1 = 0 ;
45356 PyObject *swig_obj[1] ;
45357
45358 if (!args) SWIG_fail;
45359 swig_obj[0] = args;
45360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45361 if (!SWIG_IsOK(res1)) {
45362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45363 }
45364 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45365 {
45366 PyThreadState* __tstate = wxPyBeginAllowThreads();
45367 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45368 wxPyEndAllowThreads(__tstate);
45369 if (PyErr_Occurred()) SWIG_fail;
45370 }
45371 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45372 return resultobj;
45373 fail:
45374 return NULL;
45375 }
45376
45377
45378 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45379 PyObject *resultobj = 0;
45380 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45381 wxFont *arg2 = 0 ;
45382 void *argp1 = 0 ;
45383 int res1 = 0 ;
45384 void *argp2 = 0 ;
45385 int res2 = 0 ;
45386 PyObject * obj0 = 0 ;
45387 PyObject * obj1 = 0 ;
45388 char * kwnames[] = {
45389 (char *) "self",(char *) "c", NULL
45390 };
45391
45392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45394 if (!SWIG_IsOK(res1)) {
45395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45396 }
45397 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45398 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45399 if (!SWIG_IsOK(res2)) {
45400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45401 }
45402 if (!argp2) {
45403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45404 }
45405 arg2 = reinterpret_cast< wxFont * >(argp2);
45406 {
45407 PyThreadState* __tstate = wxPyBeginAllowThreads();
45408 (arg1)->SetFont((wxFont const &)*arg2);
45409 wxPyEndAllowThreads(__tstate);
45410 if (PyErr_Occurred()) SWIG_fail;
45411 }
45412 resultobj = SWIG_Py_Void();
45413 return resultobj;
45414 fail:
45415 return NULL;
45416 }
45417
45418
45419 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45420 PyObject *obj;
45421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45422 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45423 return SWIG_Py_Void();
45424 }
45425
45426 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45427 return SWIG_Python_InitShadowInstance(args);
45428 }
45429
45430 static PyMethodDef SwigMethods[] = {
45431 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
45432 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
45433 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45434 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
45435 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
45436 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45437 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
45438 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
45439 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
45440 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
45441 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45442 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
45443 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
45444 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
45445 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
45446 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
45447 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
45448 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
45449 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45451 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
45454 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
45455 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
45456 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
45457 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
45458 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
45459 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
45461 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
45462 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45463 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
45464 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
45465 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
45466 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
45467 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45468 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
45469 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
45470 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
45471 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
45472 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45473 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
45474 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45475 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
45476 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
45477 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
45478 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
45479 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45480 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
45481 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45482 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
45483 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
45484 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
45485 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45486 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
45487 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
45488 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45489 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
45490 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
45491 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
45492 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45493 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45494 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45495 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
45496 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45497 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
45498 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
45499 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
45500 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
45501 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
45502 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
45503 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
45504 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
45505 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
45506 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45507 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
45508 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
45509 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
45510 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
45511 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45513 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
45514 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
45516 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
45517 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
45518 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45519 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
45520 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
45522 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45523 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
45524 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
45525 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
45526 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
45527 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45528 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45529 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
45530 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
45531 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
45532 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
45533 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45534 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
45535 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
45536 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
45538 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
45539 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
45540 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
45541 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45542 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45544 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
45545 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
45546 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45547 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
45548 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45549 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
45550 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45551 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45552 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45553 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
45554 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
45555 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45556 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
45557 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45558 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
45559 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
45560 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45561 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45562 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45563 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45564 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
45565 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
45566 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45567 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
45568 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
45569 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
45570 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45571 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45572 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
45573 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45574 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45576 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45577 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45578 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
45579 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
45580 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
45581 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
45582 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45583 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
45584 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
45585 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
45586 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
45587 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
45588 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45589 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
45590 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
45591 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
45592 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45593 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45594 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45595 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
45596 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
45597 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45598 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45599 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
45600 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
45601 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
45602 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
45603 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
45604 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
45605 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
45606 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
45607 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
45608 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
45609 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
45610 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
45611 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
45612 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
45613 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
45614 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
45615 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
45616 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
45617 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
45618 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
45619 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
45620 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
45621 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45622 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
45623 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45624 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
45625 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45626 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45627 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
45628 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
45629 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
45630 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
45631 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
45632 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
45633 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
45634 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
45635 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
45636 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
45637 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
45638 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
45639 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
45640 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
45641 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
45642 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
45643 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
45644 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
45645 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
45646 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
45647 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
45648 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45649 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45650 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45651 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
45652 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45653 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
45654 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45655 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45656 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
45657 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
45658 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
45659 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
45660 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
45661 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
45662 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
45663 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
45664 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
45665 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
45666 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
45667 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45668 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
45669 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
45670 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
45671 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45672 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
45673 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
45674 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
45675 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
45676 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
45677 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45678 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45679 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
45680 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
45681 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45682 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
45683 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
45684 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
45685 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
45686 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
45687 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
45688 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
45689 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45690 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
45691 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
45692 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
45693 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
45694 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
45695 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45696 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45697 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
45698 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
45699 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
45700 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
45701 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45702 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
45703 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
45704 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
45705 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45706 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45707 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45708 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45709 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
45710 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45711 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
45712 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
45713 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45714 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
45715 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45716 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
45717 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45718 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
45719 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45720 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
45721 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
45722 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45723 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45724 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
45725 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
45726 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45727 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
45728 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45729 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
45730 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
45731 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
45732 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
45733 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45734 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45735 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
45736 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
45737 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45738 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
45739 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
45740 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
45741 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
45742 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
45743 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
45744 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45745 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
45746 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
45747 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
45748 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45749 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45750 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45751 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45752 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
45753 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45754 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
45755 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
45756 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
45757 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
45758 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45759 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
45760 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45761 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45762 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
45763 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
45764 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
45765 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
45766 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45767 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
45768 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45769 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45770 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
45771 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
45772 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
45773 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
45774 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
45775 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45776 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
45777 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
45778 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
45779 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
45780 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
45781 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
45782 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
45783 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
45784 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
45785 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
45786 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
45787 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45788 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45789 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
45790 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
45791 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
45792 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
45793 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45794 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45795 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
45796 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45797 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
45798 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
45799 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
45800 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
45801 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
45802 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
45803 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45804 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
45805 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45806 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45807 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
45808 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45809 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
45810 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
45811 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
45812 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
45813 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
45814 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
45815 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45816 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
45817 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
45818 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
45819 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
45820 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
45821 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
45822 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
45823 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
45824 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
45825 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45826 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45827 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45828 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45829 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
45830 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45831 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
45832 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45833 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
45834 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45835 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
45836 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
45837 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
45838 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
45839 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45840 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
45841 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
45842 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
45843 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
45844 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45845 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
45846 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
45847 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45848 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
45849 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
45850 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
45851 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
45852 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45853 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
45854 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
45855 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
45856 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45857 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
45858 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
45859 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
45860 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
45861 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45862 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
45863 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
45864 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
45865 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45866 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
45867 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
45868 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
45869 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
45870 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45871 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45872 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45873 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45874 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
45875 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
45876 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
45877 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
45878 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
45879 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
45880 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45881 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
45882 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
45883 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
45884 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
45885 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45886 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
45887 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
45888 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
45889 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
45890 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45891 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
45892 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
45893 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
45894 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
45895 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
45896 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
45897 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
45898 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
45899 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
45900 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
45901 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
45902 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
45903 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
45904 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
45905 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
45906 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
45907 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
45908 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
45909 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
45910 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
45911 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
45912 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45913 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45914 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45915 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45916 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45917 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45918 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
45919 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
45920 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
45921 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45922 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
45923 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
45924 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
45925 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45926 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45927 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
45928 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
45929 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
45930 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
45931 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
45932 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
45933 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
45934 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
45935 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
45936 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
45937 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
45938 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
45939 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45940 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45941 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45942 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
45943 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
45944 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45945 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45946 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45947 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45948 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45949 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
45950 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45951 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
45952 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
45953 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
45954 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
45955 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
45956 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
45957 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
45958 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
45959 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
45960 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
45961 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
45962 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
45963 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
45964 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45965 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
45966 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
45967 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
45968 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
45969 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
45970 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
45971 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45972 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45973 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
45974 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
45975 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45976 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
45977 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45978 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45979 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45980 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
45981 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
45982 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
45983 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
45984 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
45985 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
45986 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
45987 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
45988 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
45989 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
45990 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
45991 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
45992 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
45993 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
45994 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45995 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45996 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45997 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45998 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
45999 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46000 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46001 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46002 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46003 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46004 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46005 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46006 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46007 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46008 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46009 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46010 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46011 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46012 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46013 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46014 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46015 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46016 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46017 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46018 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46019 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46020 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46021 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46022 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46023 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46024 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46025 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46026 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46027 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46028 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46029 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46030 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46031 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46032 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46033 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46034 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46035 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46036 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46037 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46038 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46039 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46040 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46041 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46042 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46043 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46044 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46045 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46046 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46047 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46048 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46049 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46050 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46051 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46052 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46053 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46054 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46055 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46056 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46057 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46058 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46059 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46060 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46061 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46062 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46063 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46064 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46065 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46066 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46067 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46068 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46069 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46070 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46071 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46072 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46073 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46074 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46075 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46076 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46077 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46078 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46079 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46080 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46081 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46082 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46083 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46084 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46085 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46086 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46087 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46088 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46089 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46090 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46091 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46092 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46093 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46094 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46095 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46096 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46097 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46098 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46099 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46100 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46101 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46102 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46103 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46104 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46105 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46106 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46107 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46108 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46109 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46110 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46111 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46112 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46113 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46114 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46115 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46116 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46117 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46118 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46119 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46120 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46121 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46122 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46123 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46124 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46125 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
46126 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46127 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46128 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46129 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46130 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46131 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46132 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46133 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46134 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46135 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46136 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46137 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46138 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46139 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46140 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46141 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46142 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46143 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46144 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46145 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46146 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46147 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46148 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46149 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46150 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46151 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46152 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46153 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46154 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46155 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46156 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46157 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46158 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46159 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46160 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46161 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46162 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46163 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46164 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46165 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46166 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46167 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46168 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46169 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46170 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46171 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46172 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46173 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46174 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46175 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
46176 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
46177 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46178 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46179 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46180 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46181 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46182 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46183 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46184 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46185 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46186 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46187 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46188 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46189 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46190 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46191 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46192 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46193 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46194 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46195 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46196 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46197 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46198 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46199 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46200 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46201 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46202 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46203 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46204 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46205 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46206 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46208 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46210 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46211 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46213 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46214 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46215 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46216 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46217 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46218 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46219 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46220 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46221 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
46222 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46225 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46229 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46230 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
46231 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
46232 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
46233 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
46234 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
46235 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
46236 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
46237 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
46239 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
46241 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
46242 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46244 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
46245 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46247 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
46248 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
46249 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
46250 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46251 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
46252 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
46253 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46254 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
46255 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
46256 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
46258 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
46259 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46260 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
46261 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
46262 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46263 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
46265 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46266 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
46267 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46268 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46270 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
46271 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46272 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
46273 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46274 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46275 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
46276 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
46277 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
46278 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46279 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
46280 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
46282 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
46283 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
46284 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
46285 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
46286 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
46287 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46288 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
46290 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
46291 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
46292 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
46293 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
46294 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
46295 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
46296 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
46297 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
46298 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
46299 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
46300 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
46301 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
46302 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
46304 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46305 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
46307 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
46308 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
46309 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
46310 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
46312 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
46313 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
46315 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
46318 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
46319 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
46320 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
46321 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
46322 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
46323 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
46324 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
46325 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
46326 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
46328 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46329 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
46330 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
46331 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
46332 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
46334 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
46336 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
46337 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
46339 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
46341 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
46342 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
46343 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
46345 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
46346 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
46347 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
46349 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46353 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
46354 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
46356 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
46357 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
46358 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
46359 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
46360 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
46361 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46362 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
46363 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
46364 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
46365 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
46366 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46367 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
46370 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
46372 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
46373 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46375 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
46376 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
46377 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
46378 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
46379 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46380 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
46381 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46382 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46383 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
46384 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46385 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
46386 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
46387 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
46388 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
46389 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46390 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
46391 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46392 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
46393 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
46394 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
46395 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
46396 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
46397 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
46399 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46400 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
46401 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
46402 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
46403 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
46404 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46405 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
46406 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
46407 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
46408 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
46409 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
46410 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46411 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
46412 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46413 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
46414 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
46415 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
46416 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
46417 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46418 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
46419 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
46420 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
46421 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
46422 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
46423 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
46424 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
46426 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
46428 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
46430 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
46431 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
46433 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
46434 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
46435 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
46436 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46437 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
46438 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46439 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
46440 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46441 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46442 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
46443 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
46444 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
46445 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46446 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
46447 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
46449 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46450 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
46451 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
46452 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
46453 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
46454 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
46456 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
46458 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
46459 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
46461 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46462 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
46463 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
46464 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
46465 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
46466 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
46467 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
46468 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46469 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
46470 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46471 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
46472 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
46473 { NULL, NULL, 0, NULL }
46474 };
46475
46476
46477 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46478
46479 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
46480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
46481 }
46482 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
46483 return (void *)((wxEvent *) ((wxMenuEvent *) x));
46484 }
46485 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
46486 return (void *)((wxEvent *) ((wxCloseEvent *) x));
46487 }
46488 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
46489 return (void *)((wxEvent *) ((wxMouseEvent *) x));
46490 }
46491 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
46492 return (void *)((wxEvent *) ((wxEraseEvent *) x));
46493 }
46494 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
46495 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46496 }
46497 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
46498 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46499 }
46500 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
46501 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
46502 }
46503 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
46504 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
46505 }
46506 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
46507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46508 }
46509 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
46510 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
46511 }
46512 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
46513 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
46514 }
46515 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
46516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
46517 }
46518 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
46519 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
46520 }
46521 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
46522 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
46523 }
46524 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
46525 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
46526 }
46527 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
46528 return (void *)((wxEvent *) ((wxPyEvent *) x));
46529 }
46530 static void *_p_wxListEventTo_p_wxEvent(void *x) {
46531 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46532 }
46533 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
46534 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46535 }
46536 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
46537 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46538 }
46539 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
46540 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46541 }
46542 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
46543 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46544 }
46545 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
46546 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46547 }
46548 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
46549 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
46550 }
46551 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
46552 return (void *)((wxEvent *) ((wxIdleEvent *) x));
46553 }
46554 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
46555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
46556 }
46557 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
46558 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
46559 }
46560 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
46561 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
46562 }
46563 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
46564 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
46565 }
46566 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
46567 return (void *)((wxEvent *) ((wxActivateEvent *) x));
46568 }
46569 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
46570 return (void *)((wxEvent *) ((wxSizeEvent *) x));
46571 }
46572 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
46573 return (void *)((wxEvent *) ((wxMoveEvent *) x));
46574 }
46575 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
46576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
46577 }
46578 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
46579 return (void *)((wxEvent *) ((wxPaintEvent *) x));
46580 }
46581 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
46582 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
46583 }
46584 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
46585 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
46586 }
46587 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
46588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
46589 }
46590 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
46591 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
46592 }
46593 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
46594 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
46595 }
46596 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
46597 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46598 }
46599 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
46600 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
46601 }
46602 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
46603 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
46604 }
46605 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
46606 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
46607 }
46608 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
46609 return (void *)((wxEvent *) ((wxFocusEvent *) x));
46610 }
46611 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
46612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
46613 }
46614 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
46615 return (void *)((wxEvent *) ((wxShowEvent *) x));
46616 }
46617 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
46618 return (void *)((wxEvent *) ((wxCommandEvent *) x));
46619 }
46620 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
46621 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
46622 }
46623 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
46624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46625 }
46626 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
46627 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
46628 }
46629 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
46630 return (void *)((wxEvent *) ((wxKeyEvent *) x));
46631 }
46632 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
46633 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
46634 }
46635 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
46636 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46637 }
46638 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
46639 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
46640 }
46641 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
46642 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
46643 }
46644 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
46645 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
46646 }
46647 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
46648 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
46649 }
46650 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
46651 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46652 }
46653 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
46654 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46655 }
46656 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
46657 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
46658 }
46659 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
46660 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
46661 }
46662 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
46663 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
46664 }
46665 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
46666 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46667 }
46668 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
46669 return (void *)((wxPyListCtrl *) ((wxListView *) x));
46670 }
46671 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
46672 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
46673 }
46674 static void *_p_wxToolBarTo_p_wxControl(void *x) {
46675 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
46676 }
46677 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
46678 return (void *)((wxControl *) ((wxPickerBase *) x));
46679 }
46680 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
46681 return (void *)((wxControl *) ((wxToggleButton *) x));
46682 }
46683 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
46684 return (void *)((wxControl *) ((wxRadioButton *) x));
46685 }
46686 static void *_p_wxToolbookTo_p_wxControl(void *x) {
46687 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
46688 }
46689 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
46690 return (void *)((wxControl *) ((wxToolBarBase *) x));
46691 }
46692 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
46693 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46694 }
46695 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
46696 return (void *)((wxControl *) ((wxPyListCtrl *) x));
46697 }
46698 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
46699 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46700 }
46701 static void *_p_wxPyControlTo_p_wxControl(void *x) {
46702 return (void *)((wxControl *) ((wxPyControl *) x));
46703 }
46704 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
46705 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
46706 }
46707 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
46708 return (void *)((wxControl *) ((wxScrollBar *) x));
46709 }
46710 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
46711 return (void *)((wxControl *) ((wxControlWithItems *) x));
46712 }
46713 static void *_p_wxGaugeTo_p_wxControl(void *x) {
46714 return (void *)((wxControl *) ((wxGauge *) x));
46715 }
46716 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
46717 return (void *)((wxControl *) ((wxStaticLine *) x));
46718 }
46719 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
46720 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
46721 }
46722 static void *_p_wxListbookTo_p_wxControl(void *x) {
46723 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
46724 }
46725 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
46726 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
46727 }
46728 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
46729 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
46730 }
46731 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
46732 return (void *)((wxControl *) ((wxCheckBox *) x));
46733 }
46734 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
46735 return (void *)((wxControl *) ((wxRadioBox *) x));
46736 }
46737 static void *_p_wxChoiceTo_p_wxControl(void *x) {
46738 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
46739 }
46740 static void *_p_wxListBoxTo_p_wxControl(void *x) {
46741 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
46742 }
46743 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
46744 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46745 }
46746 static void *_p_wxListViewTo_p_wxControl(void *x) {
46747 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
46748 }
46749 static void *_p_wxNotebookTo_p_wxControl(void *x) {
46750 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
46751 }
46752 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
46753 return (void *)((wxControl *) ((wxStaticBitmap *) x));
46754 }
46755 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
46756 return (void *)((wxControl *) ((wxSpinCtrl *) x));
46757 }
46758 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
46759 return (void *)((wxControl *) ((wxStaticText *) x));
46760 }
46761 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
46762 return (void *)((wxControl *) ((wxStaticBox *) x));
46763 }
46764 static void *_p_wxSliderTo_p_wxControl(void *x) {
46765 return (void *)((wxControl *) ((wxSlider *) x));
46766 }
46767 static void *_p_wxTreebookTo_p_wxControl(void *x) {
46768 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
46769 }
46770 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
46771 return (void *)((wxControl *) ((wxSpinButton *) x));
46772 }
46773 static void *_p_wxButtonTo_p_wxControl(void *x) {
46774 return (void *)((wxControl *) ((wxButton *) x));
46775 }
46776 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
46777 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
46778 }
46779 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
46780 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46781 }
46782 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
46783 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
46784 }
46785 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
46786 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
46787 }
46788 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
46789 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
46790 }
46791 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
46792 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
46793 }
46794 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
46795 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
46796 }
46797 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
46798 return (void *)((wxControl *) ((wxTextCtrl *) x));
46799 }
46800 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
46801 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
46802 }
46803 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
46804 return (void *)((wxChoice *) ((wxComboBox *) x));
46805 }
46806 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
46807 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
46808 }
46809 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
46810 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46811 }
46812 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
46813 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
46814 }
46815 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
46816 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
46817 }
46818 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
46819 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
46820 }
46821 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
46822 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46823 }
46824 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
46825 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46826 }
46827 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
46828 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46829 }
46830 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
46831 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46832 }
46833 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
46834 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46835 }
46836 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
46837 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
46838 }
46839 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
46840 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
46841 }
46842 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
46843 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
46844 }
46845 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
46846 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
46847 }
46848 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
46849 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
46850 }
46851 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
46852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
46853 }
46854 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
46855 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46856 }
46857 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
46858 return (void *)((wxEvtHandler *) ((wxValidator *) x));
46859 }
46860 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
46861 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
46862 }
46863 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
46864 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46865 }
46866 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
46867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
46868 }
46869 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46870 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46871 }
46872 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
46873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
46874 }
46875 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
46876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
46877 }
46878 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
46879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46880 }
46881 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46882 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46883 }
46884 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46885 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46886 }
46887 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
46888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
46889 }
46890 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
46891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46892 }
46893 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
46894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46895 }
46896 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
46897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46898 }
46899 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
46900 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
46901 }
46902 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46903 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46904 }
46905 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
46906 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46907 }
46908 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
46909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
46910 }
46911 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46913 }
46914 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
46915 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
46916 }
46917 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
46918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
46919 }
46920 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
46921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46922 }
46923 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
46924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46925 }
46926 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
46927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46928 }
46929 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
46930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46931 }
46932 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
46933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
46934 }
46935 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
46936 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
46937 }
46938 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
46939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46940 }
46941 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
46942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46943 }
46944 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
46945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46946 }
46947 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
46948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46949 }
46950 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
46951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46952 }
46953 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
46954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46955 }
46956 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
46957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46958 }
46959 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
46960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
46961 }
46962 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
46963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
46964 }
46965 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
46966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
46967 }
46968 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
46969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46970 }
46971 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
46972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
46973 }
46974 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
46975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
46976 }
46977 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
46978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46979 }
46980 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
46981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46982 }
46983 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
46984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46985 }
46986 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
46987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46988 }
46989 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
46990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46991 }
46992 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
46993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46994 }
46995 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
46996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46997 }
46998 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
46999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47000 }
47001 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47002 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47003 }
47004 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47005 return (void *)((wxButton *) ((wxBitmapButton *) x));
47006 }
47007 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47008 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47009 }
47010 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47011 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47012 }
47013 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47014 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47015 }
47016 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47017 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47018 }
47019 static void *_p_wxToolbookTo_p_wxObject(void *x) {
47020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47021 }
47022 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47023 return (void *)((wxObject *) ((wxSizerItem *) x));
47024 }
47025 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47026 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47027 }
47028 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47030 }
47031 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47032 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47033 }
47034 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47036 }
47037 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47038 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47039 }
47040 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47041 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47042 }
47043 static void *_p_wxSizerTo_p_wxObject(void *x) {
47044 return (void *)((wxObject *) ((wxSizer *) x));
47045 }
47046 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47047 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47048 }
47049 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47051 }
47052 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47054 }
47055 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47057 }
47058 static void *_p_wxEventTo_p_wxObject(void *x) {
47059 return (void *)((wxObject *) ((wxEvent *) x));
47060 }
47061 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47062 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47063 }
47064 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47065 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47066 }
47067 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47068 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47069 }
47070 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47072 }
47073 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47075 }
47076 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47078 }
47079 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47081 }
47082 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47084 }
47085 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47086 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47087 }
47088 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47089 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47090 }
47091 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47092 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47093 }
47094 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47095 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47096 }
47097 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47098 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47099 }
47100 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47101 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47102 }
47103 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47105 }
47106 static void *_p_wxControlTo_p_wxObject(void *x) {
47107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47108 }
47109 static void *_p_wxPyControlTo_p_wxObject(void *x) {
47110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47111 }
47112 static void *_p_wxGaugeTo_p_wxObject(void *x) {
47113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47114 }
47115 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47117 }
47118 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47120 }
47121 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47123 }
47124 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47125 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47126 }
47127 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47129 }
47130 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47132 }
47133 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47135 }
47136 static void *_p_wxChoiceTo_p_wxObject(void *x) {
47137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47138 }
47139 static void *_p_wxFSFileTo_p_wxObject(void *x) {
47140 return (void *)((wxObject *) ((wxFSFile *) x));
47141 }
47142 static void *_p_wxPySizerTo_p_wxObject(void *x) {
47143 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47144 }
47145 static void *_p_wxTreebookTo_p_wxObject(void *x) {
47146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47147 }
47148 static void *_p_wxListViewTo_p_wxObject(void *x) {
47149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47150 }
47151 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47152 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47153 }
47154 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47156 }
47157 static void *_p_wxNotebookTo_p_wxObject(void *x) {
47158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47159 }
47160 static void *_p_wxPyEventTo_p_wxObject(void *x) {
47161 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47162 }
47163 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47165 }
47166 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47168 }
47169 static void *_p_wxListbookTo_p_wxObject(void *x) {
47170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47171 }
47172 static void *_p_wxShowEventTo_p_wxObject(void *x) {
47173 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47174 }
47175 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47177 }
47178 static void *_p_wxSliderTo_p_wxObject(void *x) {
47179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47180 }
47181 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47182 return (void *)((wxObject *) ((wxMenuItem *) x));
47183 }
47184 static void *_p_wxDateEventTo_p_wxObject(void *x) {
47185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47186 }
47187 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47188 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47189 }
47190 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47191 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47192 }
47193 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47194 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47195 }
47196 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
47197 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
47198 }
47199 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
47200 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
47201 }
47202 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
47203 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
47204 }
47205 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
47206 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
47207 }
47208 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
47209 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
47210 }
47211 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
47212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
47213 }
47214 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
47215 return (void *)((wxObject *) ((wxContextHelp *) x));
47216 }
47217 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
47218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47219 }
47220 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
47221 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
47222 }
47223 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
47224 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
47225 }
47226 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
47227 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
47228 }
47229 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
47230 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
47231 }
47232 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
47233 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
47234 }
47235 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
47236 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
47237 }
47238 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
47239 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
47240 }
47241 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
47242 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
47243 }
47244 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
47245 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
47246 }
47247 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
47248 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
47249 }
47250 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
47251 return (void *)((wxObject *) ((wxImageHandler *) x));
47252 }
47253 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
47254 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
47255 }
47256 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
47257 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
47258 }
47259 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
47260 return (void *)((wxObject *) ((wxEvtHandler *) x));
47261 }
47262 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
47263 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
47264 }
47265 static void *_p_wxListEventTo_p_wxObject(void *x) {
47266 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47267 }
47268 static void *_p_wxListBoxTo_p_wxObject(void *x) {
47269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47270 }
47271 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
47272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47273 }
47274 static void *_p_wxButtonTo_p_wxObject(void *x) {
47275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
47276 }
47277 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
47278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47279 }
47280 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
47281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
47282 }
47283 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
47284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47285 }
47286 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
47287 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
47288 }
47289 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
47290 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
47291 }
47292 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
47293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
47294 }
47295 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
47296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
47297 }
47298 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
47299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47300 }
47301 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
47302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
47303 }
47304 static void *_p_wxListItemTo_p_wxObject(void *x) {
47305 return (void *)((wxObject *) ((wxListItem *) x));
47306 }
47307 static void *_p_wxImageTo_p_wxObject(void *x) {
47308 return (void *)((wxObject *) ((wxImage *) x));
47309 }
47310 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
47311 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
47312 }
47313 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
47314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47315 }
47316 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
47317 return (void *)((wxObject *) ((wxGenericDragImage *) x));
47318 }
47319 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
47320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47321 }
47322 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
47323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47324 }
47325 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
47326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47327 }
47328 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
47329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47330 }
47331 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
47332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47333 }
47334 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
47335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47336 }
47337 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
47338 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47339 }
47340 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
47341 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
47342 }
47343 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
47344 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
47345 }
47346 static void *_p_wxWindowTo_p_wxObject(void *x) {
47347 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
47348 }
47349 static void *_p_wxMenuTo_p_wxObject(void *x) {
47350 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
47351 }
47352 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
47353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
47354 }
47355 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
47356 return (void *)((wxObject *) ((wxFileSystem *) x));
47357 }
47358 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
47359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
47360 }
47361 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
47362 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
47363 }
47364 static void *_p_wxPyAppTo_p_wxObject(void *x) {
47365 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
47366 }
47367 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
47368 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
47369 }
47370 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
47371 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
47372 }
47373 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
47374 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
47375 }
47376 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
47377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47378 }
47379 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
47380 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47381 }
47382 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
47383 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
47384 }
47385 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
47386 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
47387 }
47388 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
47389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
47390 }
47391 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
47392 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
47393 }
47394 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
47395 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
47396 }
47397 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
47398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
47399 }
47400 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
47401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47402 }
47403 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
47404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47405 }
47406 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
47407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47408 }
47409 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
47410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47411 }
47412 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
47413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47414 }
47415 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
47416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47417 }
47418 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
47419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47420 }
47421 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
47422 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
47423 }
47424 static void *_p_wxToolBarTo_p_wxObject(void *x) {
47425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47426 }
47427 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
47428 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
47429 }
47430 static void *_p_wxValidatorTo_p_wxObject(void *x) {
47431 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
47432 }
47433 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
47434 return (void *)((wxWindow *) ((wxMenuBar *) x));
47435 }
47436 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
47437 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
47438 }
47439 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
47440 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47441 }
47442 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
47443 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
47444 }
47445 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
47446 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
47447 }
47448 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
47449 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
47450 }
47451 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
47452 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47453 }
47454 static void *_p_wxControlTo_p_wxWindow(void *x) {
47455 return (void *)((wxWindow *) ((wxControl *) x));
47456 }
47457 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
47458 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
47459 }
47460 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
47461 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
47462 }
47463 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
47464 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47465 }
47466 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
47467 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47468 }
47469 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
47470 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
47471 }
47472 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
47473 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
47474 }
47475 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
47476 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
47477 }
47478 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
47479 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
47480 }
47481 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
47482 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
47483 }
47484 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
47485 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
47486 }
47487 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
47488 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47489 }
47490 static void *_p_wxListbookTo_p_wxWindow(void *x) {
47491 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47492 }
47493 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
47494 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
47495 }
47496 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
47497 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
47498 }
47499 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
47500 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
47501 }
47502 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
47503 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
47504 }
47505 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
47506 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47507 }
47508 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
47509 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47510 }
47511 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
47512 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47513 }
47514 static void *_p_wxListViewTo_p_wxWindow(void *x) {
47515 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47516 }
47517 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
47518 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47519 }
47520 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
47521 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
47522 }
47523 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
47524 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
47525 }
47526 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
47527 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
47528 }
47529 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
47530 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
47531 }
47532 static void *_p_wxSliderTo_p_wxWindow(void *x) {
47533 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
47534 }
47535 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
47536 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47537 }
47538 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
47539 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
47540 }
47541 static void *_p_wxButtonTo_p_wxWindow(void *x) {
47542 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
47543 }
47544 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
47545 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
47546 }
47547 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
47548 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47549 }
47550 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
47551 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
47552 }
47553 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
47554 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47555 }
47556 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
47557 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47558 }
47559 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
47560 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47561 }
47562 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
47563 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47564 }
47565 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
47566 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
47567 }
47568 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47569 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47570 }
47571 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47572 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47573 }
47574 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47575 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47576 }
47577 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47578 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47579 }
47580 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
47581 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47582 }
47583 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
47584 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47585 }
47586 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
47587 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
47588 }
47589 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
47590 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
47591 }
47592 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
47593 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
47594 }
47595 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
47596 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47597 }
47598 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
47599 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
47600 }
47601 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
47602 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
47603 }
47604 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
47605 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
47606 }
47607 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
47608 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
47609 }
47610 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
47611 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
47612 }
47613 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
47614 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
47615 }
47616 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
47617 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47618 }
47619 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
47620 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47621 }
47622 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
47623 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47624 }
47625 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
47626 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47627 }
47628 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
47629 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47630 }
47631 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
47632 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
47633 }
47634 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
47635 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
47636 }
47637 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
47638 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
47639 }
47640 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
47641 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47642 }
47643 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
47644 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
47645 }
47646 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
47647 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
47648 }
47649 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
47650 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
47651 }
47652 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
47653 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
47654 }
47655 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
47656 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
47657 }
47658 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
47659 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
47660 }
47661 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
47662 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
47663 }
47664 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
47665 return (void *)((wxControlWithItems *) ((wxChoice *) x));
47666 }
47667 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
47668 return (void *)((wxControlWithItems *) ((wxListBox *) x));
47669 }
47670 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
47671 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
47672 }
47673 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
47674 return (void *)((wxValidator *) ((wxPyValidator *) x));
47675 }
47676 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
47677 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
47678 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};
47679 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
47680 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
47681 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
47682 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
47683 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
47684 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
47685 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
47686 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
47687 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
47688 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
47689 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
47690 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
47691 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
47692 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
47693 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
47694 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
47695 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
47696 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
47697 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
47698 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
47699 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
47700 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
47701 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
47702 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
47703 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
47704 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
47705 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
47706 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
47707 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
47708 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
47709 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
47710 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
47711 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
47712 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
47713 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
47714 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
47715 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
47716 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
47717 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
47718 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
47719 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
47720 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
47721 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
47722 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
47723 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
47724 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
47725 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
47726 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
47727 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
47728 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
47729 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
47730 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
47731 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
47732 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
47733 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
47734 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
47735 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
47736 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
47737 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
47738 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
47739 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
47740 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
47741 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
47742 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
47743 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
47744 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
47745 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
47746 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
47747 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
47748 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
47749 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
47750 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
47751 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
47752 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
47753 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
47754 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
47755 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
47756 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
47757 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
47758 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
47759 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
47760 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
47761 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
47762 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
47763 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
47764 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
47765 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
47766 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
47767 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
47768 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
47769 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
47770 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
47771 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
47772 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
47773 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
47774 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
47775 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
47776 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
47777 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
47778 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
47779 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
47780 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
47781 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
47782 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
47783 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
47784 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
47785 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
47786 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
47787 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
47788 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
47789 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
47790 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
47791 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
47792 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
47793 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
47794 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
47795 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
47796 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
47797 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
47798 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
47799 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
47800 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
47801 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
47802 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
47803 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
47804 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
47805 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
47806 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
47807 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
47808 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
47809 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
47810 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
47811 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
47812 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
47813 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
47814 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
47815 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
47816 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
47817 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
47818 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
47819 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
47820 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
47821 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
47822 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
47823 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
47824 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
47825 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
47826 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
47827 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
47828 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
47829 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
47830 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
47831 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
47832 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
47833 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
47834 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
47835 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
47836 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
47837 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
47838 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
47839 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
47840 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
47841 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
47842 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
47843 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
47844 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
47845 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
47846 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
47847 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
47848 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
47849 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
47850 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
47851
47852 static swig_type_info *swig_type_initial[] = {
47853 &_swigt__p_bool,
47854 &_swigt__p_char,
47855 &_swigt__p_form_ops_t,
47856 &_swigt__p_int,
47857 &_swigt__p_long,
47858 &_swigt__p_unsigned_char,
47859 &_swigt__p_unsigned_int,
47860 &_swigt__p_unsigned_long,
47861 &_swigt__p_void,
47862 &_swigt__p_wxANIHandler,
47863 &_swigt__p_wxAcceleratorTable,
47864 &_swigt__p_wxActivateEvent,
47865 &_swigt__p_wxArrayInt,
47866 &_swigt__p_wxArrayString,
47867 &_swigt__p_wxBMPHandler,
47868 &_swigt__p_wxBitmap,
47869 &_swigt__p_wxBitmapButton,
47870 &_swigt__p_wxBookCtrlBase,
47871 &_swigt__p_wxBookCtrlBaseEvent,
47872 &_swigt__p_wxBoxSizer,
47873 &_swigt__p_wxButton,
47874 &_swigt__p_wxCURHandler,
47875 &_swigt__p_wxCheckBox,
47876 &_swigt__p_wxCheckListBox,
47877 &_swigt__p_wxChildFocusEvent,
47878 &_swigt__p_wxChoice,
47879 &_swigt__p_wxChoicebook,
47880 &_swigt__p_wxChoicebookEvent,
47881 &_swigt__p_wxClipboardTextEvent,
47882 &_swigt__p_wxCloseEvent,
47883 &_swigt__p_wxColour,
47884 &_swigt__p_wxColourPickerCtrl,
47885 &_swigt__p_wxColourPickerEvent,
47886 &_swigt__p_wxComboBox,
47887 &_swigt__p_wxCommandEvent,
47888 &_swigt__p_wxContextHelp,
47889 &_swigt__p_wxContextHelpButton,
47890 &_swigt__p_wxContextMenuEvent,
47891 &_swigt__p_wxControl,
47892 &_swigt__p_wxControlWithItems,
47893 &_swigt__p_wxCursor,
47894 &_swigt__p_wxDC,
47895 &_swigt__p_wxDateEvent,
47896 &_swigt__p_wxDatePickerCtrl,
47897 &_swigt__p_wxDateTime,
47898 &_swigt__p_wxDirFilterListCtrl,
47899 &_swigt__p_wxDirPickerCtrl,
47900 &_swigt__p_wxDisplayChangedEvent,
47901 &_swigt__p_wxDropFilesEvent,
47902 &_swigt__p_wxDuplexMode,
47903 &_swigt__p_wxEraseEvent,
47904 &_swigt__p_wxEvent,
47905 &_swigt__p_wxEvtHandler,
47906 &_swigt__p_wxFSFile,
47907 &_swigt__p_wxFileDirPickerEvent,
47908 &_swigt__p_wxFilePickerCtrl,
47909 &_swigt__p_wxFileSystem,
47910 &_swigt__p_wxFlexGridSizer,
47911 &_swigt__p_wxFocusEvent,
47912 &_swigt__p_wxFont,
47913 &_swigt__p_wxFontPickerCtrl,
47914 &_swigt__p_wxFontPickerEvent,
47915 &_swigt__p_wxGBSizerItem,
47916 &_swigt__p_wxGIFHandler,
47917 &_swigt__p_wxGauge,
47918 &_swigt__p_wxGenericDirCtrl,
47919 &_swigt__p_wxGenericDragImage,
47920 &_swigt__p_wxGridBagSizer,
47921 &_swigt__p_wxGridSizer,
47922 &_swigt__p_wxHelpEvent,
47923 &_swigt__p_wxHelpProvider,
47924 &_swigt__p_wxHyperlinkCtrl,
47925 &_swigt__p_wxHyperlinkEvent,
47926 &_swigt__p_wxICOHandler,
47927 &_swigt__p_wxIcon,
47928 &_swigt__p_wxIconizeEvent,
47929 &_swigt__p_wxIdleEvent,
47930 &_swigt__p_wxImage,
47931 &_swigt__p_wxImageHandler,
47932 &_swigt__p_wxImageList,
47933 &_swigt__p_wxIndividualLayoutConstraint,
47934 &_swigt__p_wxInitDialogEvent,
47935 &_swigt__p_wxItemContainer,
47936 &_swigt__p_wxJPEGHandler,
47937 &_swigt__p_wxKeyEvent,
47938 &_swigt__p_wxLayoutConstraints,
47939 &_swigt__p_wxListBox,
47940 &_swigt__p_wxListEvent,
47941 &_swigt__p_wxListItem,
47942 &_swigt__p_wxListItemAttr,
47943 &_swigt__p_wxListView,
47944 &_swigt__p_wxListbook,
47945 &_swigt__p_wxListbookEvent,
47946 &_swigt__p_wxMaximizeEvent,
47947 &_swigt__p_wxMemoryDC,
47948 &_swigt__p_wxMenu,
47949 &_swigt__p_wxMenuBar,
47950 &_swigt__p_wxMenuEvent,
47951 &_swigt__p_wxMenuItem,
47952 &_swigt__p_wxMouseCaptureChangedEvent,
47953 &_swigt__p_wxMouseCaptureLostEvent,
47954 &_swigt__p_wxMouseEvent,
47955 &_swigt__p_wxMoveEvent,
47956 &_swigt__p_wxNavigationKeyEvent,
47957 &_swigt__p_wxNcPaintEvent,
47958 &_swigt__p_wxNotebook,
47959 &_swigt__p_wxNotebookEvent,
47960 &_swigt__p_wxNotifyEvent,
47961 &_swigt__p_wxObject,
47962 &_swigt__p_wxPCXHandler,
47963 &_swigt__p_wxPNGHandler,
47964 &_swigt__p_wxPNMHandler,
47965 &_swigt__p_wxPaintEvent,
47966 &_swigt__p_wxPaletteChangedEvent,
47967 &_swigt__p_wxPaperSize,
47968 &_swigt__p_wxPickerBase,
47969 &_swigt__p_wxPoint,
47970 &_swigt__p_wxPyApp,
47971 &_swigt__p_wxPyCommandEvent,
47972 &_swigt__p_wxPyControl,
47973 &_swigt__p_wxPyEvent,
47974 &_swigt__p_wxPyImageHandler,
47975 &_swigt__p_wxPyListCtrl,
47976 &_swigt__p_wxPySizer,
47977 &_swigt__p_wxPyTreeCtrl,
47978 &_swigt__p_wxPyTreeItemData,
47979 &_swigt__p_wxPyValidator,
47980 &_swigt__p_wxQueryNewPaletteEvent,
47981 &_swigt__p_wxRadioBox,
47982 &_swigt__p_wxRadioButton,
47983 &_swigt__p_wxRect,
47984 &_swigt__p_wxScrollBar,
47985 &_swigt__p_wxScrollEvent,
47986 &_swigt__p_wxScrollWinEvent,
47987 &_swigt__p_wxSetCursorEvent,
47988 &_swigt__p_wxShowEvent,
47989 &_swigt__p_wxSimpleHelpProvider,
47990 &_swigt__p_wxSize,
47991 &_swigt__p_wxSizeEvent,
47992 &_swigt__p_wxSizer,
47993 &_swigt__p_wxSizerItem,
47994 &_swigt__p_wxSlider,
47995 &_swigt__p_wxSpinButton,
47996 &_swigt__p_wxSpinCtrl,
47997 &_swigt__p_wxSpinEvent,
47998 &_swigt__p_wxStaticBitmap,
47999 &_swigt__p_wxStaticBox,
48000 &_swigt__p_wxStaticBoxSizer,
48001 &_swigt__p_wxStaticLine,
48002 &_swigt__p_wxStaticText,
48003 &_swigt__p_wxStdDialogButtonSizer,
48004 &_swigt__p_wxString,
48005 &_swigt__p_wxSysColourChangedEvent,
48006 &_swigt__p_wxTIFFHandler,
48007 &_swigt__p_wxTextAttr,
48008 &_swigt__p_wxTextCtrl,
48009 &_swigt__p_wxTextUrlEvent,
48010 &_swigt__p_wxToggleButton,
48011 &_swigt__p_wxToolBar,
48012 &_swigt__p_wxToolBarBase,
48013 &_swigt__p_wxToolBarToolBase,
48014 &_swigt__p_wxToolbook,
48015 &_swigt__p_wxToolbookEvent,
48016 &_swigt__p_wxTreeEvent,
48017 &_swigt__p_wxTreeItemId,
48018 &_swigt__p_wxTreebook,
48019 &_swigt__p_wxTreebookEvent,
48020 &_swigt__p_wxUpdateUIEvent,
48021 &_swigt__p_wxValidator,
48022 &_swigt__p_wxVisualAttributes,
48023 &_swigt__p_wxWindow,
48024 &_swigt__p_wxWindowBase,
48025 &_swigt__p_wxWindowCreateEvent,
48026 &_swigt__p_wxWindowDestroyEvent,
48027 &_swigt__p_wxXPMHandler,
48028 };
48029
48030 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48031 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48032 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48033 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48034 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48035 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48036 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48037 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48038 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48039 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48040 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48041 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48042 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}};
48043 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}};
48044 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}};
48045 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}};
48046 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48047 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48048 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}};
48049 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48050 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48051 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
48052 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48053 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48054 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48055 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
48056 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
48057 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48058 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48059 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48060 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48061 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48062 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48063 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
48064 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}};
48065 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48066 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
48067 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}};
48068 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}};
48069 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48070 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48071 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48072 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48073 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
48074 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48075 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48076 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48077 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48078 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48079 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48080 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48081 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
48082 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
48083 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48084 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48085 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48086 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48087 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48088 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
48089 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
48090 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48091 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48092 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48093 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48094 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48095 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48096 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48097 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48098 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48099 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48100 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
48101 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}};
48102 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48103 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48104 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48105 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
48106 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}};
48107 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48108 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48109 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
48110 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48111 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48112 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48113 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48114 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48115 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48116 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}};
48117 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48118 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
48119 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48120 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48121 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}};
48122 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48123 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}};
48124 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48125 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48126 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48127 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48128 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48129 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48130 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48131 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48132 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48133 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48134 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}};
48135 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
48136 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48137 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
48138 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48139 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48140 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48141 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48142 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48143 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48144 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48145 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48146 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48147 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
48148 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
48149 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48150 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48151 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48152 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
48153 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48154 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48155 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48156 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
48157 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48158 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
48159 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48160 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
48161 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
48162 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
48163 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48164 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
48165 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
48166 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
48167 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}};
48168 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48169 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48170 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}};
48171 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
48172 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
48173 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
48174 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
48175 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
48176 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
48177 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
48178 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
48179 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
48180 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
48181 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
48182 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
48183 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
48184 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
48185 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
48186 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
48187 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
48188 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
48189 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
48190 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
48191 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
48192 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
48193 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}};
48194 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
48195 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
48196 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48197 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
48198 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
48199 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
48200 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48201 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}};
48202 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
48203 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}};
48204 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
48205
48206 static swig_cast_info *swig_cast_initial[] = {
48207 _swigc__p_bool,
48208 _swigc__p_char,
48209 _swigc__p_form_ops_t,
48210 _swigc__p_int,
48211 _swigc__p_long,
48212 _swigc__p_unsigned_char,
48213 _swigc__p_unsigned_int,
48214 _swigc__p_unsigned_long,
48215 _swigc__p_void,
48216 _swigc__p_wxANIHandler,
48217 _swigc__p_wxAcceleratorTable,
48218 _swigc__p_wxActivateEvent,
48219 _swigc__p_wxArrayInt,
48220 _swigc__p_wxArrayString,
48221 _swigc__p_wxBMPHandler,
48222 _swigc__p_wxBitmap,
48223 _swigc__p_wxBitmapButton,
48224 _swigc__p_wxBookCtrlBase,
48225 _swigc__p_wxBookCtrlBaseEvent,
48226 _swigc__p_wxBoxSizer,
48227 _swigc__p_wxButton,
48228 _swigc__p_wxCURHandler,
48229 _swigc__p_wxCheckBox,
48230 _swigc__p_wxCheckListBox,
48231 _swigc__p_wxChildFocusEvent,
48232 _swigc__p_wxChoice,
48233 _swigc__p_wxChoicebook,
48234 _swigc__p_wxChoicebookEvent,
48235 _swigc__p_wxClipboardTextEvent,
48236 _swigc__p_wxCloseEvent,
48237 _swigc__p_wxColour,
48238 _swigc__p_wxColourPickerCtrl,
48239 _swigc__p_wxColourPickerEvent,
48240 _swigc__p_wxComboBox,
48241 _swigc__p_wxCommandEvent,
48242 _swigc__p_wxContextHelp,
48243 _swigc__p_wxContextHelpButton,
48244 _swigc__p_wxContextMenuEvent,
48245 _swigc__p_wxControl,
48246 _swigc__p_wxControlWithItems,
48247 _swigc__p_wxCursor,
48248 _swigc__p_wxDC,
48249 _swigc__p_wxDateEvent,
48250 _swigc__p_wxDatePickerCtrl,
48251 _swigc__p_wxDateTime,
48252 _swigc__p_wxDirFilterListCtrl,
48253 _swigc__p_wxDirPickerCtrl,
48254 _swigc__p_wxDisplayChangedEvent,
48255 _swigc__p_wxDropFilesEvent,
48256 _swigc__p_wxDuplexMode,
48257 _swigc__p_wxEraseEvent,
48258 _swigc__p_wxEvent,
48259 _swigc__p_wxEvtHandler,
48260 _swigc__p_wxFSFile,
48261 _swigc__p_wxFileDirPickerEvent,
48262 _swigc__p_wxFilePickerCtrl,
48263 _swigc__p_wxFileSystem,
48264 _swigc__p_wxFlexGridSizer,
48265 _swigc__p_wxFocusEvent,
48266 _swigc__p_wxFont,
48267 _swigc__p_wxFontPickerCtrl,
48268 _swigc__p_wxFontPickerEvent,
48269 _swigc__p_wxGBSizerItem,
48270 _swigc__p_wxGIFHandler,
48271 _swigc__p_wxGauge,
48272 _swigc__p_wxGenericDirCtrl,
48273 _swigc__p_wxGenericDragImage,
48274 _swigc__p_wxGridBagSizer,
48275 _swigc__p_wxGridSizer,
48276 _swigc__p_wxHelpEvent,
48277 _swigc__p_wxHelpProvider,
48278 _swigc__p_wxHyperlinkCtrl,
48279 _swigc__p_wxHyperlinkEvent,
48280 _swigc__p_wxICOHandler,
48281 _swigc__p_wxIcon,
48282 _swigc__p_wxIconizeEvent,
48283 _swigc__p_wxIdleEvent,
48284 _swigc__p_wxImage,
48285 _swigc__p_wxImageHandler,
48286 _swigc__p_wxImageList,
48287 _swigc__p_wxIndividualLayoutConstraint,
48288 _swigc__p_wxInitDialogEvent,
48289 _swigc__p_wxItemContainer,
48290 _swigc__p_wxJPEGHandler,
48291 _swigc__p_wxKeyEvent,
48292 _swigc__p_wxLayoutConstraints,
48293 _swigc__p_wxListBox,
48294 _swigc__p_wxListEvent,
48295 _swigc__p_wxListItem,
48296 _swigc__p_wxListItemAttr,
48297 _swigc__p_wxListView,
48298 _swigc__p_wxListbook,
48299 _swigc__p_wxListbookEvent,
48300 _swigc__p_wxMaximizeEvent,
48301 _swigc__p_wxMemoryDC,
48302 _swigc__p_wxMenu,
48303 _swigc__p_wxMenuBar,
48304 _swigc__p_wxMenuEvent,
48305 _swigc__p_wxMenuItem,
48306 _swigc__p_wxMouseCaptureChangedEvent,
48307 _swigc__p_wxMouseCaptureLostEvent,
48308 _swigc__p_wxMouseEvent,
48309 _swigc__p_wxMoveEvent,
48310 _swigc__p_wxNavigationKeyEvent,
48311 _swigc__p_wxNcPaintEvent,
48312 _swigc__p_wxNotebook,
48313 _swigc__p_wxNotebookEvent,
48314 _swigc__p_wxNotifyEvent,
48315 _swigc__p_wxObject,
48316 _swigc__p_wxPCXHandler,
48317 _swigc__p_wxPNGHandler,
48318 _swigc__p_wxPNMHandler,
48319 _swigc__p_wxPaintEvent,
48320 _swigc__p_wxPaletteChangedEvent,
48321 _swigc__p_wxPaperSize,
48322 _swigc__p_wxPickerBase,
48323 _swigc__p_wxPoint,
48324 _swigc__p_wxPyApp,
48325 _swigc__p_wxPyCommandEvent,
48326 _swigc__p_wxPyControl,
48327 _swigc__p_wxPyEvent,
48328 _swigc__p_wxPyImageHandler,
48329 _swigc__p_wxPyListCtrl,
48330 _swigc__p_wxPySizer,
48331 _swigc__p_wxPyTreeCtrl,
48332 _swigc__p_wxPyTreeItemData,
48333 _swigc__p_wxPyValidator,
48334 _swigc__p_wxQueryNewPaletteEvent,
48335 _swigc__p_wxRadioBox,
48336 _swigc__p_wxRadioButton,
48337 _swigc__p_wxRect,
48338 _swigc__p_wxScrollBar,
48339 _swigc__p_wxScrollEvent,
48340 _swigc__p_wxScrollWinEvent,
48341 _swigc__p_wxSetCursorEvent,
48342 _swigc__p_wxShowEvent,
48343 _swigc__p_wxSimpleHelpProvider,
48344 _swigc__p_wxSize,
48345 _swigc__p_wxSizeEvent,
48346 _swigc__p_wxSizer,
48347 _swigc__p_wxSizerItem,
48348 _swigc__p_wxSlider,
48349 _swigc__p_wxSpinButton,
48350 _swigc__p_wxSpinCtrl,
48351 _swigc__p_wxSpinEvent,
48352 _swigc__p_wxStaticBitmap,
48353 _swigc__p_wxStaticBox,
48354 _swigc__p_wxStaticBoxSizer,
48355 _swigc__p_wxStaticLine,
48356 _swigc__p_wxStaticText,
48357 _swigc__p_wxStdDialogButtonSizer,
48358 _swigc__p_wxString,
48359 _swigc__p_wxSysColourChangedEvent,
48360 _swigc__p_wxTIFFHandler,
48361 _swigc__p_wxTextAttr,
48362 _swigc__p_wxTextCtrl,
48363 _swigc__p_wxTextUrlEvent,
48364 _swigc__p_wxToggleButton,
48365 _swigc__p_wxToolBar,
48366 _swigc__p_wxToolBarBase,
48367 _swigc__p_wxToolBarToolBase,
48368 _swigc__p_wxToolbook,
48369 _swigc__p_wxToolbookEvent,
48370 _swigc__p_wxTreeEvent,
48371 _swigc__p_wxTreeItemId,
48372 _swigc__p_wxTreebook,
48373 _swigc__p_wxTreebookEvent,
48374 _swigc__p_wxUpdateUIEvent,
48375 _swigc__p_wxValidator,
48376 _swigc__p_wxVisualAttributes,
48377 _swigc__p_wxWindow,
48378 _swigc__p_wxWindowBase,
48379 _swigc__p_wxWindowCreateEvent,
48380 _swigc__p_wxWindowDestroyEvent,
48381 _swigc__p_wxXPMHandler,
48382 };
48383
48384
48385 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
48386
48387 static swig_const_info swig_const_table[] = {
48388 {0, 0, 0, 0.0, 0, 0}};
48389
48390 #ifdef __cplusplus
48391 }
48392 #endif
48393 /* -----------------------------------------------------------------------------
48394 * Type initialization:
48395 * This problem is tough by the requirement that no dynamic
48396 * memory is used. Also, since swig_type_info structures store pointers to
48397 * swig_cast_info structures and swig_cast_info structures store pointers back
48398 * to swig_type_info structures, we need some lookup code at initialization.
48399 * The idea is that swig generates all the structures that are needed.
48400 * The runtime then collects these partially filled structures.
48401 * The SWIG_InitializeModule function takes these initial arrays out of
48402 * swig_module, and does all the lookup, filling in the swig_module.types
48403 * array with the correct data and linking the correct swig_cast_info
48404 * structures together.
48405 *
48406 * The generated swig_type_info structures are assigned staticly to an initial
48407 * array. We just loop though that array, and handle each type individually.
48408 * First we lookup if this type has been already loaded, and if so, use the
48409 * loaded structure instead of the generated one. Then we have to fill in the
48410 * cast linked list. The cast data is initially stored in something like a
48411 * two-dimensional array. Each row corresponds to a type (there are the same
48412 * number of rows as there are in the swig_type_initial array). Each entry in
48413 * a column is one of the swig_cast_info structures for that type.
48414 * The cast_initial array is actually an array of arrays, because each row has
48415 * a variable number of columns. So to actually build the cast linked list,
48416 * we find the array of casts associated with the type, and loop through it
48417 * adding the casts to the list. The one last trick we need to do is making
48418 * sure the type pointer in the swig_cast_info struct is correct.
48419 *
48420 * First off, we lookup the cast->type name to see if it is already loaded.
48421 * There are three cases to handle:
48422 * 1) If the cast->type has already been loaded AND the type we are adding
48423 * casting info to has not been loaded (it is in this module), THEN we
48424 * replace the cast->type pointer with the type pointer that has already
48425 * been loaded.
48426 * 2) If BOTH types (the one we are adding casting info to, and the
48427 * cast->type) are loaded, THEN the cast info has already been loaded by
48428 * the previous module so we just ignore it.
48429 * 3) Finally, if cast->type has not already been loaded, then we add that
48430 * swig_cast_info to the linked list (because the cast->type) pointer will
48431 * be correct.
48432 * ----------------------------------------------------------------------------- */
48433
48434 #ifdef __cplusplus
48435 extern "C" {
48436 #if 0
48437 } /* c-mode */
48438 #endif
48439 #endif
48440
48441 #if 0
48442 #define SWIGRUNTIME_DEBUG
48443 #endif
48444
48445 SWIGRUNTIME void
48446 SWIG_InitializeModule(void *clientdata) {
48447 size_t i;
48448 swig_module_info *module_head;
48449 static int init_run = 0;
48450
48451 clientdata = clientdata;
48452
48453 if (init_run) return;
48454 init_run = 1;
48455
48456 /* Initialize the swig_module */
48457 swig_module.type_initial = swig_type_initial;
48458 swig_module.cast_initial = swig_cast_initial;
48459
48460 /* Try and load any already created modules */
48461 module_head = SWIG_GetModule(clientdata);
48462 if (module_head) {
48463 swig_module.next = module_head->next;
48464 module_head->next = &swig_module;
48465 } else {
48466 /* This is the first module loaded */
48467 swig_module.next = &swig_module;
48468 SWIG_SetModule(clientdata, &swig_module);
48469 }
48470
48471 /* Now work on filling in swig_module.types */
48472 #ifdef SWIGRUNTIME_DEBUG
48473 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
48474 #endif
48475 for (i = 0; i < swig_module.size; ++i) {
48476 swig_type_info *type = 0;
48477 swig_type_info *ret;
48478 swig_cast_info *cast;
48479
48480 #ifdef SWIGRUNTIME_DEBUG
48481 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48482 #endif
48483
48484 /* if there is another module already loaded */
48485 if (swig_module.next != &swig_module) {
48486 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
48487 }
48488 if (type) {
48489 /* Overwrite clientdata field */
48490 #ifdef SWIGRUNTIME_DEBUG
48491 printf("SWIG_InitializeModule: found type %s\n", type->name);
48492 #endif
48493 if (swig_module.type_initial[i]->clientdata) {
48494 type->clientdata = swig_module.type_initial[i]->clientdata;
48495 #ifdef SWIGRUNTIME_DEBUG
48496 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
48497 #endif
48498 }
48499 } else {
48500 type = swig_module.type_initial[i];
48501 }
48502
48503 /* Insert casting types */
48504 cast = swig_module.cast_initial[i];
48505 while (cast->type) {
48506 /* Don't need to add information already in the list */
48507 ret = 0;
48508 #ifdef SWIGRUNTIME_DEBUG
48509 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
48510 #endif
48511 if (swig_module.next != &swig_module) {
48512 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
48513 #ifdef SWIGRUNTIME_DEBUG
48514 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
48515 #endif
48516 }
48517 if (ret) {
48518 if (type == swig_module.type_initial[i]) {
48519 #ifdef SWIGRUNTIME_DEBUG
48520 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
48521 #endif
48522 cast->type = ret;
48523 ret = 0;
48524 } else {
48525 /* Check for casting already in the list */
48526 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
48527 #ifdef SWIGRUNTIME_DEBUG
48528 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
48529 #endif
48530 if (!ocast) ret = 0;
48531 }
48532 }
48533
48534 if (!ret) {
48535 #ifdef SWIGRUNTIME_DEBUG
48536 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
48537 #endif
48538 if (type->cast) {
48539 type->cast->prev = cast;
48540 cast->next = type->cast;
48541 }
48542 type->cast = cast;
48543 }
48544 cast++;
48545 }
48546 /* Set entry in modules->types array equal to the type */
48547 swig_module.types[i] = type;
48548 }
48549 swig_module.types[i] = 0;
48550
48551 #ifdef SWIGRUNTIME_DEBUG
48552 printf("**** SWIG_InitializeModule: Cast List ******\n");
48553 for (i = 0; i < swig_module.size; ++i) {
48554 int j = 0;
48555 swig_cast_info *cast = swig_module.cast_initial[i];
48556 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
48557 while (cast->type) {
48558 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
48559 cast++;
48560 ++j;
48561 }
48562 printf("---- Total casts: %d\n",j);
48563 }
48564 printf("**** SWIG_InitializeModule: Cast List ******\n");
48565 #endif
48566 }
48567
48568 /* This function will propagate the clientdata field of type to
48569 * any new swig_type_info structures that have been added into the list
48570 * of equivalent types. It is like calling
48571 * SWIG_TypeClientData(type, clientdata) a second time.
48572 */
48573 SWIGRUNTIME void
48574 SWIG_PropagateClientData(void) {
48575 size_t i;
48576 swig_cast_info *equiv;
48577 static int init_run = 0;
48578
48579 if (init_run) return;
48580 init_run = 1;
48581
48582 for (i = 0; i < swig_module.size; i++) {
48583 if (swig_module.types[i]->clientdata) {
48584 equiv = swig_module.types[i]->cast;
48585 while (equiv) {
48586 if (!equiv->converter) {
48587 if (equiv->type && !equiv->type->clientdata)
48588 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
48589 }
48590 equiv = equiv->next;
48591 }
48592 }
48593 }
48594 }
48595
48596 #ifdef __cplusplus
48597 #if 0
48598 {
48599 /* c-mode */
48600 #endif
48601 }
48602 #endif
48603
48604
48605
48606 #ifdef __cplusplus
48607 extern "C" {
48608 #endif
48609
48610 /* Python-specific SWIG API */
48611 #define SWIG_newvarlink() SWIG_Python_newvarlink()
48612 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
48613 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
48614
48615 /* -----------------------------------------------------------------------------
48616 * global variable support code.
48617 * ----------------------------------------------------------------------------- */
48618
48619 typedef struct swig_globalvar {
48620 char *name; /* Name of global variable */
48621 PyObject *(*get_attr)(void); /* Return the current value */
48622 int (*set_attr)(PyObject *); /* Set the value */
48623 struct swig_globalvar *next;
48624 } swig_globalvar;
48625
48626 typedef struct swig_varlinkobject {
48627 PyObject_HEAD
48628 swig_globalvar *vars;
48629 } swig_varlinkobject;
48630
48631 SWIGINTERN PyObject *
48632 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
48633 return PyString_FromString("<Swig global variables>");
48634 }
48635
48636 SWIGINTERN PyObject *
48637 swig_varlink_str(swig_varlinkobject *v) {
48638 PyObject *str = PyString_FromString("(");
48639 swig_globalvar *var;
48640 for (var = v->vars; var; var=var->next) {
48641 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
48642 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
48643 }
48644 PyString_ConcatAndDel(&str,PyString_FromString(")"));
48645 return str;
48646 }
48647
48648 SWIGINTERN int
48649 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
48650 PyObject *str = swig_varlink_str(v);
48651 fprintf(fp,"Swig global variables ");
48652 fprintf(fp,"%s\n", PyString_AsString(str));
48653 Py_DECREF(str);
48654 return 0;
48655 }
48656
48657 SWIGINTERN void
48658 swig_varlink_dealloc(swig_varlinkobject *v) {
48659 swig_globalvar *var = v->vars;
48660 while (var) {
48661 swig_globalvar *n = var->next;
48662 free(var->name);
48663 free(var);
48664 var = n;
48665 }
48666 }
48667
48668 SWIGINTERN PyObject *
48669 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
48670 PyObject *res = NULL;
48671 swig_globalvar *var = v->vars;
48672 while (var) {
48673 if (strcmp(var->name,n) == 0) {
48674 res = (*var->get_attr)();
48675 break;
48676 }
48677 var = var->next;
48678 }
48679 if (res == NULL && !PyErr_Occurred()) {
48680 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48681 }
48682 return res;
48683 }
48684
48685 SWIGINTERN int
48686 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
48687 int res = 1;
48688 swig_globalvar *var = v->vars;
48689 while (var) {
48690 if (strcmp(var->name,n) == 0) {
48691 res = (*var->set_attr)(p);
48692 break;
48693 }
48694 var = var->next;
48695 }
48696 if (res == 1 && !PyErr_Occurred()) {
48697 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
48698 }
48699 return res;
48700 }
48701
48702 SWIGINTERN PyTypeObject*
48703 swig_varlink_type(void) {
48704 static char varlink__doc__[] = "Swig var link object";
48705 static PyTypeObject varlink_type;
48706 static int type_init = 0;
48707 if (!type_init) {
48708 const PyTypeObject tmp
48709 = {
48710 PyObject_HEAD_INIT(NULL)
48711 0, /* Number of items in variable part (ob_size) */
48712 (char *)"swigvarlink", /* Type name (tp_name) */
48713 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
48714 0, /* Itemsize (tp_itemsize) */
48715 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
48716 (printfunc) swig_varlink_print, /* Print (tp_print) */
48717 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
48718 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
48719 0, /* tp_compare */
48720 (reprfunc) swig_varlink_repr, /* tp_repr */
48721 0, /* tp_as_number */
48722 0, /* tp_as_sequence */
48723 0, /* tp_as_mapping */
48724 0, /* tp_hash */
48725 0, /* tp_call */
48726 (reprfunc)swig_varlink_str, /* tp_str */
48727 0, /* tp_getattro */
48728 0, /* tp_setattro */
48729 0, /* tp_as_buffer */
48730 0, /* tp_flags */
48731 varlink__doc__, /* tp_doc */
48732 0, /* tp_traverse */
48733 0, /* tp_clear */
48734 0, /* tp_richcompare */
48735 0, /* tp_weaklistoffset */
48736 #if PY_VERSION_HEX >= 0x02020000
48737 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
48738 #endif
48739 #if PY_VERSION_HEX >= 0x02030000
48740 0, /* tp_del */
48741 #endif
48742 #ifdef COUNT_ALLOCS
48743 0,0,0,0 /* tp_alloc -> tp_next */
48744 #endif
48745 };
48746 varlink_type = tmp;
48747 varlink_type.ob_type = &PyType_Type;
48748 type_init = 1;
48749 }
48750 return &varlink_type;
48751 }
48752
48753 /* Create a variable linking object for use later */
48754 SWIGINTERN PyObject *
48755 SWIG_Python_newvarlink(void) {
48756 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
48757 if (result) {
48758 result->vars = 0;
48759 }
48760 return ((PyObject*) result);
48761 }
48762
48763 SWIGINTERN void
48764 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
48765 swig_varlinkobject *v = (swig_varlinkobject *) p;
48766 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
48767 if (gv) {
48768 size_t size = strlen(name)+1;
48769 gv->name = (char *)malloc(size);
48770 if (gv->name) {
48771 strncpy(gv->name,name,size);
48772 gv->get_attr = get_attr;
48773 gv->set_attr = set_attr;
48774 gv->next = v->vars;
48775 }
48776 }
48777 v->vars = gv;
48778 }
48779
48780 SWIGINTERN PyObject *
48781 SWIG_globals() {
48782 static PyObject *_SWIG_globals = 0;
48783 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
48784 return _SWIG_globals;
48785 }
48786
48787 /* -----------------------------------------------------------------------------
48788 * constants/methods manipulation
48789 * ----------------------------------------------------------------------------- */
48790
48791 /* Install Constants */
48792 SWIGINTERN void
48793 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
48794 PyObject *obj = 0;
48795 size_t i;
48796 for (i = 0; constants[i].type; ++i) {
48797 switch(constants[i].type) {
48798 case SWIG_PY_POINTER:
48799 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
48800 break;
48801 case SWIG_PY_BINARY:
48802 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
48803 break;
48804 default:
48805 obj = 0;
48806 break;
48807 }
48808 if (obj) {
48809 PyDict_SetItemString(d, constants[i].name, obj);
48810 Py_DECREF(obj);
48811 }
48812 }
48813 }
48814
48815 /* -----------------------------------------------------------------------------*/
48816 /* Fix SwigMethods to carry the callback ptrs when needed */
48817 /* -----------------------------------------------------------------------------*/
48818
48819 SWIGINTERN void
48820 SWIG_Python_FixMethods(PyMethodDef *methods,
48821 swig_const_info *const_table,
48822 swig_type_info **types,
48823 swig_type_info **types_initial) {
48824 size_t i;
48825 for (i = 0; methods[i].ml_name; ++i) {
48826 const char *c = methods[i].ml_doc;
48827 if (c && (c = strstr(c, "swig_ptr: "))) {
48828 int j;
48829 swig_const_info *ci = 0;
48830 const char *name = c + 10;
48831 for (j = 0; const_table[j].type; ++j) {
48832 if (strncmp(const_table[j].name, name,
48833 strlen(const_table[j].name)) == 0) {
48834 ci = &(const_table[j]);
48835 break;
48836 }
48837 }
48838 if (ci) {
48839 size_t shift = (ci->ptype) - types;
48840 swig_type_info *ty = types_initial[shift];
48841 size_t ldoc = (c - methods[i].ml_doc);
48842 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
48843 char *ndoc = (char*)malloc(ldoc + lptr + 10);
48844 if (ndoc) {
48845 char *buff = ndoc;
48846 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
48847 if (ptr) {
48848 strncpy(buff, methods[i].ml_doc, ldoc);
48849 buff += ldoc;
48850 strncpy(buff, "swig_ptr: ", 10);
48851 buff += 10;
48852 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
48853 methods[i].ml_doc = ndoc;
48854 }
48855 }
48856 }
48857 }
48858 }
48859 }
48860
48861 #ifdef __cplusplus
48862 }
48863 #endif
48864
48865 /* -----------------------------------------------------------------------------*
48866 * Partial Init method
48867 * -----------------------------------------------------------------------------*/
48868
48869 #ifdef __cplusplus
48870 extern "C"
48871 #endif
48872 SWIGEXPORT void SWIG_init(void) {
48873 PyObject *m, *d;
48874
48875 /* Fix SwigMethods to carry the callback ptrs when needed */
48876 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
48877
48878 m = Py_InitModule((char *) SWIG_name, SwigMethods);
48879 d = PyModule_GetDict(m);
48880
48881 SWIG_InitializeModule(0);
48882 SWIG_InstallConstants(d,swig_const_table);
48883
48884
48885 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
48886 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
48887 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
48888 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
48889 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
48890 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
48891 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
48892 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
48893 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
48894 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
48895 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
48896 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
48897 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
48898 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
48899 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
48900 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
48901 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
48902 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
48903 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
48904 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
48905 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
48906 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
48907 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
48908 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
48909 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
48910 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
48911 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
48912 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
48913 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
48914 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
48915 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
48916 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
48917 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
48918 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
48919 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
48920 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
48921 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
48922 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
48923 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
48924 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
48925 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
48926 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
48927 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
48928 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
48929 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
48930 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
48931 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
48932 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
48933 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
48934 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
48935 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
48936 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
48937 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
48938 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
48939 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
48940 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
48941 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
48942 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
48943 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
48944 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
48945 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
48946 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
48947 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
48948 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
48949 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
48950 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
48951 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
48952 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
48953 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
48954 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
48955 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
48956 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
48957 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
48958 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
48959 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
48960 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
48961 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
48962 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
48963 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
48964 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
48965 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
48966 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
48967 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
48968 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
48969 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
48970 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
48971 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
48972 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
48973 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
48974 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
48975 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
48976 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
48977 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
48978 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
48979 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
48980 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
48981 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
48982 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
48983 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
48984 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
48985 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
48986 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
48987 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
48988 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
48989 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
48990 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
48991 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
48992 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
48993 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
48994 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
48995 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
48996 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
48997 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
48998 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
48999 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
49000 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49001 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49002 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49003 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49004 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49005 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49006 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49007 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49008 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49009 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49010 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
49011 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
49012 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49013 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49014 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49015 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49016 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49017 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49018 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49019 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49020 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49021 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49022 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49023 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49024 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49025 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49026 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49027 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49028 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49029 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49034 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49035 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49036 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49037 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49038 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49039 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49040 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
49041 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49042 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49043 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49044 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49045 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49046 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49047 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49048 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49049 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
49050 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
49051 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49052 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49053 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49054 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49055 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49056 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49057 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49058 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49059 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49060 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49061 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49062 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49063 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49064 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49065 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49066 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49067 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49068 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49069 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49070 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49071 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49072 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49073 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49074 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49075 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49076 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49077 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49078 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49079 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49080 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49081 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49082 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49083 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49084 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49085 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49086 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49087 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49088 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49089 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49090 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49091 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49092 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49093 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49094 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49095 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49096 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49097 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49098 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
49099 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
49100 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49101 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49102 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49103 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49104 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49105 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49106 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49107 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49108 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49109 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49110 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49111 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49112 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49113 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49114 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49115 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49116 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49117 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49118 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49119 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49120 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49121 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49122 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49123 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49124 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49125 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49126 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49127 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49128 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49129 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49130 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49131 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49132 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49133 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49134 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49135 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49136 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49137 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49138 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49139 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49140 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49141 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49142
49143 // Map renamed classes back to their common name for OOR
49144 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49145
49146 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49147 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49148 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49149 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49150 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49151 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49152 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49153 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49154 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49155 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49156 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49157 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49158 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49159 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49160 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
49161 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49162 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49163 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49164 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49165 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
49166 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
49167 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
49168 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
49169 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
49170 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
49171 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
49172 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
49173 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
49174 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
49175 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
49176 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
49177 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
49178 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
49179 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
49180 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
49181 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
49182 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
49183 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
49184 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
49185 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
49186 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
49187 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
49188 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
49189 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
49190 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
49191 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
49192 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
49193 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
49194 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
49195 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
49196 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
49197 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
49198 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
49199 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
49200 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
49201 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
49202
49203 // Map renamed classes back to their common name for OOR
49204 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
49205 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
49206
49207 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
49208 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
49209 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
49210 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
49211 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
49212 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
49213 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
49214 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
49215 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
49216 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
49217 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
49218
49219 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
49220
49221 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
49222 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
49223 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
49224 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
49225 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
49226 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
49227 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
49228 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
49229 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
49230 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
49231 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
49232 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
49233 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
49234 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
49235 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
49236 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
49237 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
49238 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
49239 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
49240 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
49241 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
49242 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
49243 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
49244 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
49245 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
49246 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
49247 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
49248 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
49249 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
49250 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
49251 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
49252 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
49253 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
49254 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
49255 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
49256 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
49257 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
49258 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
49259 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
49260 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
49261 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
49262 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
49263 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
49264 }
49265