]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
added wxDialog::GetParentForModalDialog() and use it to try to always create modal...
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info *swig_types[181];
2647 static swig_module_info swig_module = {swig_types, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650
2651 /* -------- TYPES TABLE (END) -------- */
2652
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2656 # endif
2657 #endif
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2660 #endif
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 #endif
2664 #ifndef METH_O
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 #endif
2667
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2672
2673 #define SWIG_name "_controls_"
2674
2675 #define SWIGVERSION 0x010329
2676
2677
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680
2681
2682 #include <stdexcept>
2683
2684
2685 namespace swig {
2686 class PyObject_ptr {
2687 protected:
2688 PyObject *_obj;
2689
2690 public:
2691 PyObject_ptr() :_obj(0)
2692 {
2693 }
2694
2695 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2696 {
2697 Py_XINCREF(_obj);
2698 }
2699
2700 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2701 {
2702 if (initial_ref) Py_XINCREF(_obj);
2703 }
2704
2705 PyObject_ptr & operator=(const PyObject_ptr& item)
2706 {
2707 Py_XINCREF(item._obj);
2708 Py_XDECREF(_obj);
2709 _obj = item._obj;
2710 return *this;
2711 }
2712
2713 ~PyObject_ptr()
2714 {
2715 Py_XDECREF(_obj);
2716 }
2717
2718 operator PyObject *() const
2719 {
2720 return _obj;
2721 }
2722
2723 PyObject *operator->() const
2724 {
2725 return _obj;
2726 }
2727 };
2728 }
2729
2730
2731 namespace swig {
2732 struct PyObject_var : PyObject_ptr {
2733 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2734
2735 PyObject_var & operator = (PyObject* obj)
2736 {
2737 Py_XDECREF(_obj);
2738 _obj = obj;
2739 return *this;
2740 }
2741 };
2742 }
2743
2744
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2747
2748 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2749 static const wxString wxPyEmptyString(wxEmptyString);
2750 static const wxString wxPyControlNameStr(wxControlNameStr);
2751
2752 const wxArrayString wxPyEmptyStringArray;
2753
2754 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2755
2756 #define SWIG_From_long PyInt_FromLong
2757
2758
2759 SWIGINTERNINLINE PyObject *
2760 SWIG_From_int (int value)
2761 {
2762 return SWIG_From_long (value);
2763 }
2764
2765
2766 #include <limits.h>
2767 #ifndef LLONG_MIN
2768 # define LLONG_MIN LONG_LONG_MIN
2769 #endif
2770 #ifndef LLONG_MAX
2771 # define LLONG_MAX LONG_LONG_MAX
2772 #endif
2773 #ifndef ULLONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2775 #endif
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_long (PyObject* obj, long* val)
2780 {
2781 if (PyNumber_Check(obj)) {
2782 if (val) *val = PyInt_AsLong(obj);
2783 return SWIG_OK;
2784 }
2785 return SWIG_TypeError;
2786 }
2787
2788
2789 SWIGINTERN int
2790 SWIG_AsVal_int (PyObject * obj, int *val)
2791 {
2792 long v;
2793 int res = SWIG_AsVal_long (obj, &v);
2794 if (SWIG_IsOK(res)) {
2795 if ((v < INT_MIN || v > INT_MAX)) {
2796 return SWIG_OverflowError;
2797 } else {
2798 if (val) *val = static_cast< int >(v);
2799 }
2800 }
2801 return res;
2802 }
2803
2804 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_bool (PyObject *obj, bool *val)
2808 {
2809 if (obj == Py_True) {
2810 if (val) *val = true;
2811 return SWIG_OK;
2812 } else if (obj == Py_False) {
2813 if (val) *val = false;
2814 return SWIG_OK;
2815 } else {
2816 long v = 0;
2817 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2818 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2819 return res;
2820 }
2821 }
2822
2823 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2824 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2825 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2826 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2827 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2828 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2829 static const wxString wxPyStaticLineNameStr(wxStaticLineNameStr);
2830
2831 #include <wx/checklst.h>
2832
2833 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
2834 SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
2835 if (clientData)
2836 {
2837 wxPyClientData* data = new wxPyClientData(clientData);
2838 self->Insert(item, pos, data);
2839 }
2840 else
2841 self->Insert(item, pos);
2842 }
2843
2844 SWIGINTERN int
2845 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2846 {
2847 long v = 0;
2848 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2849 return SWIG_TypeError;
2850 }
2851 else if (val)
2852 *val = (unsigned long)v;
2853 return SWIG_OK;
2854 }
2855
2856
2857 SWIGINTERN int
2858 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2859 {
2860 unsigned long v;
2861 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2862 if (SWIG_IsOK(res)) {
2863 if ((v > UINT_MAX)) {
2864 return SWIG_OverflowError;
2865 } else {
2866 if (val) *val = static_cast< unsigned int >(v);
2867 }
2868 }
2869 return res;
2870 }
2871
2872 SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
2873 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2874 wxArrayInt lst;
2875 self->GetSelections(lst);
2876 PyObject *tup = PyTuple_New(lst.GetCount());
2877 for (size_t i=0; i<lst.GetCount(); i++)
2878 {
2879 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2880 }
2881 wxPyEndBlockThreads(blocked);
2882 return tup;
2883 }
2884 SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
2885 #ifdef __WXMSW__
2886 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2887 self->GetItem(item)->SetTextColour(c);
2888 #endif
2889 }
2890 SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
2891 #ifdef __WXMSW__
2892 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2893 self->GetItem(item)->SetBackgroundColour(c);
2894 #endif
2895 }
2896 SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
2897 #ifdef __WXMSW__
2898 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2899 self->GetItem(item)->SetFont(f);
2900 #endif
2901 }
2902 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
2903 SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
2904 self->AppendText(text);
2905 }
2906 SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
2907 return self->GetValue().Mid(from, to - from);
2908 }
2909 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2910 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2911 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2913 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2914
2915 SWIGINTERNINLINE PyObject*
2916 SWIG_From_unsigned_SS_long (unsigned long value)
2917 {
2918 return (value > LONG_MAX) ?
2919 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2920 }
2921
2922
2923 SWIGINTERNINLINE PyObject *
2924 SWIG_From_size_t (size_t value)
2925 {
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2927 }
2928
2929
2930 SWIGINTERNINLINE PyObject *
2931 SWIG_From_unsigned_SS_int (unsigned int value)
2932 {
2933 return SWIG_From_unsigned_SS_long (value);
2934 }
2935
2936
2937 #include <wx/slider.h>
2938
2939
2940 static const wxString wxPySliderNameStr(wxSliderNameStr);
2941 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2945
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947
2948 class wxToggleButton : public wxControl
2949 {
2950 public:
2951 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2952 const wxPoint&, const wxSize&, long,
2953 const wxValidator&, const wxString&)
2954 { wxPyRaiseNotImplemented(); }
2955
2956 wxToggleButton()
2957 { wxPyRaiseNotImplemented(); }
2958 };
2959 #endif
2960
2961 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
2962
2963 SWIGINTERNINLINE int
2964 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2965 {
2966 unsigned long v;
2967 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2968 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2969 return res;
2970 }
2971
2972 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2973 SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
2974 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2975 if (udata) {
2976 Py_INCREF(udata->m_obj);
2977 return udata->m_obj;
2978 } else {
2979 Py_INCREF(Py_None);
2980 return Py_None;
2981 }
2982 }
2983 SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
2984 self->SetClientData(new wxPyUserData(clientData));
2985 }
2986 SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
2987 wxPyUserData* udata = NULL;
2988 if (clientData && clientData != Py_None)
2989 udata = new wxPyUserData(clientData);
2990 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2991 shortHelp, longHelp, udata);
2992 }
2993 SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
2994 wxPyUserData* udata = NULL;
2995 if (clientData && clientData != Py_None)
2996 udata = new wxPyUserData(clientData);
2997 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2998 shortHelp, longHelp, udata);
2999 }
3000 SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
3001 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3002 if (udata) {
3003 Py_INCREF(udata->m_obj);
3004 return udata->m_obj;
3005 } else {
3006 Py_INCREF(Py_None);
3007 return Py_None;
3008 }
3009 }
3010 SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
3011 self->SetToolClientData(id, new wxPyUserData(clientData));
3012 }
3013
3014 #include <wx/listctrl.h>
3015
3016 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
3017 SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3020 int retval = 0;
3021 PyObject* func = (PyObject*)funcPtr;
3022 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3023
3024 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3025 PyObject* result = PyEval_CallObject(func, args);
3026 Py_DECREF(args);
3027 if (result) {
3028 retval = PyInt_AsLong(result);
3029 Py_DECREF(result);
3030 }
3031
3032 wxPyEndBlockThreads(blocked);
3033 return retval;
3034 }
3035
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl : public wxListCtrl {
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
3039 public:
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3042 const wxPoint& pos,
3043 const wxSize& size,
3044 long style,
3045 const wxValidator& validator,
3046 const wxString& name) :
3047 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3048
3049 bool Create(wxWindow* parent, wxWindowID id,
3050 const wxPoint& pos,
3051 const wxSize& size,
3052 long style,
3053 const wxValidator& validator,
3054 const wxString& name) {
3055 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3056 }
3057
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3060
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
3064
3065 PYPRIVATE;
3066 };
3067
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3069
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3074
3075
3076 SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
3077 wxListItem item;
3078 item.SetMask( wxLIST_MASK_STATE |
3079 wxLIST_MASK_TEXT |
3080 wxLIST_MASK_IMAGE |
3081 wxLIST_MASK_DATA |
3082 wxLIST_SET_ITEM |
3083 wxLIST_MASK_WIDTH |
3084 wxLIST_MASK_FORMAT
3085 );
3086 if (self->GetColumn(col, item))
3087 return new wxListItem(item);
3088 else
3089 return NULL;
3090 }
3091 SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
3092 wxListItem* info = new wxListItem;
3093 info->m_itemId = itemId;
3094 info->m_col = col;
3095 info->m_mask = 0xFFFF;
3096 self->GetItem(*info);
3097 return info;
3098 }
3099 SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
3100 wxPoint pos;
3101 self->GetItemPosition(item, pos);
3102 return pos;
3103 }
3104 SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
3105 wxRect rect;
3106 self->GetItemRect(item, rect, code);
3107 return rect;
3108 }
3109 SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
3110 if (!PyCallable_Check(func))
3111 return false;
3112 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3113 }
3114 SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
3115
3116 return self;
3117
3118
3119
3120 }
3121
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3124
3125 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3127 SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3128 SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
3129
3130 static wxTreeItemId wxNullTreeItemId;
3131
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl : public wxTreeCtrl {
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
3135 public:
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3138 const wxPoint& pos,
3139 const wxSize& size,
3140 long style,
3141 const wxValidator& validator,
3142 const wxString& name) :
3143 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3144
3145 bool Create(wxWindow *parent, wxWindowID id,
3146 const wxPoint& pos,
3147 const wxSize& size,
3148 long style,
3149 const wxValidator& validator,
3150 const wxString& name) {
3151 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3152 }
3153
3154
3155 int OnCompareItems(const wxTreeItemId& item1,
3156 const wxTreeItemId& item2) {
3157 int rval = 0;
3158 bool found;
3159 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3160 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
3161 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3162 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
3163 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3164 Py_DECREF(o1);
3165 Py_DECREF(o2);
3166 }
3167 wxPyEndBlockThreads(blocked);
3168 if (! found)
3169 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3170 return rval;
3171 }
3172 PYPRIVATE;
3173 };
3174
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3176
3177
3178 SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3179 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3180 if (data == NULL) {
3181 data = new wxPyTreeItemData();
3182 data->SetId(item); // set the id
3183 self->SetItemData(item, data);
3184 }
3185 return data;
3186 }
3187 SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData();
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 }
3194 return data->GetData();
3195 }
3196 SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3197 data->SetId(item); // set the id
3198 self->SetItemData(item, data);
3199 }
3200 SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
3201 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3202 if (data == NULL) {
3203 data = new wxPyTreeItemData(obj);
3204 data->SetId(item); // set the id
3205 self->SetItemData(item, data);
3206 } else
3207 data->SetData(obj);
3208 }
3209 SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
3210 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3211 PyObject* rval = PyList_New(0);
3212 wxArrayTreeItemIds array;
3213 size_t num, x;
3214 num = self->GetSelections(array);
3215 for (x=0; x < num; x++) {
3216 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3217 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval, item);
3219 Py_DECREF(item);
3220 }
3221 wxPyEndBlockThreads(blocked);
3222 return rval;
3223 }
3224 SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
3225 void* cookie = 0;
3226 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3228 PyObject* tup = PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3231 wxPyEndBlockThreads(blocked);
3232 return tup;
3233 }
3234 SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
3235 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3237 PyObject* tup = PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3240 wxPyEndBlockThreads(blocked);
3241 return tup;
3242 }
3243 SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3244 wxRect rect;
3245 if (self->GetBoundingRect(item, rect, textOnly)) {
3246 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3247 wxRect* r = new wxRect(rect);
3248 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked);
3250 return val;
3251 }
3252 else
3253 RETURN_NONE();
3254 }
3255 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
3256
3257 SWIGINTERNINLINE PyObject*
3258 SWIG_From_bool (bool value)
3259 {
3260 return PyBool_FromLong(value ? 1 : 0);
3261 }
3262
3263 // C++ version of Python aware wxControl
3264 class wxPyControl : public wxControl
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyControl)
3267 public:
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxValidator& validator=wxDefaultValidator,
3274 const wxString& name = wxPyControlNameStr)
3275 : wxControl(parent, id, pos, size, style, validator, name) {}
3276
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3354
3355
3356
3357 SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
3358
3359 #include <wx/generic/dragimgg.h>
3360
3361 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
3362 SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
3363 wxDateTime rv;
3364 self->GetRange(&rv, NULL);
3365 return rv;
3366 }
3367 SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
3368 wxDateTime rv;
3369 self->GetRange(NULL, &rv);
3370 return rv;
3371 }
3372 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
3373 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3374 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3375 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3376 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3377 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3378 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3379 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
3380 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
3381 static const wxString wxPySearchCtrlNameStr(wxSearchCtrlNameStr);
3382
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3385
3386 enum {
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3389 };
3390
3391 class wxSearchCtrl : public wxTextCtrl
3392 {
3393 public:
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow*, wxWindowID,
3396 const wxString&,
3397 const wxPoint&,
3398 const wxSize&,
3399 long style,
3400 const wxValidator&,
3401 const wxString& name)
3402 { wxPyRaiseNotImplemented(); }
3403
3404 bool Create( wxWindow*, wxWindowID,
3405 const wxString&,
3406 const wxPoint&,
3407 const wxSize&,
3408 long style,
3409 const wxValidator&,
3410 const wxString& name) {}
3411
3412 virtual void SetMenu( wxMenu* ) {}
3413 virtual wxMenu* GetMenu() { return NULL; }
3414
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3419
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3422
3423 virtual void SetDescriptiveText(const wxString& text);
3424 virtual wxString GetDescriptiveText() const;
3425 };
3426 #endif
3427
3428 SWIGINTERN void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl *self,wxBitmap const &){}
3429 SWIGINTERN void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl *self,wxBitmap const &){}
3430 SWIGINTERN void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl *self,wxBitmap const &){}
3431 #ifdef __cplusplus
3432 extern "C" {
3433 #endif
3434 SWIGINTERN int ButtonNameStr_set(PyObject *) {
3435 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3436 return 1;
3437 }
3438
3439
3440 SWIGINTERN PyObject *ButtonNameStr_get(void) {
3441 PyObject *pyobj = 0;
3442
3443 {
3444 #if wxUSE_UNICODE
3445 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3446 #else
3447 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
3448 #endif
3449 }
3450 return pyobj;
3451 }
3452
3453
3454 SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj = 0;
3456 wxWindow *arg1 = (wxWindow *) 0 ;
3457 int arg2 = (int) -1 ;
3458 wxString const &arg3_defvalue = wxPyEmptyString ;
3459 wxString *arg3 = (wxString *) &arg3_defvalue ;
3460 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3461 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3462 wxSize const &arg5_defvalue = wxDefaultSize ;
3463 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3464 long arg6 = (long) 0 ;
3465 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3466 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3467 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3468 wxString *arg8 = (wxString *) &arg8_defvalue ;
3469 wxButton *result = 0 ;
3470 void *argp1 = 0 ;
3471 int res1 = 0 ;
3472 int val2 ;
3473 int ecode2 = 0 ;
3474 bool temp3 = false ;
3475 wxPoint temp4 ;
3476 wxSize temp5 ;
3477 long val6 ;
3478 int ecode6 = 0 ;
3479 void *argp7 = 0 ;
3480 int res7 = 0 ;
3481 bool temp8 = false ;
3482 PyObject * obj0 = 0 ;
3483 PyObject * obj1 = 0 ;
3484 PyObject * obj2 = 0 ;
3485 PyObject * obj3 = 0 ;
3486 PyObject * obj4 = 0 ;
3487 PyObject * obj5 = 0 ;
3488 PyObject * obj6 = 0 ;
3489 PyObject * obj7 = 0 ;
3490 char * kwnames[] = {
3491 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 };
3493
3494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3496 if (!SWIG_IsOK(res1)) {
3497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3498 }
3499 arg1 = reinterpret_cast< wxWindow * >(argp1);
3500 if (obj1) {
3501 ecode2 = SWIG_AsVal_int(obj1, &val2);
3502 if (!SWIG_IsOK(ecode2)) {
3503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3504 }
3505 arg2 = static_cast< int >(val2);
3506 }
3507 if (obj2) {
3508 {
3509 arg3 = wxString_in_helper(obj2);
3510 if (arg3 == NULL) SWIG_fail;
3511 temp3 = true;
3512 }
3513 }
3514 if (obj3) {
3515 {
3516 arg4 = &temp4;
3517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3518 }
3519 }
3520 if (obj4) {
3521 {
3522 arg5 = &temp5;
3523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3524 }
3525 }
3526 if (obj5) {
3527 ecode6 = SWIG_AsVal_long(obj5, &val6);
3528 if (!SWIG_IsOK(ecode6)) {
3529 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3530 }
3531 arg6 = static_cast< long >(val6);
3532 }
3533 if (obj6) {
3534 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3535 if (!SWIG_IsOK(res7)) {
3536 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 }
3538 if (!argp7) {
3539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3540 }
3541 arg7 = reinterpret_cast< wxValidator * >(argp7);
3542 }
3543 if (obj7) {
3544 {
3545 arg8 = wxString_in_helper(obj7);
3546 if (arg8 == NULL) SWIG_fail;
3547 temp8 = true;
3548 }
3549 }
3550 {
3551 if (!wxPyCheckForApp()) SWIG_fail;
3552 PyThreadState* __tstate = wxPyBeginAllowThreads();
3553 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3558 {
3559 if (temp3)
3560 delete arg3;
3561 }
3562 {
3563 if (temp8)
3564 delete arg8;
3565 }
3566 return resultobj;
3567 fail:
3568 {
3569 if (temp3)
3570 delete arg3;
3571 }
3572 {
3573 if (temp8)
3574 delete arg8;
3575 }
3576 return NULL;
3577 }
3578
3579
3580 SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3581 PyObject *resultobj = 0;
3582 wxButton *result = 0 ;
3583
3584 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3585 {
3586 if (!wxPyCheckForApp()) SWIG_fail;
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
3588 result = (wxButton *)new wxButton();
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj = 0;
3601 wxButton *arg1 = (wxButton *) 0 ;
3602 wxWindow *arg2 = (wxWindow *) 0 ;
3603 int arg3 = (int) -1 ;
3604 wxString const &arg4_defvalue = wxPyEmptyString ;
3605 wxString *arg4 = (wxString *) &arg4_defvalue ;
3606 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3607 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3608 wxSize const &arg6_defvalue = wxDefaultSize ;
3609 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3610 long arg7 = (long) 0 ;
3611 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3612 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3613 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3614 wxString *arg9 = (wxString *) &arg9_defvalue ;
3615 bool result;
3616 void *argp1 = 0 ;
3617 int res1 = 0 ;
3618 void *argp2 = 0 ;
3619 int res2 = 0 ;
3620 int val3 ;
3621 int ecode3 = 0 ;
3622 bool temp4 = false ;
3623 wxPoint temp5 ;
3624 wxSize temp6 ;
3625 long val7 ;
3626 int ecode7 = 0 ;
3627 void *argp8 = 0 ;
3628 int res8 = 0 ;
3629 bool temp9 = false ;
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 PyObject * obj2 = 0 ;
3633 PyObject * obj3 = 0 ;
3634 PyObject * obj4 = 0 ;
3635 PyObject * obj5 = 0 ;
3636 PyObject * obj6 = 0 ;
3637 PyObject * obj7 = 0 ;
3638 PyObject * obj8 = 0 ;
3639 char * kwnames[] = {
3640 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 };
3642
3643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3645 if (!SWIG_IsOK(res1)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3647 }
3648 arg1 = reinterpret_cast< wxButton * >(argp1);
3649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3650 if (!SWIG_IsOK(res2)) {
3651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3652 }
3653 arg2 = reinterpret_cast< wxWindow * >(argp2);
3654 if (obj2) {
3655 ecode3 = SWIG_AsVal_int(obj2, &val3);
3656 if (!SWIG_IsOK(ecode3)) {
3657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3658 }
3659 arg3 = static_cast< int >(val3);
3660 }
3661 if (obj3) {
3662 {
3663 arg4 = wxString_in_helper(obj3);
3664 if (arg4 == NULL) SWIG_fail;
3665 temp4 = true;
3666 }
3667 }
3668 if (obj4) {
3669 {
3670 arg5 = &temp5;
3671 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3672 }
3673 }
3674 if (obj5) {
3675 {
3676 arg6 = &temp6;
3677 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3678 }
3679 }
3680 if (obj6) {
3681 ecode7 = SWIG_AsVal_long(obj6, &val7);
3682 if (!SWIG_IsOK(ecode7)) {
3683 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3684 }
3685 arg7 = static_cast< long >(val7);
3686 }
3687 if (obj7) {
3688 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3689 if (!SWIG_IsOK(res8)) {
3690 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 }
3692 if (!argp8) {
3693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3694 }
3695 arg8 = reinterpret_cast< wxValidator * >(argp8);
3696 }
3697 if (obj8) {
3698 {
3699 arg9 = wxString_in_helper(obj8);
3700 if (arg9 == NULL) SWIG_fail;
3701 temp9 = true;
3702 }
3703 }
3704 {
3705 PyThreadState* __tstate = wxPyBeginAllowThreads();
3706 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3707 wxPyEndAllowThreads(__tstate);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 {
3711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3712 }
3713 {
3714 if (temp4)
3715 delete arg4;
3716 }
3717 {
3718 if (temp9)
3719 delete arg9;
3720 }
3721 return resultobj;
3722 fail:
3723 {
3724 if (temp4)
3725 delete arg4;
3726 }
3727 {
3728 if (temp9)
3729 delete arg9;
3730 }
3731 return NULL;
3732 }
3733
3734
3735 SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3736 PyObject *resultobj = 0;
3737 wxButton *arg1 = (wxButton *) 0 ;
3738 wxWindow *result = 0 ;
3739 void *argp1 = 0 ;
3740 int res1 = 0 ;
3741 PyObject *swig_obj[1] ;
3742
3743 if (!args) SWIG_fail;
3744 swig_obj[0] = args;
3745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3746 if (!SWIG_IsOK(res1)) {
3747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3748 }
3749 arg1 = reinterpret_cast< wxButton * >(argp1);
3750 {
3751 PyThreadState* __tstate = wxPyBeginAllowThreads();
3752 result = (wxWindow *)(arg1)->SetDefault();
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 {
3757 resultobj = wxPyMake_wxObject(result, 0);
3758 }
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3766 PyObject *resultobj = 0;
3767 wxSize result;
3768
3769 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 result = wxButton::GetDefaultSize();
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3777 return resultobj;
3778 fail:
3779 return NULL;
3780 }
3781
3782
3783 SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj = 0;
3785 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3786 SwigValueWrapper<wxVisualAttributes > result;
3787 int val1 ;
3788 int ecode1 = 0 ;
3789 PyObject * obj0 = 0 ;
3790 char * kwnames[] = {
3791 (char *) "variant", NULL
3792 };
3793
3794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3795 if (obj0) {
3796 ecode1 = SWIG_AsVal_int(obj0, &val1);
3797 if (!SWIG_IsOK(ecode1)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3799 }
3800 arg1 = static_cast< wxWindowVariant >(val1);
3801 }
3802 {
3803 if (!wxPyCheckForApp()) SWIG_fail;
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 result = wxButton::GetClassDefaultAttributes(arg1);
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3817 PyObject *obj;
3818 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3819 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3820 return SWIG_Py_Void();
3821 }
3822
3823 SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3824 return SWIG_Python_InitShadowInstance(args);
3825 }
3826
3827 SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj = 0;
3829 wxWindow *arg1 = (wxWindow *) 0 ;
3830 int arg2 = (int) -1 ;
3831 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3832 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3833 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3834 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3835 wxSize const &arg5_defvalue = wxDefaultSize ;
3836 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3837 long arg6 = (long) wxBU_AUTODRAW ;
3838 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3839 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3840 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3841 wxString *arg8 = (wxString *) &arg8_defvalue ;
3842 wxBitmapButton *result = 0 ;
3843 void *argp1 = 0 ;
3844 int res1 = 0 ;
3845 int val2 ;
3846 int ecode2 = 0 ;
3847 void *argp3 = 0 ;
3848 int res3 = 0 ;
3849 wxPoint temp4 ;
3850 wxSize temp5 ;
3851 long val6 ;
3852 int ecode6 = 0 ;
3853 void *argp7 = 0 ;
3854 int res7 = 0 ;
3855 bool temp8 = false ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj1 = 0 ;
3858 PyObject * obj2 = 0 ;
3859 PyObject * obj3 = 0 ;
3860 PyObject * obj4 = 0 ;
3861 PyObject * obj5 = 0 ;
3862 PyObject * obj6 = 0 ;
3863 PyObject * obj7 = 0 ;
3864 char * kwnames[] = {
3865 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3866 };
3867
3868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3870 if (!SWIG_IsOK(res1)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3872 }
3873 arg1 = reinterpret_cast< wxWindow * >(argp1);
3874 if (obj1) {
3875 ecode2 = SWIG_AsVal_int(obj1, &val2);
3876 if (!SWIG_IsOK(ecode2)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3878 }
3879 arg2 = static_cast< int >(val2);
3880 }
3881 if (obj2) {
3882 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3883 if (!SWIG_IsOK(res3)) {
3884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3885 }
3886 if (!argp3) {
3887 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3888 }
3889 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3890 }
3891 if (obj3) {
3892 {
3893 arg4 = &temp4;
3894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3895 }
3896 }
3897 if (obj4) {
3898 {
3899 arg5 = &temp5;
3900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3901 }
3902 }
3903 if (obj5) {
3904 ecode6 = SWIG_AsVal_long(obj5, &val6);
3905 if (!SWIG_IsOK(ecode6)) {
3906 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3907 }
3908 arg6 = static_cast< long >(val6);
3909 }
3910 if (obj6) {
3911 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3912 if (!SWIG_IsOK(res7)) {
3913 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3914 }
3915 if (!argp7) {
3916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3917 }
3918 arg7 = reinterpret_cast< wxValidator * >(argp7);
3919 }
3920 if (obj7) {
3921 {
3922 arg8 = wxString_in_helper(obj7);
3923 if (arg8 == NULL) SWIG_fail;
3924 temp8 = true;
3925 }
3926 }
3927 {
3928 if (!wxPyCheckForApp()) SWIG_fail;
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
3930 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3935 {
3936 if (temp8)
3937 delete arg8;
3938 }
3939 return resultobj;
3940 fail:
3941 {
3942 if (temp8)
3943 delete arg8;
3944 }
3945 return NULL;
3946 }
3947
3948
3949 SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3950 PyObject *resultobj = 0;
3951 wxBitmapButton *result = 0 ;
3952
3953 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3954 {
3955 if (!wxPyCheckForApp()) SWIG_fail;
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (wxBitmapButton *)new wxBitmapButton();
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj = 0;
3970 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3971 wxWindow *arg2 = (wxWindow *) 0 ;
3972 int arg3 = (int) -1 ;
3973 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3974 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3975 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3976 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3977 wxSize const &arg6_defvalue = wxDefaultSize ;
3978 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3979 long arg7 = (long) wxBU_AUTODRAW ;
3980 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3981 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3982 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3983 wxString *arg9 = (wxString *) &arg9_defvalue ;
3984 bool result;
3985 void *argp1 = 0 ;
3986 int res1 = 0 ;
3987 void *argp2 = 0 ;
3988 int res2 = 0 ;
3989 int val3 ;
3990 int ecode3 = 0 ;
3991 void *argp4 = 0 ;
3992 int res4 = 0 ;
3993 wxPoint temp5 ;
3994 wxSize temp6 ;
3995 long val7 ;
3996 int ecode7 = 0 ;
3997 void *argp8 = 0 ;
3998 int res8 = 0 ;
3999 bool temp9 = false ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 PyObject * obj2 = 0 ;
4003 PyObject * obj3 = 0 ;
4004 PyObject * obj4 = 0 ;
4005 PyObject * obj5 = 0 ;
4006 PyObject * obj6 = 0 ;
4007 PyObject * obj7 = 0 ;
4008 PyObject * obj8 = 0 ;
4009 char * kwnames[] = {
4010 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4011 };
4012
4013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4015 if (!SWIG_IsOK(res1)) {
4016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4017 }
4018 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4019 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4020 if (!SWIG_IsOK(res2)) {
4021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4022 }
4023 arg2 = reinterpret_cast< wxWindow * >(argp2);
4024 if (obj2) {
4025 ecode3 = SWIG_AsVal_int(obj2, &val3);
4026 if (!SWIG_IsOK(ecode3)) {
4027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4028 }
4029 arg3 = static_cast< int >(val3);
4030 }
4031 if (obj3) {
4032 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
4033 if (!SWIG_IsOK(res4)) {
4034 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4035 }
4036 if (!argp4) {
4037 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4038 }
4039 arg4 = reinterpret_cast< wxBitmap * >(argp4);
4040 }
4041 if (obj4) {
4042 {
4043 arg5 = &temp5;
4044 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4045 }
4046 }
4047 if (obj5) {
4048 {
4049 arg6 = &temp6;
4050 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4051 }
4052 }
4053 if (obj6) {
4054 ecode7 = SWIG_AsVal_long(obj6, &val7);
4055 if (!SWIG_IsOK(ecode7)) {
4056 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4057 }
4058 arg7 = static_cast< long >(val7);
4059 }
4060 if (obj7) {
4061 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4062 if (!SWIG_IsOK(res8)) {
4063 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4064 }
4065 if (!argp8) {
4066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4067 }
4068 arg8 = reinterpret_cast< wxValidator * >(argp8);
4069 }
4070 if (obj8) {
4071 {
4072 arg9 = wxString_in_helper(obj8);
4073 if (arg9 == NULL) SWIG_fail;
4074 temp9 = true;
4075 }
4076 }
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 {
4084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4085 }
4086 {
4087 if (temp9)
4088 delete arg9;
4089 }
4090 return resultobj;
4091 fail:
4092 {
4093 if (temp9)
4094 delete arg9;
4095 }
4096 return NULL;
4097 }
4098
4099
4100 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4101 PyObject *resultobj = 0;
4102 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4103 wxBitmap result;
4104 void *argp1 = 0 ;
4105 int res1 = 0 ;
4106 PyObject *swig_obj[1] ;
4107
4108 if (!args) SWIG_fail;
4109 swig_obj[0] = args;
4110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4113 }
4114 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (arg1)->GetBitmapLabel();
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4131 wxBitmap result;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 PyObject *swig_obj[1] ;
4135
4136 if (!args) SWIG_fail;
4137 swig_obj[0] = args;
4138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4139 if (!SWIG_IsOK(res1)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4141 }
4142 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (arg1)->GetBitmapDisabled();
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4157 PyObject *resultobj = 0;
4158 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4159 wxBitmap result;
4160 void *argp1 = 0 ;
4161 int res1 = 0 ;
4162 PyObject *swig_obj[1] ;
4163
4164 if (!args) SWIG_fail;
4165 swig_obj[0] = args;
4166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4167 if (!SWIG_IsOK(res1)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4169 }
4170 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (arg1)->GetBitmapFocus();
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4185 PyObject *resultobj = 0;
4186 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4187 wxBitmap result;
4188 void *argp1 = 0 ;
4189 int res1 = 0 ;
4190 PyObject *swig_obj[1] ;
4191
4192 if (!args) SWIG_fail;
4193 swig_obj[0] = args;
4194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4195 if (!SWIG_IsOK(res1)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4197 }
4198 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (arg1)->GetBitmapSelected();
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4215 wxBitmap result;
4216 void *argp1 = 0 ;
4217 int res1 = 0 ;
4218 PyObject *swig_obj[1] ;
4219
4220 if (!args) SWIG_fail;
4221 swig_obj[0] = args;
4222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4223 if (!SWIG_IsOK(res1)) {
4224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4225 }
4226 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (arg1)->GetBitmapHover();
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj = 0;
4242 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4243 wxBitmap *arg2 = 0 ;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char * kwnames[] = {
4251 (char *) "self",(char *) "bitmap", NULL
4252 };
4253
4254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4256 if (!SWIG_IsOK(res1)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4258 }
4259 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4260 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4261 if (!SWIG_IsOK(res2)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 }
4264 if (!argp2) {
4265 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4266 }
4267 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 resultobj = SWIG_Py_Void();
4275 return resultobj;
4276 fail:
4277 return NULL;
4278 }
4279
4280
4281 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj = 0;
4283 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4284 wxBitmap *arg2 = 0 ;
4285 void *argp1 = 0 ;
4286 int res1 = 0 ;
4287 void *argp2 = 0 ;
4288 int res2 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 char * kwnames[] = {
4292 (char *) "self",(char *) "bitmap", NULL
4293 };
4294
4295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4297 if (!SWIG_IsOK(res1)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4299 }
4300 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4302 if (!SWIG_IsOK(res2)) {
4303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 }
4305 if (!argp2) {
4306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4307 }
4308 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 resultobj = SWIG_Py_Void();
4316 return resultobj;
4317 fail:
4318 return NULL;
4319 }
4320
4321
4322 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj = 0;
4324 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4325 wxBitmap *arg2 = 0 ;
4326 void *argp1 = 0 ;
4327 int res1 = 0 ;
4328 void *argp2 = 0 ;
4329 int res2 = 0 ;
4330 PyObject * obj0 = 0 ;
4331 PyObject * obj1 = 0 ;
4332 char * kwnames[] = {
4333 (char *) "self",(char *) "bitmap", NULL
4334 };
4335
4336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4338 if (!SWIG_IsOK(res1)) {
4339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4340 }
4341 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4342 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4343 if (!SWIG_IsOK(res2)) {
4344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 }
4346 if (!argp2) {
4347 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4348 }
4349 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 resultobj = SWIG_Py_Void();
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj = 0;
4365 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4366 wxBitmap *arg2 = 0 ;
4367 void *argp1 = 0 ;
4368 int res1 = 0 ;
4369 void *argp2 = 0 ;
4370 int res2 = 0 ;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 char * kwnames[] = {
4374 (char *) "self",(char *) "bitmap", NULL
4375 };
4376
4377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4379 if (!SWIG_IsOK(res1)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4381 }
4382 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4384 if (!SWIG_IsOK(res2)) {
4385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4386 }
4387 if (!argp2) {
4388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4389 }
4390 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 resultobj = SWIG_Py_Void();
4398 return resultobj;
4399 fail:
4400 return NULL;
4401 }
4402
4403
4404 SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4405 PyObject *resultobj = 0;
4406 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4407 wxBitmap *arg2 = 0 ;
4408 void *argp1 = 0 ;
4409 int res1 = 0 ;
4410 void *argp2 = 0 ;
4411 int res2 = 0 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 char * kwnames[] = {
4415 (char *) "self",(char *) "hover", NULL
4416 };
4417
4418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4420 if (!SWIG_IsOK(res1)) {
4421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4422 }
4423 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4424 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4425 if (!SWIG_IsOK(res2)) {
4426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4427 }
4428 if (!argp2) {
4429 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4430 }
4431 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 resultobj = SWIG_Py_Void();
4439 return resultobj;
4440 fail:
4441 return NULL;
4442 }
4443
4444
4445 SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4446 PyObject *resultobj = 0;
4447 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4448 int arg2 ;
4449 int arg3 ;
4450 void *argp1 = 0 ;
4451 int res1 = 0 ;
4452 int val2 ;
4453 int ecode2 = 0 ;
4454 int val3 ;
4455 int ecode3 = 0 ;
4456 PyObject * obj0 = 0 ;
4457 PyObject * obj1 = 0 ;
4458 PyObject * obj2 = 0 ;
4459 char * kwnames[] = {
4460 (char *) "self",(char *) "x",(char *) "y", NULL
4461 };
4462
4463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4465 if (!SWIG_IsOK(res1)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4467 }
4468 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4469 ecode2 = SWIG_AsVal_int(obj1, &val2);
4470 if (!SWIG_IsOK(ecode2)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4472 }
4473 arg2 = static_cast< int >(val2);
4474 ecode3 = SWIG_AsVal_int(obj2, &val3);
4475 if (!SWIG_IsOK(ecode3)) {
4476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4477 }
4478 arg3 = static_cast< int >(val3);
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->SetMargins(arg2,arg3);
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = SWIG_Py_Void();
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4493 PyObject *resultobj = 0;
4494 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4495 int result;
4496 void *argp1 = 0 ;
4497 int res1 = 0 ;
4498 PyObject *swig_obj[1] ;
4499
4500 if (!args) SWIG_fail;
4501 swig_obj[0] = args;
4502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4503 if (!SWIG_IsOK(res1)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4505 }
4506 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 }
4513 resultobj = SWIG_From_int(static_cast< int >(result));
4514 return resultobj;
4515 fail:
4516 return NULL;
4517 }
4518
4519
4520 SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4521 PyObject *resultobj = 0;
4522 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4523 int result;
4524 void *argp1 = 0 ;
4525 int res1 = 0 ;
4526 PyObject *swig_obj[1] ;
4527
4528 if (!args) SWIG_fail;
4529 swig_obj[0] = args;
4530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4531 if (!SWIG_IsOK(res1)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4533 }
4534 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 resultobj = SWIG_From_int(static_cast< int >(result));
4542 return resultobj;
4543 fail:
4544 return NULL;
4545 }
4546
4547
4548 SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4549 PyObject *obj;
4550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4551 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4552 return SWIG_Py_Void();
4553 }
4554
4555 SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4556 return SWIG_Python_InitShadowInstance(args);
4557 }
4558
4559 SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4560 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4561 return 1;
4562 }
4563
4564
4565 SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4566 PyObject *pyobj = 0;
4567
4568 {
4569 #if wxUSE_UNICODE
4570 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4571 #else
4572 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4573 #endif
4574 }
4575 return pyobj;
4576 }
4577
4578
4579 SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj = 0;
4581 wxWindow *arg1 = (wxWindow *) 0 ;
4582 int arg2 = (int) -1 ;
4583 wxString const &arg3_defvalue = wxPyEmptyString ;
4584 wxString *arg3 = (wxString *) &arg3_defvalue ;
4585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4587 wxSize const &arg5_defvalue = wxDefaultSize ;
4588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4589 long arg6 = (long) 0 ;
4590 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4591 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4592 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4593 wxString *arg8 = (wxString *) &arg8_defvalue ;
4594 wxCheckBox *result = 0 ;
4595 void *argp1 = 0 ;
4596 int res1 = 0 ;
4597 int val2 ;
4598 int ecode2 = 0 ;
4599 bool temp3 = false ;
4600 wxPoint temp4 ;
4601 wxSize temp5 ;
4602 long val6 ;
4603 int ecode6 = 0 ;
4604 void *argp7 = 0 ;
4605 int res7 = 0 ;
4606 bool temp8 = false ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj1 = 0 ;
4609 PyObject * obj2 = 0 ;
4610 PyObject * obj3 = 0 ;
4611 PyObject * obj4 = 0 ;
4612 PyObject * obj5 = 0 ;
4613 PyObject * obj6 = 0 ;
4614 PyObject * obj7 = 0 ;
4615 char * kwnames[] = {
4616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4617 };
4618
4619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4621 if (!SWIG_IsOK(res1)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4623 }
4624 arg1 = reinterpret_cast< wxWindow * >(argp1);
4625 if (obj1) {
4626 ecode2 = SWIG_AsVal_int(obj1, &val2);
4627 if (!SWIG_IsOK(ecode2)) {
4628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4629 }
4630 arg2 = static_cast< int >(val2);
4631 }
4632 if (obj2) {
4633 {
4634 arg3 = wxString_in_helper(obj2);
4635 if (arg3 == NULL) SWIG_fail;
4636 temp3 = true;
4637 }
4638 }
4639 if (obj3) {
4640 {
4641 arg4 = &temp4;
4642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4643 }
4644 }
4645 if (obj4) {
4646 {
4647 arg5 = &temp5;
4648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4649 }
4650 }
4651 if (obj5) {
4652 ecode6 = SWIG_AsVal_long(obj5, &val6);
4653 if (!SWIG_IsOK(ecode6)) {
4654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4655 }
4656 arg6 = static_cast< long >(val6);
4657 }
4658 if (obj6) {
4659 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4660 if (!SWIG_IsOK(res7)) {
4661 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4662 }
4663 if (!argp7) {
4664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4665 }
4666 arg7 = reinterpret_cast< wxValidator * >(argp7);
4667 }
4668 if (obj7) {
4669 {
4670 arg8 = wxString_in_helper(obj7);
4671 if (arg8 == NULL) SWIG_fail;
4672 temp8 = true;
4673 }
4674 }
4675 {
4676 if (!wxPyCheckForApp()) SWIG_fail;
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4683 {
4684 if (temp3)
4685 delete arg3;
4686 }
4687 {
4688 if (temp8)
4689 delete arg8;
4690 }
4691 return resultobj;
4692 fail:
4693 {
4694 if (temp3)
4695 delete arg3;
4696 }
4697 {
4698 if (temp8)
4699 delete arg8;
4700 }
4701 return NULL;
4702 }
4703
4704
4705 SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxCheckBox *result = 0 ;
4708
4709 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4710 {
4711 if (!wxPyCheckForApp()) SWIG_fail;
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (wxCheckBox *)new wxCheckBox();
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj = 0;
4726 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4727 wxWindow *arg2 = (wxWindow *) 0 ;
4728 int arg3 = (int) -1 ;
4729 wxString const &arg4_defvalue = wxPyEmptyString ;
4730 wxString *arg4 = (wxString *) &arg4_defvalue ;
4731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4733 wxSize const &arg6_defvalue = wxDefaultSize ;
4734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4735 long arg7 = (long) 0 ;
4736 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4737 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4738 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4739 wxString *arg9 = (wxString *) &arg9_defvalue ;
4740 bool result;
4741 void *argp1 = 0 ;
4742 int res1 = 0 ;
4743 void *argp2 = 0 ;
4744 int res2 = 0 ;
4745 int val3 ;
4746 int ecode3 = 0 ;
4747 bool temp4 = false ;
4748 wxPoint temp5 ;
4749 wxSize temp6 ;
4750 long val7 ;
4751 int ecode7 = 0 ;
4752 void *argp8 = 0 ;
4753 int res8 = 0 ;
4754 bool temp9 = false ;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 PyObject * obj3 = 0 ;
4759 PyObject * obj4 = 0 ;
4760 PyObject * obj5 = 0 ;
4761 PyObject * obj6 = 0 ;
4762 PyObject * obj7 = 0 ;
4763 PyObject * obj8 = 0 ;
4764 char * kwnames[] = {
4765 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4766 };
4767
4768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4772 }
4773 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4774 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4775 if (!SWIG_IsOK(res2)) {
4776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4777 }
4778 arg2 = reinterpret_cast< wxWindow * >(argp2);
4779 if (obj2) {
4780 ecode3 = SWIG_AsVal_int(obj2, &val3);
4781 if (!SWIG_IsOK(ecode3)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4783 }
4784 arg3 = static_cast< int >(val3);
4785 }
4786 if (obj3) {
4787 {
4788 arg4 = wxString_in_helper(obj3);
4789 if (arg4 == NULL) SWIG_fail;
4790 temp4 = true;
4791 }
4792 }
4793 if (obj4) {
4794 {
4795 arg5 = &temp5;
4796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4797 }
4798 }
4799 if (obj5) {
4800 {
4801 arg6 = &temp6;
4802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4803 }
4804 }
4805 if (obj6) {
4806 ecode7 = SWIG_AsVal_long(obj6, &val7);
4807 if (!SWIG_IsOK(ecode7)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4809 }
4810 arg7 = static_cast< long >(val7);
4811 }
4812 if (obj7) {
4813 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4814 if (!SWIG_IsOK(res8)) {
4815 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4816 }
4817 if (!argp8) {
4818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4819 }
4820 arg8 = reinterpret_cast< wxValidator * >(argp8);
4821 }
4822 if (obj8) {
4823 {
4824 arg9 = wxString_in_helper(obj8);
4825 if (arg9 == NULL) SWIG_fail;
4826 temp9 = true;
4827 }
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 {
4836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4837 }
4838 {
4839 if (temp4)
4840 delete arg4;
4841 }
4842 {
4843 if (temp9)
4844 delete arg9;
4845 }
4846 return resultobj;
4847 fail:
4848 {
4849 if (temp4)
4850 delete arg4;
4851 }
4852 {
4853 if (temp9)
4854 delete arg9;
4855 }
4856 return NULL;
4857 }
4858
4859
4860 SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4861 PyObject *resultobj = 0;
4862 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4863 bool result;
4864 void *argp1 = 0 ;
4865 int res1 = 0 ;
4866 PyObject *swig_obj[1] ;
4867
4868 if (!args) SWIG_fail;
4869 swig_obj[0] = args;
4870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4871 if (!SWIG_IsOK(res1)) {
4872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4873 }
4874 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 result = (bool)(arg1)->GetValue();
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 {
4882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4883 }
4884 return resultobj;
4885 fail:
4886 return NULL;
4887 }
4888
4889
4890 SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4891 PyObject *resultobj = 0;
4892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4893 bool result;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 PyObject *swig_obj[1] ;
4897
4898 if (!args) SWIG_fail;
4899 swig_obj[0] = args;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4903 }
4904 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 result = (bool)(arg1)->IsChecked();
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 {
4912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4913 }
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4921 PyObject *resultobj = 0;
4922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4923 bool arg2 ;
4924 void *argp1 = 0 ;
4925 int res1 = 0 ;
4926 bool val2 ;
4927 int ecode2 = 0 ;
4928 PyObject * obj0 = 0 ;
4929 PyObject * obj1 = 0 ;
4930 char * kwnames[] = {
4931 (char *) "self",(char *) "state", NULL
4932 };
4933
4934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4938 }
4939 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4940 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4943 }
4944 arg2 = static_cast< bool >(val2);
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 (arg1)->SetValue(arg2);
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 resultobj = SWIG_Py_Void();
4952 return resultobj;
4953 fail:
4954 return NULL;
4955 }
4956
4957
4958 SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4959 PyObject *resultobj = 0;
4960 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4961 wxCheckBoxState result;
4962 void *argp1 = 0 ;
4963 int res1 = 0 ;
4964 PyObject *swig_obj[1] ;
4965
4966 if (!args) SWIG_fail;
4967 swig_obj[0] = args;
4968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4969 if (!SWIG_IsOK(res1)) {
4970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4971 }
4972 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = SWIG_From_int(static_cast< int >(result));
4980 return resultobj;
4981 fail:
4982 return NULL;
4983 }
4984
4985
4986 SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj = 0;
4988 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4989 wxCheckBoxState arg2 ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 int val2 ;
4993 int ecode2 = 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 char * kwnames[] = {
4997 (char *) "self",(char *) "state", NULL
4998 };
4999
5000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
5001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5004 }
5005 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5006 ecode2 = SWIG_AsVal_int(obj1, &val2);
5007 if (!SWIG_IsOK(ecode2)) {
5008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5009 }
5010 arg2 = static_cast< wxCheckBoxState >(val2);
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->Set3StateValue(arg2);
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = SWIG_Py_Void();
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5025 PyObject *resultobj = 0;
5026 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5027 bool result;
5028 void *argp1 = 0 ;
5029 int res1 = 0 ;
5030 PyObject *swig_obj[1] ;
5031
5032 if (!args) SWIG_fail;
5033 swig_obj[0] = args;
5034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5035 if (!SWIG_IsOK(res1)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5037 }
5038 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (bool)((wxCheckBox const *)arg1)->Is3State();
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5047 }
5048 return resultobj;
5049 fail:
5050 return NULL;
5051 }
5052
5053
5054 SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5055 PyObject *resultobj = 0;
5056 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5057 bool result;
5058 void *argp1 = 0 ;
5059 int res1 = 0 ;
5060 PyObject *swig_obj[1] ;
5061
5062 if (!args) SWIG_fail;
5063 swig_obj[0] = args;
5064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5065 if (!SWIG_IsOK(res1)) {
5066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5067 }
5068 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 {
5076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5077 }
5078 return resultobj;
5079 fail:
5080 return NULL;
5081 }
5082
5083
5084 SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj = 0;
5086 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5087 SwigValueWrapper<wxVisualAttributes > result;
5088 int val1 ;
5089 int ecode1 = 0 ;
5090 PyObject * obj0 = 0 ;
5091 char * kwnames[] = {
5092 (char *) "variant", NULL
5093 };
5094
5095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5096 if (obj0) {
5097 ecode1 = SWIG_AsVal_int(obj0, &val1);
5098 if (!SWIG_IsOK(ecode1)) {
5099 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5100 }
5101 arg1 = static_cast< wxWindowVariant >(val1);
5102 }
5103 {
5104 if (!wxPyCheckForApp()) SWIG_fail;
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5118 PyObject *obj;
5119 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5120 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5121 return SWIG_Py_Void();
5122 }
5123
5124 SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5125 return SWIG_Python_InitShadowInstance(args);
5126 }
5127
5128 SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5129 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5130 return 1;
5131 }
5132
5133
5134 SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5135 PyObject *pyobj = 0;
5136
5137 {
5138 #if wxUSE_UNICODE
5139 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5140 #else
5141 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5142 #endif
5143 }
5144 return pyobj;
5145 }
5146
5147
5148 SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxWindow *arg1 = (wxWindow *) 0 ;
5151 int arg2 = (int) -1 ;
5152 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5153 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5154 wxSize const &arg4_defvalue = wxDefaultSize ;
5155 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5156 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5157 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5158 long arg6 = (long) 0 ;
5159 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5160 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5161 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5162 wxString *arg8 = (wxString *) &arg8_defvalue ;
5163 wxChoice *result = 0 ;
5164 void *argp1 = 0 ;
5165 int res1 = 0 ;
5166 int val2 ;
5167 int ecode2 = 0 ;
5168 wxPoint temp3 ;
5169 wxSize temp4 ;
5170 bool temp5 = false ;
5171 long val6 ;
5172 int ecode6 = 0 ;
5173 void *argp7 = 0 ;
5174 int res7 = 0 ;
5175 bool temp8 = false ;
5176 PyObject * obj0 = 0 ;
5177 PyObject * obj1 = 0 ;
5178 PyObject * obj2 = 0 ;
5179 PyObject * obj3 = 0 ;
5180 PyObject * obj4 = 0 ;
5181 PyObject * obj5 = 0 ;
5182 PyObject * obj6 = 0 ;
5183 PyObject * obj7 = 0 ;
5184 char * kwnames[] = {
5185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5186 };
5187
5188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5190 if (!SWIG_IsOK(res1)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5192 }
5193 arg1 = reinterpret_cast< wxWindow * >(argp1);
5194 if (obj1) {
5195 ecode2 = SWIG_AsVal_int(obj1, &val2);
5196 if (!SWIG_IsOK(ecode2)) {
5197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5198 }
5199 arg2 = static_cast< int >(val2);
5200 }
5201 if (obj2) {
5202 {
5203 arg3 = &temp3;
5204 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5205 }
5206 }
5207 if (obj3) {
5208 {
5209 arg4 = &temp4;
5210 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5211 }
5212 }
5213 if (obj4) {
5214 {
5215 if (! PySequence_Check(obj4)) {
5216 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5217 SWIG_fail;
5218 }
5219 arg5 = new wxArrayString;
5220 temp5 = true;
5221 int i, len=PySequence_Length(obj4);
5222 for (i=0; i<len; i++) {
5223 PyObject* item = PySequence_GetItem(obj4, i);
5224 wxString* s = wxString_in_helper(item);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 arg5->Add(*s);
5227 delete s;
5228 Py_DECREF(item);
5229 }
5230 }
5231 }
5232 if (obj5) {
5233 ecode6 = SWIG_AsVal_long(obj5, &val6);
5234 if (!SWIG_IsOK(ecode6)) {
5235 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5236 }
5237 arg6 = static_cast< long >(val6);
5238 }
5239 if (obj6) {
5240 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5241 if (!SWIG_IsOK(res7)) {
5242 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5243 }
5244 if (!argp7) {
5245 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5246 }
5247 arg7 = reinterpret_cast< wxValidator * >(argp7);
5248 }
5249 if (obj7) {
5250 {
5251 arg8 = wxString_in_helper(obj7);
5252 if (arg8 == NULL) SWIG_fail;
5253 temp8 = true;
5254 }
5255 }
5256 {
5257 if (!wxPyCheckForApp()) SWIG_fail;
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5264 {
5265 if (temp5) delete arg5;
5266 }
5267 {
5268 if (temp8)
5269 delete arg8;
5270 }
5271 return resultobj;
5272 fail:
5273 {
5274 if (temp5) delete arg5;
5275 }
5276 {
5277 if (temp8)
5278 delete arg8;
5279 }
5280 return NULL;
5281 }
5282
5283
5284 SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 PyObject *resultobj = 0;
5286 wxChoice *result = 0 ;
5287
5288 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5289 {
5290 if (!wxPyCheckForApp()) SWIG_fail;
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 result = (wxChoice *)new wxChoice();
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj = 0;
5305 wxChoice *arg1 = (wxChoice *) 0 ;
5306 wxWindow *arg2 = (wxWindow *) 0 ;
5307 int arg3 = (int) -1 ;
5308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5310 wxSize const &arg5_defvalue = wxDefaultSize ;
5311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5312 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5313 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5314 long arg7 = (long) 0 ;
5315 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5316 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5317 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5318 wxString *arg9 = (wxString *) &arg9_defvalue ;
5319 bool result;
5320 void *argp1 = 0 ;
5321 int res1 = 0 ;
5322 void *argp2 = 0 ;
5323 int res2 = 0 ;
5324 int val3 ;
5325 int ecode3 = 0 ;
5326 wxPoint temp4 ;
5327 wxSize temp5 ;
5328 bool temp6 = false ;
5329 long val7 ;
5330 int ecode7 = 0 ;
5331 void *argp8 = 0 ;
5332 int res8 = 0 ;
5333 bool temp9 = false ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
5337 PyObject * obj3 = 0 ;
5338 PyObject * obj4 = 0 ;
5339 PyObject * obj5 = 0 ;
5340 PyObject * obj6 = 0 ;
5341 PyObject * obj7 = 0 ;
5342 PyObject * obj8 = 0 ;
5343 char * kwnames[] = {
5344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5345 };
5346
5347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5349 if (!SWIG_IsOK(res1)) {
5350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5351 }
5352 arg1 = reinterpret_cast< wxChoice * >(argp1);
5353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5354 if (!SWIG_IsOK(res2)) {
5355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5356 }
5357 arg2 = reinterpret_cast< wxWindow * >(argp2);
5358 if (obj2) {
5359 ecode3 = SWIG_AsVal_int(obj2, &val3);
5360 if (!SWIG_IsOK(ecode3)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5362 }
5363 arg3 = static_cast< int >(val3);
5364 }
5365 if (obj3) {
5366 {
5367 arg4 = &temp4;
5368 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5369 }
5370 }
5371 if (obj4) {
5372 {
5373 arg5 = &temp5;
5374 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5375 }
5376 }
5377 if (obj5) {
5378 {
5379 if (! PySequence_Check(obj5)) {
5380 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5381 SWIG_fail;
5382 }
5383 arg6 = new wxArrayString;
5384 temp6 = true;
5385 int i, len=PySequence_Length(obj5);
5386 for (i=0; i<len; i++) {
5387 PyObject* item = PySequence_GetItem(obj5, i);
5388 wxString* s = wxString_in_helper(item);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 arg6->Add(*s);
5391 delete s;
5392 Py_DECREF(item);
5393 }
5394 }
5395 }
5396 if (obj6) {
5397 ecode7 = SWIG_AsVal_long(obj6, &val7);
5398 if (!SWIG_IsOK(ecode7)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5400 }
5401 arg7 = static_cast< long >(val7);
5402 }
5403 if (obj7) {
5404 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5405 if (!SWIG_IsOK(res8)) {
5406 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5407 }
5408 if (!argp8) {
5409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5410 }
5411 arg8 = reinterpret_cast< wxValidator * >(argp8);
5412 }
5413 if (obj8) {
5414 {
5415 arg9 = wxString_in_helper(obj8);
5416 if (arg9 == NULL) SWIG_fail;
5417 temp9 = true;
5418 }
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5428 }
5429 {
5430 if (temp6) delete arg6;
5431 }
5432 {
5433 if (temp9)
5434 delete arg9;
5435 }
5436 return resultobj;
5437 fail:
5438 {
5439 if (temp6) delete arg6;
5440 }
5441 {
5442 if (temp9)
5443 delete arg9;
5444 }
5445 return NULL;
5446 }
5447
5448
5449 SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5450 PyObject *resultobj = 0;
5451 wxChoice *arg1 = (wxChoice *) 0 ;
5452 int result;
5453 void *argp1 = 0 ;
5454 int res1 = 0 ;
5455 PyObject *swig_obj[1] ;
5456
5457 if (!args) SWIG_fail;
5458 swig_obj[0] = args;
5459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5460 if (!SWIG_IsOK(res1)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5462 }
5463 arg1 = reinterpret_cast< wxChoice * >(argp1);
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 resultobj = SWIG_From_int(static_cast< int >(result));
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj = 0;
5479 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5480 SwigValueWrapper<wxVisualAttributes > result;
5481 int val1 ;
5482 int ecode1 = 0 ;
5483 PyObject * obj0 = 0 ;
5484 char * kwnames[] = {
5485 (char *) "variant", NULL
5486 };
5487
5488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5489 if (obj0) {
5490 ecode1 = SWIG_AsVal_int(obj0, &val1);
5491 if (!SWIG_IsOK(ecode1)) {
5492 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5493 }
5494 arg1 = static_cast< wxWindowVariant >(val1);
5495 }
5496 {
5497 if (!wxPyCheckForApp()) SWIG_fail;
5498 PyThreadState* __tstate = wxPyBeginAllowThreads();
5499 result = wxChoice::GetClassDefaultAttributes(arg1);
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5511 PyObject *obj;
5512 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5513 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5514 return SWIG_Py_Void();
5515 }
5516
5517 SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5518 return SWIG_Python_InitShadowInstance(args);
5519 }
5520
5521 SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5522 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5523 return 1;
5524 }
5525
5526
5527 SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5528 PyObject *pyobj = 0;
5529
5530 {
5531 #if wxUSE_UNICODE
5532 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5533 #else
5534 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
5535 #endif
5536 }
5537 return pyobj;
5538 }
5539
5540
5541 SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj = 0;
5543 wxWindow *arg1 = (wxWindow *) 0 ;
5544 int arg2 = (int) -1 ;
5545 wxString const &arg3_defvalue = wxPyEmptyString ;
5546 wxString *arg3 = (wxString *) &arg3_defvalue ;
5547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5549 wxSize const &arg5_defvalue = wxDefaultSize ;
5550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5551 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5552 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5553 long arg7 = (long) 0 ;
5554 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5555 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5556 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5557 wxString *arg9 = (wxString *) &arg9_defvalue ;
5558 wxComboBox *result = 0 ;
5559 void *argp1 = 0 ;
5560 int res1 = 0 ;
5561 int val2 ;
5562 int ecode2 = 0 ;
5563 bool temp3 = false ;
5564 wxPoint temp4 ;
5565 wxSize temp5 ;
5566 bool temp6 = false ;
5567 long val7 ;
5568 int ecode7 = 0 ;
5569 void *argp8 = 0 ;
5570 int res8 = 0 ;
5571 bool temp9 = false ;
5572 PyObject * obj0 = 0 ;
5573 PyObject * obj1 = 0 ;
5574 PyObject * obj2 = 0 ;
5575 PyObject * obj3 = 0 ;
5576 PyObject * obj4 = 0 ;
5577 PyObject * obj5 = 0 ;
5578 PyObject * obj6 = 0 ;
5579 PyObject * obj7 = 0 ;
5580 PyObject * obj8 = 0 ;
5581 char * kwnames[] = {
5582 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 };
5584
5585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5587 if (!SWIG_IsOK(res1)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5589 }
5590 arg1 = reinterpret_cast< wxWindow * >(argp1);
5591 if (obj1) {
5592 ecode2 = SWIG_AsVal_int(obj1, &val2);
5593 if (!SWIG_IsOK(ecode2)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5595 }
5596 arg2 = static_cast< int >(val2);
5597 }
5598 if (obj2) {
5599 {
5600 arg3 = wxString_in_helper(obj2);
5601 if (arg3 == NULL) SWIG_fail;
5602 temp3 = true;
5603 }
5604 }
5605 if (obj3) {
5606 {
5607 arg4 = &temp4;
5608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5609 }
5610 }
5611 if (obj4) {
5612 {
5613 arg5 = &temp5;
5614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5615 }
5616 }
5617 if (obj5) {
5618 {
5619 if (! PySequence_Check(obj5)) {
5620 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5621 SWIG_fail;
5622 }
5623 arg6 = new wxArrayString;
5624 temp6 = true;
5625 int i, len=PySequence_Length(obj5);
5626 for (i=0; i<len; i++) {
5627 PyObject* item = PySequence_GetItem(obj5, i);
5628 wxString* s = wxString_in_helper(item);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 arg6->Add(*s);
5631 delete s;
5632 Py_DECREF(item);
5633 }
5634 }
5635 }
5636 if (obj6) {
5637 ecode7 = SWIG_AsVal_long(obj6, &val7);
5638 if (!SWIG_IsOK(ecode7)) {
5639 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5640 }
5641 arg7 = static_cast< long >(val7);
5642 }
5643 if (obj7) {
5644 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5645 if (!SWIG_IsOK(res8)) {
5646 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5647 }
5648 if (!argp8) {
5649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5650 }
5651 arg8 = reinterpret_cast< wxValidator * >(argp8);
5652 }
5653 if (obj8) {
5654 {
5655 arg9 = wxString_in_helper(obj8);
5656 if (arg9 == NULL) SWIG_fail;
5657 temp9 = true;
5658 }
5659 }
5660 {
5661 if (!wxPyCheckForApp()) SWIG_fail;
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 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);
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5668 {
5669 if (temp3)
5670 delete arg3;
5671 }
5672 {
5673 if (temp6) delete arg6;
5674 }
5675 {
5676 if (temp9)
5677 delete arg9;
5678 }
5679 return resultobj;
5680 fail:
5681 {
5682 if (temp3)
5683 delete arg3;
5684 }
5685 {
5686 if (temp6) delete arg6;
5687 }
5688 {
5689 if (temp9)
5690 delete arg9;
5691 }
5692 return NULL;
5693 }
5694
5695
5696 SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5697 PyObject *resultobj = 0;
5698 wxComboBox *result = 0 ;
5699
5700 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5701 {
5702 if (!wxPyCheckForApp()) SWIG_fail;
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (wxComboBox *)new wxComboBox();
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj = 0;
5717 wxComboBox *arg1 = (wxComboBox *) 0 ;
5718 wxWindow *arg2 = (wxWindow *) 0 ;
5719 int arg3 = (int) -1 ;
5720 wxString const &arg4_defvalue = wxPyEmptyString ;
5721 wxString *arg4 = (wxString *) &arg4_defvalue ;
5722 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5723 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5724 wxSize const &arg6_defvalue = wxDefaultSize ;
5725 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5726 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5727 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5728 long arg8 = (long) 0 ;
5729 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5730 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5731 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5732 wxString *arg10 = (wxString *) &arg10_defvalue ;
5733 bool result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 void *argp2 = 0 ;
5737 int res2 = 0 ;
5738 int val3 ;
5739 int ecode3 = 0 ;
5740 bool temp4 = false ;
5741 wxPoint temp5 ;
5742 wxSize temp6 ;
5743 bool temp7 = false ;
5744 long val8 ;
5745 int ecode8 = 0 ;
5746 void *argp9 = 0 ;
5747 int res9 = 0 ;
5748 bool temp10 = false ;
5749 PyObject * obj0 = 0 ;
5750 PyObject * obj1 = 0 ;
5751 PyObject * obj2 = 0 ;
5752 PyObject * obj3 = 0 ;
5753 PyObject * obj4 = 0 ;
5754 PyObject * obj5 = 0 ;
5755 PyObject * obj6 = 0 ;
5756 PyObject * obj7 = 0 ;
5757 PyObject * obj8 = 0 ;
5758 PyObject * obj9 = 0 ;
5759 char * kwnames[] = {
5760 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5761 };
5762
5763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5765 if (!SWIG_IsOK(res1)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5767 }
5768 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5770 if (!SWIG_IsOK(res2)) {
5771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5772 }
5773 arg2 = reinterpret_cast< wxWindow * >(argp2);
5774 if (obj2) {
5775 ecode3 = SWIG_AsVal_int(obj2, &val3);
5776 if (!SWIG_IsOK(ecode3)) {
5777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5778 }
5779 arg3 = static_cast< int >(val3);
5780 }
5781 if (obj3) {
5782 {
5783 arg4 = wxString_in_helper(obj3);
5784 if (arg4 == NULL) SWIG_fail;
5785 temp4 = true;
5786 }
5787 }
5788 if (obj4) {
5789 {
5790 arg5 = &temp5;
5791 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5792 }
5793 }
5794 if (obj5) {
5795 {
5796 arg6 = &temp6;
5797 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5798 }
5799 }
5800 if (obj6) {
5801 {
5802 if (! PySequence_Check(obj6)) {
5803 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5804 SWIG_fail;
5805 }
5806 arg7 = new wxArrayString;
5807 temp7 = true;
5808 int i, len=PySequence_Length(obj6);
5809 for (i=0; i<len; i++) {
5810 PyObject* item = PySequence_GetItem(obj6, i);
5811 wxString* s = wxString_in_helper(item);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 arg7->Add(*s);
5814 delete s;
5815 Py_DECREF(item);
5816 }
5817 }
5818 }
5819 if (obj7) {
5820 ecode8 = SWIG_AsVal_long(obj7, &val8);
5821 if (!SWIG_IsOK(ecode8)) {
5822 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5823 }
5824 arg8 = static_cast< long >(val8);
5825 }
5826 if (obj8) {
5827 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5828 if (!SWIG_IsOK(res9)) {
5829 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5830 }
5831 if (!argp9) {
5832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5833 }
5834 arg9 = reinterpret_cast< wxValidator * >(argp9);
5835 }
5836 if (obj9) {
5837 {
5838 arg10 = wxString_in_helper(obj9);
5839 if (arg10 == NULL) SWIG_fail;
5840 temp10 = true;
5841 }
5842 }
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 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);
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
5850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5851 }
5852 {
5853 if (temp4)
5854 delete arg4;
5855 }
5856 {
5857 if (temp7) delete arg7;
5858 }
5859 {
5860 if (temp10)
5861 delete arg10;
5862 }
5863 return resultobj;
5864 fail:
5865 {
5866 if (temp4)
5867 delete arg4;
5868 }
5869 {
5870 if (temp7) delete arg7;
5871 }
5872 {
5873 if (temp10)
5874 delete arg10;
5875 }
5876 return NULL;
5877 }
5878
5879
5880 SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5881 PyObject *resultobj = 0;
5882 wxComboBox *arg1 = (wxComboBox *) 0 ;
5883 wxString result;
5884 void *argp1 = 0 ;
5885 int res1 = 0 ;
5886 PyObject *swig_obj[1] ;
5887
5888 if (!args) SWIG_fail;
5889 swig_obj[0] = args;
5890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5893 }
5894 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = ((wxComboBox const *)arg1)->GetValue();
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 {
5902 #if wxUSE_UNICODE
5903 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5904 #else
5905 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5906 #endif
5907 }
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj = 0;
5916 wxComboBox *arg1 = (wxComboBox *) 0 ;
5917 wxString *arg2 = 0 ;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 bool temp2 = false ;
5921 PyObject * obj0 = 0 ;
5922 PyObject * obj1 = 0 ;
5923 char * kwnames[] = {
5924 (char *) "self",(char *) "value", NULL
5925 };
5926
5927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5929 if (!SWIG_IsOK(res1)) {
5930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5931 }
5932 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5933 {
5934 arg2 = wxString_in_helper(obj1);
5935 if (arg2 == NULL) SWIG_fail;
5936 temp2 = true;
5937 }
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 (arg1)->SetValue((wxString const &)*arg2);
5941 wxPyEndAllowThreads(__tstate);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 }
5944 resultobj = SWIG_Py_Void();
5945 {
5946 if (temp2)
5947 delete arg2;
5948 }
5949 return resultobj;
5950 fail:
5951 {
5952 if (temp2)
5953 delete arg2;
5954 }
5955 return NULL;
5956 }
5957
5958
5959 SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5960 PyObject *resultobj = 0;
5961 wxComboBox *arg1 = (wxComboBox *) 0 ;
5962 void *argp1 = 0 ;
5963 int res1 = 0 ;
5964 PyObject *swig_obj[1] ;
5965
5966 if (!args) SWIG_fail;
5967 swig_obj[0] = args;
5968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5969 if (!SWIG_IsOK(res1)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5971 }
5972 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 (arg1)->Copy();
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 resultobj = SWIG_Py_Void();
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5987 PyObject *resultobj = 0;
5988 wxComboBox *arg1 = (wxComboBox *) 0 ;
5989 void *argp1 = 0 ;
5990 int res1 = 0 ;
5991 PyObject *swig_obj[1] ;
5992
5993 if (!args) SWIG_fail;
5994 swig_obj[0] = args;
5995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5996 if (!SWIG_IsOK(res1)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5998 }
5999 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 (arg1)->Cut();
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = SWIG_Py_Void();
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6014 PyObject *resultobj = 0;
6015 wxComboBox *arg1 = (wxComboBox *) 0 ;
6016 void *argp1 = 0 ;
6017 int res1 = 0 ;
6018 PyObject *swig_obj[1] ;
6019
6020 if (!args) SWIG_fail;
6021 swig_obj[0] = args;
6022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6023 if (!SWIG_IsOK(res1)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6025 }
6026 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 (arg1)->Paste();
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_Py_Void();
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj = 0;
6042 wxComboBox *arg1 = (wxComboBox *) 0 ;
6043 long arg2 ;
6044 void *argp1 = 0 ;
6045 int res1 = 0 ;
6046 long val2 ;
6047 int ecode2 = 0 ;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6050 char * kwnames[] = {
6051 (char *) "self",(char *) "pos", NULL
6052 };
6053
6054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6056 if (!SWIG_IsOK(res1)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6058 }
6059 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6060 ecode2 = SWIG_AsVal_long(obj1, &val2);
6061 if (!SWIG_IsOK(ecode2)) {
6062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6063 }
6064 arg2 = static_cast< long >(val2);
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 (arg1)->SetInsertionPoint(arg2);
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 resultobj = SWIG_Py_Void();
6072 return resultobj;
6073 fail:
6074 return NULL;
6075 }
6076
6077
6078 SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6079 PyObject *resultobj = 0;
6080 wxComboBox *arg1 = (wxComboBox *) 0 ;
6081 long result;
6082 void *argp1 = 0 ;
6083 int res1 = 0 ;
6084 PyObject *swig_obj[1] ;
6085
6086 if (!args) SWIG_fail;
6087 swig_obj[0] = args;
6088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6089 if (!SWIG_IsOK(res1)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6091 }
6092 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_From_long(static_cast< long >(result));
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6107 PyObject *resultobj = 0;
6108 wxComboBox *arg1 = (wxComboBox *) 0 ;
6109 long result;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 PyObject *swig_obj[1] ;
6113
6114 if (!args) SWIG_fail;
6115 swig_obj[0] = args;
6116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6117 if (!SWIG_IsOK(res1)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6119 }
6120 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_From_long(static_cast< long >(result));
6128 return resultobj;
6129 fail:
6130 return NULL;
6131 }
6132
6133
6134 SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj = 0;
6136 wxComboBox *arg1 = (wxComboBox *) 0 ;
6137 long arg2 ;
6138 long arg3 ;
6139 wxString *arg4 = 0 ;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 long val2 ;
6143 int ecode2 = 0 ;
6144 long val3 ;
6145 int ecode3 = 0 ;
6146 bool temp4 = false ;
6147 PyObject * obj0 = 0 ;
6148 PyObject * obj1 = 0 ;
6149 PyObject * obj2 = 0 ;
6150 PyObject * obj3 = 0 ;
6151 char * kwnames[] = {
6152 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6153 };
6154
6155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6157 if (!SWIG_IsOK(res1)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6159 }
6160 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6161 ecode2 = SWIG_AsVal_long(obj1, &val2);
6162 if (!SWIG_IsOK(ecode2)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6164 }
6165 arg2 = static_cast< long >(val2);
6166 ecode3 = SWIG_AsVal_long(obj2, &val3);
6167 if (!SWIG_IsOK(ecode3)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6169 }
6170 arg3 = static_cast< long >(val3);
6171 {
6172 arg4 = wxString_in_helper(obj3);
6173 if (arg4 == NULL) SWIG_fail;
6174 temp4 = true;
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 resultobj = SWIG_Py_Void();
6183 {
6184 if (temp4)
6185 delete arg4;
6186 }
6187 return resultobj;
6188 fail:
6189 {
6190 if (temp4)
6191 delete arg4;
6192 }
6193 return NULL;
6194 }
6195
6196
6197 SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj = 0;
6199 wxComboBox *arg1 = (wxComboBox *) 0 ;
6200 long arg2 ;
6201 long arg3 ;
6202 void *argp1 = 0 ;
6203 int res1 = 0 ;
6204 long val2 ;
6205 int ecode2 = 0 ;
6206 long val3 ;
6207 int ecode3 = 0 ;
6208 PyObject * obj0 = 0 ;
6209 PyObject * obj1 = 0 ;
6210 PyObject * obj2 = 0 ;
6211 char * kwnames[] = {
6212 (char *) "self",(char *) "from",(char *) "to", NULL
6213 };
6214
6215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6217 if (!SWIG_IsOK(res1)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6219 }
6220 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6221 ecode2 = SWIG_AsVal_long(obj1, &val2);
6222 if (!SWIG_IsOK(ecode2)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6224 }
6225 arg2 = static_cast< long >(val2);
6226 ecode3 = SWIG_AsVal_long(obj2, &val3);
6227 if (!SWIG_IsOK(ecode3)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6229 }
6230 arg3 = static_cast< long >(val3);
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 (arg1)->SetSelection(arg2,arg3);
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = SWIG_Py_Void();
6238 return resultobj;
6239 fail:
6240 return NULL;
6241 }
6242
6243
6244 SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6245 PyObject *resultobj = 0;
6246 wxComboBox *arg1 = (wxComboBox *) 0 ;
6247 int result;
6248 void *argp1 = 0 ;
6249 int res1 = 0 ;
6250 PyObject *swig_obj[1] ;
6251
6252 if (!args) SWIG_fail;
6253 swig_obj[0] = args;
6254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6255 if (!SWIG_IsOK(res1)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6257 }
6258 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 resultobj = SWIG_From_int(static_cast< int >(result));
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj = 0;
6274 wxComboBox *arg1 = (wxComboBox *) 0 ;
6275 wxString *arg2 = 0 ;
6276 bool result;
6277 void *argp1 = 0 ;
6278 int res1 = 0 ;
6279 bool temp2 = false ;
6280 PyObject * obj0 = 0 ;
6281 PyObject * obj1 = 0 ;
6282 char * kwnames[] = {
6283 (char *) "self",(char *) "string", NULL
6284 };
6285
6286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6288 if (!SWIG_IsOK(res1)) {
6289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6290 }
6291 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6292 {
6293 arg2 = wxString_in_helper(obj1);
6294 if (arg2 == NULL) SWIG_fail;
6295 temp2 = true;
6296 }
6297 {
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 {
6304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6305 }
6306 {
6307 if (temp2)
6308 delete arg2;
6309 }
6310 return resultobj;
6311 fail:
6312 {
6313 if (temp2)
6314 delete arg2;
6315 }
6316 return NULL;
6317 }
6318
6319
6320 SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj = 0;
6322 wxComboBox *arg1 = (wxComboBox *) 0 ;
6323 bool arg2 ;
6324 void *argp1 = 0 ;
6325 int res1 = 0 ;
6326 bool val2 ;
6327 int ecode2 = 0 ;
6328 PyObject * obj0 = 0 ;
6329 PyObject * obj1 = 0 ;
6330 char * kwnames[] = {
6331 (char *) "self",(char *) "editable", NULL
6332 };
6333
6334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6336 if (!SWIG_IsOK(res1)) {
6337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6338 }
6339 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6340 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6341 if (!SWIG_IsOK(ecode2)) {
6342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6343 }
6344 arg2 = static_cast< bool >(val2);
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 (arg1)->SetEditable(arg2);
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 resultobj = SWIG_Py_Void();
6352 return resultobj;
6353 fail:
6354 return NULL;
6355 }
6356
6357
6358 SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6359 PyObject *resultobj = 0;
6360 wxComboBox *arg1 = (wxComboBox *) 0 ;
6361 void *argp1 = 0 ;
6362 int res1 = 0 ;
6363 PyObject *swig_obj[1] ;
6364
6365 if (!args) SWIG_fail;
6366 swig_obj[0] = args;
6367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6368 if (!SWIG_IsOK(res1)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6370 }
6371 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 (arg1)->SetInsertionPointEnd();
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = SWIG_Py_Void();
6379 return resultobj;
6380 fail:
6381 return NULL;
6382 }
6383
6384
6385 SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj = 0;
6387 wxComboBox *arg1 = (wxComboBox *) 0 ;
6388 long arg2 ;
6389 long arg3 ;
6390 void *argp1 = 0 ;
6391 int res1 = 0 ;
6392 long val2 ;
6393 int ecode2 = 0 ;
6394 long val3 ;
6395 int ecode3 = 0 ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 PyObject * obj2 = 0 ;
6399 char * kwnames[] = {
6400 (char *) "self",(char *) "from",(char *) "to", NULL
6401 };
6402
6403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6405 if (!SWIG_IsOK(res1)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6407 }
6408 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6409 ecode2 = SWIG_AsVal_long(obj1, &val2);
6410 if (!SWIG_IsOK(ecode2)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6412 }
6413 arg2 = static_cast< long >(val2);
6414 ecode3 = SWIG_AsVal_long(obj2, &val3);
6415 if (!SWIG_IsOK(ecode3)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6417 }
6418 arg3 = static_cast< long >(val3);
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 (arg1)->Remove(arg2,arg3);
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_Py_Void();
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6433 PyObject *resultobj = 0;
6434 wxComboBox *arg1 = (wxComboBox *) 0 ;
6435 bool result;
6436 void *argp1 = 0 ;
6437 int res1 = 0 ;
6438 PyObject *swig_obj[1] ;
6439
6440 if (!args) SWIG_fail;
6441 swig_obj[0] = args;
6442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6443 if (!SWIG_IsOK(res1)) {
6444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6445 }
6446 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) SWIG_fail;
6452 }
6453 {
6454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6455 }
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6463 PyObject *resultobj = 0;
6464 wxComboBox *arg1 = (wxComboBox *) 0 ;
6465 void *argp1 = 0 ;
6466 int res1 = 0 ;
6467 PyObject *swig_obj[1] ;
6468
6469 if (!args) SWIG_fail;
6470 swig_obj[0] = args;
6471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6472 if (!SWIG_IsOK(res1)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6474 }
6475 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->Undo();
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_Py_Void();
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 PyObject *resultobj = 0;
6491 wxComboBox *arg1 = (wxComboBox *) 0 ;
6492 void *argp1 = 0 ;
6493 int res1 = 0 ;
6494 PyObject *swig_obj[1] ;
6495
6496 if (!args) SWIG_fail;
6497 swig_obj[0] = args;
6498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6501 }
6502 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->Redo();
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_Py_Void();
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6517 PyObject *resultobj = 0;
6518 wxComboBox *arg1 = (wxComboBox *) 0 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 PyObject *swig_obj[1] ;
6522
6523 if (!args) SWIG_fail;
6524 swig_obj[0] = args;
6525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6526 if (!SWIG_IsOK(res1)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6528 }
6529 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 (arg1)->SelectAll();
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 resultobj = SWIG_Py_Void();
6537 return resultobj;
6538 fail:
6539 return NULL;
6540 }
6541
6542
6543 SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6544 PyObject *resultobj = 0;
6545 wxComboBox *arg1 = (wxComboBox *) 0 ;
6546 bool result;
6547 void *argp1 = 0 ;
6548 int res1 = 0 ;
6549 PyObject *swig_obj[1] ;
6550
6551 if (!args) SWIG_fail;
6552 swig_obj[0] = args;
6553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6554 if (!SWIG_IsOK(res1)) {
6555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6556 }
6557 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 {
6565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6566 }
6567 return resultobj;
6568 fail:
6569 return NULL;
6570 }
6571
6572
6573 SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6574 PyObject *resultobj = 0;
6575 wxComboBox *arg1 = (wxComboBox *) 0 ;
6576 bool result;
6577 void *argp1 = 0 ;
6578 int res1 = 0 ;
6579 PyObject *swig_obj[1] ;
6580
6581 if (!args) SWIG_fail;
6582 swig_obj[0] = args;
6583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6584 if (!SWIG_IsOK(res1)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6586 }
6587 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 result = (bool)((wxComboBox const *)arg1)->CanCut();
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 {
6595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6596 }
6597 return resultobj;
6598 fail:
6599 return NULL;
6600 }
6601
6602
6603 SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6604 PyObject *resultobj = 0;
6605 wxComboBox *arg1 = (wxComboBox *) 0 ;
6606 bool result;
6607 void *argp1 = 0 ;
6608 int res1 = 0 ;
6609 PyObject *swig_obj[1] ;
6610
6611 if (!args) SWIG_fail;
6612 swig_obj[0] = args;
6613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6614 if (!SWIG_IsOK(res1)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6616 }
6617 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
6625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6626 }
6627 return resultobj;
6628 fail:
6629 return NULL;
6630 }
6631
6632
6633 SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6634 PyObject *resultobj = 0;
6635 wxComboBox *arg1 = (wxComboBox *) 0 ;
6636 bool result;
6637 void *argp1 = 0 ;
6638 int res1 = 0 ;
6639 PyObject *swig_obj[1] ;
6640
6641 if (!args) SWIG_fail;
6642 swig_obj[0] = args;
6643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6644 if (!SWIG_IsOK(res1)) {
6645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6646 }
6647 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 {
6655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6656 }
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6664 PyObject *resultobj = 0;
6665 wxComboBox *arg1 = (wxComboBox *) 0 ;
6666 bool result;
6667 void *argp1 = 0 ;
6668 int res1 = 0 ;
6669 PyObject *swig_obj[1] ;
6670
6671 if (!args) SWIG_fail;
6672 swig_obj[0] = args;
6673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6674 if (!SWIG_IsOK(res1)) {
6675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6676 }
6677 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6678 {
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj = 0;
6695 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6696 SwigValueWrapper<wxVisualAttributes > result;
6697 int val1 ;
6698 int ecode1 = 0 ;
6699 PyObject * obj0 = 0 ;
6700 char * kwnames[] = {
6701 (char *) "variant", NULL
6702 };
6703
6704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6705 if (obj0) {
6706 ecode1 = SWIG_AsVal_int(obj0, &val1);
6707 if (!SWIG_IsOK(ecode1)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6709 }
6710 arg1 = static_cast< wxWindowVariant >(val1);
6711 }
6712 {
6713 if (!wxPyCheckForApp()) SWIG_fail;
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
6715 result = wxComboBox::GetClassDefaultAttributes(arg1);
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6727 PyObject *obj;
6728 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6729 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6730 return SWIG_Py_Void();
6731 }
6732
6733 SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6734 return SWIG_Python_InitShadowInstance(args);
6735 }
6736
6737 SWIGINTERN int GaugeNameStr_set(PyObject *) {
6738 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6739 return 1;
6740 }
6741
6742
6743 SWIGINTERN PyObject *GaugeNameStr_get(void) {
6744 PyObject *pyobj = 0;
6745
6746 {
6747 #if wxUSE_UNICODE
6748 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6749 #else
6750 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6751 #endif
6752 }
6753 return pyobj;
6754 }
6755
6756
6757 SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj = 0;
6759 wxWindow *arg1 = (wxWindow *) 0 ;
6760 int arg2 = (int) -1 ;
6761 int arg3 = (int) 100 ;
6762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6764 wxSize const &arg5_defvalue = wxDefaultSize ;
6765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6766 long arg6 = (long) wxGA_HORIZONTAL ;
6767 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6768 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6769 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6770 wxString *arg8 = (wxString *) &arg8_defvalue ;
6771 wxGauge *result = 0 ;
6772 void *argp1 = 0 ;
6773 int res1 = 0 ;
6774 int val2 ;
6775 int ecode2 = 0 ;
6776 int val3 ;
6777 int ecode3 = 0 ;
6778 wxPoint temp4 ;
6779 wxSize temp5 ;
6780 long val6 ;
6781 int ecode6 = 0 ;
6782 void *argp7 = 0 ;
6783 int res7 = 0 ;
6784 bool temp8 = false ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 PyObject * obj2 = 0 ;
6788 PyObject * obj3 = 0 ;
6789 PyObject * obj4 = 0 ;
6790 PyObject * obj5 = 0 ;
6791 PyObject * obj6 = 0 ;
6792 PyObject * obj7 = 0 ;
6793 char * kwnames[] = {
6794 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6795 };
6796
6797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6799 if (!SWIG_IsOK(res1)) {
6800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6801 }
6802 arg1 = reinterpret_cast< wxWindow * >(argp1);
6803 if (obj1) {
6804 ecode2 = SWIG_AsVal_int(obj1, &val2);
6805 if (!SWIG_IsOK(ecode2)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6807 }
6808 arg2 = static_cast< int >(val2);
6809 }
6810 if (obj2) {
6811 ecode3 = SWIG_AsVal_int(obj2, &val3);
6812 if (!SWIG_IsOK(ecode3)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6814 }
6815 arg3 = static_cast< int >(val3);
6816 }
6817 if (obj3) {
6818 {
6819 arg4 = &temp4;
6820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6821 }
6822 }
6823 if (obj4) {
6824 {
6825 arg5 = &temp5;
6826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6827 }
6828 }
6829 if (obj5) {
6830 ecode6 = SWIG_AsVal_long(obj5, &val6);
6831 if (!SWIG_IsOK(ecode6)) {
6832 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6833 }
6834 arg6 = static_cast< long >(val6);
6835 }
6836 if (obj6) {
6837 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6838 if (!SWIG_IsOK(res7)) {
6839 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6840 }
6841 if (!argp7) {
6842 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6843 }
6844 arg7 = reinterpret_cast< wxValidator * >(argp7);
6845 }
6846 if (obj7) {
6847 {
6848 arg8 = wxString_in_helper(obj7);
6849 if (arg8 == NULL) SWIG_fail;
6850 temp8 = true;
6851 }
6852 }
6853 {
6854 if (!wxPyCheckForApp()) SWIG_fail;
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6861 {
6862 if (temp8)
6863 delete arg8;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (temp8)
6869 delete arg8;
6870 }
6871 return NULL;
6872 }
6873
6874
6875 SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6876 PyObject *resultobj = 0;
6877 wxGauge *result = 0 ;
6878
6879 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6880 {
6881 if (!wxPyCheckForApp()) SWIG_fail;
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 result = (wxGauge *)new wxGauge();
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6888 return resultobj;
6889 fail:
6890 return NULL;
6891 }
6892
6893
6894 SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj = 0;
6896 wxGauge *arg1 = (wxGauge *) 0 ;
6897 wxWindow *arg2 = (wxWindow *) 0 ;
6898 int arg3 = (int) -1 ;
6899 int arg4 = (int) 100 ;
6900 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6901 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6902 wxSize const &arg6_defvalue = wxDefaultSize ;
6903 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6904 long arg7 = (long) wxGA_HORIZONTAL ;
6905 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6906 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6907 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6908 wxString *arg9 = (wxString *) &arg9_defvalue ;
6909 bool result;
6910 void *argp1 = 0 ;
6911 int res1 = 0 ;
6912 void *argp2 = 0 ;
6913 int res2 = 0 ;
6914 int val3 ;
6915 int ecode3 = 0 ;
6916 int val4 ;
6917 int ecode4 = 0 ;
6918 wxPoint temp5 ;
6919 wxSize temp6 ;
6920 long val7 ;
6921 int ecode7 = 0 ;
6922 void *argp8 = 0 ;
6923 int res8 = 0 ;
6924 bool temp9 = false ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 PyObject * obj2 = 0 ;
6928 PyObject * obj3 = 0 ;
6929 PyObject * obj4 = 0 ;
6930 PyObject * obj5 = 0 ;
6931 PyObject * obj6 = 0 ;
6932 PyObject * obj7 = 0 ;
6933 PyObject * obj8 = 0 ;
6934 char * kwnames[] = {
6935 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6936 };
6937
6938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6940 if (!SWIG_IsOK(res1)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6942 }
6943 arg1 = reinterpret_cast< wxGauge * >(argp1);
6944 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6945 if (!SWIG_IsOK(res2)) {
6946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6947 }
6948 arg2 = reinterpret_cast< wxWindow * >(argp2);
6949 if (obj2) {
6950 ecode3 = SWIG_AsVal_int(obj2, &val3);
6951 if (!SWIG_IsOK(ecode3)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6953 }
6954 arg3 = static_cast< int >(val3);
6955 }
6956 if (obj3) {
6957 ecode4 = SWIG_AsVal_int(obj3, &val4);
6958 if (!SWIG_IsOK(ecode4)) {
6959 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6960 }
6961 arg4 = static_cast< int >(val4);
6962 }
6963 if (obj4) {
6964 {
6965 arg5 = &temp5;
6966 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6967 }
6968 }
6969 if (obj5) {
6970 {
6971 arg6 = &temp6;
6972 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6973 }
6974 }
6975 if (obj6) {
6976 ecode7 = SWIG_AsVal_long(obj6, &val7);
6977 if (!SWIG_IsOK(ecode7)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6979 }
6980 arg7 = static_cast< long >(val7);
6981 }
6982 if (obj7) {
6983 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6984 if (!SWIG_IsOK(res8)) {
6985 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6986 }
6987 if (!argp8) {
6988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6989 }
6990 arg8 = reinterpret_cast< wxValidator * >(argp8);
6991 }
6992 if (obj8) {
6993 {
6994 arg9 = wxString_in_helper(obj8);
6995 if (arg9 == NULL) SWIG_fail;
6996 temp9 = true;
6997 }
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 {
7006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7007 }
7008 {
7009 if (temp9)
7010 delete arg9;
7011 }
7012 return resultobj;
7013 fail:
7014 {
7015 if (temp9)
7016 delete arg9;
7017 }
7018 return NULL;
7019 }
7020
7021
7022 SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj = 0;
7024 wxGauge *arg1 = (wxGauge *) 0 ;
7025 int arg2 ;
7026 void *argp1 = 0 ;
7027 int res1 = 0 ;
7028 int val2 ;
7029 int ecode2 = 0 ;
7030 PyObject * obj0 = 0 ;
7031 PyObject * obj1 = 0 ;
7032 char * kwnames[] = {
7033 (char *) "self",(char *) "range", NULL
7034 };
7035
7036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7038 if (!SWIG_IsOK(res1)) {
7039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7040 }
7041 arg1 = reinterpret_cast< wxGauge * >(argp1);
7042 ecode2 = SWIG_AsVal_int(obj1, &val2);
7043 if (!SWIG_IsOK(ecode2)) {
7044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7045 }
7046 arg2 = static_cast< int >(val2);
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->SetRange(arg2);
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_Py_Void();
7054 return resultobj;
7055 fail:
7056 return NULL;
7057 }
7058
7059
7060 SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7061 PyObject *resultobj = 0;
7062 wxGauge *arg1 = (wxGauge *) 0 ;
7063 int result;
7064 void *argp1 = 0 ;
7065 int res1 = 0 ;
7066 PyObject *swig_obj[1] ;
7067
7068 if (!args) SWIG_fail;
7069 swig_obj[0] = args;
7070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7073 }
7074 arg1 = reinterpret_cast< wxGauge * >(argp1);
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 result = (int)((wxGauge const *)arg1)->GetRange();
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 resultobj = SWIG_From_int(static_cast< int >(result));
7082 return resultobj;
7083 fail:
7084 return NULL;
7085 }
7086
7087
7088 SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj = 0;
7090 wxGauge *arg1 = (wxGauge *) 0 ;
7091 int arg2 ;
7092 void *argp1 = 0 ;
7093 int res1 = 0 ;
7094 int val2 ;
7095 int ecode2 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char * kwnames[] = {
7099 (char *) "self",(char *) "pos", NULL
7100 };
7101
7102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7104 if (!SWIG_IsOK(res1)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7106 }
7107 arg1 = reinterpret_cast< wxGauge * >(argp1);
7108 ecode2 = SWIG_AsVal_int(obj1, &val2);
7109 if (!SWIG_IsOK(ecode2)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7111 }
7112 arg2 = static_cast< int >(val2);
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetValue(arg2);
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_Py_Void();
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7127 PyObject *resultobj = 0;
7128 wxGauge *arg1 = (wxGauge *) 0 ;
7129 int result;
7130 void *argp1 = 0 ;
7131 int res1 = 0 ;
7132 PyObject *swig_obj[1] ;
7133
7134 if (!args) SWIG_fail;
7135 swig_obj[0] = args;
7136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7137 if (!SWIG_IsOK(res1)) {
7138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7139 }
7140 arg1 = reinterpret_cast< wxGauge * >(argp1);
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 result = (int)((wxGauge const *)arg1)->GetValue();
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 resultobj = SWIG_From_int(static_cast< int >(result));
7148 return resultobj;
7149 fail:
7150 return NULL;
7151 }
7152
7153
7154 SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7155 PyObject *resultobj = 0;
7156 wxGauge *arg1 = (wxGauge *) 0 ;
7157 void *argp1 = 0 ;
7158 int res1 = 0 ;
7159 PyObject *swig_obj[1] ;
7160
7161 if (!args) SWIG_fail;
7162 swig_obj[0] = args;
7163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7164 if (!SWIG_IsOK(res1)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7166 }
7167 arg1 = reinterpret_cast< wxGauge * >(argp1);
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 (arg1)->Pulse();
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 resultobj = SWIG_Py_Void();
7175 return resultobj;
7176 fail:
7177 return NULL;
7178 }
7179
7180
7181 SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7182 PyObject *resultobj = 0;
7183 wxGauge *arg1 = (wxGauge *) 0 ;
7184 bool result;
7185 void *argp1 = 0 ;
7186 int res1 = 0 ;
7187 PyObject *swig_obj[1] ;
7188
7189 if (!args) SWIG_fail;
7190 swig_obj[0] = args;
7191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7192 if (!SWIG_IsOK(res1)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7194 }
7195 arg1 = reinterpret_cast< wxGauge * >(argp1);
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)((wxGauge const *)arg1)->IsVertical();
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7204 }
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj = 0;
7213 wxGauge *arg1 = (wxGauge *) 0 ;
7214 int arg2 ;
7215 void *argp1 = 0 ;
7216 int res1 = 0 ;
7217 int val2 ;
7218 int ecode2 = 0 ;
7219 PyObject * obj0 = 0 ;
7220 PyObject * obj1 = 0 ;
7221 char * kwnames[] = {
7222 (char *) "self",(char *) "w", NULL
7223 };
7224
7225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7227 if (!SWIG_IsOK(res1)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7229 }
7230 arg1 = reinterpret_cast< wxGauge * >(argp1);
7231 ecode2 = SWIG_AsVal_int(obj1, &val2);
7232 if (!SWIG_IsOK(ecode2)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7234 }
7235 arg2 = static_cast< int >(val2);
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->SetShadowWidth(arg2);
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_Py_Void();
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7250 PyObject *resultobj = 0;
7251 wxGauge *arg1 = (wxGauge *) 0 ;
7252 int result;
7253 void *argp1 = 0 ;
7254 int res1 = 0 ;
7255 PyObject *swig_obj[1] ;
7256
7257 if (!args) SWIG_fail;
7258 swig_obj[0] = args;
7259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7260 if (!SWIG_IsOK(res1)) {
7261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7262 }
7263 arg1 = reinterpret_cast< wxGauge * >(argp1);
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_From_int(static_cast< int >(result));
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj = 0;
7279 wxGauge *arg1 = (wxGauge *) 0 ;
7280 int arg2 ;
7281 void *argp1 = 0 ;
7282 int res1 = 0 ;
7283 int val2 ;
7284 int ecode2 = 0 ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 char * kwnames[] = {
7288 (char *) "self",(char *) "w", NULL
7289 };
7290
7291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7293 if (!SWIG_IsOK(res1)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7295 }
7296 arg1 = reinterpret_cast< wxGauge * >(argp1);
7297 ecode2 = SWIG_AsVal_int(obj1, &val2);
7298 if (!SWIG_IsOK(ecode2)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7300 }
7301 arg2 = static_cast< int >(val2);
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->SetBezelFace(arg2);
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 resultobj = SWIG_Py_Void();
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7316 PyObject *resultobj = 0;
7317 wxGauge *arg1 = (wxGauge *) 0 ;
7318 int result;
7319 void *argp1 = 0 ;
7320 int res1 = 0 ;
7321 PyObject *swig_obj[1] ;
7322
7323 if (!args) SWIG_fail;
7324 swig_obj[0] = args;
7325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7326 if (!SWIG_IsOK(res1)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7328 }
7329 arg1 = reinterpret_cast< wxGauge * >(argp1);
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 resultobj = SWIG_From_int(static_cast< int >(result));
7337 return resultobj;
7338 fail:
7339 return NULL;
7340 }
7341
7342
7343 SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7344 PyObject *resultobj = 0;
7345 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7346 SwigValueWrapper<wxVisualAttributes > result;
7347 int val1 ;
7348 int ecode1 = 0 ;
7349 PyObject * obj0 = 0 ;
7350 char * kwnames[] = {
7351 (char *) "variant", NULL
7352 };
7353
7354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7355 if (obj0) {
7356 ecode1 = SWIG_AsVal_int(obj0, &val1);
7357 if (!SWIG_IsOK(ecode1)) {
7358 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7359 }
7360 arg1 = static_cast< wxWindowVariant >(val1);
7361 }
7362 {
7363 if (!wxPyCheckForApp()) SWIG_fail;
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 result = wxGauge::GetClassDefaultAttributes(arg1);
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7377 PyObject *obj;
7378 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7379 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7380 return SWIG_Py_Void();
7381 }
7382
7383 SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7384 return SWIG_Python_InitShadowInstance(args);
7385 }
7386
7387 SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7388 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7389 return 1;
7390 }
7391
7392
7393 SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7394 PyObject *pyobj = 0;
7395
7396 {
7397 #if wxUSE_UNICODE
7398 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7399 #else
7400 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
7401 #endif
7402 }
7403 return pyobj;
7404 }
7405
7406
7407 SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7408 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7409 return 1;
7410 }
7411
7412
7413 SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7414 PyObject *pyobj = 0;
7415
7416 {
7417 #if wxUSE_UNICODE
7418 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7419 #else
7420 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7421 #endif
7422 }
7423 return pyobj;
7424 }
7425
7426
7427 SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7428 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7429 return 1;
7430 }
7431
7432
7433 SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7434 PyObject *pyobj = 0;
7435
7436 {
7437 #if wxUSE_UNICODE
7438 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7439 #else
7440 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7441 #endif
7442 }
7443 return pyobj;
7444 }
7445
7446
7447 SWIGINTERN int StaticLineNameStr_set(PyObject *) {
7448 SWIG_Error(SWIG_AttributeError,"Variable StaticLineNameStr is read-only.");
7449 return 1;
7450 }
7451
7452
7453 SWIGINTERN PyObject *StaticLineNameStr_get(void) {
7454 PyObject *pyobj = 0;
7455
7456 {
7457 #if wxUSE_UNICODE
7458 pyobj = PyUnicode_FromWideChar((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7459 #else
7460 pyobj = PyString_FromStringAndSize((&wxPyStaticLineNameStr)->c_str(), (&wxPyStaticLineNameStr)->Len());
7461 #endif
7462 }
7463 return pyobj;
7464 }
7465
7466
7467 SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj = 0;
7469 wxWindow *arg1 = (wxWindow *) 0 ;
7470 int arg2 = (int) -1 ;
7471 wxString const &arg3_defvalue = wxPyEmptyString ;
7472 wxString *arg3 = (wxString *) &arg3_defvalue ;
7473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7475 wxSize const &arg5_defvalue = wxDefaultSize ;
7476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7477 long arg6 = (long) 0 ;
7478 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7479 wxString *arg7 = (wxString *) &arg7_defvalue ;
7480 wxStaticBox *result = 0 ;
7481 void *argp1 = 0 ;
7482 int res1 = 0 ;
7483 int val2 ;
7484 int ecode2 = 0 ;
7485 bool temp3 = false ;
7486 wxPoint temp4 ;
7487 wxSize temp5 ;
7488 long val6 ;
7489 int ecode6 = 0 ;
7490 bool temp7 = false ;
7491 PyObject * obj0 = 0 ;
7492 PyObject * obj1 = 0 ;
7493 PyObject * obj2 = 0 ;
7494 PyObject * obj3 = 0 ;
7495 PyObject * obj4 = 0 ;
7496 PyObject * obj5 = 0 ;
7497 PyObject * obj6 = 0 ;
7498 char * kwnames[] = {
7499 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7500 };
7501
7502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7504 if (!SWIG_IsOK(res1)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7506 }
7507 arg1 = reinterpret_cast< wxWindow * >(argp1);
7508 if (obj1) {
7509 ecode2 = SWIG_AsVal_int(obj1, &val2);
7510 if (!SWIG_IsOK(ecode2)) {
7511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7512 }
7513 arg2 = static_cast< int >(val2);
7514 }
7515 if (obj2) {
7516 {
7517 arg3 = wxString_in_helper(obj2);
7518 if (arg3 == NULL) SWIG_fail;
7519 temp3 = true;
7520 }
7521 }
7522 if (obj3) {
7523 {
7524 arg4 = &temp4;
7525 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7526 }
7527 }
7528 if (obj4) {
7529 {
7530 arg5 = &temp5;
7531 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7532 }
7533 }
7534 if (obj5) {
7535 ecode6 = SWIG_AsVal_long(obj5, &val6);
7536 if (!SWIG_IsOK(ecode6)) {
7537 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7538 }
7539 arg6 = static_cast< long >(val6);
7540 }
7541 if (obj6) {
7542 {
7543 arg7 = wxString_in_helper(obj6);
7544 if (arg7 == NULL) SWIG_fail;
7545 temp7 = true;
7546 }
7547 }
7548 {
7549 if (!wxPyCheckForApp()) SWIG_fail;
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7556 {
7557 if (temp3)
7558 delete arg3;
7559 }
7560 {
7561 if (temp7)
7562 delete arg7;
7563 }
7564 return resultobj;
7565 fail:
7566 {
7567 if (temp3)
7568 delete arg3;
7569 }
7570 {
7571 if (temp7)
7572 delete arg7;
7573 }
7574 return NULL;
7575 }
7576
7577
7578 SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7579 PyObject *resultobj = 0;
7580 wxStaticBox *result = 0 ;
7581
7582 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7583 {
7584 if (!wxPyCheckForApp()) SWIG_fail;
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (wxStaticBox *)new wxStaticBox();
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj = 0;
7599 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7600 wxWindow *arg2 = (wxWindow *) 0 ;
7601 int arg3 = (int) -1 ;
7602 wxString const &arg4_defvalue = wxPyEmptyString ;
7603 wxString *arg4 = (wxString *) &arg4_defvalue ;
7604 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7605 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7606 wxSize const &arg6_defvalue = wxDefaultSize ;
7607 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7608 long arg7 = (long) 0 ;
7609 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7610 wxString *arg8 = (wxString *) &arg8_defvalue ;
7611 bool result;
7612 void *argp1 = 0 ;
7613 int res1 = 0 ;
7614 void *argp2 = 0 ;
7615 int res2 = 0 ;
7616 int val3 ;
7617 int ecode3 = 0 ;
7618 bool temp4 = false ;
7619 wxPoint temp5 ;
7620 wxSize temp6 ;
7621 long val7 ;
7622 int ecode7 = 0 ;
7623 bool temp8 = false ;
7624 PyObject * obj0 = 0 ;
7625 PyObject * obj1 = 0 ;
7626 PyObject * obj2 = 0 ;
7627 PyObject * obj3 = 0 ;
7628 PyObject * obj4 = 0 ;
7629 PyObject * obj5 = 0 ;
7630 PyObject * obj6 = 0 ;
7631 PyObject * obj7 = 0 ;
7632 char * kwnames[] = {
7633 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7634 };
7635
7636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7638 if (!SWIG_IsOK(res1)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7640 }
7641 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7642 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7643 if (!SWIG_IsOK(res2)) {
7644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7645 }
7646 arg2 = reinterpret_cast< wxWindow * >(argp2);
7647 if (obj2) {
7648 ecode3 = SWIG_AsVal_int(obj2, &val3);
7649 if (!SWIG_IsOK(ecode3)) {
7650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7651 }
7652 arg3 = static_cast< int >(val3);
7653 }
7654 if (obj3) {
7655 {
7656 arg4 = wxString_in_helper(obj3);
7657 if (arg4 == NULL) SWIG_fail;
7658 temp4 = true;
7659 }
7660 }
7661 if (obj4) {
7662 {
7663 arg5 = &temp5;
7664 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7665 }
7666 }
7667 if (obj5) {
7668 {
7669 arg6 = &temp6;
7670 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7671 }
7672 }
7673 if (obj6) {
7674 ecode7 = SWIG_AsVal_long(obj6, &val7);
7675 if (!SWIG_IsOK(ecode7)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7677 }
7678 arg7 = static_cast< long >(val7);
7679 }
7680 if (obj7) {
7681 {
7682 arg8 = wxString_in_helper(obj7);
7683 if (arg8 == NULL) SWIG_fail;
7684 temp8 = true;
7685 }
7686 }
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 {
7694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7695 }
7696 {
7697 if (temp4)
7698 delete arg4;
7699 }
7700 {
7701 if (temp8)
7702 delete arg8;
7703 }
7704 return resultobj;
7705 fail:
7706 {
7707 if (temp4)
7708 delete arg4;
7709 }
7710 {
7711 if (temp8)
7712 delete arg8;
7713 }
7714 return NULL;
7715 }
7716
7717
7718 SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj = 0;
7720 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7721 SwigValueWrapper<wxVisualAttributes > result;
7722 int val1 ;
7723 int ecode1 = 0 ;
7724 PyObject * obj0 = 0 ;
7725 char * kwnames[] = {
7726 (char *) "variant", NULL
7727 };
7728
7729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7730 if (obj0) {
7731 ecode1 = SWIG_AsVal_int(obj0, &val1);
7732 if (!SWIG_IsOK(ecode1)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7734 }
7735 arg1 = static_cast< wxWindowVariant >(val1);
7736 }
7737 {
7738 if (!wxPyCheckForApp()) SWIG_fail;
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7745 return resultobj;
7746 fail:
7747 return NULL;
7748 }
7749
7750
7751 SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7752 PyObject *obj;
7753 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7754 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7755 return SWIG_Py_Void();
7756 }
7757
7758 SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7759 return SWIG_Python_InitShadowInstance(args);
7760 }
7761
7762 SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj = 0;
7764 wxWindow *arg1 = (wxWindow *) 0 ;
7765 int arg2 = (int) -1 ;
7766 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7767 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7768 wxSize const &arg4_defvalue = wxDefaultSize ;
7769 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7770 long arg5 = (long) wxLI_HORIZONTAL ;
7771 wxString const &arg6_defvalue = wxPyStaticLineNameStr ;
7772 wxString *arg6 = (wxString *) &arg6_defvalue ;
7773 wxStaticLine *result = 0 ;
7774 void *argp1 = 0 ;
7775 int res1 = 0 ;
7776 int val2 ;
7777 int ecode2 = 0 ;
7778 wxPoint temp3 ;
7779 wxSize temp4 ;
7780 long val5 ;
7781 int ecode5 = 0 ;
7782 bool temp6 = false ;
7783 PyObject * obj0 = 0 ;
7784 PyObject * obj1 = 0 ;
7785 PyObject * obj2 = 0 ;
7786 PyObject * obj3 = 0 ;
7787 PyObject * obj4 = 0 ;
7788 PyObject * obj5 = 0 ;
7789 char * kwnames[] = {
7790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7791 };
7792
7793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7795 if (!SWIG_IsOK(res1)) {
7796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7797 }
7798 arg1 = reinterpret_cast< wxWindow * >(argp1);
7799 if (obj1) {
7800 ecode2 = SWIG_AsVal_int(obj1, &val2);
7801 if (!SWIG_IsOK(ecode2)) {
7802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7803 }
7804 arg2 = static_cast< int >(val2);
7805 }
7806 if (obj2) {
7807 {
7808 arg3 = &temp3;
7809 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7810 }
7811 }
7812 if (obj3) {
7813 {
7814 arg4 = &temp4;
7815 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7816 }
7817 }
7818 if (obj4) {
7819 ecode5 = SWIG_AsVal_long(obj4, &val5);
7820 if (!SWIG_IsOK(ecode5)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7822 }
7823 arg5 = static_cast< long >(val5);
7824 }
7825 if (obj5) {
7826 {
7827 arg6 = wxString_in_helper(obj5);
7828 if (arg6 == NULL) SWIG_fail;
7829 temp6 = true;
7830 }
7831 }
7832 {
7833 if (!wxPyCheckForApp()) SWIG_fail;
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7840 {
7841 if (temp6)
7842 delete arg6;
7843 }
7844 return resultobj;
7845 fail:
7846 {
7847 if (temp6)
7848 delete arg6;
7849 }
7850 return NULL;
7851 }
7852
7853
7854 SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7855 PyObject *resultobj = 0;
7856 wxStaticLine *result = 0 ;
7857
7858 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7859 {
7860 if (!wxPyCheckForApp()) SWIG_fail;
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 result = (wxStaticLine *)new wxStaticLine();
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj = 0;
7875 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7876 wxWindow *arg2 = (wxWindow *) 0 ;
7877 int arg3 = (int) -1 ;
7878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7880 wxSize const &arg5_defvalue = wxDefaultSize ;
7881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7882 long arg6 = (long) wxLI_HORIZONTAL ;
7883 wxString const &arg7_defvalue = wxPyStaticLineNameStr ;
7884 wxString *arg7 = (wxString *) &arg7_defvalue ;
7885 bool result;
7886 void *argp1 = 0 ;
7887 int res1 = 0 ;
7888 void *argp2 = 0 ;
7889 int res2 = 0 ;
7890 int val3 ;
7891 int ecode3 = 0 ;
7892 wxPoint temp4 ;
7893 wxSize temp5 ;
7894 long val6 ;
7895 int ecode6 = 0 ;
7896 bool temp7 = false ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 PyObject * obj2 = 0 ;
7900 PyObject * obj3 = 0 ;
7901 PyObject * obj4 = 0 ;
7902 PyObject * obj5 = 0 ;
7903 PyObject * obj6 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7912 }
7913 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7915 if (!SWIG_IsOK(res2)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7917 }
7918 arg2 = reinterpret_cast< wxWindow * >(argp2);
7919 if (obj2) {
7920 ecode3 = SWIG_AsVal_int(obj2, &val3);
7921 if (!SWIG_IsOK(ecode3)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7923 }
7924 arg3 = static_cast< int >(val3);
7925 }
7926 if (obj3) {
7927 {
7928 arg4 = &temp4;
7929 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7930 }
7931 }
7932 if (obj4) {
7933 {
7934 arg5 = &temp5;
7935 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7936 }
7937 }
7938 if (obj5) {
7939 ecode6 = SWIG_AsVal_long(obj5, &val6);
7940 if (!SWIG_IsOK(ecode6)) {
7941 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7942 }
7943 arg6 = static_cast< long >(val6);
7944 }
7945 if (obj6) {
7946 {
7947 arg7 = wxString_in_helper(obj6);
7948 if (arg7 == NULL) SWIG_fail;
7949 temp7 = true;
7950 }
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 {
7959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7960 }
7961 {
7962 if (temp7)
7963 delete arg7;
7964 }
7965 return resultobj;
7966 fail:
7967 {
7968 if (temp7)
7969 delete arg7;
7970 }
7971 return NULL;
7972 }
7973
7974
7975 SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7976 PyObject *resultobj = 0;
7977 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7978 bool result;
7979 void *argp1 = 0 ;
7980 int res1 = 0 ;
7981 PyObject *swig_obj[1] ;
7982
7983 if (!args) SWIG_fail;
7984 swig_obj[0] = args;
7985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7986 if (!SWIG_IsOK(res1)) {
7987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7988 }
7989 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 {
7997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7998 }
7999 return resultobj;
8000 fail:
8001 return NULL;
8002 }
8003
8004
8005 SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8006 PyObject *resultobj = 0;
8007 int result;
8008
8009 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 result = (int)wxStaticLine::GetDefaultSize();
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 resultobj = SWIG_From_int(static_cast< int >(result));
8017 return resultobj;
8018 fail:
8019 return NULL;
8020 }
8021
8022
8023 SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj = 0;
8025 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8026 SwigValueWrapper<wxVisualAttributes > result;
8027 int val1 ;
8028 int ecode1 = 0 ;
8029 PyObject * obj0 = 0 ;
8030 char * kwnames[] = {
8031 (char *) "variant", NULL
8032 };
8033
8034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8035 if (obj0) {
8036 ecode1 = SWIG_AsVal_int(obj0, &val1);
8037 if (!SWIG_IsOK(ecode1)) {
8038 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8039 }
8040 arg1 = static_cast< wxWindowVariant >(val1);
8041 }
8042 {
8043 if (!wxPyCheckForApp()) SWIG_fail;
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8057 PyObject *obj;
8058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8059 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8060 return SWIG_Py_Void();
8061 }
8062
8063 SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8064 return SWIG_Python_InitShadowInstance(args);
8065 }
8066
8067 SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj = 0;
8069 wxWindow *arg1 = (wxWindow *) 0 ;
8070 int arg2 = (int) -1 ;
8071 wxString const &arg3_defvalue = wxPyEmptyString ;
8072 wxString *arg3 = (wxString *) &arg3_defvalue ;
8073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8075 wxSize const &arg5_defvalue = wxDefaultSize ;
8076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8077 long arg6 = (long) 0 ;
8078 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8079 wxString *arg7 = (wxString *) &arg7_defvalue ;
8080 wxStaticText *result = 0 ;
8081 void *argp1 = 0 ;
8082 int res1 = 0 ;
8083 int val2 ;
8084 int ecode2 = 0 ;
8085 bool temp3 = false ;
8086 wxPoint temp4 ;
8087 wxSize temp5 ;
8088 long val6 ;
8089 int ecode6 = 0 ;
8090 bool temp7 = false ;
8091 PyObject * obj0 = 0 ;
8092 PyObject * obj1 = 0 ;
8093 PyObject * obj2 = 0 ;
8094 PyObject * obj3 = 0 ;
8095 PyObject * obj4 = 0 ;
8096 PyObject * obj5 = 0 ;
8097 PyObject * obj6 = 0 ;
8098 char * kwnames[] = {
8099 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8100 };
8101
8102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8104 if (!SWIG_IsOK(res1)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8106 }
8107 arg1 = reinterpret_cast< wxWindow * >(argp1);
8108 if (obj1) {
8109 ecode2 = SWIG_AsVal_int(obj1, &val2);
8110 if (!SWIG_IsOK(ecode2)) {
8111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8112 }
8113 arg2 = static_cast< int >(val2);
8114 }
8115 if (obj2) {
8116 {
8117 arg3 = wxString_in_helper(obj2);
8118 if (arg3 == NULL) SWIG_fail;
8119 temp3 = true;
8120 }
8121 }
8122 if (obj3) {
8123 {
8124 arg4 = &temp4;
8125 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8126 }
8127 }
8128 if (obj4) {
8129 {
8130 arg5 = &temp5;
8131 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8132 }
8133 }
8134 if (obj5) {
8135 ecode6 = SWIG_AsVal_long(obj5, &val6);
8136 if (!SWIG_IsOK(ecode6)) {
8137 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8138 }
8139 arg6 = static_cast< long >(val6);
8140 }
8141 if (obj6) {
8142 {
8143 arg7 = wxString_in_helper(obj6);
8144 if (arg7 == NULL) SWIG_fail;
8145 temp7 = true;
8146 }
8147 }
8148 {
8149 if (!wxPyCheckForApp()) SWIG_fail;
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8156 {
8157 if (temp3)
8158 delete arg3;
8159 }
8160 {
8161 if (temp7)
8162 delete arg7;
8163 }
8164 return resultobj;
8165 fail:
8166 {
8167 if (temp3)
8168 delete arg3;
8169 }
8170 {
8171 if (temp7)
8172 delete arg7;
8173 }
8174 return NULL;
8175 }
8176
8177
8178 SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8179 PyObject *resultobj = 0;
8180 wxStaticText *result = 0 ;
8181
8182 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8183 {
8184 if (!wxPyCheckForApp()) SWIG_fail;
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 result = (wxStaticText *)new wxStaticText();
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8191 return resultobj;
8192 fail:
8193 return NULL;
8194 }
8195
8196
8197 SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8198 PyObject *resultobj = 0;
8199 wxStaticText *arg1 = (wxStaticText *) 0 ;
8200 wxWindow *arg2 = (wxWindow *) 0 ;
8201 int arg3 = (int) -1 ;
8202 wxString const &arg4_defvalue = wxPyEmptyString ;
8203 wxString *arg4 = (wxString *) &arg4_defvalue ;
8204 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8205 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8206 wxSize const &arg6_defvalue = wxDefaultSize ;
8207 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8208 long arg7 = (long) 0 ;
8209 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8210 wxString *arg8 = (wxString *) &arg8_defvalue ;
8211 bool result;
8212 void *argp1 = 0 ;
8213 int res1 = 0 ;
8214 void *argp2 = 0 ;
8215 int res2 = 0 ;
8216 int val3 ;
8217 int ecode3 = 0 ;
8218 bool temp4 = false ;
8219 wxPoint temp5 ;
8220 wxSize temp6 ;
8221 long val7 ;
8222 int ecode7 = 0 ;
8223 bool temp8 = false ;
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226 PyObject * obj2 = 0 ;
8227 PyObject * obj3 = 0 ;
8228 PyObject * obj4 = 0 ;
8229 PyObject * obj5 = 0 ;
8230 PyObject * obj6 = 0 ;
8231 PyObject * obj7 = 0 ;
8232 char * kwnames[] = {
8233 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8234 };
8235
8236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8238 if (!SWIG_IsOK(res1)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8240 }
8241 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8242 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8243 if (!SWIG_IsOK(res2)) {
8244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8245 }
8246 arg2 = reinterpret_cast< wxWindow * >(argp2);
8247 if (obj2) {
8248 ecode3 = SWIG_AsVal_int(obj2, &val3);
8249 if (!SWIG_IsOK(ecode3)) {
8250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8251 }
8252 arg3 = static_cast< int >(val3);
8253 }
8254 if (obj3) {
8255 {
8256 arg4 = wxString_in_helper(obj3);
8257 if (arg4 == NULL) SWIG_fail;
8258 temp4 = true;
8259 }
8260 }
8261 if (obj4) {
8262 {
8263 arg5 = &temp5;
8264 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8265 }
8266 }
8267 if (obj5) {
8268 {
8269 arg6 = &temp6;
8270 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8271 }
8272 }
8273 if (obj6) {
8274 ecode7 = SWIG_AsVal_long(obj6, &val7);
8275 if (!SWIG_IsOK(ecode7)) {
8276 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8277 }
8278 arg7 = static_cast< long >(val7);
8279 }
8280 if (obj7) {
8281 {
8282 arg8 = wxString_in_helper(obj7);
8283 if (arg8 == NULL) SWIG_fail;
8284 temp8 = true;
8285 }
8286 }
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 {
8294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8295 }
8296 {
8297 if (temp4)
8298 delete arg4;
8299 }
8300 {
8301 if (temp8)
8302 delete arg8;
8303 }
8304 return resultobj;
8305 fail:
8306 {
8307 if (temp4)
8308 delete arg4;
8309 }
8310 {
8311 if (temp8)
8312 delete arg8;
8313 }
8314 return NULL;
8315 }
8316
8317
8318 SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj = 0;
8320 wxStaticText *arg1 = (wxStaticText *) 0 ;
8321 int arg2 ;
8322 void *argp1 = 0 ;
8323 int res1 = 0 ;
8324 int val2 ;
8325 int ecode2 = 0 ;
8326 PyObject * obj0 = 0 ;
8327 PyObject * obj1 = 0 ;
8328 char * kwnames[] = {
8329 (char *) "self",(char *) "width", NULL
8330 };
8331
8332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8334 if (!SWIG_IsOK(res1)) {
8335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8336 }
8337 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8338 ecode2 = SWIG_AsVal_int(obj1, &val2);
8339 if (!SWIG_IsOK(ecode2)) {
8340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8341 }
8342 arg2 = static_cast< int >(val2);
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 (arg1)->Wrap(arg2);
8346 wxPyEndAllowThreads(__tstate);
8347 if (PyErr_Occurred()) SWIG_fail;
8348 }
8349 resultobj = SWIG_Py_Void();
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 SWIGINTERN PyObject *_wrap_StaticText_IsEllipsized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8357 PyObject *resultobj = 0;
8358 wxStaticText *arg1 = (wxStaticText *) 0 ;
8359 bool result;
8360 void *argp1 = 0 ;
8361 int res1 = 0 ;
8362 PyObject *swig_obj[1] ;
8363
8364 if (!args) SWIG_fail;
8365 swig_obj[0] = args;
8366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8369 }
8370 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (bool)((wxStaticText const *)arg1)->IsEllipsized();
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 {
8378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8379 }
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 SWIGINTERN PyObject *_wrap_StaticText_RemoveMarkup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj = 0;
8388 wxString *arg1 = 0 ;
8389 wxString result;
8390 bool temp1 = false ;
8391 PyObject * obj0 = 0 ;
8392 char * kwnames[] = {
8393 (char *) "str", NULL
8394 };
8395
8396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticText_RemoveMarkup",kwnames,&obj0)) SWIG_fail;
8397 {
8398 arg1 = wxString_in_helper(obj0);
8399 if (arg1 == NULL) SWIG_fail;
8400 temp1 = true;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = wxStaticText::RemoveMarkup((wxString const &)*arg1);
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 {
8409 #if wxUSE_UNICODE
8410 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8411 #else
8412 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8413 #endif
8414 }
8415 {
8416 if (temp1)
8417 delete arg1;
8418 }
8419 return resultobj;
8420 fail:
8421 {
8422 if (temp1)
8423 delete arg1;
8424 }
8425 return NULL;
8426 }
8427
8428
8429 SWIGINTERN PyObject *_wrap_StaticText_EscapeMarkup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj = 0;
8431 wxString *arg1 = 0 ;
8432 wxString result;
8433 bool temp1 = false ;
8434 PyObject * obj0 = 0 ;
8435 char * kwnames[] = {
8436 (char *) "str", NULL
8437 };
8438
8439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticText_EscapeMarkup",kwnames,&obj0)) SWIG_fail;
8440 {
8441 arg1 = wxString_in_helper(obj0);
8442 if (arg1 == NULL) SWIG_fail;
8443 temp1 = true;
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = wxStaticText::EscapeMarkup((wxString const &)*arg1);
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
8452 #if wxUSE_UNICODE
8453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8454 #else
8455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8456 #endif
8457 }
8458 {
8459 if (temp1)
8460 delete arg1;
8461 }
8462 return resultobj;
8463 fail:
8464 {
8465 if (temp1)
8466 delete arg1;
8467 }
8468 return NULL;
8469 }
8470
8471
8472 SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj = 0;
8474 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8475 SwigValueWrapper<wxVisualAttributes > result;
8476 int val1 ;
8477 int ecode1 = 0 ;
8478 PyObject * obj0 = 0 ;
8479 char * kwnames[] = {
8480 (char *) "variant", NULL
8481 };
8482
8483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8484 if (obj0) {
8485 ecode1 = SWIG_AsVal_int(obj0, &val1);
8486 if (!SWIG_IsOK(ecode1)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8488 }
8489 arg1 = static_cast< wxWindowVariant >(val1);
8490 }
8491 {
8492 if (!wxPyCheckForApp()) SWIG_fail;
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = wxStaticText::GetClassDefaultAttributes(arg1);
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8506 PyObject *obj;
8507 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8508 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8509 return SWIG_Py_Void();
8510 }
8511
8512 SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8513 return SWIG_Python_InitShadowInstance(args);
8514 }
8515
8516 SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj = 0;
8518 wxWindow *arg1 = (wxWindow *) 0 ;
8519 int arg2 = (int) -1 ;
8520 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8521 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8522 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8523 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8524 wxSize const &arg5_defvalue = wxDefaultSize ;
8525 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8526 long arg6 = (long) 0 ;
8527 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8528 wxString *arg7 = (wxString *) &arg7_defvalue ;
8529 wxStaticBitmap *result = 0 ;
8530 void *argp1 = 0 ;
8531 int res1 = 0 ;
8532 int val2 ;
8533 int ecode2 = 0 ;
8534 void *argp3 = 0 ;
8535 int res3 = 0 ;
8536 wxPoint temp4 ;
8537 wxSize temp5 ;
8538 long val6 ;
8539 int ecode6 = 0 ;
8540 bool temp7 = false ;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 PyObject * obj2 = 0 ;
8544 PyObject * obj3 = 0 ;
8545 PyObject * obj4 = 0 ;
8546 PyObject * obj5 = 0 ;
8547 PyObject * obj6 = 0 ;
8548 char * kwnames[] = {
8549 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8550 };
8551
8552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8556 }
8557 arg1 = reinterpret_cast< wxWindow * >(argp1);
8558 if (obj1) {
8559 ecode2 = SWIG_AsVal_int(obj1, &val2);
8560 if (!SWIG_IsOK(ecode2)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8562 }
8563 arg2 = static_cast< int >(val2);
8564 }
8565 if (obj2) {
8566 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8567 if (!SWIG_IsOK(res3)) {
8568 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8569 }
8570 if (!argp3) {
8571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8572 }
8573 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8574 }
8575 if (obj3) {
8576 {
8577 arg4 = &temp4;
8578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8579 }
8580 }
8581 if (obj4) {
8582 {
8583 arg5 = &temp5;
8584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8585 }
8586 }
8587 if (obj5) {
8588 ecode6 = SWIG_AsVal_long(obj5, &val6);
8589 if (!SWIG_IsOK(ecode6)) {
8590 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8591 }
8592 arg6 = static_cast< long >(val6);
8593 }
8594 if (obj6) {
8595 {
8596 arg7 = wxString_in_helper(obj6);
8597 if (arg7 == NULL) SWIG_fail;
8598 temp7 = true;
8599 }
8600 }
8601 {
8602 if (!wxPyCheckForApp()) SWIG_fail;
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 }
8608 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8609 {
8610 if (temp7)
8611 delete arg7;
8612 }
8613 return resultobj;
8614 fail:
8615 {
8616 if (temp7)
8617 delete arg7;
8618 }
8619 return NULL;
8620 }
8621
8622
8623 SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8624 PyObject *resultobj = 0;
8625 wxStaticBitmap *result = 0 ;
8626
8627 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8628 {
8629 if (!wxPyCheckForApp()) SWIG_fail;
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = (wxStaticBitmap *)new wxStaticBitmap();
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8643 PyObject *resultobj = 0;
8644 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8645 wxWindow *arg2 = (wxWindow *) 0 ;
8646 int arg3 = (int) -1 ;
8647 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8648 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8651 wxSize const &arg6_defvalue = wxDefaultSize ;
8652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8653 long arg7 = (long) 0 ;
8654 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8655 wxString *arg8 = (wxString *) &arg8_defvalue ;
8656 bool result;
8657 void *argp1 = 0 ;
8658 int res1 = 0 ;
8659 void *argp2 = 0 ;
8660 int res2 = 0 ;
8661 int val3 ;
8662 int ecode3 = 0 ;
8663 void *argp4 = 0 ;
8664 int res4 = 0 ;
8665 wxPoint temp5 ;
8666 wxSize temp6 ;
8667 long val7 ;
8668 int ecode7 = 0 ;
8669 bool temp8 = false ;
8670 PyObject * obj0 = 0 ;
8671 PyObject * obj1 = 0 ;
8672 PyObject * obj2 = 0 ;
8673 PyObject * obj3 = 0 ;
8674 PyObject * obj4 = 0 ;
8675 PyObject * obj5 = 0 ;
8676 PyObject * obj6 = 0 ;
8677 PyObject * obj7 = 0 ;
8678 char * kwnames[] = {
8679 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8680 };
8681
8682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8684 if (!SWIG_IsOK(res1)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8686 }
8687 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8688 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8689 if (!SWIG_IsOK(res2)) {
8690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8691 }
8692 arg2 = reinterpret_cast< wxWindow * >(argp2);
8693 if (obj2) {
8694 ecode3 = SWIG_AsVal_int(obj2, &val3);
8695 if (!SWIG_IsOK(ecode3)) {
8696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8697 }
8698 arg3 = static_cast< int >(val3);
8699 }
8700 if (obj3) {
8701 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8702 if (!SWIG_IsOK(res4)) {
8703 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8704 }
8705 if (!argp4) {
8706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8707 }
8708 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8709 }
8710 if (obj4) {
8711 {
8712 arg5 = &temp5;
8713 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8714 }
8715 }
8716 if (obj5) {
8717 {
8718 arg6 = &temp6;
8719 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8720 }
8721 }
8722 if (obj6) {
8723 ecode7 = SWIG_AsVal_long(obj6, &val7);
8724 if (!SWIG_IsOK(ecode7)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8726 }
8727 arg7 = static_cast< long >(val7);
8728 }
8729 if (obj7) {
8730 {
8731 arg8 = wxString_in_helper(obj7);
8732 if (arg8 == NULL) SWIG_fail;
8733 temp8 = true;
8734 }
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 }
8745 {
8746 if (temp8)
8747 delete arg8;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp8)
8753 delete arg8;
8754 }
8755 return NULL;
8756 }
8757
8758
8759 SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8760 PyObject *resultobj = 0;
8761 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8762 wxBitmap result;
8763 void *argp1 = 0 ;
8764 int res1 = 0 ;
8765 PyObject *swig_obj[1] ;
8766
8767 if (!args) SWIG_fail;
8768 swig_obj[0] = args;
8769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8770 if (!SWIG_IsOK(res1)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8772 }
8773 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 result = (arg1)->GetBitmap();
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8781 return resultobj;
8782 fail:
8783 return NULL;
8784 }
8785
8786
8787 SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj = 0;
8789 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8790 wxBitmap *arg2 = 0 ;
8791 void *argp1 = 0 ;
8792 int res1 = 0 ;
8793 void *argp2 = 0 ;
8794 int res2 = 0 ;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 char * kwnames[] = {
8798 (char *) "self",(char *) "bitmap", NULL
8799 };
8800
8801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8803 if (!SWIG_IsOK(res1)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8805 }
8806 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8807 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8808 if (!SWIG_IsOK(res2)) {
8809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8810 }
8811 if (!argp2) {
8812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8813 }
8814 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = SWIG_Py_Void();
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj = 0;
8830 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8831 wxIcon *arg2 = 0 ;
8832 void *argp1 = 0 ;
8833 int res1 = 0 ;
8834 void *argp2 = 0 ;
8835 int res2 = 0 ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char * kwnames[] = {
8839 (char *) "self",(char *) "icon", NULL
8840 };
8841
8842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8844 if (!SWIG_IsOK(res1)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8846 }
8847 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8848 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8849 if (!SWIG_IsOK(res2)) {
8850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8851 }
8852 if (!argp2) {
8853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8854 }
8855 arg2 = reinterpret_cast< wxIcon * >(argp2);
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 (arg1)->SetIcon((wxIcon const &)*arg2);
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 resultobj = SWIG_Py_Void();
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj = 0;
8871 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8872 SwigValueWrapper<wxVisualAttributes > result;
8873 int val1 ;
8874 int ecode1 = 0 ;
8875 PyObject * obj0 = 0 ;
8876 char * kwnames[] = {
8877 (char *) "variant", NULL
8878 };
8879
8880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8881 if (obj0) {
8882 ecode1 = SWIG_AsVal_int(obj0, &val1);
8883 if (!SWIG_IsOK(ecode1)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8885 }
8886 arg1 = static_cast< wxWindowVariant >(val1);
8887 }
8888 {
8889 if (!wxPyCheckForApp()) SWIG_fail;
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8896 return resultobj;
8897 fail:
8898 return NULL;
8899 }
8900
8901
8902 SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8903 PyObject *obj;
8904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8905 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8906 return SWIG_Py_Void();
8907 }
8908
8909 SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8910 return SWIG_Python_InitShadowInstance(args);
8911 }
8912
8913 SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8914 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8915 return 1;
8916 }
8917
8918
8919 SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8920 PyObject *pyobj = 0;
8921
8922 {
8923 #if wxUSE_UNICODE
8924 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8925 #else
8926 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
8927 #endif
8928 }
8929 return pyobj;
8930 }
8931
8932
8933 SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj = 0;
8935 wxWindow *arg1 = (wxWindow *) 0 ;
8936 int arg2 = (int) -1 ;
8937 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8938 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8939 wxSize const &arg4_defvalue = wxDefaultSize ;
8940 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8941 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8942 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8943 long arg6 = (long) 0 ;
8944 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8945 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8946 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8947 wxString *arg8 = (wxString *) &arg8_defvalue ;
8948 wxListBox *result = 0 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 int val2 ;
8952 int ecode2 = 0 ;
8953 wxPoint temp3 ;
8954 wxSize temp4 ;
8955 bool temp5 = false ;
8956 long val6 ;
8957 int ecode6 = 0 ;
8958 void *argp7 = 0 ;
8959 int res7 = 0 ;
8960 bool temp8 = false ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj2 = 0 ;
8964 PyObject * obj3 = 0 ;
8965 PyObject * obj4 = 0 ;
8966 PyObject * obj5 = 0 ;
8967 PyObject * obj6 = 0 ;
8968 PyObject * obj7 = 0 ;
8969 char * kwnames[] = {
8970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8971 };
8972
8973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8975 if (!SWIG_IsOK(res1)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8977 }
8978 arg1 = reinterpret_cast< wxWindow * >(argp1);
8979 if (obj1) {
8980 ecode2 = SWIG_AsVal_int(obj1, &val2);
8981 if (!SWIG_IsOK(ecode2)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8983 }
8984 arg2 = static_cast< int >(val2);
8985 }
8986 if (obj2) {
8987 {
8988 arg3 = &temp3;
8989 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8990 }
8991 }
8992 if (obj3) {
8993 {
8994 arg4 = &temp4;
8995 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8996 }
8997 }
8998 if (obj4) {
8999 {
9000 if (! PySequence_Check(obj4)) {
9001 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9002 SWIG_fail;
9003 }
9004 arg5 = new wxArrayString;
9005 temp5 = true;
9006 int i, len=PySequence_Length(obj4);
9007 for (i=0; i<len; i++) {
9008 PyObject* item = PySequence_GetItem(obj4, i);
9009 wxString* s = wxString_in_helper(item);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 arg5->Add(*s);
9012 delete s;
9013 Py_DECREF(item);
9014 }
9015 }
9016 }
9017 if (obj5) {
9018 ecode6 = SWIG_AsVal_long(obj5, &val6);
9019 if (!SWIG_IsOK(ecode6)) {
9020 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9021 }
9022 arg6 = static_cast< long >(val6);
9023 }
9024 if (obj6) {
9025 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
9026 if (!SWIG_IsOK(res7)) {
9027 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9028 }
9029 if (!argp7) {
9030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9031 }
9032 arg7 = reinterpret_cast< wxValidator * >(argp7);
9033 }
9034 if (obj7) {
9035 {
9036 arg8 = wxString_in_helper(obj7);
9037 if (arg8 == NULL) SWIG_fail;
9038 temp8 = true;
9039 }
9040 }
9041 {
9042 if (!wxPyCheckForApp()) SWIG_fail;
9043 PyThreadState* __tstate = wxPyBeginAllowThreads();
9044 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
9049 {
9050 if (temp5) delete arg5;
9051 }
9052 {
9053 if (temp8)
9054 delete arg8;
9055 }
9056 return resultobj;
9057 fail:
9058 {
9059 if (temp5) delete arg5;
9060 }
9061 {
9062 if (temp8)
9063 delete arg8;
9064 }
9065 return NULL;
9066 }
9067
9068
9069 SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9070 PyObject *resultobj = 0;
9071 wxListBox *result = 0 ;
9072
9073 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
9074 {
9075 if (!wxPyCheckForApp()) SWIG_fail;
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (wxListBox *)new wxListBox();
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj = 0;
9090 wxListBox *arg1 = (wxListBox *) 0 ;
9091 wxWindow *arg2 = (wxWindow *) 0 ;
9092 int arg3 = (int) -1 ;
9093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9095 wxSize const &arg5_defvalue = wxDefaultSize ;
9096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9097 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
9098 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
9099 long arg7 = (long) 0 ;
9100 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9101 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9102 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
9103 wxString *arg9 = (wxString *) &arg9_defvalue ;
9104 bool result;
9105 void *argp1 = 0 ;
9106 int res1 = 0 ;
9107 void *argp2 = 0 ;
9108 int res2 = 0 ;
9109 int val3 ;
9110 int ecode3 = 0 ;
9111 wxPoint temp4 ;
9112 wxSize temp5 ;
9113 bool temp6 = false ;
9114 long val7 ;
9115 int ecode7 = 0 ;
9116 void *argp8 = 0 ;
9117 int res8 = 0 ;
9118 bool temp9 = false ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 PyObject * obj3 = 0 ;
9123 PyObject * obj4 = 0 ;
9124 PyObject * obj5 = 0 ;
9125 PyObject * obj6 = 0 ;
9126 PyObject * obj7 = 0 ;
9127 PyObject * obj8 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9136 }
9137 arg1 = reinterpret_cast< wxListBox * >(argp1);
9138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9139 if (!SWIG_IsOK(res2)) {
9140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9141 }
9142 arg2 = reinterpret_cast< wxWindow * >(argp2);
9143 if (obj2) {
9144 ecode3 = SWIG_AsVal_int(obj2, &val3);
9145 if (!SWIG_IsOK(ecode3)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9147 }
9148 arg3 = static_cast< int >(val3);
9149 }
9150 if (obj3) {
9151 {
9152 arg4 = &temp4;
9153 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9154 }
9155 }
9156 if (obj4) {
9157 {
9158 arg5 = &temp5;
9159 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9160 }
9161 }
9162 if (obj5) {
9163 {
9164 if (! PySequence_Check(obj5)) {
9165 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9166 SWIG_fail;
9167 }
9168 arg6 = new wxArrayString;
9169 temp6 = true;
9170 int i, len=PySequence_Length(obj5);
9171 for (i=0; i<len; i++) {
9172 PyObject* item = PySequence_GetItem(obj5, i);
9173 wxString* s = wxString_in_helper(item);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 arg6->Add(*s);
9176 delete s;
9177 Py_DECREF(item);
9178 }
9179 }
9180 }
9181 if (obj6) {
9182 ecode7 = SWIG_AsVal_long(obj6, &val7);
9183 if (!SWIG_IsOK(ecode7)) {
9184 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9185 }
9186 arg7 = static_cast< long >(val7);
9187 }
9188 if (obj7) {
9189 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9190 if (!SWIG_IsOK(res8)) {
9191 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9192 }
9193 if (!argp8) {
9194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9195 }
9196 arg8 = reinterpret_cast< wxValidator * >(argp8);
9197 }
9198 if (obj8) {
9199 {
9200 arg9 = wxString_in_helper(obj8);
9201 if (arg9 == NULL) SWIG_fail;
9202 temp9 = true;
9203 }
9204 }
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 {
9212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9213 }
9214 {
9215 if (temp6) delete arg6;
9216 }
9217 {
9218 if (temp9)
9219 delete arg9;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (temp6) delete arg6;
9225 }
9226 {
9227 if (temp9)
9228 delete arg9;
9229 }
9230 return NULL;
9231 }
9232
9233
9234 SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj = 0;
9236 wxListBox *arg1 = (wxListBox *) 0 ;
9237 wxString *arg2 = 0 ;
9238 int arg3 ;
9239 PyObject *arg4 = (PyObject *) NULL ;
9240 void *argp1 = 0 ;
9241 int res1 = 0 ;
9242 bool temp2 = false ;
9243 int val3 ;
9244 int ecode3 = 0 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 PyObject * obj2 = 0 ;
9248 PyObject * obj3 = 0 ;
9249 char * kwnames[] = {
9250 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9251 };
9252
9253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9255 if (!SWIG_IsOK(res1)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9257 }
9258 arg1 = reinterpret_cast< wxListBox * >(argp1);
9259 {
9260 arg2 = wxString_in_helper(obj1);
9261 if (arg2 == NULL) SWIG_fail;
9262 temp2 = true;
9263 }
9264 ecode3 = SWIG_AsVal_int(obj2, &val3);
9265 if (!SWIG_IsOK(ecode3)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9267 }
9268 arg3 = static_cast< int >(val3);
9269 if (obj3) {
9270 arg4 = obj3;
9271 }
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = SWIG_Py_Void();
9279 {
9280 if (temp2)
9281 delete arg2;
9282 }
9283 return resultobj;
9284 fail:
9285 {
9286 if (temp2)
9287 delete arg2;
9288 }
9289 return NULL;
9290 }
9291
9292
9293 SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj = 0;
9295 wxListBox *arg1 = (wxListBox *) 0 ;
9296 wxArrayString *arg2 = 0 ;
9297 unsigned int arg3 ;
9298 void *argp1 = 0 ;
9299 int res1 = 0 ;
9300 bool temp2 = false ;
9301 unsigned int val3 ;
9302 int ecode3 = 0 ;
9303 PyObject * obj0 = 0 ;
9304 PyObject * obj1 = 0 ;
9305 PyObject * obj2 = 0 ;
9306 char * kwnames[] = {
9307 (char *) "self",(char *) "items",(char *) "pos", NULL
9308 };
9309
9310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9312 if (!SWIG_IsOK(res1)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9314 }
9315 arg1 = reinterpret_cast< wxListBox * >(argp1);
9316 {
9317 if (! PySequence_Check(obj1)) {
9318 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9319 SWIG_fail;
9320 }
9321 arg2 = new wxArrayString;
9322 temp2 = true;
9323 int i, len=PySequence_Length(obj1);
9324 for (i=0; i<len; i++) {
9325 PyObject* item = PySequence_GetItem(obj1, i);
9326 wxString* s = wxString_in_helper(item);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 arg2->Add(*s);
9329 delete s;
9330 Py_DECREF(item);
9331 }
9332 }
9333 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
9334 if (!SWIG_IsOK(ecode3)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9336 }
9337 arg3 = static_cast< unsigned int >(val3);
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 resultobj = SWIG_Py_Void();
9345 {
9346 if (temp2) delete arg2;
9347 }
9348 return resultobj;
9349 fail:
9350 {
9351 if (temp2) delete arg2;
9352 }
9353 return NULL;
9354 }
9355
9356
9357 SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj = 0;
9359 wxListBox *arg1 = (wxListBox *) 0 ;
9360 wxArrayString *arg2 = 0 ;
9361 void *argp1 = 0 ;
9362 int res1 = 0 ;
9363 bool temp2 = false ;
9364 PyObject * obj0 = 0 ;
9365 PyObject * obj1 = 0 ;
9366 char * kwnames[] = {
9367 (char *) "self",(char *) "items", NULL
9368 };
9369
9370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9372 if (!SWIG_IsOK(res1)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9374 }
9375 arg1 = reinterpret_cast< wxListBox * >(argp1);
9376 {
9377 if (! PySequence_Check(obj1)) {
9378 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9379 SWIG_fail;
9380 }
9381 arg2 = new wxArrayString;
9382 temp2 = true;
9383 int i, len=PySequence_Length(obj1);
9384 for (i=0; i<len; i++) {
9385 PyObject* item = PySequence_GetItem(obj1, i);
9386 wxString* s = wxString_in_helper(item);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 arg2->Add(*s);
9389 delete s;
9390 Py_DECREF(item);
9391 }
9392 }
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 (arg1)->Set((wxArrayString const &)*arg2);
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 resultobj = SWIG_Py_Void();
9400 {
9401 if (temp2) delete arg2;
9402 }
9403 return resultobj;
9404 fail:
9405 {
9406 if (temp2) delete arg2;
9407 }
9408 return NULL;
9409 }
9410
9411
9412 SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj = 0;
9414 wxListBox *arg1 = (wxListBox *) 0 ;
9415 int arg2 ;
9416 bool result;
9417 void *argp1 = 0 ;
9418 int res1 = 0 ;
9419 int val2 ;
9420 int ecode2 = 0 ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 char * kwnames[] = {
9424 (char *) "self",(char *) "n", NULL
9425 };
9426
9427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9429 if (!SWIG_IsOK(res1)) {
9430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9431 }
9432 arg1 = reinterpret_cast< wxListBox * >(argp1);
9433 ecode2 = SWIG_AsVal_int(obj1, &val2);
9434 if (!SWIG_IsOK(ecode2)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9436 }
9437 arg2 = static_cast< int >(val2);
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 {
9445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9446 }
9447 return resultobj;
9448 fail:
9449 return NULL;
9450 }
9451
9452
9453 SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9454 PyObject *resultobj = 0;
9455 wxListBox *arg1 = (wxListBox *) 0 ;
9456 int arg2 ;
9457 bool arg3 = (bool) true ;
9458 void *argp1 = 0 ;
9459 int res1 = 0 ;
9460 int val2 ;
9461 int ecode2 = 0 ;
9462 bool val3 ;
9463 int ecode3 = 0 ;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 PyObject * obj2 = 0 ;
9467 char * kwnames[] = {
9468 (char *) "self",(char *) "n",(char *) "select", NULL
9469 };
9470
9471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9475 }
9476 arg1 = reinterpret_cast< wxListBox * >(argp1);
9477 ecode2 = SWIG_AsVal_int(obj1, &val2);
9478 if (!SWIG_IsOK(ecode2)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9480 }
9481 arg2 = static_cast< int >(val2);
9482 if (obj2) {
9483 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9484 if (!SWIG_IsOK(ecode3)) {
9485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9486 }
9487 arg3 = static_cast< bool >(val3);
9488 }
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 (arg1)->SetSelection(arg2,arg3);
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 resultobj = SWIG_Py_Void();
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj = 0;
9504 wxListBox *arg1 = (wxListBox *) 0 ;
9505 int arg2 ;
9506 void *argp1 = 0 ;
9507 int res1 = 0 ;
9508 int val2 ;
9509 int ecode2 = 0 ;
9510 PyObject * obj0 = 0 ;
9511 PyObject * obj1 = 0 ;
9512 char * kwnames[] = {
9513 (char *) "self",(char *) "n", NULL
9514 };
9515
9516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9518 if (!SWIG_IsOK(res1)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9520 }
9521 arg1 = reinterpret_cast< wxListBox * >(argp1);
9522 ecode2 = SWIG_AsVal_int(obj1, &val2);
9523 if (!SWIG_IsOK(ecode2)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9525 }
9526 arg2 = static_cast< int >(val2);
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 (arg1)->Select(arg2);
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 resultobj = SWIG_Py_Void();
9534 return resultobj;
9535 fail:
9536 return NULL;
9537 }
9538
9539
9540 SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj = 0;
9542 wxListBox *arg1 = (wxListBox *) 0 ;
9543 int arg2 ;
9544 void *argp1 = 0 ;
9545 int res1 = 0 ;
9546 int val2 ;
9547 int ecode2 = 0 ;
9548 PyObject * obj0 = 0 ;
9549 PyObject * obj1 = 0 ;
9550 char * kwnames[] = {
9551 (char *) "self",(char *) "n", NULL
9552 };
9553
9554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9556 if (!SWIG_IsOK(res1)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9558 }
9559 arg1 = reinterpret_cast< wxListBox * >(argp1);
9560 ecode2 = SWIG_AsVal_int(obj1, &val2);
9561 if (!SWIG_IsOK(ecode2)) {
9562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9563 }
9564 arg2 = static_cast< int >(val2);
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 (arg1)->Deselect(arg2);
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_Py_Void();
9572 return resultobj;
9573 fail:
9574 return NULL;
9575 }
9576
9577
9578 SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj = 0;
9580 wxListBox *arg1 = (wxListBox *) 0 ;
9581 int arg2 = (int) -1 ;
9582 void *argp1 = 0 ;
9583 int res1 = 0 ;
9584 int val2 ;
9585 int ecode2 = 0 ;
9586 PyObject * obj0 = 0 ;
9587 PyObject * obj1 = 0 ;
9588 char * kwnames[] = {
9589 (char *) "self",(char *) "itemToLeaveSelected", NULL
9590 };
9591
9592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9596 }
9597 arg1 = reinterpret_cast< wxListBox * >(argp1);
9598 if (obj1) {
9599 ecode2 = SWIG_AsVal_int(obj1, &val2);
9600 if (!SWIG_IsOK(ecode2)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9602 }
9603 arg2 = static_cast< int >(val2);
9604 }
9605 {
9606 PyThreadState* __tstate = wxPyBeginAllowThreads();
9607 (arg1)->DeselectAll(arg2);
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_Py_Void();
9612 return resultobj;
9613 fail:
9614 return NULL;
9615 }
9616
9617
9618 SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj = 0;
9620 wxListBox *arg1 = (wxListBox *) 0 ;
9621 wxString *arg2 = 0 ;
9622 bool arg3 = (bool) true ;
9623 bool result;
9624 void *argp1 = 0 ;
9625 int res1 = 0 ;
9626 bool temp2 = false ;
9627 bool val3 ;
9628 int ecode3 = 0 ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 PyObject * obj2 = 0 ;
9632 char * kwnames[] = {
9633 (char *) "self",(char *) "s",(char *) "select", NULL
9634 };
9635
9636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9638 if (!SWIG_IsOK(res1)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9640 }
9641 arg1 = reinterpret_cast< wxListBox * >(argp1);
9642 {
9643 arg2 = wxString_in_helper(obj1);
9644 if (arg2 == NULL) SWIG_fail;
9645 temp2 = true;
9646 }
9647 if (obj2) {
9648 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9649 if (!SWIG_IsOK(ecode3)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9651 }
9652 arg3 = static_cast< bool >(val3);
9653 }
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 {
9661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9662 }
9663 {
9664 if (temp2)
9665 delete arg2;
9666 }
9667 return resultobj;
9668 fail:
9669 {
9670 if (temp2)
9671 delete arg2;
9672 }
9673 return NULL;
9674 }
9675
9676
9677 SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9678 PyObject *resultobj = 0;
9679 wxListBox *arg1 = (wxListBox *) 0 ;
9680 PyObject *result = 0 ;
9681 void *argp1 = 0 ;
9682 int res1 = 0 ;
9683 PyObject *swig_obj[1] ;
9684
9685 if (!args) SWIG_fail;
9686 swig_obj[0] = args;
9687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9690 }
9691 arg1 = reinterpret_cast< wxListBox * >(argp1);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (PyObject *)wxListBox_GetSelections(arg1);
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = result;
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj = 0;
9707 wxListBox *arg1 = (wxListBox *) 0 ;
9708 int arg2 ;
9709 void *argp1 = 0 ;
9710 int res1 = 0 ;
9711 int val2 ;
9712 int ecode2 = 0 ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char * kwnames[] = {
9716 (char *) "self",(char *) "n", NULL
9717 };
9718
9719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9723 }
9724 arg1 = reinterpret_cast< wxListBox * >(argp1);
9725 ecode2 = SWIG_AsVal_int(obj1, &val2);
9726 if (!SWIG_IsOK(ecode2)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9728 }
9729 arg2 = static_cast< int >(val2);
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 (arg1)->SetFirstItem(arg2);
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 resultobj = SWIG_Py_Void();
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj = 0;
9745 wxListBox *arg1 = (wxListBox *) 0 ;
9746 wxString *arg2 = 0 ;
9747 void *argp1 = 0 ;
9748 int res1 = 0 ;
9749 bool temp2 = false ;
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 char * kwnames[] = {
9753 (char *) "self",(char *) "s", NULL
9754 };
9755
9756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9758 if (!SWIG_IsOK(res1)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9760 }
9761 arg1 = reinterpret_cast< wxListBox * >(argp1);
9762 {
9763 arg2 = wxString_in_helper(obj1);
9764 if (arg2 == NULL) SWIG_fail;
9765 temp2 = true;
9766 }
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 (arg1)->SetFirstItem((wxString const &)*arg2);
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 resultobj = SWIG_Py_Void();
9774 {
9775 if (temp2)
9776 delete arg2;
9777 }
9778 return resultobj;
9779 fail:
9780 {
9781 if (temp2)
9782 delete arg2;
9783 }
9784 return NULL;
9785 }
9786
9787
9788 SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj = 0;
9790 wxListBox *arg1 = (wxListBox *) 0 ;
9791 int arg2 ;
9792 void *argp1 = 0 ;
9793 int res1 = 0 ;
9794 int val2 ;
9795 int ecode2 = 0 ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 char * kwnames[] = {
9799 (char *) "self",(char *) "n", NULL
9800 };
9801
9802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9804 if (!SWIG_IsOK(res1)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9806 }
9807 arg1 = reinterpret_cast< wxListBox * >(argp1);
9808 ecode2 = SWIG_AsVal_int(obj1, &val2);
9809 if (!SWIG_IsOK(ecode2)) {
9810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9811 }
9812 arg2 = static_cast< int >(val2);
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 (arg1)->EnsureVisible(arg2);
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 resultobj = SWIG_Py_Void();
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj = 0;
9828 wxListBox *arg1 = (wxListBox *) 0 ;
9829 wxString *arg2 = 0 ;
9830 void *argp1 = 0 ;
9831 int res1 = 0 ;
9832 bool temp2 = false ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char * kwnames[] = {
9836 (char *) "self",(char *) "s", NULL
9837 };
9838
9839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9841 if (!SWIG_IsOK(res1)) {
9842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9843 }
9844 arg1 = reinterpret_cast< wxListBox * >(argp1);
9845 {
9846 arg2 = wxString_in_helper(obj1);
9847 if (arg2 == NULL) SWIG_fail;
9848 temp2 = true;
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 resultobj = SWIG_Py_Void();
9857 {
9858 if (temp2)
9859 delete arg2;
9860 }
9861 return resultobj;
9862 fail:
9863 {
9864 if (temp2)
9865 delete arg2;
9866 }
9867 return NULL;
9868 }
9869
9870
9871 SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9872 PyObject *resultobj = 0;
9873 wxListBox *arg1 = (wxListBox *) 0 ;
9874 bool result;
9875 void *argp1 = 0 ;
9876 int res1 = 0 ;
9877 PyObject *swig_obj[1] ;
9878
9879 if (!args) SWIG_fail;
9880 swig_obj[0] = args;
9881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9882 if (!SWIG_IsOK(res1)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9884 }
9885 arg1 = reinterpret_cast< wxListBox * >(argp1);
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (bool)((wxListBox const *)arg1)->IsSorted();
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9894 }
9895 return resultobj;
9896 fail:
9897 return NULL;
9898 }
9899
9900
9901 SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj = 0;
9903 wxListBox *arg1 = (wxListBox *) 0 ;
9904 wxPoint *arg2 = 0 ;
9905 int result;
9906 void *argp1 = 0 ;
9907 int res1 = 0 ;
9908 wxPoint temp2 ;
9909 PyObject * obj0 = 0 ;
9910 PyObject * obj1 = 0 ;
9911 char * kwnames[] = {
9912 (char *) "self",(char *) "pt", NULL
9913 };
9914
9915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9917 if (!SWIG_IsOK(res1)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9919 }
9920 arg1 = reinterpret_cast< wxListBox * >(argp1);
9921 {
9922 arg2 = &temp2;
9923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9924 }
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = SWIG_From_int(static_cast< int >(result));
9932 return resultobj;
9933 fail:
9934 return NULL;
9935 }
9936
9937
9938 SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj = 0;
9940 wxListBox *arg1 = (wxListBox *) 0 ;
9941 int arg2 ;
9942 wxColour *arg3 = 0 ;
9943 void *argp1 = 0 ;
9944 int res1 = 0 ;
9945 int val2 ;
9946 int ecode2 = 0 ;
9947 wxColour temp3 ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 PyObject * obj2 = 0 ;
9951 char * kwnames[] = {
9952 (char *) "self",(char *) "item",(char *) "c", NULL
9953 };
9954
9955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9957 if (!SWIG_IsOK(res1)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9959 }
9960 arg1 = reinterpret_cast< wxListBox * >(argp1);
9961 ecode2 = SWIG_AsVal_int(obj1, &val2);
9962 if (!SWIG_IsOK(ecode2)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9964 }
9965 arg2 = static_cast< int >(val2);
9966 {
9967 arg3 = &temp3;
9968 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9969 }
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_Py_Void();
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = 0;
9985 wxListBox *arg1 = (wxListBox *) 0 ;
9986 int arg2 ;
9987 wxColour *arg3 = 0 ;
9988 void *argp1 = 0 ;
9989 int res1 = 0 ;
9990 int val2 ;
9991 int ecode2 = 0 ;
9992 wxColour temp3 ;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 PyObject * obj2 = 0 ;
9996 char * kwnames[] = {
9997 (char *) "self",(char *) "item",(char *) "c", NULL
9998 };
9999
10000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
10002 if (!SWIG_IsOK(res1)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10004 }
10005 arg1 = reinterpret_cast< wxListBox * >(argp1);
10006 ecode2 = SWIG_AsVal_int(obj1, &val2);
10007 if (!SWIG_IsOK(ecode2)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10009 }
10010 arg2 = static_cast< int >(val2);
10011 {
10012 arg3 = &temp3;
10013 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_Py_Void();
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj = 0;
10030 wxListBox *arg1 = (wxListBox *) 0 ;
10031 int arg2 ;
10032 wxFont *arg3 = 0 ;
10033 void *argp1 = 0 ;
10034 int res1 = 0 ;
10035 int val2 ;
10036 int ecode2 = 0 ;
10037 void *argp3 = 0 ;
10038 int res3 = 0 ;
10039 PyObject * obj0 = 0 ;
10040 PyObject * obj1 = 0 ;
10041 PyObject * obj2 = 0 ;
10042 char * kwnames[] = {
10043 (char *) "self",(char *) "item",(char *) "f", NULL
10044 };
10045
10046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
10048 if (!SWIG_IsOK(res1)) {
10049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10050 }
10051 arg1 = reinterpret_cast< wxListBox * >(argp1);
10052 ecode2 = SWIG_AsVal_int(obj1, &val2);
10053 if (!SWIG_IsOK(ecode2)) {
10054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10055 }
10056 arg2 = static_cast< int >(val2);
10057 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10058 if (!SWIG_IsOK(res3)) {
10059 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10060 }
10061 if (!argp3) {
10062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10063 }
10064 arg3 = reinterpret_cast< wxFont * >(argp3);
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 resultobj = SWIG_Py_Void();
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj = 0;
10080 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10081 SwigValueWrapper<wxVisualAttributes > result;
10082 int val1 ;
10083 int ecode1 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "variant", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10090 if (obj0) {
10091 ecode1 = SWIG_AsVal_int(obj0, &val1);
10092 if (!SWIG_IsOK(ecode1)) {
10093 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10094 }
10095 arg1 = static_cast< wxWindowVariant >(val1);
10096 }
10097 {
10098 if (!wxPyCheckForApp()) SWIG_fail;
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = wxListBox::GetClassDefaultAttributes(arg1);
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10112 PyObject *obj;
10113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10114 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
10115 return SWIG_Py_Void();
10116 }
10117
10118 SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10119 return SWIG_Python_InitShadowInstance(args);
10120 }
10121
10122 SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj = 0;
10124 wxWindow *arg1 = (wxWindow *) 0 ;
10125 int arg2 = (int) -1 ;
10126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10128 wxSize const &arg4_defvalue = wxDefaultSize ;
10129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10130 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10131 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10132 long arg6 = (long) 0 ;
10133 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10134 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10135 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10136 wxString *arg8 = (wxString *) &arg8_defvalue ;
10137 wxCheckListBox *result = 0 ;
10138 void *argp1 = 0 ;
10139 int res1 = 0 ;
10140 int val2 ;
10141 int ecode2 = 0 ;
10142 wxPoint temp3 ;
10143 wxSize temp4 ;
10144 bool temp5 = false ;
10145 long val6 ;
10146 int ecode6 = 0 ;
10147 void *argp7 = 0 ;
10148 int res7 = 0 ;
10149 bool temp8 = false ;
10150 PyObject * obj0 = 0 ;
10151 PyObject * obj1 = 0 ;
10152 PyObject * obj2 = 0 ;
10153 PyObject * obj3 = 0 ;
10154 PyObject * obj4 = 0 ;
10155 PyObject * obj5 = 0 ;
10156 PyObject * obj6 = 0 ;
10157 PyObject * obj7 = 0 ;
10158 char * kwnames[] = {
10159 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10160 };
10161
10162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10164 if (!SWIG_IsOK(res1)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10166 }
10167 arg1 = reinterpret_cast< wxWindow * >(argp1);
10168 if (obj1) {
10169 ecode2 = SWIG_AsVal_int(obj1, &val2);
10170 if (!SWIG_IsOK(ecode2)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10172 }
10173 arg2 = static_cast< int >(val2);
10174 }
10175 if (obj2) {
10176 {
10177 arg3 = &temp3;
10178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10179 }
10180 }
10181 if (obj3) {
10182 {
10183 arg4 = &temp4;
10184 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10185 }
10186 }
10187 if (obj4) {
10188 {
10189 if (! PySequence_Check(obj4)) {
10190 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10191 SWIG_fail;
10192 }
10193 arg5 = new wxArrayString;
10194 temp5 = true;
10195 int i, len=PySequence_Length(obj4);
10196 for (i=0; i<len; i++) {
10197 PyObject* item = PySequence_GetItem(obj4, i);
10198 wxString* s = wxString_in_helper(item);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 arg5->Add(*s);
10201 delete s;
10202 Py_DECREF(item);
10203 }
10204 }
10205 }
10206 if (obj5) {
10207 ecode6 = SWIG_AsVal_long(obj5, &val6);
10208 if (!SWIG_IsOK(ecode6)) {
10209 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10210 }
10211 arg6 = static_cast< long >(val6);
10212 }
10213 if (obj6) {
10214 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10215 if (!SWIG_IsOK(res7)) {
10216 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10217 }
10218 if (!argp7) {
10219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10220 }
10221 arg7 = reinterpret_cast< wxValidator * >(argp7);
10222 }
10223 if (obj7) {
10224 {
10225 arg8 = wxString_in_helper(obj7);
10226 if (arg8 == NULL) SWIG_fail;
10227 temp8 = true;
10228 }
10229 }
10230 {
10231 if (!wxPyCheckForApp()) SWIG_fail;
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10238 {
10239 if (temp5) delete arg5;
10240 }
10241 {
10242 if (temp8)
10243 delete arg8;
10244 }
10245 return resultobj;
10246 fail:
10247 {
10248 if (temp5) delete arg5;
10249 }
10250 {
10251 if (temp8)
10252 delete arg8;
10253 }
10254 return NULL;
10255 }
10256
10257
10258 SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10259 PyObject *resultobj = 0;
10260 wxCheckListBox *result = 0 ;
10261
10262 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10263 {
10264 if (!wxPyCheckForApp()) SWIG_fail;
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (wxCheckListBox *)new wxCheckListBox();
10267 wxPyEndAllowThreads(__tstate);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10271 return resultobj;
10272 fail:
10273 return NULL;
10274 }
10275
10276
10277 SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj = 0;
10279 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10280 wxWindow *arg2 = (wxWindow *) 0 ;
10281 int arg3 = (int) -1 ;
10282 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10283 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10284 wxSize const &arg5_defvalue = wxDefaultSize ;
10285 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10286 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10287 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10288 long arg7 = (long) 0 ;
10289 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10290 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10291 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10292 wxString *arg9 = (wxString *) &arg9_defvalue ;
10293 bool result;
10294 void *argp1 = 0 ;
10295 int res1 = 0 ;
10296 void *argp2 = 0 ;
10297 int res2 = 0 ;
10298 int val3 ;
10299 int ecode3 = 0 ;
10300 wxPoint temp4 ;
10301 wxSize temp5 ;
10302 bool temp6 = false ;
10303 long val7 ;
10304 int ecode7 = 0 ;
10305 void *argp8 = 0 ;
10306 int res8 = 0 ;
10307 bool temp9 = false ;
10308 PyObject * obj0 = 0 ;
10309 PyObject * obj1 = 0 ;
10310 PyObject * obj2 = 0 ;
10311 PyObject * obj3 = 0 ;
10312 PyObject * obj4 = 0 ;
10313 PyObject * obj5 = 0 ;
10314 PyObject * obj6 = 0 ;
10315 PyObject * obj7 = 0 ;
10316 PyObject * obj8 = 0 ;
10317 char * kwnames[] = {
10318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10319 };
10320
10321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10323 if (!SWIG_IsOK(res1)) {
10324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10325 }
10326 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10327 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10328 if (!SWIG_IsOK(res2)) {
10329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10330 }
10331 arg2 = reinterpret_cast< wxWindow * >(argp2);
10332 if (obj2) {
10333 ecode3 = SWIG_AsVal_int(obj2, &val3);
10334 if (!SWIG_IsOK(ecode3)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10336 }
10337 arg3 = static_cast< int >(val3);
10338 }
10339 if (obj3) {
10340 {
10341 arg4 = &temp4;
10342 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10343 }
10344 }
10345 if (obj4) {
10346 {
10347 arg5 = &temp5;
10348 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10349 }
10350 }
10351 if (obj5) {
10352 {
10353 if (! PySequence_Check(obj5)) {
10354 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10355 SWIG_fail;
10356 }
10357 arg6 = new wxArrayString;
10358 temp6 = true;
10359 int i, len=PySequence_Length(obj5);
10360 for (i=0; i<len; i++) {
10361 PyObject* item = PySequence_GetItem(obj5, i);
10362 wxString* s = wxString_in_helper(item);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 arg6->Add(*s);
10365 delete s;
10366 Py_DECREF(item);
10367 }
10368 }
10369 }
10370 if (obj6) {
10371 ecode7 = SWIG_AsVal_long(obj6, &val7);
10372 if (!SWIG_IsOK(ecode7)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10374 }
10375 arg7 = static_cast< long >(val7);
10376 }
10377 if (obj7) {
10378 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10379 if (!SWIG_IsOK(res8)) {
10380 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10381 }
10382 if (!argp8) {
10383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10384 }
10385 arg8 = reinterpret_cast< wxValidator * >(argp8);
10386 }
10387 if (obj8) {
10388 {
10389 arg9 = wxString_in_helper(obj8);
10390 if (arg9 == NULL) SWIG_fail;
10391 temp9 = true;
10392 }
10393 }
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 {
10401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10402 }
10403 {
10404 if (temp6) delete arg6;
10405 }
10406 {
10407 if (temp9)
10408 delete arg9;
10409 }
10410 return resultobj;
10411 fail:
10412 {
10413 if (temp6) delete arg6;
10414 }
10415 {
10416 if (temp9)
10417 delete arg9;
10418 }
10419 return NULL;
10420 }
10421
10422
10423 SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj = 0;
10425 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10426 unsigned int arg2 ;
10427 bool result;
10428 void *argp1 = 0 ;
10429 int res1 = 0 ;
10430 unsigned int val2 ;
10431 int ecode2 = 0 ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "index", NULL
10436 };
10437
10438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10440 if (!SWIG_IsOK(res1)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10442 }
10443 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10444 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10445 if (!SWIG_IsOK(ecode2)) {
10446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10447 }
10448 arg2 = static_cast< unsigned int >(val2);
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (bool)(arg1)->IsChecked(arg2);
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 {
10456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10457 }
10458 return resultobj;
10459 fail:
10460 return NULL;
10461 }
10462
10463
10464 SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10465 PyObject *resultobj = 0;
10466 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10467 unsigned int arg2 ;
10468 int arg3 = (int) true ;
10469 void *argp1 = 0 ;
10470 int res1 = 0 ;
10471 unsigned int val2 ;
10472 int ecode2 = 0 ;
10473 int val3 ;
10474 int ecode3 = 0 ;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 PyObject * obj2 = 0 ;
10478 char * kwnames[] = {
10479 (char *) "self",(char *) "index",(char *) "check", NULL
10480 };
10481
10482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10484 if (!SWIG_IsOK(res1)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10486 }
10487 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10488 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
10489 if (!SWIG_IsOK(ecode2)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10491 }
10492 arg2 = static_cast< unsigned int >(val2);
10493 if (obj2) {
10494 ecode3 = SWIG_AsVal_int(obj2, &val3);
10495 if (!SWIG_IsOK(ecode3)) {
10496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10497 }
10498 arg3 = static_cast< int >(val3);
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 (arg1)->Check(arg2,arg3);
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 resultobj = SWIG_Py_Void();
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10514 PyObject *obj;
10515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10516 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10517 return SWIG_Py_Void();
10518 }
10519
10520 SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10521 return SWIG_Python_InitShadowInstance(args);
10522 }
10523
10524 SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10525 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10526 return 1;
10527 }
10528
10529
10530 SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10531 PyObject *pyobj = 0;
10532
10533 {
10534 #if wxUSE_UNICODE
10535 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10536 #else
10537 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10538 #endif
10539 }
10540 return pyobj;
10541 }
10542
10543
10544 SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj = 0;
10546 wxColour const &arg1_defvalue = wxNullColour ;
10547 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10548 wxColour const &arg2_defvalue = wxNullColour ;
10549 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10550 wxFont const &arg3_defvalue = wxNullFont ;
10551 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10552 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10553 wxTextAttr *result = 0 ;
10554 wxColour temp1 ;
10555 wxColour temp2 ;
10556 void *argp3 = 0 ;
10557 int res3 = 0 ;
10558 int val4 ;
10559 int ecode4 = 0 ;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562 PyObject * obj2 = 0 ;
10563 PyObject * obj3 = 0 ;
10564 char * kwnames[] = {
10565 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10566 };
10567
10568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10569 if (obj0) {
10570 {
10571 arg1 = &temp1;
10572 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
10573 }
10574 }
10575 if (obj1) {
10576 {
10577 arg2 = &temp2;
10578 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10579 }
10580 }
10581 if (obj2) {
10582 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10583 if (!SWIG_IsOK(res3)) {
10584 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10585 }
10586 if (!argp3) {
10587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10588 }
10589 arg3 = reinterpret_cast< wxFont * >(argp3);
10590 }
10591 if (obj3) {
10592 ecode4 = SWIG_AsVal_int(obj3, &val4);
10593 if (!SWIG_IsOK(ecode4)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10595 }
10596 arg4 = static_cast< wxTextAttrAlignment >(val4);
10597 }
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 PyObject *resultobj = 0;
10613 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10614 void *argp1 = 0 ;
10615 int res1 = 0 ;
10616 PyObject *swig_obj[1] ;
10617
10618 if (!args) SWIG_fail;
10619 swig_obj[0] = args;
10620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10621 if (!SWIG_IsOK(res1)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10623 }
10624 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 delete arg1;
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 resultobj = SWIG_Py_Void();
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10640 PyObject *resultobj = 0;
10641 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10642 void *argp1 = 0 ;
10643 int res1 = 0 ;
10644 PyObject *swig_obj[1] ;
10645
10646 if (!args) SWIG_fail;
10647 swig_obj[0] = args;
10648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10649 if (!SWIG_IsOK(res1)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10651 }
10652 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 (arg1)->Init();
10656 wxPyEndAllowThreads(__tstate);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 resultobj = SWIG_Py_Void();
10660 return resultobj;
10661 fail:
10662 return NULL;
10663 }
10664
10665
10666 SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj = 0;
10668 wxTextAttr *arg1 = 0 ;
10669 wxTextAttr *arg2 = 0 ;
10670 wxTextAttr result;
10671 void *argp1 = 0 ;
10672 int res1 = 0 ;
10673 void *argp2 = 0 ;
10674 int res2 = 0 ;
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
10677 char * kwnames[] = {
10678 (char *) "base",(char *) "overlay", NULL
10679 };
10680
10681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10682 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10685 }
10686 if (!argp1) {
10687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10688 }
10689 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10691 if (!SWIG_IsOK(res2)) {
10692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10693 }
10694 if (!argp2) {
10695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10696 }
10697 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj = 0;
10713 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10714 wxColour *arg2 = 0 ;
10715 void *argp1 = 0 ;
10716 int res1 = 0 ;
10717 wxColour temp2 ;
10718 PyObject * obj0 = 0 ;
10719 PyObject * obj1 = 0 ;
10720 char * kwnames[] = {
10721 (char *) "self",(char *) "colText", NULL
10722 };
10723
10724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10726 if (!SWIG_IsOK(res1)) {
10727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10728 }
10729 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10730 {
10731 arg2 = &temp2;
10732 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10733 }
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 (arg1)->SetTextColour((wxColour const &)*arg2);
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_Py_Void();
10741 return resultobj;
10742 fail:
10743 return NULL;
10744 }
10745
10746
10747 SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10748 PyObject *resultobj = 0;
10749 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10750 wxColour *arg2 = 0 ;
10751 void *argp1 = 0 ;
10752 int res1 = 0 ;
10753 wxColour temp2 ;
10754 PyObject * obj0 = 0 ;
10755 PyObject * obj1 = 0 ;
10756 char * kwnames[] = {
10757 (char *) "self",(char *) "colBack", NULL
10758 };
10759
10760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10762 if (!SWIG_IsOK(res1)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10764 }
10765 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10766 {
10767 arg2 = &temp2;
10768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 resultobj = SWIG_Py_Void();
10777 return resultobj;
10778 fail:
10779 return NULL;
10780 }
10781
10782
10783 SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10784 PyObject *resultobj = 0;
10785 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10786 wxFont *arg2 = 0 ;
10787 long arg3 = (long) wxTEXT_ATTR_FONT ;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 void *argp2 = 0 ;
10791 int res2 = 0 ;
10792 long val3 ;
10793 int ecode3 = 0 ;
10794 PyObject * obj0 = 0 ;
10795 PyObject * obj1 = 0 ;
10796 PyObject * obj2 = 0 ;
10797 char * kwnames[] = {
10798 (char *) "self",(char *) "font",(char *) "flags", NULL
10799 };
10800
10801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10803 if (!SWIG_IsOK(res1)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10805 }
10806 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10807 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10808 if (!SWIG_IsOK(res2)) {
10809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10810 }
10811 if (!argp2) {
10812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10813 }
10814 arg2 = reinterpret_cast< wxFont * >(argp2);
10815 if (obj2) {
10816 ecode3 = SWIG_AsVal_long(obj2, &val3);
10817 if (!SWIG_IsOK(ecode3)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10819 }
10820 arg3 = static_cast< long >(val3);
10821 }
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 resultobj = SWIG_Py_Void();
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10836 PyObject *resultobj = 0;
10837 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10838 wxTextAttrAlignment arg2 ;
10839 void *argp1 = 0 ;
10840 int res1 = 0 ;
10841 int val2 ;
10842 int ecode2 = 0 ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 char * kwnames[] = {
10846 (char *) "self",(char *) "alignment", NULL
10847 };
10848
10849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10851 if (!SWIG_IsOK(res1)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10853 }
10854 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10855 ecode2 = SWIG_AsVal_int(obj1, &val2);
10856 if (!SWIG_IsOK(ecode2)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10858 }
10859 arg2 = static_cast< wxTextAttrAlignment >(val2);
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 (arg1)->SetAlignment(arg2);
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 resultobj = SWIG_Py_Void();
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj = 0;
10875 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10876 wxArrayInt *arg2 = 0 ;
10877 void *argp1 = 0 ;
10878 int res1 = 0 ;
10879 bool temp2 = false ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 char * kwnames[] = {
10883 (char *) "self",(char *) "tabs", NULL
10884 };
10885
10886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10888 if (!SWIG_IsOK(res1)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10890 }
10891 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10892 {
10893 if (! PySequence_Check(obj1)) {
10894 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10895 SWIG_fail;
10896 }
10897 arg2 = new wxArrayInt;
10898 temp2 = true;
10899 int i, len=PySequence_Length(obj1);
10900 for (i=0; i<len; i++) {
10901 PyObject* item = PySequence_GetItem(obj1, i);
10902 PyObject* number = PyNumber_Int(item);
10903 if (!number) {
10904 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10905 SWIG_fail;
10906 }
10907 arg2->Add(PyInt_AS_LONG(number));
10908 Py_DECREF(item);
10909 Py_DECREF(number);
10910 }
10911 }
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 resultobj = SWIG_Py_Void();
10919 {
10920 if (temp2) delete arg2;
10921 }
10922 return resultobj;
10923 fail:
10924 {
10925 if (temp2) delete arg2;
10926 }
10927 return NULL;
10928 }
10929
10930
10931 SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj = 0;
10933 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10934 int arg2 ;
10935 int arg3 = (int) 0 ;
10936 void *argp1 = 0 ;
10937 int res1 = 0 ;
10938 int val2 ;
10939 int ecode2 = 0 ;
10940 int val3 ;
10941 int ecode3 = 0 ;
10942 PyObject * obj0 = 0 ;
10943 PyObject * obj1 = 0 ;
10944 PyObject * obj2 = 0 ;
10945 char * kwnames[] = {
10946 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10947 };
10948
10949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10951 if (!SWIG_IsOK(res1)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10953 }
10954 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10955 ecode2 = SWIG_AsVal_int(obj1, &val2);
10956 if (!SWIG_IsOK(ecode2)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10958 }
10959 arg2 = static_cast< int >(val2);
10960 if (obj2) {
10961 ecode3 = SWIG_AsVal_int(obj2, &val3);
10962 if (!SWIG_IsOK(ecode3)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10964 }
10965 arg3 = static_cast< int >(val3);
10966 }
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 (arg1)->SetLeftIndent(arg2,arg3);
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = SWIG_Py_Void();
10974 return resultobj;
10975 fail:
10976 return NULL;
10977 }
10978
10979
10980 SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj = 0;
10982 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10983 int arg2 ;
10984 void *argp1 = 0 ;
10985 int res1 = 0 ;
10986 int val2 ;
10987 int ecode2 = 0 ;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 char * kwnames[] = {
10991 (char *) "self",(char *) "indent", NULL
10992 };
10993
10994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10996 if (!SWIG_IsOK(res1)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10998 }
10999 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11000 ecode2 = SWIG_AsVal_int(obj1, &val2);
11001 if (!SWIG_IsOK(ecode2)) {
11002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11003 }
11004 arg2 = static_cast< int >(val2);
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 (arg1)->SetRightIndent(arg2);
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 resultobj = SWIG_Py_Void();
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj = 0;
11020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11021 long arg2 ;
11022 void *argp1 = 0 ;
11023 int res1 = 0 ;
11024 long val2 ;
11025 int ecode2 = 0 ;
11026 PyObject * obj0 = 0 ;
11027 PyObject * obj1 = 0 ;
11028 char * kwnames[] = {
11029 (char *) "self",(char *) "flags", NULL
11030 };
11031
11032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11034 if (!SWIG_IsOK(res1)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11036 }
11037 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11038 ecode2 = SWIG_AsVal_long(obj1, &val2);
11039 if (!SWIG_IsOK(ecode2)) {
11040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11041 }
11042 arg2 = static_cast< long >(val2);
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->SetFlags(arg2);
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 resultobj = SWIG_Py_Void();
11050 return resultobj;
11051 fail:
11052 return NULL;
11053 }
11054
11055
11056 SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11057 PyObject *resultobj = 0;
11058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11059 bool result;
11060 void *argp1 = 0 ;
11061 int res1 = 0 ;
11062 PyObject *swig_obj[1] ;
11063
11064 if (!args) SWIG_fail;
11065 swig_obj[0] = args;
11066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 {
11078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11079 }
11080 return resultobj;
11081 fail:
11082 return NULL;
11083 }
11084
11085
11086 SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11087 PyObject *resultobj = 0;
11088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11089 bool result;
11090 void *argp1 = 0 ;
11091 int res1 = 0 ;
11092 PyObject *swig_obj[1] ;
11093
11094 if (!args) SWIG_fail;
11095 swig_obj[0] = args;
11096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11099 }
11100 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11104 wxPyEndAllowThreads(__tstate);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 }
11107 {
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 }
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11117 PyObject *resultobj = 0;
11118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11119 bool result;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 PyObject *swig_obj[1] ;
11123
11124 if (!args) SWIG_fail;
11125 swig_obj[0] = args;
11126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11129 }
11130 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 {
11138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11139 }
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11147 PyObject *resultobj = 0;
11148 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11149 bool result;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 PyObject *swig_obj[1] ;
11153
11154 if (!args) SWIG_fail;
11155 swig_obj[0] = args;
11156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11157 if (!SWIG_IsOK(res1)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11159 }
11160 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
11170 return resultobj;
11171 fail:
11172 return NULL;
11173 }
11174
11175
11176 SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11177 PyObject *resultobj = 0;
11178 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11179 bool result;
11180 void *argp1 = 0 ;
11181 int res1 = 0 ;
11182 PyObject *swig_obj[1] ;
11183
11184 if (!args) SWIG_fail;
11185 swig_obj[0] = args;
11186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11187 if (!SWIG_IsOK(res1)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11189 }
11190 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11191 {
11192 PyThreadState* __tstate = wxPyBeginAllowThreads();
11193 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11194 wxPyEndAllowThreads(__tstate);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 {
11198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11199 }
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11207 PyObject *resultobj = 0;
11208 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11209 bool result;
11210 void *argp1 = 0 ;
11211 int res1 = 0 ;
11212 PyObject *swig_obj[1] ;
11213
11214 if (!args) SWIG_fail;
11215 swig_obj[0] = args;
11216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11217 if (!SWIG_IsOK(res1)) {
11218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11219 }
11220 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 {
11228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11229 }
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11237 PyObject *resultobj = 0;
11238 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11239 bool result;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 PyObject *swig_obj[1] ;
11243
11244 if (!args) SWIG_fail;
11245 swig_obj[0] = args;
11246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11247 if (!SWIG_IsOK(res1)) {
11248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11249 }
11250 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 {
11258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11259 }
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11267 PyObject *resultobj = 0;
11268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11269 long arg2 ;
11270 bool result;
11271 void *argp1 = 0 ;
11272 int res1 = 0 ;
11273 long val2 ;
11274 int ecode2 = 0 ;
11275 PyObject * obj0 = 0 ;
11276 PyObject * obj1 = 0 ;
11277 char * kwnames[] = {
11278 (char *) "self",(char *) "flag", NULL
11279 };
11280
11281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11283 if (!SWIG_IsOK(res1)) {
11284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11285 }
11286 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11287 ecode2 = SWIG_AsVal_long(obj1, &val2);
11288 if (!SWIG_IsOK(ecode2)) {
11289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11290 }
11291 arg2 = static_cast< long >(val2);
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 {
11299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11300 }
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11308 PyObject *resultobj = 0;
11309 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11310 wxColour *result = 0 ;
11311 void *argp1 = 0 ;
11312 int res1 = 0 ;
11313 PyObject *swig_obj[1] ;
11314
11315 if (!args) SWIG_fail;
11316 swig_obj[0] = args;
11317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11318 if (!SWIG_IsOK(res1)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 }
11321 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 {
11325 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11326 result = (wxColour *) &_result_ref;
11327 }
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11339 PyObject *resultobj = 0;
11340 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11341 wxColour *result = 0 ;
11342 void *argp1 = 0 ;
11343 int res1 = 0 ;
11344 PyObject *swig_obj[1] ;
11345
11346 if (!args) SWIG_fail;
11347 swig_obj[0] = args;
11348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11349 if (!SWIG_IsOK(res1)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11351 }
11352 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 {
11356 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11357 result = (wxColour *) &_result_ref;
11358 }
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11363 return resultobj;
11364 fail:
11365 return NULL;
11366 }
11367
11368
11369 SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11370 PyObject *resultobj = 0;
11371 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11372 wxFont *result = 0 ;
11373 void *argp1 = 0 ;
11374 int res1 = 0 ;
11375 PyObject *swig_obj[1] ;
11376
11377 if (!args) SWIG_fail;
11378 swig_obj[0] = args;
11379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11380 if (!SWIG_IsOK(res1)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11382 }
11383 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 {
11387 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11388 result = (wxFont *) &_result_ref;
11389 }
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 {
11394 wxFont* resultptr = new wxFont(*result);
11395 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11396 }
11397 return resultobj;
11398 fail:
11399 return NULL;
11400 }
11401
11402
11403 SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11404 PyObject *resultobj = 0;
11405 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11406 wxTextAttrAlignment result;
11407 void *argp1 = 0 ;
11408 int res1 = 0 ;
11409 PyObject *swig_obj[1] ;
11410
11411 if (!args) SWIG_fail;
11412 swig_obj[0] = args;
11413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11414 if (!SWIG_IsOK(res1)) {
11415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11416 }
11417 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11418 {
11419 PyThreadState* __tstate = wxPyBeginAllowThreads();
11420 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 resultobj = SWIG_From_int(static_cast< int >(result));
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11432 PyObject *resultobj = 0;
11433 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11434 wxArrayInt *result = 0 ;
11435 void *argp1 = 0 ;
11436 int res1 = 0 ;
11437 PyObject *swig_obj[1] ;
11438
11439 if (!args) SWIG_fail;
11440 swig_obj[0] = args;
11441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11442 if (!SWIG_IsOK(res1)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11444 }
11445 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 {
11449 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11450 result = (wxArrayInt *) &_result_ref;
11451 }
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 {
11456 resultobj = wxArrayInt2PyList_helper(*result);
11457 }
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11465 PyObject *resultobj = 0;
11466 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11467 long result;
11468 void *argp1 = 0 ;
11469 int res1 = 0 ;
11470 PyObject *swig_obj[1] ;
11471
11472 if (!args) SWIG_fail;
11473 swig_obj[0] = args;
11474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11475 if (!SWIG_IsOK(res1)) {
11476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11477 }
11478 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 resultobj = SWIG_From_long(static_cast< long >(result));
11486 return resultobj;
11487 fail:
11488 return NULL;
11489 }
11490
11491
11492 SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11493 PyObject *resultobj = 0;
11494 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11495 long result;
11496 void *argp1 = 0 ;
11497 int res1 = 0 ;
11498 PyObject *swig_obj[1] ;
11499
11500 if (!args) SWIG_fail;
11501 swig_obj[0] = args;
11502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11503 if (!SWIG_IsOK(res1)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11505 }
11506 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 resultobj = SWIG_From_long(static_cast< long >(result));
11514 return resultobj;
11515 fail:
11516 return NULL;
11517 }
11518
11519
11520 SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11521 PyObject *resultobj = 0;
11522 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11523 long result;
11524 void *argp1 = 0 ;
11525 int res1 = 0 ;
11526 PyObject *swig_obj[1] ;
11527
11528 if (!args) SWIG_fail;
11529 swig_obj[0] = args;
11530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11531 if (!SWIG_IsOK(res1)) {
11532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11533 }
11534 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11535 {
11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
11537 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 resultobj = SWIG_From_long(static_cast< long >(result));
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11549 PyObject *resultobj = 0;
11550 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11551 long result;
11552 void *argp1 = 0 ;
11553 int res1 = 0 ;
11554 PyObject *swig_obj[1] ;
11555
11556 if (!args) SWIG_fail;
11557 swig_obj[0] = args;
11558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11559 if (!SWIG_IsOK(res1)) {
11560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11561 }
11562 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11563 {
11564 PyThreadState* __tstate = wxPyBeginAllowThreads();
11565 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 resultobj = SWIG_From_long(static_cast< long >(result));
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11577 PyObject *resultobj = 0;
11578 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11579 bool result;
11580 void *argp1 = 0 ;
11581 int res1 = 0 ;
11582 PyObject *swig_obj[1] ;
11583
11584 if (!args) SWIG_fail;
11585 swig_obj[0] = args;
11586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11587 if (!SWIG_IsOK(res1)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11589 }
11590 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11594 wxPyEndAllowThreads(__tstate);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 {
11598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11599 }
11600 return resultobj;
11601 fail:
11602 return NULL;
11603 }
11604
11605
11606 SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11607 PyObject *resultobj = 0;
11608 wxTextAttr *arg1 = 0 ;
11609 wxTextAttr *arg2 = 0 ;
11610 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11611 wxTextAttr result;
11612 void *argp1 = 0 ;
11613 int res1 = 0 ;
11614 void *argp2 = 0 ;
11615 int res2 = 0 ;
11616 void *argp3 = 0 ;
11617 int res3 = 0 ;
11618 PyObject * obj0 = 0 ;
11619 PyObject * obj1 = 0 ;
11620 PyObject * obj2 = 0 ;
11621 char * kwnames[] = {
11622 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11623 };
11624
11625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11626 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11627 if (!SWIG_IsOK(res1)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11629 }
11630 if (!argp1) {
11631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11632 }
11633 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11635 if (!SWIG_IsOK(res2)) {
11636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11637 }
11638 if (!argp2) {
11639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11640 }
11641 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11642 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11643 if (!SWIG_IsOK(res3)) {
11644 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11645 }
11646 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11661 PyObject *obj;
11662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11663 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11664 return SWIG_Py_Void();
11665 }
11666
11667 SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11668 return SWIG_Python_InitShadowInstance(args);
11669 }
11670
11671 SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj = 0;
11673 wxWindow *arg1 = (wxWindow *) 0 ;
11674 int arg2 = (int) -1 ;
11675 wxString const &arg3_defvalue = wxPyEmptyString ;
11676 wxString *arg3 = (wxString *) &arg3_defvalue ;
11677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11679 wxSize const &arg5_defvalue = wxDefaultSize ;
11680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11681 long arg6 = (long) 0 ;
11682 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11683 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11684 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11685 wxString *arg8 = (wxString *) &arg8_defvalue ;
11686 wxTextCtrl *result = 0 ;
11687 void *argp1 = 0 ;
11688 int res1 = 0 ;
11689 int val2 ;
11690 int ecode2 = 0 ;
11691 bool temp3 = false ;
11692 wxPoint temp4 ;
11693 wxSize temp5 ;
11694 long val6 ;
11695 int ecode6 = 0 ;
11696 void *argp7 = 0 ;
11697 int res7 = 0 ;
11698 bool temp8 = false ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 PyObject * obj2 = 0 ;
11702 PyObject * obj3 = 0 ;
11703 PyObject * obj4 = 0 ;
11704 PyObject * obj5 = 0 ;
11705 PyObject * obj6 = 0 ;
11706 PyObject * obj7 = 0 ;
11707 char * kwnames[] = {
11708 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11709 };
11710
11711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11713 if (!SWIG_IsOK(res1)) {
11714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11715 }
11716 arg1 = reinterpret_cast< wxWindow * >(argp1);
11717 if (obj1) {
11718 ecode2 = SWIG_AsVal_int(obj1, &val2);
11719 if (!SWIG_IsOK(ecode2)) {
11720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11721 }
11722 arg2 = static_cast< int >(val2);
11723 }
11724 if (obj2) {
11725 {
11726 arg3 = wxString_in_helper(obj2);
11727 if (arg3 == NULL) SWIG_fail;
11728 temp3 = true;
11729 }
11730 }
11731 if (obj3) {
11732 {
11733 arg4 = &temp4;
11734 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11735 }
11736 }
11737 if (obj4) {
11738 {
11739 arg5 = &temp5;
11740 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11741 }
11742 }
11743 if (obj5) {
11744 ecode6 = SWIG_AsVal_long(obj5, &val6);
11745 if (!SWIG_IsOK(ecode6)) {
11746 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11747 }
11748 arg6 = static_cast< long >(val6);
11749 }
11750 if (obj6) {
11751 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11752 if (!SWIG_IsOK(res7)) {
11753 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11754 }
11755 if (!argp7) {
11756 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11757 }
11758 arg7 = reinterpret_cast< wxValidator * >(argp7);
11759 }
11760 if (obj7) {
11761 {
11762 arg8 = wxString_in_helper(obj7);
11763 if (arg8 == NULL) SWIG_fail;
11764 temp8 = true;
11765 }
11766 }
11767 {
11768 if (!wxPyCheckForApp()) SWIG_fail;
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11775 {
11776 if (temp3)
11777 delete arg3;
11778 }
11779 {
11780 if (temp8)
11781 delete arg8;
11782 }
11783 return resultobj;
11784 fail:
11785 {
11786 if (temp3)
11787 delete arg3;
11788 }
11789 {
11790 if (temp8)
11791 delete arg8;
11792 }
11793 return NULL;
11794 }
11795
11796
11797 SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11798 PyObject *resultobj = 0;
11799 wxTextCtrl *result = 0 ;
11800
11801 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11802 {
11803 if (!wxPyCheckForApp()) SWIG_fail;
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (wxTextCtrl *)new wxTextCtrl();
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj = 0;
11818 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11819 wxWindow *arg2 = (wxWindow *) 0 ;
11820 int arg3 = (int) -1 ;
11821 wxString const &arg4_defvalue = wxPyEmptyString ;
11822 wxString *arg4 = (wxString *) &arg4_defvalue ;
11823 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11824 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11825 wxSize const &arg6_defvalue = wxDefaultSize ;
11826 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11827 long arg7 = (long) 0 ;
11828 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11829 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11830 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11831 wxString *arg9 = (wxString *) &arg9_defvalue ;
11832 bool result;
11833 void *argp1 = 0 ;
11834 int res1 = 0 ;
11835 void *argp2 = 0 ;
11836 int res2 = 0 ;
11837 int val3 ;
11838 int ecode3 = 0 ;
11839 bool temp4 = false ;
11840 wxPoint temp5 ;
11841 wxSize temp6 ;
11842 long val7 ;
11843 int ecode7 = 0 ;
11844 void *argp8 = 0 ;
11845 int res8 = 0 ;
11846 bool temp9 = false ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 PyObject * obj2 = 0 ;
11850 PyObject * obj3 = 0 ;
11851 PyObject * obj4 = 0 ;
11852 PyObject * obj5 = 0 ;
11853 PyObject * obj6 = 0 ;
11854 PyObject * obj7 = 0 ;
11855 PyObject * obj8 = 0 ;
11856 char * kwnames[] = {
11857 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11858 };
11859
11860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11862 if (!SWIG_IsOK(res1)) {
11863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11864 }
11865 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11866 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11867 if (!SWIG_IsOK(res2)) {
11868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11869 }
11870 arg2 = reinterpret_cast< wxWindow * >(argp2);
11871 if (obj2) {
11872 ecode3 = SWIG_AsVal_int(obj2, &val3);
11873 if (!SWIG_IsOK(ecode3)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11875 }
11876 arg3 = static_cast< int >(val3);
11877 }
11878 if (obj3) {
11879 {
11880 arg4 = wxString_in_helper(obj3);
11881 if (arg4 == NULL) SWIG_fail;
11882 temp4 = true;
11883 }
11884 }
11885 if (obj4) {
11886 {
11887 arg5 = &temp5;
11888 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11889 }
11890 }
11891 if (obj5) {
11892 {
11893 arg6 = &temp6;
11894 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11895 }
11896 }
11897 if (obj6) {
11898 ecode7 = SWIG_AsVal_long(obj6, &val7);
11899 if (!SWIG_IsOK(ecode7)) {
11900 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11901 }
11902 arg7 = static_cast< long >(val7);
11903 }
11904 if (obj7) {
11905 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11906 if (!SWIG_IsOK(res8)) {
11907 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11908 }
11909 if (!argp8) {
11910 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11911 }
11912 arg8 = reinterpret_cast< wxValidator * >(argp8);
11913 }
11914 if (obj8) {
11915 {
11916 arg9 = wxString_in_helper(obj8);
11917 if (arg9 == NULL) SWIG_fail;
11918 temp9 = true;
11919 }
11920 }
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 {
11928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11929 }
11930 {
11931 if (temp4)
11932 delete arg4;
11933 }
11934 {
11935 if (temp9)
11936 delete arg9;
11937 }
11938 return resultobj;
11939 fail:
11940 {
11941 if (temp4)
11942 delete arg4;
11943 }
11944 {
11945 if (temp9)
11946 delete arg9;
11947 }
11948 return NULL;
11949 }
11950
11951
11952 SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11953 PyObject *resultobj = 0;
11954 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11955 wxString result;
11956 void *argp1 = 0 ;
11957 int res1 = 0 ;
11958 PyObject *swig_obj[1] ;
11959
11960 if (!args) SWIG_fail;
11961 swig_obj[0] = args;
11962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11963 if (!SWIG_IsOK(res1)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11965 }
11966 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = ((wxTextCtrl const *)arg1)->GetValue();
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 {
11974 #if wxUSE_UNICODE
11975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11976 #else
11977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11978 #endif
11979 }
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11989 wxString *arg2 = 0 ;
11990 void *argp1 = 0 ;
11991 int res1 = 0 ;
11992 bool temp2 = false ;
11993 PyObject * obj0 = 0 ;
11994 PyObject * obj1 = 0 ;
11995 char * kwnames[] = {
11996 (char *) "self",(char *) "value", NULL
11997 };
11998
11999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
12000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12001 if (!SWIG_IsOK(res1)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12003 }
12004 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12005 {
12006 arg2 = wxString_in_helper(obj1);
12007 if (arg2 == NULL) SWIG_fail;
12008 temp2 = true;
12009 }
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 (arg1)->SetValue((wxString const &)*arg2);
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_Py_Void();
12017 {
12018 if (temp2)
12019 delete arg2;
12020 }
12021 return resultobj;
12022 fail:
12023 {
12024 if (temp2)
12025 delete arg2;
12026 }
12027 return NULL;
12028 }
12029
12030
12031 SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12032 PyObject *resultobj = 0;
12033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12034 bool result;
12035 void *argp1 = 0 ;
12036 int res1 = 0 ;
12037 PyObject *swig_obj[1] ;
12038
12039 if (!args) SWIG_fail;
12040 swig_obj[0] = args;
12041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12042 if (!SWIG_IsOK(res1)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12044 }
12045 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 {
12053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12054 }
12055 return resultobj;
12056 fail:
12057 return NULL;
12058 }
12059
12060
12061 SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj = 0;
12063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12064 wxString *arg2 = 0 ;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 bool temp2 = false ;
12068 PyObject * obj0 = 0 ;
12069 PyObject * obj1 = 0 ;
12070 char * kwnames[] = {
12071 (char *) "self",(char *) "value", NULL
12072 };
12073
12074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) SWIG_fail;
12075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12076 if (!SWIG_IsOK(res1)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12078 }
12079 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12080 {
12081 arg2 = wxString_in_helper(obj1);
12082 if (arg2 == NULL) SWIG_fail;
12083 temp2 = true;
12084 }
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->ChangeValue((wxString const &)*arg2);
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = SWIG_Py_Void();
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 return resultobj;
12097 fail:
12098 {
12099 if (temp2)
12100 delete arg2;
12101 }
12102 return NULL;
12103 }
12104
12105
12106 SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj = 0;
12108 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12109 long arg2 ;
12110 long arg3 ;
12111 wxString result;
12112 void *argp1 = 0 ;
12113 int res1 = 0 ;
12114 long val2 ;
12115 int ecode2 = 0 ;
12116 long val3 ;
12117 int ecode3 = 0 ;
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 PyObject * obj2 = 0 ;
12121 char * kwnames[] = {
12122 (char *) "self",(char *) "from",(char *) "to", NULL
12123 };
12124
12125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12127 if (!SWIG_IsOK(res1)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12129 }
12130 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12131 ecode2 = SWIG_AsVal_long(obj1, &val2);
12132 if (!SWIG_IsOK(ecode2)) {
12133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12134 }
12135 arg2 = static_cast< long >(val2);
12136 ecode3 = SWIG_AsVal_long(obj2, &val3);
12137 if (!SWIG_IsOK(ecode3)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12139 }
12140 arg3 = static_cast< long >(val3);
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 {
12148 #if wxUSE_UNICODE
12149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12150 #else
12151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12152 #endif
12153 }
12154 return resultobj;
12155 fail:
12156 return NULL;
12157 }
12158
12159
12160 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12161 PyObject *resultobj = 0;
12162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12163 long arg2 ;
12164 int result;
12165 void *argp1 = 0 ;
12166 int res1 = 0 ;
12167 long val2 ;
12168 int ecode2 = 0 ;
12169 PyObject * obj0 = 0 ;
12170 PyObject * obj1 = 0 ;
12171 char * kwnames[] = {
12172 (char *) "self",(char *) "lineNo", NULL
12173 };
12174
12175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12179 }
12180 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12181 ecode2 = SWIG_AsVal_long(obj1, &val2);
12182 if (!SWIG_IsOK(ecode2)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12184 }
12185 arg2 = static_cast< long >(val2);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_From_int(static_cast< int >(result));
12193 return resultobj;
12194 fail:
12195 return NULL;
12196 }
12197
12198
12199 SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12200 PyObject *resultobj = 0;
12201 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12202 long arg2 ;
12203 wxString result;
12204 void *argp1 = 0 ;
12205 int res1 = 0 ;
12206 long val2 ;
12207 int ecode2 = 0 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "self",(char *) "lineNo", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12216 if (!SWIG_IsOK(res1)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12218 }
12219 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12220 ecode2 = SWIG_AsVal_long(obj1, &val2);
12221 if (!SWIG_IsOK(ecode2)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12223 }
12224 arg2 = static_cast< long >(val2);
12225 {
12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
12227 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 {
12232 #if wxUSE_UNICODE
12233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12234 #else
12235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12236 #endif
12237 }
12238 return resultobj;
12239 fail:
12240 return NULL;
12241 }
12242
12243
12244 SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12245 PyObject *resultobj = 0;
12246 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12247 int result;
12248 void *argp1 = 0 ;
12249 int res1 = 0 ;
12250 PyObject *swig_obj[1] ;
12251
12252 if (!args) SWIG_fail;
12253 swig_obj[0] = args;
12254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12255 if (!SWIG_IsOK(res1)) {
12256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12257 }
12258 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
12265 resultobj = SWIG_From_int(static_cast< int >(result));
12266 return resultobj;
12267 fail:
12268 return NULL;
12269 }
12270
12271
12272 SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 bool result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12295 }
12296 return resultobj;
12297 fail:
12298 return NULL;
12299 }
12300
12301
12302 SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12303 PyObject *resultobj = 0;
12304 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12305 bool result;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 PyObject *swig_obj[1] ;
12309
12310 if (!args) SWIG_fail;
12311 swig_obj[0] = args;
12312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12313 if (!SWIG_IsOK(res1)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12315 }
12316 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 {
12324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12325 }
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12333 PyObject *resultobj = 0;
12334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12335 bool result;
12336 void *argp1 = 0 ;
12337 int res1 = 0 ;
12338 PyObject *swig_obj[1] ;
12339
12340 if (!args) SWIG_fail;
12341 swig_obj[0] = args;
12342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12343 if (!SWIG_IsOK(res1)) {
12344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12345 }
12346 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12347 {
12348 PyThreadState* __tstate = wxPyBeginAllowThreads();
12349 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 {
12354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12355 }
12356 return resultobj;
12357 fail:
12358 return NULL;
12359 }
12360
12361
12362 SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12363 PyObject *resultobj = 0;
12364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12365 bool result;
12366 void *argp1 = 0 ;
12367 int res1 = 0 ;
12368 PyObject *swig_obj[1] ;
12369
12370 if (!args) SWIG_fail;
12371 swig_obj[0] = args;
12372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12373 if (!SWIG_IsOK(res1)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12375 }
12376 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12377 {
12378 PyThreadState* __tstate = wxPyBeginAllowThreads();
12379 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 {
12384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12385 }
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12393 PyObject *resultobj = 0;
12394 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12395 long *arg2 = (long *) 0 ;
12396 long *arg3 = (long *) 0 ;
12397 void *argp1 = 0 ;
12398 int res1 = 0 ;
12399 long temp2 ;
12400 int res2 = SWIG_TMPOBJ ;
12401 long temp3 ;
12402 int res3 = SWIG_TMPOBJ ;
12403 PyObject *swig_obj[1] ;
12404
12405 arg2 = &temp2;
12406 arg3 = &temp3;
12407 if (!args) SWIG_fail;
12408 swig_obj[0] = args;
12409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12410 if (!SWIG_IsOK(res1)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12412 }
12413 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 resultobj = SWIG_Py_Void();
12421 if (SWIG_IsTmpObj(res2)) {
12422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12423 } else {
12424 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12426 }
12427 if (SWIG_IsTmpObj(res3)) {
12428 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12429 } else {
12430 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12432 }
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12440 PyObject *resultobj = 0;
12441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12442 wxString result;
12443 void *argp1 = 0 ;
12444 int res1 = 0 ;
12445 PyObject *swig_obj[1] ;
12446
12447 if (!args) SWIG_fail;
12448 swig_obj[0] = args;
12449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12452 }
12453 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 {
12461 #if wxUSE_UNICODE
12462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12463 #else
12464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12465 #endif
12466 }
12467 return resultobj;
12468 fail:
12469 return NULL;
12470 }
12471
12472
12473 SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12474 PyObject *resultobj = 0;
12475 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12476 void *argp1 = 0 ;
12477 int res1 = 0 ;
12478 PyObject *swig_obj[1] ;
12479
12480 if (!args) SWIG_fail;
12481 swig_obj[0] = args;
12482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12483 if (!SWIG_IsOK(res1)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12485 }
12486 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 (arg1)->Clear();
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = SWIG_Py_Void();
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj = 0;
12502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12503 long arg2 ;
12504 long arg3 ;
12505 wxString *arg4 = 0 ;
12506 void *argp1 = 0 ;
12507 int res1 = 0 ;
12508 long val2 ;
12509 int ecode2 = 0 ;
12510 long val3 ;
12511 int ecode3 = 0 ;
12512 bool temp4 = false ;
12513 PyObject * obj0 = 0 ;
12514 PyObject * obj1 = 0 ;
12515 PyObject * obj2 = 0 ;
12516 PyObject * obj3 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12525 }
12526 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12527 ecode2 = SWIG_AsVal_long(obj1, &val2);
12528 if (!SWIG_IsOK(ecode2)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12530 }
12531 arg2 = static_cast< long >(val2);
12532 ecode3 = SWIG_AsVal_long(obj2, &val3);
12533 if (!SWIG_IsOK(ecode3)) {
12534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12535 }
12536 arg3 = static_cast< long >(val3);
12537 {
12538 arg4 = wxString_in_helper(obj3);
12539 if (arg4 == NULL) SWIG_fail;
12540 temp4 = true;
12541 }
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12545 wxPyEndAllowThreads(__tstate);
12546 if (PyErr_Occurred()) SWIG_fail;
12547 }
12548 resultobj = SWIG_Py_Void();
12549 {
12550 if (temp4)
12551 delete arg4;
12552 }
12553 return resultobj;
12554 fail:
12555 {
12556 if (temp4)
12557 delete arg4;
12558 }
12559 return NULL;
12560 }
12561
12562
12563 SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj = 0;
12565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12566 long arg2 ;
12567 long arg3 ;
12568 void *argp1 = 0 ;
12569 int res1 = 0 ;
12570 long val2 ;
12571 int ecode2 = 0 ;
12572 long val3 ;
12573 int ecode3 = 0 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 PyObject * obj2 = 0 ;
12577 char * kwnames[] = {
12578 (char *) "self",(char *) "from",(char *) "to", NULL
12579 };
12580
12581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12583 if (!SWIG_IsOK(res1)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12585 }
12586 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12587 ecode2 = SWIG_AsVal_long(obj1, &val2);
12588 if (!SWIG_IsOK(ecode2)) {
12589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12590 }
12591 arg2 = static_cast< long >(val2);
12592 ecode3 = SWIG_AsVal_long(obj2, &val3);
12593 if (!SWIG_IsOK(ecode3)) {
12594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12595 }
12596 arg3 = static_cast< long >(val3);
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 (arg1)->Remove(arg2,arg3);
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 resultobj = SWIG_Py_Void();
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj = 0;
12612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12613 wxString *arg2 = 0 ;
12614 int arg3 = (int) wxTEXT_TYPE_ANY ;
12615 bool result;
12616 void *argp1 = 0 ;
12617 int res1 = 0 ;
12618 bool temp2 = false ;
12619 int val3 ;
12620 int ecode3 = 0 ;
12621 PyObject * obj0 = 0 ;
12622 PyObject * obj1 = 0 ;
12623 PyObject * obj2 = 0 ;
12624 char * kwnames[] = {
12625 (char *) "self",(char *) "file",(char *) "fileType", NULL
12626 };
12627
12628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12630 if (!SWIG_IsOK(res1)) {
12631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12632 }
12633 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12634 {
12635 arg2 = wxString_in_helper(obj1);
12636 if (arg2 == NULL) SWIG_fail;
12637 temp2 = true;
12638 }
12639 if (obj2) {
12640 ecode3 = SWIG_AsVal_int(obj2, &val3);
12641 if (!SWIG_IsOK(ecode3)) {
12642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12643 }
12644 arg3 = static_cast< int >(val3);
12645 }
12646 {
12647 PyThreadState* __tstate = wxPyBeginAllowThreads();
12648 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 {
12653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12654 }
12655 {
12656 if (temp2)
12657 delete arg2;
12658 }
12659 return resultobj;
12660 fail:
12661 {
12662 if (temp2)
12663 delete arg2;
12664 }
12665 return NULL;
12666 }
12667
12668
12669 SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj = 0;
12671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12672 wxString const &arg2_defvalue = wxPyEmptyString ;
12673 wxString *arg2 = (wxString *) &arg2_defvalue ;
12674 int arg3 = (int) wxTEXT_TYPE_ANY ;
12675 bool result;
12676 void *argp1 = 0 ;
12677 int res1 = 0 ;
12678 bool temp2 = false ;
12679 int val3 ;
12680 int ecode3 = 0 ;
12681 PyObject * obj0 = 0 ;
12682 PyObject * obj1 = 0 ;
12683 PyObject * obj2 = 0 ;
12684 char * kwnames[] = {
12685 (char *) "self",(char *) "file",(char *) "fileType", NULL
12686 };
12687
12688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12690 if (!SWIG_IsOK(res1)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12692 }
12693 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12694 if (obj1) {
12695 {
12696 arg2 = wxString_in_helper(obj1);
12697 if (arg2 == NULL) SWIG_fail;
12698 temp2 = true;
12699 }
12700 }
12701 if (obj2) {
12702 ecode3 = SWIG_AsVal_int(obj2, &val3);
12703 if (!SWIG_IsOK(ecode3)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12705 }
12706 arg3 = static_cast< int >(val3);
12707 }
12708 {
12709 PyThreadState* __tstate = wxPyBeginAllowThreads();
12710 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
12711 wxPyEndAllowThreads(__tstate);
12712 if (PyErr_Occurred()) SWIG_fail;
12713 }
12714 {
12715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12716 }
12717 {
12718 if (temp2)
12719 delete arg2;
12720 }
12721 return resultobj;
12722 fail:
12723 {
12724 if (temp2)
12725 delete arg2;
12726 }
12727 return NULL;
12728 }
12729
12730
12731 SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12732 PyObject *resultobj = 0;
12733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12734 void *argp1 = 0 ;
12735 int res1 = 0 ;
12736 PyObject *swig_obj[1] ;
12737
12738 if (!args) SWIG_fail;
12739 swig_obj[0] = args;
12740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12741 if (!SWIG_IsOK(res1)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12743 }
12744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->MarkDirty();
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = SWIG_Py_Void();
12752 return resultobj;
12753 fail:
12754 return NULL;
12755 }
12756
12757
12758 SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12759 PyObject *resultobj = 0;
12760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12761 void *argp1 = 0 ;
12762 int res1 = 0 ;
12763 PyObject *swig_obj[1] ;
12764
12765 if (!args) SWIG_fail;
12766 swig_obj[0] = args;
12767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12768 if (!SWIG_IsOK(res1)) {
12769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12770 }
12771 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 (arg1)->DiscardEdits();
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_Py_Void();
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj = 0;
12787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12788 bool arg2 ;
12789 void *argp1 = 0 ;
12790 int res1 = 0 ;
12791 bool val2 ;
12792 int ecode2 = 0 ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char * kwnames[] = {
12796 (char *) "self",(char *) "modified", NULL
12797 };
12798
12799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12801 if (!SWIG_IsOK(res1)) {
12802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12803 }
12804 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12805 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12806 if (!SWIG_IsOK(ecode2)) {
12807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12808 }
12809 arg2 = static_cast< bool >(val2);
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->SetModified(arg2);
12813 wxPyEndAllowThreads(__tstate);
12814 if (PyErr_Occurred()) SWIG_fail;
12815 }
12816 resultobj = SWIG_Py_Void();
12817 return resultobj;
12818 fail:
12819 return NULL;
12820 }
12821
12822
12823 SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12824 PyObject *resultobj = 0;
12825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12826 unsigned long arg2 ;
12827 void *argp1 = 0 ;
12828 int res1 = 0 ;
12829 unsigned long val2 ;
12830 int ecode2 = 0 ;
12831 PyObject * obj0 = 0 ;
12832 PyObject * obj1 = 0 ;
12833 char * kwnames[] = {
12834 (char *) "self",(char *) "len", NULL
12835 };
12836
12837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12839 if (!SWIG_IsOK(res1)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12841 }
12842 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12843 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12844 if (!SWIG_IsOK(ecode2)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12846 }
12847 arg2 = static_cast< unsigned long >(val2);
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 (arg1)->SetMaxLength(arg2);
12851 wxPyEndAllowThreads(__tstate);
12852 if (PyErr_Occurred()) SWIG_fail;
12853 }
12854 resultobj = SWIG_Py_Void();
12855 return resultobj;
12856 fail:
12857 return NULL;
12858 }
12859
12860
12861 SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj = 0;
12863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12864 wxString *arg2 = 0 ;
12865 void *argp1 = 0 ;
12866 int res1 = 0 ;
12867 bool temp2 = false ;
12868 PyObject * obj0 = 0 ;
12869 PyObject * obj1 = 0 ;
12870 char * kwnames[] = {
12871 (char *) "self",(char *) "text", NULL
12872 };
12873
12874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12876 if (!SWIG_IsOK(res1)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 }
12879 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12880 {
12881 arg2 = wxString_in_helper(obj1);
12882 if (arg2 == NULL) SWIG_fail;
12883 temp2 = true;
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 (arg1)->WriteText((wxString const &)*arg2);
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = SWIG_Py_Void();
12892 {
12893 if (temp2)
12894 delete arg2;
12895 }
12896 return resultobj;
12897 fail:
12898 {
12899 if (temp2)
12900 delete arg2;
12901 }
12902 return NULL;
12903 }
12904
12905
12906 SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj = 0;
12908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12909 wxString *arg2 = 0 ;
12910 void *argp1 = 0 ;
12911 int res1 = 0 ;
12912 bool temp2 = false ;
12913 PyObject * obj0 = 0 ;
12914 PyObject * obj1 = 0 ;
12915 char * kwnames[] = {
12916 (char *) "self",(char *) "text", NULL
12917 };
12918
12919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12921 if (!SWIG_IsOK(res1)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12923 }
12924 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12925 {
12926 arg2 = wxString_in_helper(obj1);
12927 if (arg2 == NULL) SWIG_fail;
12928 temp2 = true;
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 (arg1)->AppendText((wxString const &)*arg2);
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 resultobj = SWIG_Py_Void();
12937 {
12938 if (temp2)
12939 delete arg2;
12940 }
12941 return resultobj;
12942 fail:
12943 {
12944 if (temp2)
12945 delete arg2;
12946 }
12947 return NULL;
12948 }
12949
12950
12951 SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj = 0;
12953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12954 wxKeyEvent *arg2 = 0 ;
12955 bool result;
12956 void *argp1 = 0 ;
12957 int res1 = 0 ;
12958 void *argp2 = 0 ;
12959 int res2 = 0 ;
12960 PyObject * obj0 = 0 ;
12961 PyObject * obj1 = 0 ;
12962 char * kwnames[] = {
12963 (char *) "self",(char *) "event", NULL
12964 };
12965
12966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12968 if (!SWIG_IsOK(res1)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12970 }
12971 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12972 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12973 if (!SWIG_IsOK(res2)) {
12974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12975 }
12976 if (!argp2) {
12977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12978 }
12979 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12980 {
12981 PyThreadState* __tstate = wxPyBeginAllowThreads();
12982 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
12986 {
12987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12988 }
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12996 PyObject *resultobj = 0;
12997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12998 long arg2 ;
12999 long arg3 ;
13000 wxTextAttr *arg4 = 0 ;
13001 bool result;
13002 void *argp1 = 0 ;
13003 int res1 = 0 ;
13004 long val2 ;
13005 int ecode2 = 0 ;
13006 long val3 ;
13007 int ecode3 = 0 ;
13008 void *argp4 = 0 ;
13009 int res4 = 0 ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 PyObject * obj2 = 0 ;
13013 PyObject * obj3 = 0 ;
13014 char * kwnames[] = {
13015 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13016 };
13017
13018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13020 if (!SWIG_IsOK(res1)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13022 }
13023 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13024 ecode2 = SWIG_AsVal_long(obj1, &val2);
13025 if (!SWIG_IsOK(ecode2)) {
13026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13027 }
13028 arg2 = static_cast< long >(val2);
13029 ecode3 = SWIG_AsVal_long(obj2, &val3);
13030 if (!SWIG_IsOK(ecode3)) {
13031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13032 }
13033 arg3 = static_cast< long >(val3);
13034 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
13035 if (!SWIG_IsOK(res4)) {
13036 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13037 }
13038 if (!argp4) {
13039 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13040 }
13041 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 {
13049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13050 }
13051 return resultobj;
13052 fail:
13053 return NULL;
13054 }
13055
13056
13057 SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj = 0;
13059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13060 long arg2 ;
13061 wxTextAttr *arg3 = 0 ;
13062 bool result;
13063 void *argp1 = 0 ;
13064 int res1 = 0 ;
13065 long val2 ;
13066 int ecode2 = 0 ;
13067 void *argp3 = 0 ;
13068 int res3 = 0 ;
13069 PyObject * obj0 = 0 ;
13070 PyObject * obj1 = 0 ;
13071 PyObject * obj2 = 0 ;
13072 char * kwnames[] = {
13073 (char *) "self",(char *) "position",(char *) "style", NULL
13074 };
13075
13076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13078 if (!SWIG_IsOK(res1)) {
13079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13080 }
13081 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13082 ecode2 = SWIG_AsVal_long(obj1, &val2);
13083 if (!SWIG_IsOK(ecode2)) {
13084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13085 }
13086 arg2 = static_cast< long >(val2);
13087 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
13088 if (!SWIG_IsOK(res3)) {
13089 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13090 }
13091 if (!argp3) {
13092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13093 }
13094 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (bool)(arg1)->GetStyle(arg2,*arg3);
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13103 }
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13111 PyObject *resultobj = 0;
13112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13113 wxTextAttr *arg2 = 0 ;
13114 bool result;
13115 void *argp1 = 0 ;
13116 int res1 = 0 ;
13117 void *argp2 = 0 ;
13118 int res2 = 0 ;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 char * kwnames[] = {
13122 (char *) "self",(char *) "style", NULL
13123 };
13124
13125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13127 if (!SWIG_IsOK(res1)) {
13128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13129 }
13130 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13132 if (!SWIG_IsOK(res2)) {
13133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13134 }
13135 if (!argp2) {
13136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13137 }
13138 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 {
13146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13147 }
13148 return resultobj;
13149 fail:
13150 return NULL;
13151 }
13152
13153
13154 SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13155 PyObject *resultobj = 0;
13156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13157 wxTextAttr *result = 0 ;
13158 void *argp1 = 0 ;
13159 int res1 = 0 ;
13160 PyObject *swig_obj[1] ;
13161
13162 if (!args) SWIG_fail;
13163 swig_obj[0] = args;
13164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13165 if (!SWIG_IsOK(res1)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13167 }
13168 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 {
13172 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13173 result = (wxTextAttr *) &_result_ref;
13174 }
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13179 return resultobj;
13180 fail:
13181 return NULL;
13182 }
13183
13184
13185 SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj = 0;
13187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13188 long arg2 ;
13189 long arg3 ;
13190 long result;
13191 void *argp1 = 0 ;
13192 int res1 = 0 ;
13193 long val2 ;
13194 int ecode2 = 0 ;
13195 long val3 ;
13196 int ecode3 = 0 ;
13197 PyObject * obj0 = 0 ;
13198 PyObject * obj1 = 0 ;
13199 PyObject * obj2 = 0 ;
13200 char * kwnames[] = {
13201 (char *) "self",(char *) "x",(char *) "y", NULL
13202 };
13203
13204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13206 if (!SWIG_IsOK(res1)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13208 }
13209 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13210 ecode2 = SWIG_AsVal_long(obj1, &val2);
13211 if (!SWIG_IsOK(ecode2)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13213 }
13214 arg2 = static_cast< long >(val2);
13215 ecode3 = SWIG_AsVal_long(obj2, &val3);
13216 if (!SWIG_IsOK(ecode3)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13218 }
13219 arg3 = static_cast< long >(val3);
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 resultobj = SWIG_From_long(static_cast< long >(result));
13227 return resultobj;
13228 fail:
13229 return NULL;
13230 }
13231
13232
13233 SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj = 0;
13235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13236 long arg2 ;
13237 long *arg3 = (long *) 0 ;
13238 long *arg4 = (long *) 0 ;
13239 void *argp1 = 0 ;
13240 int res1 = 0 ;
13241 long val2 ;
13242 int ecode2 = 0 ;
13243 long temp3 ;
13244 int res3 = SWIG_TMPOBJ ;
13245 long temp4 ;
13246 int res4 = SWIG_TMPOBJ ;
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 char * kwnames[] = {
13250 (char *) "self",(char *) "pos", NULL
13251 };
13252
13253 arg3 = &temp3;
13254 arg4 = &temp4;
13255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13257 if (!SWIG_IsOK(res1)) {
13258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13259 }
13260 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13261 ecode2 = SWIG_AsVal_long(obj1, &val2);
13262 if (!SWIG_IsOK(ecode2)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13264 }
13265 arg2 = static_cast< long >(val2);
13266 {
13267 PyThreadState* __tstate = wxPyBeginAllowThreads();
13268 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13269 wxPyEndAllowThreads(__tstate);
13270 if (PyErr_Occurred()) SWIG_fail;
13271 }
13272 resultobj = SWIG_Py_Void();
13273 if (SWIG_IsTmpObj(res3)) {
13274 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13275 } else {
13276 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13277 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13278 }
13279 if (SWIG_IsTmpObj(res4)) {
13280 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13281 } else {
13282 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13283 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13284 }
13285 return resultobj;
13286 fail:
13287 return NULL;
13288 }
13289
13290
13291 SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj = 0;
13293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13294 long arg2 ;
13295 void *argp1 = 0 ;
13296 int res1 = 0 ;
13297 long val2 ;
13298 int ecode2 = 0 ;
13299 PyObject * obj0 = 0 ;
13300 PyObject * obj1 = 0 ;
13301 char * kwnames[] = {
13302 (char *) "self",(char *) "pos", NULL
13303 };
13304
13305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13307 if (!SWIG_IsOK(res1)) {
13308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13309 }
13310 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13311 ecode2 = SWIG_AsVal_long(obj1, &val2);
13312 if (!SWIG_IsOK(ecode2)) {
13313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13314 }
13315 arg2 = static_cast< long >(val2);
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 (arg1)->ShowPosition(arg2);
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_Py_Void();
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj = 0;
13331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13332 wxPoint *arg2 = 0 ;
13333 long *arg3 = (long *) 0 ;
13334 long *arg4 = (long *) 0 ;
13335 wxTextCtrlHitTestResult result;
13336 void *argp1 = 0 ;
13337 int res1 = 0 ;
13338 wxPoint temp2 ;
13339 long temp3 ;
13340 int res3 = SWIG_TMPOBJ ;
13341 long temp4 ;
13342 int res4 = SWIG_TMPOBJ ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char * kwnames[] = {
13346 (char *) "self",(char *) "pt", NULL
13347 };
13348
13349 arg3 = &temp3;
13350 arg4 = &temp4;
13351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13353 if (!SWIG_IsOK(res1)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13355 }
13356 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13357 {
13358 arg2 = &temp2;
13359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13360 }
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = SWIG_From_int(static_cast< int >(result));
13368 if (SWIG_IsTmpObj(res3)) {
13369 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13370 } else {
13371 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13372 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13373 }
13374 if (SWIG_IsTmpObj(res4)) {
13375 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13376 } else {
13377 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13378 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13379 }
13380 return resultobj;
13381 fail:
13382 return NULL;
13383 }
13384
13385
13386 SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj = 0;
13388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13389 wxPoint *arg2 = 0 ;
13390 long *arg3 = (long *) 0 ;
13391 wxTextCtrlHitTestResult result;
13392 void *argp1 = 0 ;
13393 int res1 = 0 ;
13394 wxPoint temp2 ;
13395 long temp3 ;
13396 int res3 = SWIG_TMPOBJ ;
13397 PyObject * obj0 = 0 ;
13398 PyObject * obj1 = 0 ;
13399 char * kwnames[] = {
13400 (char *) "self",(char *) "pt", NULL
13401 };
13402
13403 arg3 = &temp3;
13404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13406 if (!SWIG_IsOK(res1)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13408 }
13409 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13410 {
13411 arg2 = &temp2;
13412 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13413 }
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 resultobj = SWIG_From_int(static_cast< int >(result));
13421 if (SWIG_IsTmpObj(res3)) {
13422 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13423 } else {
13424 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13425 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13426 }
13427 return resultobj;
13428 fail:
13429 return NULL;
13430 }
13431
13432
13433 SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13434 PyObject *resultobj = 0;
13435 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13436 void *argp1 = 0 ;
13437 int res1 = 0 ;
13438 PyObject *swig_obj[1] ;
13439
13440 if (!args) SWIG_fail;
13441 swig_obj[0] = args;
13442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13443 if (!SWIG_IsOK(res1)) {
13444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13445 }
13446 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 (arg1)->Copy();
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 resultobj = SWIG_Py_Void();
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13461 PyObject *resultobj = 0;
13462 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13463 void *argp1 = 0 ;
13464 int res1 = 0 ;
13465 PyObject *swig_obj[1] ;
13466
13467 if (!args) SWIG_fail;
13468 swig_obj[0] = args;
13469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13470 if (!SWIG_IsOK(res1)) {
13471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13472 }
13473 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 (arg1)->Cut();
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 resultobj = SWIG_Py_Void();
13481 return resultobj;
13482 fail:
13483 return NULL;
13484 }
13485
13486
13487 SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13488 PyObject *resultobj = 0;
13489 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13490 void *argp1 = 0 ;
13491 int res1 = 0 ;
13492 PyObject *swig_obj[1] ;
13493
13494 if (!args) SWIG_fail;
13495 swig_obj[0] = args;
13496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13497 if (!SWIG_IsOK(res1)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13499 }
13500 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->Paste();
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = SWIG_Py_Void();
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13515 PyObject *resultobj = 0;
13516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13517 bool result;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 PyObject *swig_obj[1] ;
13521
13522 if (!args) SWIG_fail;
13523 swig_obj[0] = args;
13524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13525 if (!SWIG_IsOK(res1)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13527 }
13528 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 {
13536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13537 }
13538 return resultobj;
13539 fail:
13540 return NULL;
13541 }
13542
13543
13544 SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13545 PyObject *resultobj = 0;
13546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13547 bool result;
13548 void *argp1 = 0 ;
13549 int res1 = 0 ;
13550 PyObject *swig_obj[1] ;
13551
13552 if (!args) SWIG_fail;
13553 swig_obj[0] = args;
13554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13555 if (!SWIG_IsOK(res1)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13557 }
13558 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13559 {
13560 PyThreadState* __tstate = wxPyBeginAllowThreads();
13561 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 {
13566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13567 }
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13575 PyObject *resultobj = 0;
13576 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13577 bool result;
13578 void *argp1 = 0 ;
13579 int res1 = 0 ;
13580 PyObject *swig_obj[1] ;
13581
13582 if (!args) SWIG_fail;
13583 swig_obj[0] = args;
13584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13585 if (!SWIG_IsOK(res1)) {
13586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13587 }
13588 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 {
13596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13597 }
13598 return resultobj;
13599 fail:
13600 return NULL;
13601 }
13602
13603
13604 SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13605 PyObject *resultobj = 0;
13606 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13607 void *argp1 = 0 ;
13608 int res1 = 0 ;
13609 PyObject *swig_obj[1] ;
13610
13611 if (!args) SWIG_fail;
13612 swig_obj[0] = args;
13613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13614 if (!SWIG_IsOK(res1)) {
13615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13616 }
13617 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13618 {
13619 PyThreadState* __tstate = wxPyBeginAllowThreads();
13620 (arg1)->Undo();
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_Py_Void();
13625 return resultobj;
13626 fail:
13627 return NULL;
13628 }
13629
13630
13631 SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13632 PyObject *resultobj = 0;
13633 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13634 void *argp1 = 0 ;
13635 int res1 = 0 ;
13636 PyObject *swig_obj[1] ;
13637
13638 if (!args) SWIG_fail;
13639 swig_obj[0] = args;
13640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13641 if (!SWIG_IsOK(res1)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13643 }
13644 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 (arg1)->Redo();
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 resultobj = SWIG_Py_Void();
13652 return resultobj;
13653 fail:
13654 return NULL;
13655 }
13656
13657
13658 SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13659 PyObject *resultobj = 0;
13660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13661 bool result;
13662 void *argp1 = 0 ;
13663 int res1 = 0 ;
13664 PyObject *swig_obj[1] ;
13665
13666 if (!args) SWIG_fail;
13667 swig_obj[0] = args;
13668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13669 if (!SWIG_IsOK(res1)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13671 }
13672 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 {
13680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13681 }
13682 return resultobj;
13683 fail:
13684 return NULL;
13685 }
13686
13687
13688 SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13689 PyObject *resultobj = 0;
13690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13691 bool result;
13692 void *argp1 = 0 ;
13693 int res1 = 0 ;
13694 PyObject *swig_obj[1] ;
13695
13696 if (!args) SWIG_fail;
13697 swig_obj[0] = args;
13698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13699 if (!SWIG_IsOK(res1)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13701 }
13702 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 {
13710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13711 }
13712 return resultobj;
13713 fail:
13714 return NULL;
13715 }
13716
13717
13718 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj = 0;
13720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13721 long arg2 ;
13722 void *argp1 = 0 ;
13723 int res1 = 0 ;
13724 long val2 ;
13725 int ecode2 = 0 ;
13726 PyObject * obj0 = 0 ;
13727 PyObject * obj1 = 0 ;
13728 char * kwnames[] = {
13729 (char *) "self",(char *) "pos", NULL
13730 };
13731
13732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13734 if (!SWIG_IsOK(res1)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13736 }
13737 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13738 ecode2 = SWIG_AsVal_long(obj1, &val2);
13739 if (!SWIG_IsOK(ecode2)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13741 }
13742 arg2 = static_cast< long >(val2);
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->SetInsertionPoint(arg2);
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_Py_Void();
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13757 PyObject *resultobj = 0;
13758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13759 void *argp1 = 0 ;
13760 int res1 = 0 ;
13761 PyObject *swig_obj[1] ;
13762
13763 if (!args) SWIG_fail;
13764 swig_obj[0] = args;
13765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13766 if (!SWIG_IsOK(res1)) {
13767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13768 }
13769 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 (arg1)->SetInsertionPointEnd();
13773 wxPyEndAllowThreads(__tstate);
13774 if (PyErr_Occurred()) SWIG_fail;
13775 }
13776 resultobj = SWIG_Py_Void();
13777 return resultobj;
13778 fail:
13779 return NULL;
13780 }
13781
13782
13783 SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13784 PyObject *resultobj = 0;
13785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13786 long result;
13787 void *argp1 = 0 ;
13788 int res1 = 0 ;
13789 PyObject *swig_obj[1] ;
13790
13791 if (!args) SWIG_fail;
13792 swig_obj[0] = args;
13793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13794 if (!SWIG_IsOK(res1)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13796 }
13797 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 resultobj = SWIG_From_long(static_cast< long >(result));
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13812 PyObject *resultobj = 0;
13813 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13814 long result;
13815 void *argp1 = 0 ;
13816 int res1 = 0 ;
13817 PyObject *swig_obj[1] ;
13818
13819 if (!args) SWIG_fail;
13820 swig_obj[0] = args;
13821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13822 if (!SWIG_IsOK(res1)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13824 }
13825 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 resultobj = SWIG_From_long(static_cast< long >(result));
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj = 0;
13841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13842 long arg2 ;
13843 long arg3 ;
13844 void *argp1 = 0 ;
13845 int res1 = 0 ;
13846 long val2 ;
13847 int ecode2 = 0 ;
13848 long val3 ;
13849 int ecode3 = 0 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 PyObject * obj2 = 0 ;
13853 char * kwnames[] = {
13854 (char *) "self",(char *) "from",(char *) "to", NULL
13855 };
13856
13857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13859 if (!SWIG_IsOK(res1)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13861 }
13862 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13863 ecode2 = SWIG_AsVal_long(obj1, &val2);
13864 if (!SWIG_IsOK(ecode2)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13866 }
13867 arg2 = static_cast< long >(val2);
13868 ecode3 = SWIG_AsVal_long(obj2, &val3);
13869 if (!SWIG_IsOK(ecode3)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13871 }
13872 arg3 = static_cast< long >(val3);
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 (arg1)->SetSelection(arg2,arg3);
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = SWIG_Py_Void();
13880 return resultobj;
13881 fail:
13882 return NULL;
13883 }
13884
13885
13886 SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13887 PyObject *resultobj = 0;
13888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13889 void *argp1 = 0 ;
13890 int res1 = 0 ;
13891 PyObject *swig_obj[1] ;
13892
13893 if (!args) SWIG_fail;
13894 swig_obj[0] = args;
13895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13896 if (!SWIG_IsOK(res1)) {
13897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13898 }
13899 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 (arg1)->SelectAll();
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 resultobj = SWIG_Py_Void();
13907 return resultobj;
13908 fail:
13909 return NULL;
13910 }
13911
13912
13913 SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13914 PyObject *resultobj = 0;
13915 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13916 bool arg2 ;
13917 void *argp1 = 0 ;
13918 int res1 = 0 ;
13919 bool val2 ;
13920 int ecode2 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 char * kwnames[] = {
13924 (char *) "self",(char *) "editable", NULL
13925 };
13926
13927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13929 if (!SWIG_IsOK(res1)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13931 }
13932 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13933 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13934 if (!SWIG_IsOK(ecode2)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13936 }
13937 arg2 = static_cast< bool >(val2);
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 (arg1)->SetEditable(arg2);
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 resultobj = SWIG_Py_Void();
13945 return resultobj;
13946 fail:
13947 return NULL;
13948 }
13949
13950
13951 SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13952 PyObject *resultobj = 0;
13953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13954 bool arg2 ;
13955 void *argp1 = 0 ;
13956 int res1 = 0 ;
13957 bool val2 ;
13958 int ecode2 = 0 ;
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj1 = 0 ;
13961 char * kwnames[] = {
13962 (char *) "self",(char *) "check", NULL
13963 };
13964
13965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13967 if (!SWIG_IsOK(res1)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13969 }
13970 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13971 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13972 if (!SWIG_IsOK(ecode2)) {
13973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13974 }
13975 arg2 = static_cast< bool >(val2);
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->MacCheckSpelling(arg2);
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 resultobj = SWIG_Py_Void();
13983 return resultobj;
13984 fail:
13985 return NULL;
13986 }
13987
13988
13989 SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13990 PyObject *resultobj = 0;
13991 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13992 void *argp1 = 0 ;
13993 int res1 = 0 ;
13994 PyObject *swig_obj[1] ;
13995
13996 if (!args) SWIG_fail;
13997 swig_obj[0] = args;
13998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13999 if (!SWIG_IsOK(res1)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14001 }
14002 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 (arg1)->SendTextUpdatedEvent();
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 resultobj = SWIG_Py_Void();
14010 return resultobj;
14011 fail:
14012 return NULL;
14013 }
14014
14015
14016 SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14017 PyObject *resultobj = 0;
14018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14019 wxString *arg2 = 0 ;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 bool temp2 = false ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 char * kwnames[] = {
14026 (char *) "self",(char *) "text", NULL
14027 };
14028
14029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
14030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14031 if (!SWIG_IsOK(res1)) {
14032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14033 }
14034 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14035 {
14036 arg2 = wxString_in_helper(obj1);
14037 if (arg2 == NULL) SWIG_fail;
14038 temp2 = true;
14039 }
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_Py_Void();
14047 {
14048 if (temp2)
14049 delete arg2;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return NULL;
14058 }
14059
14060
14061 SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = 0;
14063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14064 long arg2 ;
14065 long arg3 ;
14066 wxString result;
14067 void *argp1 = 0 ;
14068 int res1 = 0 ;
14069 long val2 ;
14070 int ecode2 = 0 ;
14071 long val3 ;
14072 int ecode3 = 0 ;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
14075 PyObject * obj2 = 0 ;
14076 char * kwnames[] = {
14077 (char *) "self",(char *) "from",(char *) "to", NULL
14078 };
14079
14080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14082 if (!SWIG_IsOK(res1)) {
14083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14084 }
14085 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14086 ecode2 = SWIG_AsVal_long(obj1, &val2);
14087 if (!SWIG_IsOK(ecode2)) {
14088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14089 }
14090 arg2 = static_cast< long >(val2);
14091 ecode3 = SWIG_AsVal_long(obj2, &val3);
14092 if (!SWIG_IsOK(ecode3)) {
14093 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14094 }
14095 arg3 = static_cast< long >(val3);
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 {
14103 #if wxUSE_UNICODE
14104 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14105 #else
14106 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14107 #endif
14108 }
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj = 0;
14117 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14118 SwigValueWrapper<wxVisualAttributes > result;
14119 int val1 ;
14120 int ecode1 = 0 ;
14121 PyObject * obj0 = 0 ;
14122 char * kwnames[] = {
14123 (char *) "variant", NULL
14124 };
14125
14126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14127 if (obj0) {
14128 ecode1 = SWIG_AsVal_int(obj0, &val1);
14129 if (!SWIG_IsOK(ecode1)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14131 }
14132 arg1 = static_cast< wxWindowVariant >(val1);
14133 }
14134 {
14135 if (!wxPyCheckForApp()) SWIG_fail;
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14138 wxPyEndAllowThreads(__tstate);
14139 if (PyErr_Occurred()) SWIG_fail;
14140 }
14141 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14142 return resultobj;
14143 fail:
14144 return NULL;
14145 }
14146
14147
14148 SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14149 PyObject *obj;
14150 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14151 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14152 return SWIG_Py_Void();
14153 }
14154
14155 SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14156 return SWIG_Python_InitShadowInstance(args);
14157 }
14158
14159 SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14160 PyObject *resultobj = 0;
14161 int arg1 ;
14162 wxMouseEvent *arg2 = 0 ;
14163 long arg3 ;
14164 long arg4 ;
14165 wxTextUrlEvent *result = 0 ;
14166 int val1 ;
14167 int ecode1 = 0 ;
14168 void *argp2 = 0 ;
14169 int res2 = 0 ;
14170 long val3 ;
14171 int ecode3 = 0 ;
14172 long val4 ;
14173 int ecode4 = 0 ;
14174 PyObject * obj0 = 0 ;
14175 PyObject * obj1 = 0 ;
14176 PyObject * obj2 = 0 ;
14177 PyObject * obj3 = 0 ;
14178 char * kwnames[] = {
14179 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14180 };
14181
14182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14183 ecode1 = SWIG_AsVal_int(obj0, &val1);
14184 if (!SWIG_IsOK(ecode1)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14186 }
14187 arg1 = static_cast< int >(val1);
14188 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14189 if (!SWIG_IsOK(res2)) {
14190 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14191 }
14192 if (!argp2) {
14193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14194 }
14195 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14196 ecode3 = SWIG_AsVal_long(obj2, &val3);
14197 if (!SWIG_IsOK(ecode3)) {
14198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14199 }
14200 arg3 = static_cast< long >(val3);
14201 ecode4 = SWIG_AsVal_long(obj3, &val4);
14202 if (!SWIG_IsOK(ecode4)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14204 }
14205 arg4 = static_cast< long >(val4);
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14220 PyObject *resultobj = 0;
14221 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14222 wxMouseEvent *result = 0 ;
14223 void *argp1 = 0 ;
14224 int res1 = 0 ;
14225 PyObject *swig_obj[1] ;
14226
14227 if (!args) SWIG_fail;
14228 swig_obj[0] = args;
14229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14230 if (!SWIG_IsOK(res1)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14232 }
14233 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 {
14237 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14238 result = (wxMouseEvent *) &_result_ref;
14239 }
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14244 return resultobj;
14245 fail:
14246 return NULL;
14247 }
14248
14249
14250 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14251 PyObject *resultobj = 0;
14252 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14253 long result;
14254 void *argp1 = 0 ;
14255 int res1 = 0 ;
14256 PyObject *swig_obj[1] ;
14257
14258 if (!args) SWIG_fail;
14259 swig_obj[0] = args;
14260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14261 if (!SWIG_IsOK(res1)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14263 }
14264 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 resultobj = SWIG_From_long(static_cast< long >(result));
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14279 PyObject *resultobj = 0;
14280 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14281 long result;
14282 void *argp1 = 0 ;
14283 int res1 = 0 ;
14284 PyObject *swig_obj[1] ;
14285
14286 if (!args) SWIG_fail;
14287 swig_obj[0] = args;
14288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14289 if (!SWIG_IsOK(res1)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14291 }
14292 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_From_long(static_cast< long >(result));
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14307 PyObject *obj;
14308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14309 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14310 return SWIG_Py_Void();
14311 }
14312
14313 SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14314 return SWIG_Python_InitShadowInstance(args);
14315 }
14316
14317 SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14318 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14319 return 1;
14320 }
14321
14322
14323 SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14324 PyObject *pyobj = 0;
14325
14326 {
14327 #if wxUSE_UNICODE
14328 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14329 #else
14330 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14331 #endif
14332 }
14333 return pyobj;
14334 }
14335
14336
14337 SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj = 0;
14339 wxWindow *arg1 = (wxWindow *) 0 ;
14340 int arg2 = (int) -1 ;
14341 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14342 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14343 wxSize const &arg4_defvalue = wxDefaultSize ;
14344 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14345 long arg5 = (long) wxSB_HORIZONTAL ;
14346 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14347 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14348 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14349 wxString *arg7 = (wxString *) &arg7_defvalue ;
14350 wxScrollBar *result = 0 ;
14351 void *argp1 = 0 ;
14352 int res1 = 0 ;
14353 int val2 ;
14354 int ecode2 = 0 ;
14355 wxPoint temp3 ;
14356 wxSize temp4 ;
14357 long val5 ;
14358 int ecode5 = 0 ;
14359 void *argp6 = 0 ;
14360 int res6 = 0 ;
14361 bool temp7 = false ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 PyObject * obj2 = 0 ;
14365 PyObject * obj3 = 0 ;
14366 PyObject * obj4 = 0 ;
14367 PyObject * obj5 = 0 ;
14368 PyObject * obj6 = 0 ;
14369 char * kwnames[] = {
14370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14371 };
14372
14373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14375 if (!SWIG_IsOK(res1)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14377 }
14378 arg1 = reinterpret_cast< wxWindow * >(argp1);
14379 if (obj1) {
14380 ecode2 = SWIG_AsVal_int(obj1, &val2);
14381 if (!SWIG_IsOK(ecode2)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14383 }
14384 arg2 = static_cast< int >(val2);
14385 }
14386 if (obj2) {
14387 {
14388 arg3 = &temp3;
14389 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14390 }
14391 }
14392 if (obj3) {
14393 {
14394 arg4 = &temp4;
14395 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14396 }
14397 }
14398 if (obj4) {
14399 ecode5 = SWIG_AsVal_long(obj4, &val5);
14400 if (!SWIG_IsOK(ecode5)) {
14401 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14402 }
14403 arg5 = static_cast< long >(val5);
14404 }
14405 if (obj5) {
14406 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14407 if (!SWIG_IsOK(res6)) {
14408 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14409 }
14410 if (!argp6) {
14411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14412 }
14413 arg6 = reinterpret_cast< wxValidator * >(argp6);
14414 }
14415 if (obj6) {
14416 {
14417 arg7 = wxString_in_helper(obj6);
14418 if (arg7 == NULL) SWIG_fail;
14419 temp7 = true;
14420 }
14421 }
14422 {
14423 if (!wxPyCheckForApp()) SWIG_fail;
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14430 {
14431 if (temp7)
14432 delete arg7;
14433 }
14434 return resultobj;
14435 fail:
14436 {
14437 if (temp7)
14438 delete arg7;
14439 }
14440 return NULL;
14441 }
14442
14443
14444 SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14445 PyObject *resultobj = 0;
14446 wxScrollBar *result = 0 ;
14447
14448 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14449 {
14450 if (!wxPyCheckForApp()) SWIG_fail;
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (wxScrollBar *)new wxScrollBar();
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14457 return resultobj;
14458 fail:
14459 return NULL;
14460 }
14461
14462
14463 SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14464 PyObject *resultobj = 0;
14465 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14466 wxWindow *arg2 = (wxWindow *) 0 ;
14467 int arg3 = (int) -1 ;
14468 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14469 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14470 wxSize const &arg5_defvalue = wxDefaultSize ;
14471 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14472 long arg6 = (long) wxSB_HORIZONTAL ;
14473 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14474 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14475 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14476 wxString *arg8 = (wxString *) &arg8_defvalue ;
14477 bool result;
14478 void *argp1 = 0 ;
14479 int res1 = 0 ;
14480 void *argp2 = 0 ;
14481 int res2 = 0 ;
14482 int val3 ;
14483 int ecode3 = 0 ;
14484 wxPoint temp4 ;
14485 wxSize temp5 ;
14486 long val6 ;
14487 int ecode6 = 0 ;
14488 void *argp7 = 0 ;
14489 int res7 = 0 ;
14490 bool temp8 = false ;
14491 PyObject * obj0 = 0 ;
14492 PyObject * obj1 = 0 ;
14493 PyObject * obj2 = 0 ;
14494 PyObject * obj3 = 0 ;
14495 PyObject * obj4 = 0 ;
14496 PyObject * obj5 = 0 ;
14497 PyObject * obj6 = 0 ;
14498 PyObject * obj7 = 0 ;
14499 char * kwnames[] = {
14500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14501 };
14502
14503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14505 if (!SWIG_IsOK(res1)) {
14506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14507 }
14508 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14509 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14510 if (!SWIG_IsOK(res2)) {
14511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14512 }
14513 arg2 = reinterpret_cast< wxWindow * >(argp2);
14514 if (obj2) {
14515 ecode3 = SWIG_AsVal_int(obj2, &val3);
14516 if (!SWIG_IsOK(ecode3)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14518 }
14519 arg3 = static_cast< int >(val3);
14520 }
14521 if (obj3) {
14522 {
14523 arg4 = &temp4;
14524 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14525 }
14526 }
14527 if (obj4) {
14528 {
14529 arg5 = &temp5;
14530 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14531 }
14532 }
14533 if (obj5) {
14534 ecode6 = SWIG_AsVal_long(obj5, &val6);
14535 if (!SWIG_IsOK(ecode6)) {
14536 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14537 }
14538 arg6 = static_cast< long >(val6);
14539 }
14540 if (obj6) {
14541 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14542 if (!SWIG_IsOK(res7)) {
14543 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14544 }
14545 if (!argp7) {
14546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14547 }
14548 arg7 = reinterpret_cast< wxValidator * >(argp7);
14549 }
14550 if (obj7) {
14551 {
14552 arg8 = wxString_in_helper(obj7);
14553 if (arg8 == NULL) SWIG_fail;
14554 temp8 = true;
14555 }
14556 }
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 {
14564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14565 }
14566 {
14567 if (temp8)
14568 delete arg8;
14569 }
14570 return resultobj;
14571 fail:
14572 {
14573 if (temp8)
14574 delete arg8;
14575 }
14576 return NULL;
14577 }
14578
14579
14580 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14581 PyObject *resultobj = 0;
14582 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14583 int result;
14584 void *argp1 = 0 ;
14585 int res1 = 0 ;
14586 PyObject *swig_obj[1] ;
14587
14588 if (!args) SWIG_fail;
14589 swig_obj[0] = args;
14590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14591 if (!SWIG_IsOK(res1)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14593 }
14594 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 resultobj = SWIG_From_int(static_cast< int >(result));
14602 return resultobj;
14603 fail:
14604 return NULL;
14605 }
14606
14607
14608 SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14609 PyObject *resultobj = 0;
14610 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14611 int result;
14612 void *argp1 = 0 ;
14613 int res1 = 0 ;
14614 PyObject *swig_obj[1] ;
14615
14616 if (!args) SWIG_fail;
14617 swig_obj[0] = args;
14618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14619 if (!SWIG_IsOK(res1)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14621 }
14622 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 resultobj = SWIG_From_int(static_cast< int >(result));
14630 return resultobj;
14631 fail:
14632 return NULL;
14633 }
14634
14635
14636 SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14637 PyObject *resultobj = 0;
14638 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14639 int result;
14640 void *argp1 = 0 ;
14641 int res1 = 0 ;
14642 PyObject *swig_obj[1] ;
14643
14644 if (!args) SWIG_fail;
14645 swig_obj[0] = args;
14646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14647 if (!SWIG_IsOK(res1)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14649 }
14650 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 resultobj = SWIG_From_int(static_cast< int >(result));
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14665 PyObject *resultobj = 0;
14666 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14667 int result;
14668 void *argp1 = 0 ;
14669 int res1 = 0 ;
14670 PyObject *swig_obj[1] ;
14671
14672 if (!args) SWIG_fail;
14673 swig_obj[0] = args;
14674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14675 if (!SWIG_IsOK(res1)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14677 }
14678 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (int)((wxScrollBar const *)arg1)->GetRange();
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = SWIG_From_int(static_cast< int >(result));
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14693 PyObject *resultobj = 0;
14694 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14695 bool result;
14696 void *argp1 = 0 ;
14697 int res1 = 0 ;
14698 PyObject *swig_obj[1] ;
14699
14700 if (!args) SWIG_fail;
14701 swig_obj[0] = args;
14702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14703 if (!SWIG_IsOK(res1)) {
14704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14705 }
14706 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 {
14714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14715 }
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj = 0;
14724 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14725 int arg2 ;
14726 void *argp1 = 0 ;
14727 int res1 = 0 ;
14728 int val2 ;
14729 int ecode2 = 0 ;
14730 PyObject * obj0 = 0 ;
14731 PyObject * obj1 = 0 ;
14732 char * kwnames[] = {
14733 (char *) "self",(char *) "viewStart", NULL
14734 };
14735
14736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14738 if (!SWIG_IsOK(res1)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14740 }
14741 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14742 ecode2 = SWIG_AsVal_int(obj1, &val2);
14743 if (!SWIG_IsOK(ecode2)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14745 }
14746 arg2 = static_cast< int >(val2);
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->SetThumbPosition(arg2);
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 resultobj = SWIG_Py_Void();
14754 return resultobj;
14755 fail:
14756 return NULL;
14757 }
14758
14759
14760 SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj = 0;
14762 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14763 SwigValueWrapper<wxVisualAttributes > result;
14764 int val1 ;
14765 int ecode1 = 0 ;
14766 PyObject * obj0 = 0 ;
14767 char * kwnames[] = {
14768 (char *) "variant", NULL
14769 };
14770
14771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14772 if (obj0) {
14773 ecode1 = SWIG_AsVal_int(obj0, &val1);
14774 if (!SWIG_IsOK(ecode1)) {
14775 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14776 }
14777 arg1 = static_cast< wxWindowVariant >(val1);
14778 }
14779 {
14780 if (!wxPyCheckForApp()) SWIG_fail;
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14794 PyObject *obj;
14795 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14796 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14797 return SWIG_Py_Void();
14798 }
14799
14800 SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14801 return SWIG_Python_InitShadowInstance(args);
14802 }
14803
14804 SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14805 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14806 return 1;
14807 }
14808
14809
14810 SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14811 PyObject *pyobj = 0;
14812
14813 {
14814 #if wxUSE_UNICODE
14815 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14816 #else
14817 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14818 #endif
14819 }
14820 return pyobj;
14821 }
14822
14823
14824 SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14825 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14826 return 1;
14827 }
14828
14829
14830 SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14831 PyObject *pyobj = 0;
14832
14833 {
14834 #if wxUSE_UNICODE
14835 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14836 #else
14837 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14838 #endif
14839 }
14840 return pyobj;
14841 }
14842
14843
14844 SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj = 0;
14846 wxWindow *arg1 = (wxWindow *) 0 ;
14847 int arg2 = (int) -1 ;
14848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14850 wxSize const &arg4_defvalue = wxDefaultSize ;
14851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14852 long arg5 = (long) wxSP_HORIZONTAL ;
14853 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14854 wxString *arg6 = (wxString *) &arg6_defvalue ;
14855 wxSpinButton *result = 0 ;
14856 void *argp1 = 0 ;
14857 int res1 = 0 ;
14858 int val2 ;
14859 int ecode2 = 0 ;
14860 wxPoint temp3 ;
14861 wxSize temp4 ;
14862 long val5 ;
14863 int ecode5 = 0 ;
14864 bool temp6 = false ;
14865 PyObject * obj0 = 0 ;
14866 PyObject * obj1 = 0 ;
14867 PyObject * obj2 = 0 ;
14868 PyObject * obj3 = 0 ;
14869 PyObject * obj4 = 0 ;
14870 PyObject * obj5 = 0 ;
14871 char * kwnames[] = {
14872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14873 };
14874
14875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14877 if (!SWIG_IsOK(res1)) {
14878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14879 }
14880 arg1 = reinterpret_cast< wxWindow * >(argp1);
14881 if (obj1) {
14882 ecode2 = SWIG_AsVal_int(obj1, &val2);
14883 if (!SWIG_IsOK(ecode2)) {
14884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14885 }
14886 arg2 = static_cast< int >(val2);
14887 }
14888 if (obj2) {
14889 {
14890 arg3 = &temp3;
14891 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14892 }
14893 }
14894 if (obj3) {
14895 {
14896 arg4 = &temp4;
14897 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14898 }
14899 }
14900 if (obj4) {
14901 ecode5 = SWIG_AsVal_long(obj4, &val5);
14902 if (!SWIG_IsOK(ecode5)) {
14903 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14904 }
14905 arg5 = static_cast< long >(val5);
14906 }
14907 if (obj5) {
14908 {
14909 arg6 = wxString_in_helper(obj5);
14910 if (arg6 == NULL) SWIG_fail;
14911 temp6 = true;
14912 }
14913 }
14914 {
14915 if (!wxPyCheckForApp()) SWIG_fail;
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14922 {
14923 if (temp6)
14924 delete arg6;
14925 }
14926 return resultobj;
14927 fail:
14928 {
14929 if (temp6)
14930 delete arg6;
14931 }
14932 return NULL;
14933 }
14934
14935
14936 SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14937 PyObject *resultobj = 0;
14938 wxSpinButton *result = 0 ;
14939
14940 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14941 {
14942 if (!wxPyCheckForApp()) SWIG_fail;
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (wxSpinButton *)new wxSpinButton();
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14949 return resultobj;
14950 fail:
14951 return NULL;
14952 }
14953
14954
14955 SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj = 0;
14957 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14958 wxWindow *arg2 = (wxWindow *) 0 ;
14959 int arg3 = (int) -1 ;
14960 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14961 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14962 wxSize const &arg5_defvalue = wxDefaultSize ;
14963 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14964 long arg6 = (long) wxSP_HORIZONTAL ;
14965 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14966 wxString *arg7 = (wxString *) &arg7_defvalue ;
14967 bool result;
14968 void *argp1 = 0 ;
14969 int res1 = 0 ;
14970 void *argp2 = 0 ;
14971 int res2 = 0 ;
14972 int val3 ;
14973 int ecode3 = 0 ;
14974 wxPoint temp4 ;
14975 wxSize temp5 ;
14976 long val6 ;
14977 int ecode6 = 0 ;
14978 bool temp7 = false ;
14979 PyObject * obj0 = 0 ;
14980 PyObject * obj1 = 0 ;
14981 PyObject * obj2 = 0 ;
14982 PyObject * obj3 = 0 ;
14983 PyObject * obj4 = 0 ;
14984 PyObject * obj5 = 0 ;
14985 PyObject * obj6 = 0 ;
14986 char * kwnames[] = {
14987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14988 };
14989
14990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14992 if (!SWIG_IsOK(res1)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14994 }
14995 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14996 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14997 if (!SWIG_IsOK(res2)) {
14998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14999 }
15000 arg2 = reinterpret_cast< wxWindow * >(argp2);
15001 if (obj2) {
15002 ecode3 = SWIG_AsVal_int(obj2, &val3);
15003 if (!SWIG_IsOK(ecode3)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15005 }
15006 arg3 = static_cast< int >(val3);
15007 }
15008 if (obj3) {
15009 {
15010 arg4 = &temp4;
15011 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15012 }
15013 }
15014 if (obj4) {
15015 {
15016 arg5 = &temp5;
15017 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15018 }
15019 }
15020 if (obj5) {
15021 ecode6 = SWIG_AsVal_long(obj5, &val6);
15022 if (!SWIG_IsOK(ecode6)) {
15023 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15024 }
15025 arg6 = static_cast< long >(val6);
15026 }
15027 if (obj6) {
15028 {
15029 arg7 = wxString_in_helper(obj6);
15030 if (arg7 == NULL) SWIG_fail;
15031 temp7 = true;
15032 }
15033 }
15034 {
15035 PyThreadState* __tstate = wxPyBeginAllowThreads();
15036 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 {
15041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15042 }
15043 {
15044 if (temp7)
15045 delete arg7;
15046 }
15047 return resultobj;
15048 fail:
15049 {
15050 if (temp7)
15051 delete arg7;
15052 }
15053 return NULL;
15054 }
15055
15056
15057 SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15058 PyObject *resultobj = 0;
15059 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15060 int result;
15061 void *argp1 = 0 ;
15062 int res1 = 0 ;
15063 PyObject *swig_obj[1] ;
15064
15065 if (!args) SWIG_fail;
15066 swig_obj[0] = args;
15067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15068 if (!SWIG_IsOK(res1)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15070 }
15071 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (int)((wxSpinButton const *)arg1)->GetValue();
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = SWIG_From_int(static_cast< int >(result));
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15086 PyObject *resultobj = 0;
15087 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15088 int result;
15089 void *argp1 = 0 ;
15090 int res1 = 0 ;
15091 PyObject *swig_obj[1] ;
15092
15093 if (!args) SWIG_fail;
15094 swig_obj[0] = args;
15095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15096 if (!SWIG_IsOK(res1)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15098 }
15099 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (int)((wxSpinButton const *)arg1)->GetMin();
15103 wxPyEndAllowThreads(__tstate);
15104 if (PyErr_Occurred()) SWIG_fail;
15105 }
15106 resultobj = SWIG_From_int(static_cast< int >(result));
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15114 PyObject *resultobj = 0;
15115 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15116 int result;
15117 void *argp1 = 0 ;
15118 int res1 = 0 ;
15119 PyObject *swig_obj[1] ;
15120
15121 if (!args) SWIG_fail;
15122 swig_obj[0] = args;
15123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15124 if (!SWIG_IsOK(res1)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15126 }
15127 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 result = (int)((wxSpinButton const *)arg1)->GetMax();
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 resultobj = SWIG_From_int(static_cast< int >(result));
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj = 0;
15143 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15144 int arg2 ;
15145 void *argp1 = 0 ;
15146 int res1 = 0 ;
15147 int val2 ;
15148 int ecode2 = 0 ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 char * kwnames[] = {
15152 (char *) "self",(char *) "val", NULL
15153 };
15154
15155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15157 if (!SWIG_IsOK(res1)) {
15158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15159 }
15160 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15161 ecode2 = SWIG_AsVal_int(obj1, &val2);
15162 if (!SWIG_IsOK(ecode2)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15164 }
15165 arg2 = static_cast< int >(val2);
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 (arg1)->SetValue(arg2);
15169 wxPyEndAllowThreads(__tstate);
15170 if (PyErr_Occurred()) SWIG_fail;
15171 }
15172 resultobj = SWIG_Py_Void();
15173 return resultobj;
15174 fail:
15175 return NULL;
15176 }
15177
15178
15179 SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15180 PyObject *resultobj = 0;
15181 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15182 int arg2 ;
15183 void *argp1 = 0 ;
15184 int res1 = 0 ;
15185 int val2 ;
15186 int ecode2 = 0 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char * kwnames[] = {
15190 (char *) "self",(char *) "minVal", NULL
15191 };
15192
15193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15195 if (!SWIG_IsOK(res1)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15197 }
15198 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15199 ecode2 = SWIG_AsVal_int(obj1, &val2);
15200 if (!SWIG_IsOK(ecode2)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15202 }
15203 arg2 = static_cast< int >(val2);
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->SetMin(arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj = 0;
15219 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15220 int arg2 ;
15221 void *argp1 = 0 ;
15222 int res1 = 0 ;
15223 int val2 ;
15224 int ecode2 = 0 ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char * kwnames[] = {
15228 (char *) "self",(char *) "maxVal", NULL
15229 };
15230
15231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15233 if (!SWIG_IsOK(res1)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15235 }
15236 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15237 ecode2 = SWIG_AsVal_int(obj1, &val2);
15238 if (!SWIG_IsOK(ecode2)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15240 }
15241 arg2 = static_cast< int >(val2);
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetMax(arg2);
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = SWIG_Py_Void();
15249 return resultobj;
15250 fail:
15251 return NULL;
15252 }
15253
15254
15255 SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj = 0;
15257 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15258 int arg2 ;
15259 int arg3 ;
15260 void *argp1 = 0 ;
15261 int res1 = 0 ;
15262 int val2 ;
15263 int ecode2 = 0 ;
15264 int val3 ;
15265 int ecode3 = 0 ;
15266 PyObject * obj0 = 0 ;
15267 PyObject * obj1 = 0 ;
15268 PyObject * obj2 = 0 ;
15269 char * kwnames[] = {
15270 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15271 };
15272
15273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15275 if (!SWIG_IsOK(res1)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15277 }
15278 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15279 ecode2 = SWIG_AsVal_int(obj1, &val2);
15280 if (!SWIG_IsOK(ecode2)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15282 }
15283 arg2 = static_cast< int >(val2);
15284 ecode3 = SWIG_AsVal_int(obj2, &val3);
15285 if (!SWIG_IsOK(ecode3)) {
15286 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15287 }
15288 arg3 = static_cast< int >(val3);
15289 {
15290 PyThreadState* __tstate = wxPyBeginAllowThreads();
15291 (arg1)->SetRange(arg2,arg3);
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 resultobj = SWIG_Py_Void();
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15303 PyObject *resultobj = 0;
15304 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15305 bool result;
15306 void *argp1 = 0 ;
15307 int res1 = 0 ;
15308 PyObject *swig_obj[1] ;
15309
15310 if (!args) SWIG_fail;
15311 swig_obj[0] = args;
15312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15313 if (!SWIG_IsOK(res1)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15315 }
15316 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 {
15324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj = 0;
15334 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15335 SwigValueWrapper<wxVisualAttributes > result;
15336 int val1 ;
15337 int ecode1 = 0 ;
15338 PyObject * obj0 = 0 ;
15339 char * kwnames[] = {
15340 (char *) "variant", NULL
15341 };
15342
15343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15344 if (obj0) {
15345 ecode1 = SWIG_AsVal_int(obj0, &val1);
15346 if (!SWIG_IsOK(ecode1)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15348 }
15349 arg1 = static_cast< wxWindowVariant >(val1);
15350 }
15351 {
15352 if (!wxPyCheckForApp()) SWIG_fail;
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15359 return resultobj;
15360 fail:
15361 return NULL;
15362 }
15363
15364
15365 SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15366 PyObject *obj;
15367 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15368 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15369 return SWIG_Py_Void();
15370 }
15371
15372 SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15373 return SWIG_Python_InitShadowInstance(args);
15374 }
15375
15376 SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj = 0;
15378 wxWindow *arg1 = (wxWindow *) 0 ;
15379 int arg2 = (int) -1 ;
15380 wxString const &arg3_defvalue = wxPyEmptyString ;
15381 wxString *arg3 = (wxString *) &arg3_defvalue ;
15382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15384 wxSize const &arg5_defvalue = wxDefaultSize ;
15385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15386 long arg6 = (long) wxSP_ARROW_KEYS ;
15387 int arg7 = (int) 0 ;
15388 int arg8 = (int) 100 ;
15389 int arg9 = (int) 0 ;
15390 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15391 wxString *arg10 = (wxString *) &arg10_defvalue ;
15392 wxSpinCtrl *result = 0 ;
15393 void *argp1 = 0 ;
15394 int res1 = 0 ;
15395 int val2 ;
15396 int ecode2 = 0 ;
15397 bool temp3 = false ;
15398 wxPoint temp4 ;
15399 wxSize temp5 ;
15400 long val6 ;
15401 int ecode6 = 0 ;
15402 int val7 ;
15403 int ecode7 = 0 ;
15404 int val8 ;
15405 int ecode8 = 0 ;
15406 int val9 ;
15407 int ecode9 = 0 ;
15408 bool temp10 = false ;
15409 PyObject * obj0 = 0 ;
15410 PyObject * obj1 = 0 ;
15411 PyObject * obj2 = 0 ;
15412 PyObject * obj3 = 0 ;
15413 PyObject * obj4 = 0 ;
15414 PyObject * obj5 = 0 ;
15415 PyObject * obj6 = 0 ;
15416 PyObject * obj7 = 0 ;
15417 PyObject * obj8 = 0 ;
15418 PyObject * obj9 = 0 ;
15419 char * kwnames[] = {
15420 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15421 };
15422
15423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15425 if (!SWIG_IsOK(res1)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15427 }
15428 arg1 = reinterpret_cast< wxWindow * >(argp1);
15429 if (obj1) {
15430 ecode2 = SWIG_AsVal_int(obj1, &val2);
15431 if (!SWIG_IsOK(ecode2)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15433 }
15434 arg2 = static_cast< int >(val2);
15435 }
15436 if (obj2) {
15437 {
15438 arg3 = wxString_in_helper(obj2);
15439 if (arg3 == NULL) SWIG_fail;
15440 temp3 = true;
15441 }
15442 }
15443 if (obj3) {
15444 {
15445 arg4 = &temp4;
15446 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15447 }
15448 }
15449 if (obj4) {
15450 {
15451 arg5 = &temp5;
15452 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15453 }
15454 }
15455 if (obj5) {
15456 ecode6 = SWIG_AsVal_long(obj5, &val6);
15457 if (!SWIG_IsOK(ecode6)) {
15458 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15459 }
15460 arg6 = static_cast< long >(val6);
15461 }
15462 if (obj6) {
15463 ecode7 = SWIG_AsVal_int(obj6, &val7);
15464 if (!SWIG_IsOK(ecode7)) {
15465 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15466 }
15467 arg7 = static_cast< int >(val7);
15468 }
15469 if (obj7) {
15470 ecode8 = SWIG_AsVal_int(obj7, &val8);
15471 if (!SWIG_IsOK(ecode8)) {
15472 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15473 }
15474 arg8 = static_cast< int >(val8);
15475 }
15476 if (obj8) {
15477 ecode9 = SWIG_AsVal_int(obj8, &val9);
15478 if (!SWIG_IsOK(ecode9)) {
15479 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15480 }
15481 arg9 = static_cast< int >(val9);
15482 }
15483 if (obj9) {
15484 {
15485 arg10 = wxString_in_helper(obj9);
15486 if (arg10 == NULL) SWIG_fail;
15487 temp10 = true;
15488 }
15489 }
15490 {
15491 if (!wxPyCheckForApp()) SWIG_fail;
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15498 {
15499 if (temp3)
15500 delete arg3;
15501 }
15502 {
15503 if (temp10)
15504 delete arg10;
15505 }
15506 return resultobj;
15507 fail:
15508 {
15509 if (temp3)
15510 delete arg3;
15511 }
15512 {
15513 if (temp10)
15514 delete arg10;
15515 }
15516 return NULL;
15517 }
15518
15519
15520 SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15521 PyObject *resultobj = 0;
15522 wxSpinCtrl *result = 0 ;
15523
15524 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15525 {
15526 if (!wxPyCheckForApp()) SWIG_fail;
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (wxSpinCtrl *)new wxSpinCtrl();
15529 wxPyEndAllowThreads(__tstate);
15530 if (PyErr_Occurred()) SWIG_fail;
15531 }
15532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15533 return resultobj;
15534 fail:
15535 return NULL;
15536 }
15537
15538
15539 SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15540 PyObject *resultobj = 0;
15541 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15542 wxWindow *arg2 = (wxWindow *) 0 ;
15543 int arg3 = (int) -1 ;
15544 wxString const &arg4_defvalue = wxPyEmptyString ;
15545 wxString *arg4 = (wxString *) &arg4_defvalue ;
15546 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15547 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15548 wxSize const &arg6_defvalue = wxDefaultSize ;
15549 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15550 long arg7 = (long) wxSP_ARROW_KEYS ;
15551 int arg8 = (int) 0 ;
15552 int arg9 = (int) 100 ;
15553 int arg10 = (int) 0 ;
15554 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15555 wxString *arg11 = (wxString *) &arg11_defvalue ;
15556 bool result;
15557 void *argp1 = 0 ;
15558 int res1 = 0 ;
15559 void *argp2 = 0 ;
15560 int res2 = 0 ;
15561 int val3 ;
15562 int ecode3 = 0 ;
15563 bool temp4 = false ;
15564 wxPoint temp5 ;
15565 wxSize temp6 ;
15566 long val7 ;
15567 int ecode7 = 0 ;
15568 int val8 ;
15569 int ecode8 = 0 ;
15570 int val9 ;
15571 int ecode9 = 0 ;
15572 int val10 ;
15573 int ecode10 = 0 ;
15574 bool temp11 = false ;
15575 PyObject * obj0 = 0 ;
15576 PyObject * obj1 = 0 ;
15577 PyObject * obj2 = 0 ;
15578 PyObject * obj3 = 0 ;
15579 PyObject * obj4 = 0 ;
15580 PyObject * obj5 = 0 ;
15581 PyObject * obj6 = 0 ;
15582 PyObject * obj7 = 0 ;
15583 PyObject * obj8 = 0 ;
15584 PyObject * obj9 = 0 ;
15585 PyObject * obj10 = 0 ;
15586 char * kwnames[] = {
15587 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15588 };
15589
15590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15592 if (!SWIG_IsOK(res1)) {
15593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15594 }
15595 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15596 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15597 if (!SWIG_IsOK(res2)) {
15598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15599 }
15600 arg2 = reinterpret_cast< wxWindow * >(argp2);
15601 if (obj2) {
15602 ecode3 = SWIG_AsVal_int(obj2, &val3);
15603 if (!SWIG_IsOK(ecode3)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15605 }
15606 arg3 = static_cast< int >(val3);
15607 }
15608 if (obj3) {
15609 {
15610 arg4 = wxString_in_helper(obj3);
15611 if (arg4 == NULL) SWIG_fail;
15612 temp4 = true;
15613 }
15614 }
15615 if (obj4) {
15616 {
15617 arg5 = &temp5;
15618 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15619 }
15620 }
15621 if (obj5) {
15622 {
15623 arg6 = &temp6;
15624 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15625 }
15626 }
15627 if (obj6) {
15628 ecode7 = SWIG_AsVal_long(obj6, &val7);
15629 if (!SWIG_IsOK(ecode7)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15631 }
15632 arg7 = static_cast< long >(val7);
15633 }
15634 if (obj7) {
15635 ecode8 = SWIG_AsVal_int(obj7, &val8);
15636 if (!SWIG_IsOK(ecode8)) {
15637 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15638 }
15639 arg8 = static_cast< int >(val8);
15640 }
15641 if (obj8) {
15642 ecode9 = SWIG_AsVal_int(obj8, &val9);
15643 if (!SWIG_IsOK(ecode9)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15645 }
15646 arg9 = static_cast< int >(val9);
15647 }
15648 if (obj9) {
15649 ecode10 = SWIG_AsVal_int(obj9, &val10);
15650 if (!SWIG_IsOK(ecode10)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15652 }
15653 arg10 = static_cast< int >(val10);
15654 }
15655 if (obj10) {
15656 {
15657 arg11 = wxString_in_helper(obj10);
15658 if (arg11 == NULL) SWIG_fail;
15659 temp11 = true;
15660 }
15661 }
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 {
15669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15670 }
15671 {
15672 if (temp4)
15673 delete arg4;
15674 }
15675 {
15676 if (temp11)
15677 delete arg11;
15678 }
15679 return resultobj;
15680 fail:
15681 {
15682 if (temp4)
15683 delete arg4;
15684 }
15685 {
15686 if (temp11)
15687 delete arg11;
15688 }
15689 return NULL;
15690 }
15691
15692
15693 SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15694 PyObject *resultobj = 0;
15695 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15696 int result;
15697 void *argp1 = 0 ;
15698 int res1 = 0 ;
15699 PyObject *swig_obj[1] ;
15700
15701 if (!args) SWIG_fail;
15702 swig_obj[0] = args;
15703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15704 if (!SWIG_IsOK(res1)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15706 }
15707 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
15710 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15711 wxPyEndAllowThreads(__tstate);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 resultobj = SWIG_From_int(static_cast< int >(result));
15715 return resultobj;
15716 fail:
15717 return NULL;
15718 }
15719
15720
15721 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15722 PyObject *resultobj = 0;
15723 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15724 int arg2 ;
15725 void *argp1 = 0 ;
15726 int res1 = 0 ;
15727 int val2 ;
15728 int ecode2 = 0 ;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 char * kwnames[] = {
15732 (char *) "self",(char *) "value", NULL
15733 };
15734
15735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15737 if (!SWIG_IsOK(res1)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15739 }
15740 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15741 ecode2 = SWIG_AsVal_int(obj1, &val2);
15742 if (!SWIG_IsOK(ecode2)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15744 }
15745 arg2 = static_cast< int >(val2);
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->SetValue(arg2);
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 resultobj = SWIG_Py_Void();
15753 return resultobj;
15754 fail:
15755 return NULL;
15756 }
15757
15758
15759 SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj = 0;
15761 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15762 wxString *arg2 = 0 ;
15763 void *argp1 = 0 ;
15764 int res1 = 0 ;
15765 bool temp2 = false ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 char * kwnames[] = {
15769 (char *) "self",(char *) "text", NULL
15770 };
15771
15772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15774 if (!SWIG_IsOK(res1)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15776 }
15777 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15778 {
15779 arg2 = wxString_in_helper(obj1);
15780 if (arg2 == NULL) SWIG_fail;
15781 temp2 = true;
15782 }
15783 {
15784 PyThreadState* __tstate = wxPyBeginAllowThreads();
15785 (arg1)->SetValue((wxString const &)*arg2);
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
15789 resultobj = SWIG_Py_Void();
15790 {
15791 if (temp2)
15792 delete arg2;
15793 }
15794 return resultobj;
15795 fail:
15796 {
15797 if (temp2)
15798 delete arg2;
15799 }
15800 return NULL;
15801 }
15802
15803
15804 SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj = 0;
15806 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15807 int arg2 ;
15808 int arg3 ;
15809 void *argp1 = 0 ;
15810 int res1 = 0 ;
15811 int val2 ;
15812 int ecode2 = 0 ;
15813 int val3 ;
15814 int ecode3 = 0 ;
15815 PyObject * obj0 = 0 ;
15816 PyObject * obj1 = 0 ;
15817 PyObject * obj2 = 0 ;
15818 char * kwnames[] = {
15819 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15820 };
15821
15822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15824 if (!SWIG_IsOK(res1)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15826 }
15827 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15828 ecode2 = SWIG_AsVal_int(obj1, &val2);
15829 if (!SWIG_IsOK(ecode2)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15831 }
15832 arg2 = static_cast< int >(val2);
15833 ecode3 = SWIG_AsVal_int(obj2, &val3);
15834 if (!SWIG_IsOK(ecode3)) {
15835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15836 }
15837 arg3 = static_cast< int >(val3);
15838 {
15839 PyThreadState* __tstate = wxPyBeginAllowThreads();
15840 (arg1)->SetRange(arg2,arg3);
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 resultobj = SWIG_Py_Void();
15845 return resultobj;
15846 fail:
15847 return NULL;
15848 }
15849
15850
15851 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15852 PyObject *resultobj = 0;
15853 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15854 int result;
15855 void *argp1 = 0 ;
15856 int res1 = 0 ;
15857 PyObject *swig_obj[1] ;
15858
15859 if (!args) SWIG_fail;
15860 swig_obj[0] = args;
15861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15862 if (!SWIG_IsOK(res1)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15864 }
15865 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 resultobj = SWIG_From_int(static_cast< int >(result));
15873 return resultobj;
15874 fail:
15875 return NULL;
15876 }
15877
15878
15879 SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15880 PyObject *resultobj = 0;
15881 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15882 int result;
15883 void *argp1 = 0 ;
15884 int res1 = 0 ;
15885 PyObject *swig_obj[1] ;
15886
15887 if (!args) SWIG_fail;
15888 swig_obj[0] = args;
15889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15890 if (!SWIG_IsOK(res1)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15892 }
15893 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15897 wxPyEndAllowThreads(__tstate);
15898 if (PyErr_Occurred()) SWIG_fail;
15899 }
15900 resultobj = SWIG_From_int(static_cast< int >(result));
15901 return resultobj;
15902 fail:
15903 return NULL;
15904 }
15905
15906
15907 SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj = 0;
15909 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15910 long arg2 ;
15911 long arg3 ;
15912 void *argp1 = 0 ;
15913 int res1 = 0 ;
15914 long val2 ;
15915 int ecode2 = 0 ;
15916 long val3 ;
15917 int ecode3 = 0 ;
15918 PyObject * obj0 = 0 ;
15919 PyObject * obj1 = 0 ;
15920 PyObject * obj2 = 0 ;
15921 char * kwnames[] = {
15922 (char *) "self",(char *) "from",(char *) "to", NULL
15923 };
15924
15925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15927 if (!SWIG_IsOK(res1)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15929 }
15930 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15931 ecode2 = SWIG_AsVal_long(obj1, &val2);
15932 if (!SWIG_IsOK(ecode2)) {
15933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15934 }
15935 arg2 = static_cast< long >(val2);
15936 ecode3 = SWIG_AsVal_long(obj2, &val3);
15937 if (!SWIG_IsOK(ecode3)) {
15938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15939 }
15940 arg3 = static_cast< long >(val3);
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 (arg1)->SetSelection(arg2,arg3);
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = SWIG_Py_Void();
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj = 0;
15956 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15957 SwigValueWrapper<wxVisualAttributes > result;
15958 int val1 ;
15959 int ecode1 = 0 ;
15960 PyObject * obj0 = 0 ;
15961 char * kwnames[] = {
15962 (char *) "variant", NULL
15963 };
15964
15965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15966 if (obj0) {
15967 ecode1 = SWIG_AsVal_int(obj0, &val1);
15968 if (!SWIG_IsOK(ecode1)) {
15969 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15970 }
15971 arg1 = static_cast< wxWindowVariant >(val1);
15972 }
15973 {
15974 if (!wxPyCheckForApp()) SWIG_fail;
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15981 return resultobj;
15982 fail:
15983 return NULL;
15984 }
15985
15986
15987 SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15988 PyObject *obj;
15989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15990 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15991 return SWIG_Py_Void();
15992 }
15993
15994 SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15995 return SWIG_Python_InitShadowInstance(args);
15996 }
15997
15998 SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15999 PyObject *resultobj = 0;
16000 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16001 int arg2 = (int) 0 ;
16002 wxSpinEvent *result = 0 ;
16003 int val1 ;
16004 int ecode1 = 0 ;
16005 int val2 ;
16006 int ecode2 = 0 ;
16007 PyObject * obj0 = 0 ;
16008 PyObject * obj1 = 0 ;
16009 char * kwnames[] = {
16010 (char *) "commandType",(char *) "winid", NULL
16011 };
16012
16013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16014 if (obj0) {
16015 ecode1 = SWIG_AsVal_int(obj0, &val1);
16016 if (!SWIG_IsOK(ecode1)) {
16017 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16018 }
16019 arg1 = static_cast< wxEventType >(val1);
16020 }
16021 if (obj1) {
16022 ecode2 = SWIG_AsVal_int(obj1, &val2);
16023 if (!SWIG_IsOK(ecode2)) {
16024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16025 }
16026 arg2 = static_cast< int >(val2);
16027 }
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16042 PyObject *resultobj = 0;
16043 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16044 int result;
16045 void *argp1 = 0 ;
16046 int res1 = 0 ;
16047 PyObject *swig_obj[1] ;
16048
16049 if (!args) SWIG_fail;
16050 swig_obj[0] = args;
16051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16052 if (!SWIG_IsOK(res1)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16054 }
16055 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 resultobj = SWIG_From_int(static_cast< int >(result));
16063 return resultobj;
16064 fail:
16065 return NULL;
16066 }
16067
16068
16069 SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16070 PyObject *resultobj = 0;
16071 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16072 int arg2 ;
16073 void *argp1 = 0 ;
16074 int res1 = 0 ;
16075 int val2 ;
16076 int ecode2 = 0 ;
16077 PyObject * obj0 = 0 ;
16078 PyObject * obj1 = 0 ;
16079 char * kwnames[] = {
16080 (char *) "self",(char *) "pos", NULL
16081 };
16082
16083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16085 if (!SWIG_IsOK(res1)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16087 }
16088 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16089 ecode2 = SWIG_AsVal_int(obj1, &val2);
16090 if (!SWIG_IsOK(ecode2)) {
16091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16092 }
16093 arg2 = static_cast< int >(val2);
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 (arg1)->SetPosition(arg2);
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 resultobj = SWIG_Py_Void();
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16108 PyObject *obj;
16109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16110 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16111 return SWIG_Py_Void();
16112 }
16113
16114 SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16115 return SWIG_Python_InitShadowInstance(args);
16116 }
16117
16118 SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16119 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16120 return 1;
16121 }
16122
16123
16124 SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16125 PyObject *pyobj = 0;
16126
16127 {
16128 #if wxUSE_UNICODE
16129 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16130 #else
16131 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16132 #endif
16133 }
16134 return pyobj;
16135 }
16136
16137
16138 SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16139 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16140 return 1;
16141 }
16142
16143
16144 SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16145 PyObject *pyobj = 0;
16146
16147 {
16148 #if wxUSE_UNICODE
16149 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16150 #else
16151 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16152 #endif
16153 }
16154 return pyobj;
16155 }
16156
16157
16158 SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16159 PyObject *resultobj = 0;
16160 wxWindow *arg1 = (wxWindow *) 0 ;
16161 int arg2 = (int) -1 ;
16162 wxString const &arg3_defvalue = wxPyEmptyString ;
16163 wxString *arg3 = (wxString *) &arg3_defvalue ;
16164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16166 wxSize const &arg5_defvalue = wxDefaultSize ;
16167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16168 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16169 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16170 int arg7 = (int) 0 ;
16171 long arg8 = (long) wxRA_HORIZONTAL ;
16172 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16173 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16174 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16175 wxString *arg10 = (wxString *) &arg10_defvalue ;
16176 wxRadioBox *result = 0 ;
16177 void *argp1 = 0 ;
16178 int res1 = 0 ;
16179 int val2 ;
16180 int ecode2 = 0 ;
16181 bool temp3 = false ;
16182 wxPoint temp4 ;
16183 wxSize temp5 ;
16184 bool temp6 = false ;
16185 int val7 ;
16186 int ecode7 = 0 ;
16187 long val8 ;
16188 int ecode8 = 0 ;
16189 void *argp9 = 0 ;
16190 int res9 = 0 ;
16191 bool temp10 = false ;
16192 PyObject * obj0 = 0 ;
16193 PyObject * obj1 = 0 ;
16194 PyObject * obj2 = 0 ;
16195 PyObject * obj3 = 0 ;
16196 PyObject * obj4 = 0 ;
16197 PyObject * obj5 = 0 ;
16198 PyObject * obj6 = 0 ;
16199 PyObject * obj7 = 0 ;
16200 PyObject * obj8 = 0 ;
16201 PyObject * obj9 = 0 ;
16202 char * kwnames[] = {
16203 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16204 };
16205
16206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16208 if (!SWIG_IsOK(res1)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16210 }
16211 arg1 = reinterpret_cast< wxWindow * >(argp1);
16212 if (obj1) {
16213 ecode2 = SWIG_AsVal_int(obj1, &val2);
16214 if (!SWIG_IsOK(ecode2)) {
16215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16216 }
16217 arg2 = static_cast< int >(val2);
16218 }
16219 if (obj2) {
16220 {
16221 arg3 = wxString_in_helper(obj2);
16222 if (arg3 == NULL) SWIG_fail;
16223 temp3 = true;
16224 }
16225 }
16226 if (obj3) {
16227 {
16228 arg4 = &temp4;
16229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16230 }
16231 }
16232 if (obj4) {
16233 {
16234 arg5 = &temp5;
16235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16236 }
16237 }
16238 if (obj5) {
16239 {
16240 if (! PySequence_Check(obj5)) {
16241 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16242 SWIG_fail;
16243 }
16244 arg6 = new wxArrayString;
16245 temp6 = true;
16246 int i, len=PySequence_Length(obj5);
16247 for (i=0; i<len; i++) {
16248 PyObject* item = PySequence_GetItem(obj5, i);
16249 wxString* s = wxString_in_helper(item);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 arg6->Add(*s);
16252 delete s;
16253 Py_DECREF(item);
16254 }
16255 }
16256 }
16257 if (obj6) {
16258 ecode7 = SWIG_AsVal_int(obj6, &val7);
16259 if (!SWIG_IsOK(ecode7)) {
16260 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16261 }
16262 arg7 = static_cast< int >(val7);
16263 }
16264 if (obj7) {
16265 ecode8 = SWIG_AsVal_long(obj7, &val8);
16266 if (!SWIG_IsOK(ecode8)) {
16267 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16268 }
16269 arg8 = static_cast< long >(val8);
16270 }
16271 if (obj8) {
16272 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16273 if (!SWIG_IsOK(res9)) {
16274 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16275 }
16276 if (!argp9) {
16277 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16278 }
16279 arg9 = reinterpret_cast< wxValidator * >(argp9);
16280 }
16281 if (obj9) {
16282 {
16283 arg10 = wxString_in_helper(obj9);
16284 if (arg10 == NULL) SWIG_fail;
16285 temp10 = true;
16286 }
16287 }
16288 {
16289 if (!wxPyCheckForApp()) SWIG_fail;
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 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);
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16296 {
16297 if (temp3)
16298 delete arg3;
16299 }
16300 {
16301 if (temp6) delete arg6;
16302 }
16303 {
16304 if (temp10)
16305 delete arg10;
16306 }
16307 return resultobj;
16308 fail:
16309 {
16310 if (temp3)
16311 delete arg3;
16312 }
16313 {
16314 if (temp6) delete arg6;
16315 }
16316 {
16317 if (temp10)
16318 delete arg10;
16319 }
16320 return NULL;
16321 }
16322
16323
16324 SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16325 PyObject *resultobj = 0;
16326 wxRadioBox *result = 0 ;
16327
16328 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16329 {
16330 if (!wxPyCheckForApp()) SWIG_fail;
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (wxRadioBox *)new wxRadioBox();
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj = 0;
16345 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16346 wxWindow *arg2 = (wxWindow *) 0 ;
16347 int arg3 = (int) -1 ;
16348 wxString const &arg4_defvalue = wxPyEmptyString ;
16349 wxString *arg4 = (wxString *) &arg4_defvalue ;
16350 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16351 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16352 wxSize const &arg6_defvalue = wxDefaultSize ;
16353 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16354 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16355 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16356 int arg8 = (int) 0 ;
16357 long arg9 = (long) wxRA_HORIZONTAL ;
16358 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16359 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16360 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16361 wxString *arg11 = (wxString *) &arg11_defvalue ;
16362 bool result;
16363 void *argp1 = 0 ;
16364 int res1 = 0 ;
16365 void *argp2 = 0 ;
16366 int res2 = 0 ;
16367 int val3 ;
16368 int ecode3 = 0 ;
16369 bool temp4 = false ;
16370 wxPoint temp5 ;
16371 wxSize temp6 ;
16372 bool temp7 = false ;
16373 int val8 ;
16374 int ecode8 = 0 ;
16375 long val9 ;
16376 int ecode9 = 0 ;
16377 void *argp10 = 0 ;
16378 int res10 = 0 ;
16379 bool temp11 = false ;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
16382 PyObject * obj2 = 0 ;
16383 PyObject * obj3 = 0 ;
16384 PyObject * obj4 = 0 ;
16385 PyObject * obj5 = 0 ;
16386 PyObject * obj6 = 0 ;
16387 PyObject * obj7 = 0 ;
16388 PyObject * obj8 = 0 ;
16389 PyObject * obj9 = 0 ;
16390 PyObject * obj10 = 0 ;
16391 char * kwnames[] = {
16392 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16393 };
16394
16395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16397 if (!SWIG_IsOK(res1)) {
16398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16399 }
16400 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16402 if (!SWIG_IsOK(res2)) {
16403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16404 }
16405 arg2 = reinterpret_cast< wxWindow * >(argp2);
16406 if (obj2) {
16407 ecode3 = SWIG_AsVal_int(obj2, &val3);
16408 if (!SWIG_IsOK(ecode3)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16410 }
16411 arg3 = static_cast< int >(val3);
16412 }
16413 if (obj3) {
16414 {
16415 arg4 = wxString_in_helper(obj3);
16416 if (arg4 == NULL) SWIG_fail;
16417 temp4 = true;
16418 }
16419 }
16420 if (obj4) {
16421 {
16422 arg5 = &temp5;
16423 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16424 }
16425 }
16426 if (obj5) {
16427 {
16428 arg6 = &temp6;
16429 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16430 }
16431 }
16432 if (obj6) {
16433 {
16434 if (! PySequence_Check(obj6)) {
16435 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16436 SWIG_fail;
16437 }
16438 arg7 = new wxArrayString;
16439 temp7 = true;
16440 int i, len=PySequence_Length(obj6);
16441 for (i=0; i<len; i++) {
16442 PyObject* item = PySequence_GetItem(obj6, i);
16443 wxString* s = wxString_in_helper(item);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 arg7->Add(*s);
16446 delete s;
16447 Py_DECREF(item);
16448 }
16449 }
16450 }
16451 if (obj7) {
16452 ecode8 = SWIG_AsVal_int(obj7, &val8);
16453 if (!SWIG_IsOK(ecode8)) {
16454 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16455 }
16456 arg8 = static_cast< int >(val8);
16457 }
16458 if (obj8) {
16459 ecode9 = SWIG_AsVal_long(obj8, &val9);
16460 if (!SWIG_IsOK(ecode9)) {
16461 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16462 }
16463 arg9 = static_cast< long >(val9);
16464 }
16465 if (obj9) {
16466 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16467 if (!SWIG_IsOK(res10)) {
16468 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16469 }
16470 if (!argp10) {
16471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16472 }
16473 arg10 = reinterpret_cast< wxValidator * >(argp10);
16474 }
16475 if (obj10) {
16476 {
16477 arg11 = wxString_in_helper(obj10);
16478 if (arg11 == NULL) SWIG_fail;
16479 temp11 = true;
16480 }
16481 }
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 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);
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16490 }
16491 {
16492 if (temp4)
16493 delete arg4;
16494 }
16495 {
16496 if (temp7) delete arg7;
16497 }
16498 {
16499 if (temp11)
16500 delete arg11;
16501 }
16502 return resultobj;
16503 fail:
16504 {
16505 if (temp4)
16506 delete arg4;
16507 }
16508 {
16509 if (temp7) delete arg7;
16510 }
16511 {
16512 if (temp11)
16513 delete arg11;
16514 }
16515 return NULL;
16516 }
16517
16518
16519 SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16520 PyObject *resultobj = 0;
16521 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16522 int arg2 ;
16523 void *argp1 = 0 ;
16524 int res1 = 0 ;
16525 int val2 ;
16526 int ecode2 = 0 ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char * kwnames[] = {
16530 (char *) "self",(char *) "n", NULL
16531 };
16532
16533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16535 if (!SWIG_IsOK(res1)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16537 }
16538 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16539 ecode2 = SWIG_AsVal_int(obj1, &val2);
16540 if (!SWIG_IsOK(ecode2)) {
16541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16542 }
16543 arg2 = static_cast< int >(val2);
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 (arg1)->SetSelection(arg2);
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 resultobj = SWIG_Py_Void();
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16558 PyObject *resultobj = 0;
16559 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16560 int result;
16561 void *argp1 = 0 ;
16562 int res1 = 0 ;
16563 PyObject *swig_obj[1] ;
16564
16565 if (!args) SWIG_fail;
16566 swig_obj[0] = args;
16567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16568 if (!SWIG_IsOK(res1)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16570 }
16571 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16575 wxPyEndAllowThreads(__tstate);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 resultobj = SWIG_From_int(static_cast< int >(result));
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16586 PyObject *resultobj = 0;
16587 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16588 wxString result;
16589 void *argp1 = 0 ;
16590 int res1 = 0 ;
16591 PyObject *swig_obj[1] ;
16592
16593 if (!args) SWIG_fail;
16594 swig_obj[0] = args;
16595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16596 if (!SWIG_IsOK(res1)) {
16597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16598 }
16599 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16603 wxPyEndAllowThreads(__tstate);
16604 if (PyErr_Occurred()) SWIG_fail;
16605 }
16606 {
16607 #if wxUSE_UNICODE
16608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16609 #else
16610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16611 #endif
16612 }
16613 return resultobj;
16614 fail:
16615 return NULL;
16616 }
16617
16618
16619 SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj = 0;
16621 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16622 wxString *arg2 = 0 ;
16623 bool result;
16624 void *argp1 = 0 ;
16625 int res1 = 0 ;
16626 bool temp2 = false ;
16627 PyObject * obj0 = 0 ;
16628 PyObject * obj1 = 0 ;
16629 char * kwnames[] = {
16630 (char *) "self",(char *) "s", NULL
16631 };
16632
16633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16635 if (!SWIG_IsOK(res1)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16637 }
16638 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16639 {
16640 arg2 = wxString_in_helper(obj1);
16641 if (arg2 == NULL) SWIG_fail;
16642 temp2 = true;
16643 }
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 {
16651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16652 }
16653 {
16654 if (temp2)
16655 delete arg2;
16656 }
16657 return resultobj;
16658 fail:
16659 {
16660 if (temp2)
16661 delete arg2;
16662 }
16663 return NULL;
16664 }
16665
16666
16667 SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16668 PyObject *resultobj = 0;
16669 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16670 size_t result;
16671 void *argp1 = 0 ;
16672 int res1 = 0 ;
16673 PyObject *swig_obj[1] ;
16674
16675 if (!args) SWIG_fail;
16676 swig_obj[0] = args;
16677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16678 if (!SWIG_IsOK(res1)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16680 }
16681 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16682 {
16683 PyThreadState* __tstate = wxPyBeginAllowThreads();
16684 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16689 return resultobj;
16690 fail:
16691 return NULL;
16692 }
16693
16694
16695 SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16696 PyObject *resultobj = 0;
16697 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16698 wxString *arg2 = 0 ;
16699 int result;
16700 void *argp1 = 0 ;
16701 int res1 = 0 ;
16702 bool temp2 = false ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char * kwnames[] = {
16706 (char *) "self",(char *) "s", NULL
16707 };
16708
16709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16711 if (!SWIG_IsOK(res1)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16713 }
16714 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16715 {
16716 arg2 = wxString_in_helper(obj1);
16717 if (arg2 == NULL) SWIG_fail;
16718 temp2 = true;
16719 }
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 resultobj = SWIG_From_int(static_cast< int >(result));
16727 {
16728 if (temp2)
16729 delete arg2;
16730 }
16731 return resultobj;
16732 fail:
16733 {
16734 if (temp2)
16735 delete arg2;
16736 }
16737 return NULL;
16738 }
16739
16740
16741 SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj = 0;
16743 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16744 int arg2 ;
16745 wxString result;
16746 void *argp1 = 0 ;
16747 int res1 = 0 ;
16748 int val2 ;
16749 int ecode2 = 0 ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 char * kwnames[] = {
16753 (char *) "self",(char *) "n", NULL
16754 };
16755
16756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16758 if (!SWIG_IsOK(res1)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16760 }
16761 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16762 ecode2 = SWIG_AsVal_int(obj1, &val2);
16763 if (!SWIG_IsOK(ecode2)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16765 }
16766 arg2 = static_cast< int >(val2);
16767 {
16768 PyThreadState* __tstate = wxPyBeginAllowThreads();
16769 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 {
16774 #if wxUSE_UNICODE
16775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16776 #else
16777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16778 #endif
16779 }
16780 return resultobj;
16781 fail:
16782 return NULL;
16783 }
16784
16785
16786 SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj = 0;
16788 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16789 int arg2 ;
16790 wxString *arg3 = 0 ;
16791 void *argp1 = 0 ;
16792 int res1 = 0 ;
16793 int val2 ;
16794 int ecode2 = 0 ;
16795 bool temp3 = false ;
16796 PyObject * obj0 = 0 ;
16797 PyObject * obj1 = 0 ;
16798 PyObject * obj2 = 0 ;
16799 char * kwnames[] = {
16800 (char *) "self",(char *) "n",(char *) "label", NULL
16801 };
16802
16803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16805 if (!SWIG_IsOK(res1)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16807 }
16808 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16809 ecode2 = SWIG_AsVal_int(obj1, &val2);
16810 if (!SWIG_IsOK(ecode2)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16812 }
16813 arg2 = static_cast< int >(val2);
16814 {
16815 arg3 = wxString_in_helper(obj2);
16816 if (arg3 == NULL) SWIG_fail;
16817 temp3 = true;
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 (arg1)->SetString(arg2,(wxString const &)*arg3);
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_Py_Void();
16826 {
16827 if (temp3)
16828 delete arg3;
16829 }
16830 return resultobj;
16831 fail:
16832 {
16833 if (temp3)
16834 delete arg3;
16835 }
16836 return NULL;
16837 }
16838
16839
16840 SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj = 0;
16842 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16843 unsigned int arg2 ;
16844 bool arg3 = (bool) true ;
16845 void *argp1 = 0 ;
16846 int res1 = 0 ;
16847 unsigned int val2 ;
16848 int ecode2 = 0 ;
16849 bool val3 ;
16850 int ecode3 = 0 ;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 PyObject * obj2 = 0 ;
16854 char * kwnames[] = {
16855 (char *) "self",(char *) "n",(char *) "enable", NULL
16856 };
16857
16858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16860 if (!SWIG_IsOK(res1)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16862 }
16863 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16864 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16865 if (!SWIG_IsOK(ecode2)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16867 }
16868 arg2 = static_cast< unsigned int >(val2);
16869 if (obj2) {
16870 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16871 if (!SWIG_IsOK(ecode3)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16873 }
16874 arg3 = static_cast< bool >(val3);
16875 }
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 (arg1)->Enable(arg2,arg3);
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 resultobj = SWIG_Py_Void();
16883 return resultobj;
16884 fail:
16885 return NULL;
16886 }
16887
16888
16889 SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16890 PyObject *resultobj = 0;
16891 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16892 unsigned int arg2 ;
16893 bool arg3 = (bool) true ;
16894 void *argp1 = 0 ;
16895 int res1 = 0 ;
16896 unsigned int val2 ;
16897 int ecode2 = 0 ;
16898 bool val3 ;
16899 int ecode3 = 0 ;
16900 PyObject * obj0 = 0 ;
16901 PyObject * obj1 = 0 ;
16902 PyObject * obj2 = 0 ;
16903 char * kwnames[] = {
16904 (char *) "self",(char *) "n",(char *) "show", NULL
16905 };
16906
16907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16909 if (!SWIG_IsOK(res1)) {
16910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16911 }
16912 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16913 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16914 if (!SWIG_IsOK(ecode2)) {
16915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16916 }
16917 arg2 = static_cast< unsigned int >(val2);
16918 if (obj2) {
16919 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16920 if (!SWIG_IsOK(ecode3)) {
16921 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16922 }
16923 arg3 = static_cast< bool >(val3);
16924 }
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 (arg1)->Show(arg2,arg3);
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 resultobj = SWIG_Py_Void();
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj = 0;
16940 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16941 unsigned int arg2 ;
16942 bool result;
16943 void *argp1 = 0 ;
16944 int res1 = 0 ;
16945 unsigned int val2 ;
16946 int ecode2 = 0 ;
16947 PyObject * obj0 = 0 ;
16948 PyObject * obj1 = 0 ;
16949 char * kwnames[] = {
16950 (char *) "self",(char *) "n", NULL
16951 };
16952
16953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16957 }
16958 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16959 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16960 if (!SWIG_IsOK(ecode2)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16962 }
16963 arg2 = static_cast< unsigned int >(val2);
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16967 wxPyEndAllowThreads(__tstate);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 {
16971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16972 }
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj = 0;
16981 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16982 unsigned int arg2 ;
16983 bool result;
16984 void *argp1 = 0 ;
16985 int res1 = 0 ;
16986 unsigned int val2 ;
16987 int ecode2 = 0 ;
16988 PyObject * obj0 = 0 ;
16989 PyObject * obj1 = 0 ;
16990 char * kwnames[] = {
16991 (char *) "self",(char *) "n", NULL
16992 };
16993
16994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16996 if (!SWIG_IsOK(res1)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16998 }
16999 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17000 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17001 if (!SWIG_IsOK(ecode2)) {
17002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17003 }
17004 arg2 = static_cast< unsigned int >(val2);
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 {
17012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17013 }
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17021 PyObject *resultobj = 0;
17022 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17023 unsigned int result;
17024 void *argp1 = 0 ;
17025 int res1 = 0 ;
17026 PyObject *swig_obj[1] ;
17027
17028 if (!args) SWIG_fail;
17029 swig_obj[0] = args;
17030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17031 if (!SWIG_IsOK(res1)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17033 }
17034 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17049 PyObject *resultobj = 0;
17050 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17051 unsigned int result;
17052 void *argp1 = 0 ;
17053 int res1 = 0 ;
17054 PyObject *swig_obj[1] ;
17055
17056 if (!args) SWIG_fail;
17057 swig_obj[0] = args;
17058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17059 if (!SWIG_IsOK(res1)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17061 }
17062 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17063 {
17064 PyThreadState* __tstate = wxPyBeginAllowThreads();
17065 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj = 0;
17078 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17079 int arg2 ;
17080 wxDirection arg3 ;
17081 long arg4 ;
17082 int result;
17083 void *argp1 = 0 ;
17084 int res1 = 0 ;
17085 int val2 ;
17086 int ecode2 = 0 ;
17087 int val3 ;
17088 int ecode3 = 0 ;
17089 long val4 ;
17090 int ecode4 = 0 ;
17091 PyObject * obj0 = 0 ;
17092 PyObject * obj1 = 0 ;
17093 PyObject * obj2 = 0 ;
17094 PyObject * obj3 = 0 ;
17095 char * kwnames[] = {
17096 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17097 };
17098
17099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17101 if (!SWIG_IsOK(res1)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17103 }
17104 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17105 ecode2 = SWIG_AsVal_int(obj1, &val2);
17106 if (!SWIG_IsOK(ecode2)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17108 }
17109 arg2 = static_cast< int >(val2);
17110 ecode3 = SWIG_AsVal_int(obj2, &val3);
17111 if (!SWIG_IsOK(ecode3)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17113 }
17114 arg3 = static_cast< wxDirection >(val3);
17115 ecode4 = SWIG_AsVal_long(obj3, &val4);
17116 if (!SWIG_IsOK(ecode4)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17118 }
17119 arg4 = static_cast< long >(val4);
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 resultobj = SWIG_From_int(static_cast< int >(result));
17127 return resultobj;
17128 fail:
17129 return NULL;
17130 }
17131
17132
17133 SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17134 PyObject *resultobj = 0;
17135 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17136 unsigned int arg2 ;
17137 wxString *arg3 = 0 ;
17138 void *argp1 = 0 ;
17139 int res1 = 0 ;
17140 unsigned int val2 ;
17141 int ecode2 = 0 ;
17142 bool temp3 = false ;
17143 PyObject * obj0 = 0 ;
17144 PyObject * obj1 = 0 ;
17145 PyObject * obj2 = 0 ;
17146 char * kwnames[] = {
17147 (char *) "self",(char *) "item",(char *) "text", NULL
17148 };
17149
17150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17152 if (!SWIG_IsOK(res1)) {
17153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17154 }
17155 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17156 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17157 if (!SWIG_IsOK(ecode2)) {
17158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17159 }
17160 arg2 = static_cast< unsigned int >(val2);
17161 {
17162 arg3 = wxString_in_helper(obj2);
17163 if (arg3 == NULL) SWIG_fail;
17164 temp3 = true;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 resultobj = SWIG_Py_Void();
17173 {
17174 if (temp3)
17175 delete arg3;
17176 }
17177 return resultobj;
17178 fail:
17179 {
17180 if (temp3)
17181 delete arg3;
17182 }
17183 return NULL;
17184 }
17185
17186
17187 SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj = 0;
17189 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17190 unsigned int arg2 ;
17191 wxToolTip *result = 0 ;
17192 void *argp1 = 0 ;
17193 int res1 = 0 ;
17194 unsigned int val2 ;
17195 int ecode2 = 0 ;
17196 PyObject * obj0 = 0 ;
17197 PyObject * obj1 = 0 ;
17198 char * kwnames[] = {
17199 (char *) "self",(char *) "item", NULL
17200 };
17201
17202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17204 if (!SWIG_IsOK(res1)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17206 }
17207 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17208 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17209 if (!SWIG_IsOK(ecode2)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17211 }
17212 arg2 = static_cast< unsigned int >(val2);
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 {
17220 resultobj = wxPyMake_wxObject(result, (bool)0);
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj = 0;
17230 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17231 unsigned int arg2 ;
17232 wxString *arg3 = 0 ;
17233 void *argp1 = 0 ;
17234 int res1 = 0 ;
17235 unsigned int val2 ;
17236 int ecode2 = 0 ;
17237 bool temp3 = false ;
17238 PyObject * obj0 = 0 ;
17239 PyObject * obj1 = 0 ;
17240 PyObject * obj2 = 0 ;
17241 char * kwnames[] = {
17242 (char *) "self",(char *) "n",(char *) "helpText", NULL
17243 };
17244
17245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17247 if (!SWIG_IsOK(res1)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17249 }
17250 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17251 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17252 if (!SWIG_IsOK(ecode2)) {
17253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17254 }
17255 arg2 = static_cast< unsigned int >(val2);
17256 {
17257 arg3 = wxString_in_helper(obj2);
17258 if (arg3 == NULL) SWIG_fail;
17259 temp3 = true;
17260 }
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 resultobj = SWIG_Py_Void();
17268 {
17269 if (temp3)
17270 delete arg3;
17271 }
17272 return resultobj;
17273 fail:
17274 {
17275 if (temp3)
17276 delete arg3;
17277 }
17278 return NULL;
17279 }
17280
17281
17282 SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj = 0;
17284 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17285 unsigned int arg2 ;
17286 wxString result;
17287 void *argp1 = 0 ;
17288 int res1 = 0 ;
17289 unsigned int val2 ;
17290 int ecode2 = 0 ;
17291 PyObject * obj0 = 0 ;
17292 PyObject * obj1 = 0 ;
17293 char * kwnames[] = {
17294 (char *) "self",(char *) "n", NULL
17295 };
17296
17297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17299 if (!SWIG_IsOK(res1)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17301 }
17302 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17303 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17304 if (!SWIG_IsOK(ecode2)) {
17305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17306 }
17307 arg2 = static_cast< unsigned int >(val2);
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 {
17315 #if wxUSE_UNICODE
17316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17317 #else
17318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17319 #endif
17320 }
17321 return resultobj;
17322 fail:
17323 return NULL;
17324 }
17325
17326
17327 SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj = 0;
17329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17330 SwigValueWrapper<wxVisualAttributes > result;
17331 int val1 ;
17332 int ecode1 = 0 ;
17333 PyObject * obj0 = 0 ;
17334 char * kwnames[] = {
17335 (char *) "variant", NULL
17336 };
17337
17338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17339 if (obj0) {
17340 ecode1 = SWIG_AsVal_int(obj0, &val1);
17341 if (!SWIG_IsOK(ecode1)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17343 }
17344 arg1 = static_cast< wxWindowVariant >(val1);
17345 }
17346 {
17347 if (!wxPyCheckForApp()) SWIG_fail;
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17361 PyObject *obj;
17362 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17363 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17364 return SWIG_Py_Void();
17365 }
17366
17367 SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17368 return SWIG_Python_InitShadowInstance(args);
17369 }
17370
17371 SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj = 0;
17373 wxWindow *arg1 = (wxWindow *) 0 ;
17374 int arg2 = (int) -1 ;
17375 wxString const &arg3_defvalue = wxPyEmptyString ;
17376 wxString *arg3 = (wxString *) &arg3_defvalue ;
17377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17379 wxSize const &arg5_defvalue = wxDefaultSize ;
17380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17381 long arg6 = (long) 0 ;
17382 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17383 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17384 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17385 wxString *arg8 = (wxString *) &arg8_defvalue ;
17386 wxRadioButton *result = 0 ;
17387 void *argp1 = 0 ;
17388 int res1 = 0 ;
17389 int val2 ;
17390 int ecode2 = 0 ;
17391 bool temp3 = false ;
17392 wxPoint temp4 ;
17393 wxSize temp5 ;
17394 long val6 ;
17395 int ecode6 = 0 ;
17396 void *argp7 = 0 ;
17397 int res7 = 0 ;
17398 bool temp8 = false ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 PyObject * obj3 = 0 ;
17403 PyObject * obj4 = 0 ;
17404 PyObject * obj5 = 0 ;
17405 PyObject * obj6 = 0 ;
17406 PyObject * obj7 = 0 ;
17407 char * kwnames[] = {
17408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17409 };
17410
17411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17413 if (!SWIG_IsOK(res1)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17415 }
17416 arg1 = reinterpret_cast< wxWindow * >(argp1);
17417 if (obj1) {
17418 ecode2 = SWIG_AsVal_int(obj1, &val2);
17419 if (!SWIG_IsOK(ecode2)) {
17420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17421 }
17422 arg2 = static_cast< int >(val2);
17423 }
17424 if (obj2) {
17425 {
17426 arg3 = wxString_in_helper(obj2);
17427 if (arg3 == NULL) SWIG_fail;
17428 temp3 = true;
17429 }
17430 }
17431 if (obj3) {
17432 {
17433 arg4 = &temp4;
17434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17435 }
17436 }
17437 if (obj4) {
17438 {
17439 arg5 = &temp5;
17440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17441 }
17442 }
17443 if (obj5) {
17444 ecode6 = SWIG_AsVal_long(obj5, &val6);
17445 if (!SWIG_IsOK(ecode6)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17447 }
17448 arg6 = static_cast< long >(val6);
17449 }
17450 if (obj6) {
17451 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17452 if (!SWIG_IsOK(res7)) {
17453 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17454 }
17455 if (!argp7) {
17456 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17457 }
17458 arg7 = reinterpret_cast< wxValidator * >(argp7);
17459 }
17460 if (obj7) {
17461 {
17462 arg8 = wxString_in_helper(obj7);
17463 if (arg8 == NULL) SWIG_fail;
17464 temp8 = true;
17465 }
17466 }
17467 {
17468 if (!wxPyCheckForApp()) SWIG_fail;
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17475 {
17476 if (temp3)
17477 delete arg3;
17478 }
17479 {
17480 if (temp8)
17481 delete arg8;
17482 }
17483 return resultobj;
17484 fail:
17485 {
17486 if (temp3)
17487 delete arg3;
17488 }
17489 {
17490 if (temp8)
17491 delete arg8;
17492 }
17493 return NULL;
17494 }
17495
17496
17497 SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17498 PyObject *resultobj = 0;
17499 wxRadioButton *result = 0 ;
17500
17501 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17502 {
17503 if (!wxPyCheckForApp()) SWIG_fail;
17504 PyThreadState* __tstate = wxPyBeginAllowThreads();
17505 result = (wxRadioButton *)new wxRadioButton();
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17510 return resultobj;
17511 fail:
17512 return NULL;
17513 }
17514
17515
17516 SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj = 0;
17518 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17519 wxWindow *arg2 = (wxWindow *) 0 ;
17520 int arg3 = (int) -1 ;
17521 wxString const &arg4_defvalue = wxPyEmptyString ;
17522 wxString *arg4 = (wxString *) &arg4_defvalue ;
17523 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17524 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17525 wxSize const &arg6_defvalue = wxDefaultSize ;
17526 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17527 long arg7 = (long) 0 ;
17528 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17529 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17530 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17531 wxString *arg9 = (wxString *) &arg9_defvalue ;
17532 bool result;
17533 void *argp1 = 0 ;
17534 int res1 = 0 ;
17535 void *argp2 = 0 ;
17536 int res2 = 0 ;
17537 int val3 ;
17538 int ecode3 = 0 ;
17539 bool temp4 = false ;
17540 wxPoint temp5 ;
17541 wxSize temp6 ;
17542 long val7 ;
17543 int ecode7 = 0 ;
17544 void *argp8 = 0 ;
17545 int res8 = 0 ;
17546 bool temp9 = false ;
17547 PyObject * obj0 = 0 ;
17548 PyObject * obj1 = 0 ;
17549 PyObject * obj2 = 0 ;
17550 PyObject * obj3 = 0 ;
17551 PyObject * obj4 = 0 ;
17552 PyObject * obj5 = 0 ;
17553 PyObject * obj6 = 0 ;
17554 PyObject * obj7 = 0 ;
17555 PyObject * obj8 = 0 ;
17556 char * kwnames[] = {
17557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17558 };
17559
17560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17562 if (!SWIG_IsOK(res1)) {
17563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17564 }
17565 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17567 if (!SWIG_IsOK(res2)) {
17568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17569 }
17570 arg2 = reinterpret_cast< wxWindow * >(argp2);
17571 if (obj2) {
17572 ecode3 = SWIG_AsVal_int(obj2, &val3);
17573 if (!SWIG_IsOK(ecode3)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17575 }
17576 arg3 = static_cast< int >(val3);
17577 }
17578 if (obj3) {
17579 {
17580 arg4 = wxString_in_helper(obj3);
17581 if (arg4 == NULL) SWIG_fail;
17582 temp4 = true;
17583 }
17584 }
17585 if (obj4) {
17586 {
17587 arg5 = &temp5;
17588 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17589 }
17590 }
17591 if (obj5) {
17592 {
17593 arg6 = &temp6;
17594 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17595 }
17596 }
17597 if (obj6) {
17598 ecode7 = SWIG_AsVal_long(obj6, &val7);
17599 if (!SWIG_IsOK(ecode7)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17601 }
17602 arg7 = static_cast< long >(val7);
17603 }
17604 if (obj7) {
17605 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17606 if (!SWIG_IsOK(res8)) {
17607 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17608 }
17609 if (!argp8) {
17610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17611 }
17612 arg8 = reinterpret_cast< wxValidator * >(argp8);
17613 }
17614 if (obj8) {
17615 {
17616 arg9 = wxString_in_helper(obj8);
17617 if (arg9 == NULL) SWIG_fail;
17618 temp9 = true;
17619 }
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17624 wxPyEndAllowThreads(__tstate);
17625 if (PyErr_Occurred()) SWIG_fail;
17626 }
17627 {
17628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17629 }
17630 {
17631 if (temp4)
17632 delete arg4;
17633 }
17634 {
17635 if (temp9)
17636 delete arg9;
17637 }
17638 return resultobj;
17639 fail:
17640 {
17641 if (temp4)
17642 delete arg4;
17643 }
17644 {
17645 if (temp9)
17646 delete arg9;
17647 }
17648 return NULL;
17649 }
17650
17651
17652 SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17653 PyObject *resultobj = 0;
17654 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17655 bool result;
17656 void *argp1 = 0 ;
17657 int res1 = 0 ;
17658 PyObject *swig_obj[1] ;
17659
17660 if (!args) SWIG_fail;
17661 swig_obj[0] = args;
17662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17663 if (!SWIG_IsOK(res1)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17665 }
17666 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (bool)(arg1)->GetValue();
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 {
17674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17675 }
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj = 0;
17684 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17685 bool arg2 ;
17686 void *argp1 = 0 ;
17687 int res1 = 0 ;
17688 bool val2 ;
17689 int ecode2 = 0 ;
17690 PyObject * obj0 = 0 ;
17691 PyObject * obj1 = 0 ;
17692 char * kwnames[] = {
17693 (char *) "self",(char *) "value", NULL
17694 };
17695
17696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17698 if (!SWIG_IsOK(res1)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17700 }
17701 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17703 if (!SWIG_IsOK(ecode2)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17705 }
17706 arg2 = static_cast< bool >(val2);
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->SetValue(arg2);
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 resultobj = SWIG_Py_Void();
17714 return resultobj;
17715 fail:
17716 return NULL;
17717 }
17718
17719
17720 SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj = 0;
17722 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17723 SwigValueWrapper<wxVisualAttributes > result;
17724 int val1 ;
17725 int ecode1 = 0 ;
17726 PyObject * obj0 = 0 ;
17727 char * kwnames[] = {
17728 (char *) "variant", NULL
17729 };
17730
17731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17732 if (obj0) {
17733 ecode1 = SWIG_AsVal_int(obj0, &val1);
17734 if (!SWIG_IsOK(ecode1)) {
17735 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17736 }
17737 arg1 = static_cast< wxWindowVariant >(val1);
17738 }
17739 {
17740 if (!wxPyCheckForApp()) SWIG_fail;
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17754 PyObject *obj;
17755 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17756 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17757 return SWIG_Py_Void();
17758 }
17759
17760 SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17761 return SWIG_Python_InitShadowInstance(args);
17762 }
17763
17764 SWIGINTERN int SliderNameStr_set(PyObject *) {
17765 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17766 return 1;
17767 }
17768
17769
17770 SWIGINTERN PyObject *SliderNameStr_get(void) {
17771 PyObject *pyobj = 0;
17772
17773 {
17774 #if wxUSE_UNICODE
17775 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17776 #else
17777 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17778 #endif
17779 }
17780 return pyobj;
17781 }
17782
17783
17784 SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj = 0;
17786 wxWindow *arg1 = (wxWindow *) 0 ;
17787 int arg2 = (int) -1 ;
17788 int arg3 = (int) 0 ;
17789 int arg4 = (int) 0 ;
17790 int arg5 = (int) 100 ;
17791 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17792 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17793 wxSize const &arg7_defvalue = wxDefaultSize ;
17794 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17795 long arg8 = (long) wxSL_HORIZONTAL ;
17796 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17797 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17798 wxString const &arg10_defvalue = wxPySliderNameStr ;
17799 wxString *arg10 = (wxString *) &arg10_defvalue ;
17800 wxSlider *result = 0 ;
17801 void *argp1 = 0 ;
17802 int res1 = 0 ;
17803 int val2 ;
17804 int ecode2 = 0 ;
17805 int val3 ;
17806 int ecode3 = 0 ;
17807 int val4 ;
17808 int ecode4 = 0 ;
17809 int val5 ;
17810 int ecode5 = 0 ;
17811 wxPoint temp6 ;
17812 wxSize temp7 ;
17813 long val8 ;
17814 int ecode8 = 0 ;
17815 void *argp9 = 0 ;
17816 int res9 = 0 ;
17817 bool temp10 = false ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 PyObject * obj2 = 0 ;
17821 PyObject * obj3 = 0 ;
17822 PyObject * obj4 = 0 ;
17823 PyObject * obj5 = 0 ;
17824 PyObject * obj6 = 0 ;
17825 PyObject * obj7 = 0 ;
17826 PyObject * obj8 = 0 ;
17827 PyObject * obj9 = 0 ;
17828 char * kwnames[] = {
17829 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17830 };
17831
17832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17834 if (!SWIG_IsOK(res1)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17836 }
17837 arg1 = reinterpret_cast< wxWindow * >(argp1);
17838 if (obj1) {
17839 ecode2 = SWIG_AsVal_int(obj1, &val2);
17840 if (!SWIG_IsOK(ecode2)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17842 }
17843 arg2 = static_cast< int >(val2);
17844 }
17845 if (obj2) {
17846 ecode3 = SWIG_AsVal_int(obj2, &val3);
17847 if (!SWIG_IsOK(ecode3)) {
17848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17849 }
17850 arg3 = static_cast< int >(val3);
17851 }
17852 if (obj3) {
17853 ecode4 = SWIG_AsVal_int(obj3, &val4);
17854 if (!SWIG_IsOK(ecode4)) {
17855 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17856 }
17857 arg4 = static_cast< int >(val4);
17858 }
17859 if (obj4) {
17860 ecode5 = SWIG_AsVal_int(obj4, &val5);
17861 if (!SWIG_IsOK(ecode5)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17863 }
17864 arg5 = static_cast< int >(val5);
17865 }
17866 if (obj5) {
17867 {
17868 arg6 = &temp6;
17869 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
17870 }
17871 }
17872 if (obj6) {
17873 {
17874 arg7 = &temp7;
17875 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
17876 }
17877 }
17878 if (obj7) {
17879 ecode8 = SWIG_AsVal_long(obj7, &val8);
17880 if (!SWIG_IsOK(ecode8)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17882 }
17883 arg8 = static_cast< long >(val8);
17884 }
17885 if (obj8) {
17886 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17887 if (!SWIG_IsOK(res9)) {
17888 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17889 }
17890 if (!argp9) {
17891 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17892 }
17893 arg9 = reinterpret_cast< wxValidator * >(argp9);
17894 }
17895 if (obj9) {
17896 {
17897 arg10 = wxString_in_helper(obj9);
17898 if (arg10 == NULL) SWIG_fail;
17899 temp10 = true;
17900 }
17901 }
17902 {
17903 if (!wxPyCheckForApp()) SWIG_fail;
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17906 wxPyEndAllowThreads(__tstate);
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
17909 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17910 {
17911 if (temp10)
17912 delete arg10;
17913 }
17914 return resultobj;
17915 fail:
17916 {
17917 if (temp10)
17918 delete arg10;
17919 }
17920 return NULL;
17921 }
17922
17923
17924 SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxSlider *result = 0 ;
17927
17928 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17929 {
17930 if (!wxPyCheckForApp()) SWIG_fail;
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (wxSlider *)new wxSlider();
17933 wxPyEndAllowThreads(__tstate);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 }
17936 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17937 return resultobj;
17938 fail:
17939 return NULL;
17940 }
17941
17942
17943 SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17944 PyObject *resultobj = 0;
17945 wxSlider *arg1 = (wxSlider *) 0 ;
17946 wxWindow *arg2 = (wxWindow *) 0 ;
17947 int arg3 = (int) -1 ;
17948 int arg4 = (int) 0 ;
17949 int arg5 = (int) 0 ;
17950 int arg6 = (int) 100 ;
17951 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17952 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17953 wxSize const &arg8_defvalue = wxDefaultSize ;
17954 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17955 long arg9 = (long) wxSL_HORIZONTAL ;
17956 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17957 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17958 wxString const &arg11_defvalue = wxPySliderNameStr ;
17959 wxString *arg11 = (wxString *) &arg11_defvalue ;
17960 bool result;
17961 void *argp1 = 0 ;
17962 int res1 = 0 ;
17963 void *argp2 = 0 ;
17964 int res2 = 0 ;
17965 int val3 ;
17966 int ecode3 = 0 ;
17967 int val4 ;
17968 int ecode4 = 0 ;
17969 int val5 ;
17970 int ecode5 = 0 ;
17971 int val6 ;
17972 int ecode6 = 0 ;
17973 wxPoint temp7 ;
17974 wxSize temp8 ;
17975 long val9 ;
17976 int ecode9 = 0 ;
17977 void *argp10 = 0 ;
17978 int res10 = 0 ;
17979 bool temp11 = false ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 PyObject * obj3 = 0 ;
17984 PyObject * obj4 = 0 ;
17985 PyObject * obj5 = 0 ;
17986 PyObject * obj6 = 0 ;
17987 PyObject * obj7 = 0 ;
17988 PyObject * obj8 = 0 ;
17989 PyObject * obj9 = 0 ;
17990 PyObject * obj10 = 0 ;
17991 char * kwnames[] = {
17992 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17993 };
17994
17995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17997 if (!SWIG_IsOK(res1)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17999 }
18000 arg1 = reinterpret_cast< wxSlider * >(argp1);
18001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18002 if (!SWIG_IsOK(res2)) {
18003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18004 }
18005 arg2 = reinterpret_cast< wxWindow * >(argp2);
18006 if (obj2) {
18007 ecode3 = SWIG_AsVal_int(obj2, &val3);
18008 if (!SWIG_IsOK(ecode3)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18010 }
18011 arg3 = static_cast< int >(val3);
18012 }
18013 if (obj3) {
18014 ecode4 = SWIG_AsVal_int(obj3, &val4);
18015 if (!SWIG_IsOK(ecode4)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18017 }
18018 arg4 = static_cast< int >(val4);
18019 }
18020 if (obj4) {
18021 ecode5 = SWIG_AsVal_int(obj4, &val5);
18022 if (!SWIG_IsOK(ecode5)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18024 }
18025 arg5 = static_cast< int >(val5);
18026 }
18027 if (obj5) {
18028 ecode6 = SWIG_AsVal_int(obj5, &val6);
18029 if (!SWIG_IsOK(ecode6)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18031 }
18032 arg6 = static_cast< int >(val6);
18033 }
18034 if (obj6) {
18035 {
18036 arg7 = &temp7;
18037 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
18038 }
18039 }
18040 if (obj7) {
18041 {
18042 arg8 = &temp8;
18043 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18044 }
18045 }
18046 if (obj8) {
18047 ecode9 = SWIG_AsVal_long(obj8, &val9);
18048 if (!SWIG_IsOK(ecode9)) {
18049 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18050 }
18051 arg9 = static_cast< long >(val9);
18052 }
18053 if (obj9) {
18054 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18055 if (!SWIG_IsOK(res10)) {
18056 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18057 }
18058 if (!argp10) {
18059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18060 }
18061 arg10 = reinterpret_cast< wxValidator * >(argp10);
18062 }
18063 if (obj10) {
18064 {
18065 arg11 = wxString_in_helper(obj10);
18066 if (arg11 == NULL) SWIG_fail;
18067 temp11 = true;
18068 }
18069 }
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 {
18077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18078 }
18079 {
18080 if (temp11)
18081 delete arg11;
18082 }
18083 return resultobj;
18084 fail:
18085 {
18086 if (temp11)
18087 delete arg11;
18088 }
18089 return NULL;
18090 }
18091
18092
18093 SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18094 PyObject *resultobj = 0;
18095 wxSlider *arg1 = (wxSlider *) 0 ;
18096 int result;
18097 void *argp1 = 0 ;
18098 int res1 = 0 ;
18099 PyObject *swig_obj[1] ;
18100
18101 if (!args) SWIG_fail;
18102 swig_obj[0] = args;
18103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18104 if (!SWIG_IsOK(res1)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18106 }
18107 arg1 = reinterpret_cast< wxSlider * >(argp1);
18108 {
18109 PyThreadState* __tstate = wxPyBeginAllowThreads();
18110 result = (int)((wxSlider const *)arg1)->GetValue();
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 resultobj = SWIG_From_int(static_cast< int >(result));
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj = 0;
18123 wxSlider *arg1 = (wxSlider *) 0 ;
18124 int arg2 ;
18125 void *argp1 = 0 ;
18126 int res1 = 0 ;
18127 int val2 ;
18128 int ecode2 = 0 ;
18129 PyObject * obj0 = 0 ;
18130 PyObject * obj1 = 0 ;
18131 char * kwnames[] = {
18132 (char *) "self",(char *) "value", NULL
18133 };
18134
18135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18137 if (!SWIG_IsOK(res1)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18139 }
18140 arg1 = reinterpret_cast< wxSlider * >(argp1);
18141 ecode2 = SWIG_AsVal_int(obj1, &val2);
18142 if (!SWIG_IsOK(ecode2)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18144 }
18145 arg2 = static_cast< int >(val2);
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->SetValue(arg2);
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 resultobj = SWIG_Py_Void();
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj = 0;
18161 wxSlider *arg1 = (wxSlider *) 0 ;
18162 int arg2 ;
18163 int arg3 ;
18164 void *argp1 = 0 ;
18165 int res1 = 0 ;
18166 int val2 ;
18167 int ecode2 = 0 ;
18168 int val3 ;
18169 int ecode3 = 0 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 PyObject * obj2 = 0 ;
18173 char * kwnames[] = {
18174 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18175 };
18176
18177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18179 if (!SWIG_IsOK(res1)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18181 }
18182 arg1 = reinterpret_cast< wxSlider * >(argp1);
18183 ecode2 = SWIG_AsVal_int(obj1, &val2);
18184 if (!SWIG_IsOK(ecode2)) {
18185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18186 }
18187 arg2 = static_cast< int >(val2);
18188 ecode3 = SWIG_AsVal_int(obj2, &val3);
18189 if (!SWIG_IsOK(ecode3)) {
18190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18191 }
18192 arg3 = static_cast< int >(val3);
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 (arg1)->SetRange(arg2,arg3);
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 resultobj = SWIG_Py_Void();
18200 return resultobj;
18201 fail:
18202 return NULL;
18203 }
18204
18205
18206 SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18207 PyObject *resultobj = 0;
18208 wxSlider *arg1 = (wxSlider *) 0 ;
18209 int result;
18210 void *argp1 = 0 ;
18211 int res1 = 0 ;
18212 PyObject *swig_obj[1] ;
18213
18214 if (!args) SWIG_fail;
18215 swig_obj[0] = args;
18216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18217 if (!SWIG_IsOK(res1)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18219 }
18220 arg1 = reinterpret_cast< wxSlider * >(argp1);
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = (int)((wxSlider const *)arg1)->GetMin();
18224 wxPyEndAllowThreads(__tstate);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 resultobj = SWIG_From_int(static_cast< int >(result));
18228 return resultobj;
18229 fail:
18230 return NULL;
18231 }
18232
18233
18234 SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18235 PyObject *resultobj = 0;
18236 wxSlider *arg1 = (wxSlider *) 0 ;
18237 int result;
18238 void *argp1 = 0 ;
18239 int res1 = 0 ;
18240 PyObject *swig_obj[1] ;
18241
18242 if (!args) SWIG_fail;
18243 swig_obj[0] = args;
18244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18245 if (!SWIG_IsOK(res1)) {
18246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18247 }
18248 arg1 = reinterpret_cast< wxSlider * >(argp1);
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 result = (int)((wxSlider const *)arg1)->GetMax();
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 resultobj = SWIG_From_int(static_cast< int >(result));
18256 return resultobj;
18257 fail:
18258 return NULL;
18259 }
18260
18261
18262 SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj = 0;
18264 wxSlider *arg1 = (wxSlider *) 0 ;
18265 int arg2 ;
18266 void *argp1 = 0 ;
18267 int res1 = 0 ;
18268 int val2 ;
18269 int ecode2 = 0 ;
18270 PyObject * obj0 = 0 ;
18271 PyObject * obj1 = 0 ;
18272 char * kwnames[] = {
18273 (char *) "self",(char *) "minValue", NULL
18274 };
18275
18276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18278 if (!SWIG_IsOK(res1)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18280 }
18281 arg1 = reinterpret_cast< wxSlider * >(argp1);
18282 ecode2 = SWIG_AsVal_int(obj1, &val2);
18283 if (!SWIG_IsOK(ecode2)) {
18284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18285 }
18286 arg2 = static_cast< int >(val2);
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->SetMin(arg2);
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = SWIG_Py_Void();
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj = 0;
18302 wxSlider *arg1 = (wxSlider *) 0 ;
18303 int arg2 ;
18304 void *argp1 = 0 ;
18305 int res1 = 0 ;
18306 int val2 ;
18307 int ecode2 = 0 ;
18308 PyObject * obj0 = 0 ;
18309 PyObject * obj1 = 0 ;
18310 char * kwnames[] = {
18311 (char *) "self",(char *) "maxValue", NULL
18312 };
18313
18314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18316 if (!SWIG_IsOK(res1)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18318 }
18319 arg1 = reinterpret_cast< wxSlider * >(argp1);
18320 ecode2 = SWIG_AsVal_int(obj1, &val2);
18321 if (!SWIG_IsOK(ecode2)) {
18322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18323 }
18324 arg2 = static_cast< int >(val2);
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 (arg1)->SetMax(arg2);
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = SWIG_Py_Void();
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj = 0;
18340 wxSlider *arg1 = (wxSlider *) 0 ;
18341 int arg2 ;
18342 void *argp1 = 0 ;
18343 int res1 = 0 ;
18344 int val2 ;
18345 int ecode2 = 0 ;
18346 PyObject * obj0 = 0 ;
18347 PyObject * obj1 = 0 ;
18348 char * kwnames[] = {
18349 (char *) "self",(char *) "lineSize", NULL
18350 };
18351
18352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18354 if (!SWIG_IsOK(res1)) {
18355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18356 }
18357 arg1 = reinterpret_cast< wxSlider * >(argp1);
18358 ecode2 = SWIG_AsVal_int(obj1, &val2);
18359 if (!SWIG_IsOK(ecode2)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18361 }
18362 arg2 = static_cast< int >(val2);
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 (arg1)->SetLineSize(arg2);
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 resultobj = SWIG_Py_Void();
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj = 0;
18378 wxSlider *arg1 = (wxSlider *) 0 ;
18379 int arg2 ;
18380 void *argp1 = 0 ;
18381 int res1 = 0 ;
18382 int val2 ;
18383 int ecode2 = 0 ;
18384 PyObject * obj0 = 0 ;
18385 PyObject * obj1 = 0 ;
18386 char * kwnames[] = {
18387 (char *) "self",(char *) "pageSize", NULL
18388 };
18389
18390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18392 if (!SWIG_IsOK(res1)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18394 }
18395 arg1 = reinterpret_cast< wxSlider * >(argp1);
18396 ecode2 = SWIG_AsVal_int(obj1, &val2);
18397 if (!SWIG_IsOK(ecode2)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18399 }
18400 arg2 = static_cast< int >(val2);
18401 {
18402 PyThreadState* __tstate = wxPyBeginAllowThreads();
18403 (arg1)->SetPageSize(arg2);
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 resultobj = SWIG_Py_Void();
18408 return resultobj;
18409 fail:
18410 return NULL;
18411 }
18412
18413
18414 SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18415 PyObject *resultobj = 0;
18416 wxSlider *arg1 = (wxSlider *) 0 ;
18417 int result;
18418 void *argp1 = 0 ;
18419 int res1 = 0 ;
18420 PyObject *swig_obj[1] ;
18421
18422 if (!args) SWIG_fail;
18423 swig_obj[0] = args;
18424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18425 if (!SWIG_IsOK(res1)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18427 }
18428 arg1 = reinterpret_cast< wxSlider * >(argp1);
18429 {
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 result = (int)((wxSlider const *)arg1)->GetLineSize();
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = SWIG_From_int(static_cast< int >(result));
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18443 PyObject *resultobj = 0;
18444 wxSlider *arg1 = (wxSlider *) 0 ;
18445 int result;
18446 void *argp1 = 0 ;
18447 int res1 = 0 ;
18448 PyObject *swig_obj[1] ;
18449
18450 if (!args) SWIG_fail;
18451 swig_obj[0] = args;
18452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18453 if (!SWIG_IsOK(res1)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18455 }
18456 arg1 = reinterpret_cast< wxSlider * >(argp1);
18457 {
18458 PyThreadState* __tstate = wxPyBeginAllowThreads();
18459 result = (int)((wxSlider const *)arg1)->GetPageSize();
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = SWIG_From_int(static_cast< int >(result));
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj = 0;
18472 wxSlider *arg1 = (wxSlider *) 0 ;
18473 int arg2 ;
18474 void *argp1 = 0 ;
18475 int res1 = 0 ;
18476 int val2 ;
18477 int ecode2 = 0 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 char * kwnames[] = {
18481 (char *) "self",(char *) "lenPixels", NULL
18482 };
18483
18484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18486 if (!SWIG_IsOK(res1)) {
18487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18488 }
18489 arg1 = reinterpret_cast< wxSlider * >(argp1);
18490 ecode2 = SWIG_AsVal_int(obj1, &val2);
18491 if (!SWIG_IsOK(ecode2)) {
18492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18493 }
18494 arg2 = static_cast< int >(val2);
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 (arg1)->SetThumbLength(arg2);
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = SWIG_Py_Void();
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18509 PyObject *resultobj = 0;
18510 wxSlider *arg1 = (wxSlider *) 0 ;
18511 int result;
18512 void *argp1 = 0 ;
18513 int res1 = 0 ;
18514 PyObject *swig_obj[1] ;
18515
18516 if (!args) SWIG_fail;
18517 swig_obj[0] = args;
18518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18519 if (!SWIG_IsOK(res1)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18521 }
18522 arg1 = reinterpret_cast< wxSlider * >(argp1);
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 resultobj = SWIG_From_int(static_cast< int >(result));
18530 return resultobj;
18531 fail:
18532 return NULL;
18533 }
18534
18535
18536 SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj = 0;
18538 wxSlider *arg1 = (wxSlider *) 0 ;
18539 int arg2 ;
18540 int arg3 = (int) 1 ;
18541 void *argp1 = 0 ;
18542 int res1 = 0 ;
18543 int val2 ;
18544 int ecode2 = 0 ;
18545 int val3 ;
18546 int ecode3 = 0 ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 PyObject * obj2 = 0 ;
18550 char * kwnames[] = {
18551 (char *) "self",(char *) "n",(char *) "pos", NULL
18552 };
18553
18554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18556 if (!SWIG_IsOK(res1)) {
18557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18558 }
18559 arg1 = reinterpret_cast< wxSlider * >(argp1);
18560 ecode2 = SWIG_AsVal_int(obj1, &val2);
18561 if (!SWIG_IsOK(ecode2)) {
18562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18563 }
18564 arg2 = static_cast< int >(val2);
18565 if (obj2) {
18566 ecode3 = SWIG_AsVal_int(obj2, &val3);
18567 if (!SWIG_IsOK(ecode3)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18569 }
18570 arg3 = static_cast< int >(val3);
18571 }
18572 {
18573 PyThreadState* __tstate = wxPyBeginAllowThreads();
18574 (arg1)->SetTickFreq(arg2,arg3);
18575 wxPyEndAllowThreads(__tstate);
18576 if (PyErr_Occurred()) SWIG_fail;
18577 }
18578 resultobj = SWIG_Py_Void();
18579 return resultobj;
18580 fail:
18581 return NULL;
18582 }
18583
18584
18585 SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18586 PyObject *resultobj = 0;
18587 wxSlider *arg1 = (wxSlider *) 0 ;
18588 int result;
18589 void *argp1 = 0 ;
18590 int res1 = 0 ;
18591 PyObject *swig_obj[1] ;
18592
18593 if (!args) SWIG_fail;
18594 swig_obj[0] = args;
18595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18596 if (!SWIG_IsOK(res1)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18598 }
18599 arg1 = reinterpret_cast< wxSlider * >(argp1);
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = SWIG_From_int(static_cast< int >(result));
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18614 PyObject *resultobj = 0;
18615 wxSlider *arg1 = (wxSlider *) 0 ;
18616 void *argp1 = 0 ;
18617 int res1 = 0 ;
18618 PyObject *swig_obj[1] ;
18619
18620 if (!args) SWIG_fail;
18621 swig_obj[0] = args;
18622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18623 if (!SWIG_IsOK(res1)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18625 }
18626 arg1 = reinterpret_cast< wxSlider * >(argp1);
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 (arg1)->ClearTicks();
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_Py_Void();
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj = 0;
18642 wxSlider *arg1 = (wxSlider *) 0 ;
18643 int arg2 ;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 int val2 ;
18647 int ecode2 = 0 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 char * kwnames[] = {
18651 (char *) "self",(char *) "tickPos", NULL
18652 };
18653
18654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18656 if (!SWIG_IsOK(res1)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18658 }
18659 arg1 = reinterpret_cast< wxSlider * >(argp1);
18660 ecode2 = SWIG_AsVal_int(obj1, &val2);
18661 if (!SWIG_IsOK(ecode2)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18663 }
18664 arg2 = static_cast< int >(val2);
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 (arg1)->SetTick(arg2);
18668 wxPyEndAllowThreads(__tstate);
18669 if (PyErr_Occurred()) SWIG_fail;
18670 }
18671 resultobj = SWIG_Py_Void();
18672 return resultobj;
18673 fail:
18674 return NULL;
18675 }
18676
18677
18678 SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18679 PyObject *resultobj = 0;
18680 wxSlider *arg1 = (wxSlider *) 0 ;
18681 void *argp1 = 0 ;
18682 int res1 = 0 ;
18683 PyObject *swig_obj[1] ;
18684
18685 if (!args) SWIG_fail;
18686 swig_obj[0] = args;
18687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18688 if (!SWIG_IsOK(res1)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18690 }
18691 arg1 = reinterpret_cast< wxSlider * >(argp1);
18692 {
18693 PyThreadState* __tstate = wxPyBeginAllowThreads();
18694 (arg1)->ClearSel();
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = SWIG_Py_Void();
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18706 PyObject *resultobj = 0;
18707 wxSlider *arg1 = (wxSlider *) 0 ;
18708 int result;
18709 void *argp1 = 0 ;
18710 int res1 = 0 ;
18711 PyObject *swig_obj[1] ;
18712
18713 if (!args) SWIG_fail;
18714 swig_obj[0] = args;
18715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18716 if (!SWIG_IsOK(res1)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18718 }
18719 arg1 = reinterpret_cast< wxSlider * >(argp1);
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = SWIG_From_int(static_cast< int >(result));
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18734 PyObject *resultobj = 0;
18735 wxSlider *arg1 = (wxSlider *) 0 ;
18736 int result;
18737 void *argp1 = 0 ;
18738 int res1 = 0 ;
18739 PyObject *swig_obj[1] ;
18740
18741 if (!args) SWIG_fail;
18742 swig_obj[0] = args;
18743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18744 if (!SWIG_IsOK(res1)) {
18745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18746 }
18747 arg1 = reinterpret_cast< wxSlider * >(argp1);
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (int)((wxSlider const *)arg1)->GetSelStart();
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = SWIG_From_int(static_cast< int >(result));
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj = 0;
18763 wxSlider *arg1 = (wxSlider *) 0 ;
18764 int arg2 ;
18765 int arg3 ;
18766 void *argp1 = 0 ;
18767 int res1 = 0 ;
18768 int val2 ;
18769 int ecode2 = 0 ;
18770 int val3 ;
18771 int ecode3 = 0 ;
18772 PyObject * obj0 = 0 ;
18773 PyObject * obj1 = 0 ;
18774 PyObject * obj2 = 0 ;
18775 char * kwnames[] = {
18776 (char *) "self",(char *) "min",(char *) "max", NULL
18777 };
18778
18779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18781 if (!SWIG_IsOK(res1)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18783 }
18784 arg1 = reinterpret_cast< wxSlider * >(argp1);
18785 ecode2 = SWIG_AsVal_int(obj1, &val2);
18786 if (!SWIG_IsOK(ecode2)) {
18787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18788 }
18789 arg2 = static_cast< int >(val2);
18790 ecode3 = SWIG_AsVal_int(obj2, &val3);
18791 if (!SWIG_IsOK(ecode3)) {
18792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18793 }
18794 arg3 = static_cast< int >(val3);
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 (arg1)->SetSelection(arg2,arg3);
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 resultobj = SWIG_Py_Void();
18802 return resultobj;
18803 fail:
18804 return NULL;
18805 }
18806
18807
18808 SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj = 0;
18810 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18811 SwigValueWrapper<wxVisualAttributes > result;
18812 int val1 ;
18813 int ecode1 = 0 ;
18814 PyObject * obj0 = 0 ;
18815 char * kwnames[] = {
18816 (char *) "variant", NULL
18817 };
18818
18819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18820 if (obj0) {
18821 ecode1 = SWIG_AsVal_int(obj0, &val1);
18822 if (!SWIG_IsOK(ecode1)) {
18823 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18824 }
18825 arg1 = static_cast< wxWindowVariant >(val1);
18826 }
18827 {
18828 if (!wxPyCheckForApp()) SWIG_fail;
18829 PyThreadState* __tstate = wxPyBeginAllowThreads();
18830 result = wxSlider::GetClassDefaultAttributes(arg1);
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18842 PyObject *obj;
18843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18844 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18845 return SWIG_Py_Void();
18846 }
18847
18848 SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18849 return SWIG_Python_InitShadowInstance(args);
18850 }
18851
18852 SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18853 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18854 return 1;
18855 }
18856
18857
18858 SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18859 PyObject *pyobj = 0;
18860
18861 {
18862 #if wxUSE_UNICODE
18863 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18864 #else
18865 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18866 #endif
18867 }
18868 return pyobj;
18869 }
18870
18871
18872 SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18873 PyObject *resultobj = 0;
18874 wxWindow *arg1 = (wxWindow *) 0 ;
18875 int arg2 = (int) -1 ;
18876 wxString const &arg3_defvalue = wxPyEmptyString ;
18877 wxString *arg3 = (wxString *) &arg3_defvalue ;
18878 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18879 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18880 wxSize const &arg5_defvalue = wxDefaultSize ;
18881 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18882 long arg6 = (long) 0 ;
18883 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18884 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18885 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18886 wxString *arg8 = (wxString *) &arg8_defvalue ;
18887 wxToggleButton *result = 0 ;
18888 void *argp1 = 0 ;
18889 int res1 = 0 ;
18890 int val2 ;
18891 int ecode2 = 0 ;
18892 bool temp3 = false ;
18893 wxPoint temp4 ;
18894 wxSize temp5 ;
18895 long val6 ;
18896 int ecode6 = 0 ;
18897 void *argp7 = 0 ;
18898 int res7 = 0 ;
18899 bool temp8 = false ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 PyObject * obj2 = 0 ;
18903 PyObject * obj3 = 0 ;
18904 PyObject * obj4 = 0 ;
18905 PyObject * obj5 = 0 ;
18906 PyObject * obj6 = 0 ;
18907 PyObject * obj7 = 0 ;
18908 char * kwnames[] = {
18909 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18910 };
18911
18912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18914 if (!SWIG_IsOK(res1)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18916 }
18917 arg1 = reinterpret_cast< wxWindow * >(argp1);
18918 if (obj1) {
18919 ecode2 = SWIG_AsVal_int(obj1, &val2);
18920 if (!SWIG_IsOK(ecode2)) {
18921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18922 }
18923 arg2 = static_cast< int >(val2);
18924 }
18925 if (obj2) {
18926 {
18927 arg3 = wxString_in_helper(obj2);
18928 if (arg3 == NULL) SWIG_fail;
18929 temp3 = true;
18930 }
18931 }
18932 if (obj3) {
18933 {
18934 arg4 = &temp4;
18935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18936 }
18937 }
18938 if (obj4) {
18939 {
18940 arg5 = &temp5;
18941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18942 }
18943 }
18944 if (obj5) {
18945 ecode6 = SWIG_AsVal_long(obj5, &val6);
18946 if (!SWIG_IsOK(ecode6)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18948 }
18949 arg6 = static_cast< long >(val6);
18950 }
18951 if (obj6) {
18952 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18953 if (!SWIG_IsOK(res7)) {
18954 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18955 }
18956 if (!argp7) {
18957 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18958 }
18959 arg7 = reinterpret_cast< wxValidator * >(argp7);
18960 }
18961 if (obj7) {
18962 {
18963 arg8 = wxString_in_helper(obj7);
18964 if (arg8 == NULL) SWIG_fail;
18965 temp8 = true;
18966 }
18967 }
18968 {
18969 if (!wxPyCheckForApp()) SWIG_fail;
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18972 wxPyEndAllowThreads(__tstate);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 }
18975 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18976 {
18977 if (temp3)
18978 delete arg3;
18979 }
18980 {
18981 if (temp8)
18982 delete arg8;
18983 }
18984 return resultobj;
18985 fail:
18986 {
18987 if (temp3)
18988 delete arg3;
18989 }
18990 {
18991 if (temp8)
18992 delete arg8;
18993 }
18994 return NULL;
18995 }
18996
18997
18998 SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18999 PyObject *resultobj = 0;
19000 wxToggleButton *result = 0 ;
19001
19002 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
19003 {
19004 if (!wxPyCheckForApp()) SWIG_fail;
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (wxToggleButton *)new wxToggleButton();
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
19011 return resultobj;
19012 fail:
19013 return NULL;
19014 }
19015
19016
19017 SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj = 0;
19019 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19020 wxWindow *arg2 = (wxWindow *) 0 ;
19021 int arg3 = (int) -1 ;
19022 wxString const &arg4_defvalue = wxPyEmptyString ;
19023 wxString *arg4 = (wxString *) &arg4_defvalue ;
19024 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19025 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19026 wxSize const &arg6_defvalue = wxDefaultSize ;
19027 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19028 long arg7 = (long) 0 ;
19029 wxValidator const &arg8_defvalue = wxDefaultValidator ;
19030 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
19031 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
19032 wxString *arg9 = (wxString *) &arg9_defvalue ;
19033 bool result;
19034 void *argp1 = 0 ;
19035 int res1 = 0 ;
19036 void *argp2 = 0 ;
19037 int res2 = 0 ;
19038 int val3 ;
19039 int ecode3 = 0 ;
19040 bool temp4 = false ;
19041 wxPoint temp5 ;
19042 wxSize temp6 ;
19043 long val7 ;
19044 int ecode7 = 0 ;
19045 void *argp8 = 0 ;
19046 int res8 = 0 ;
19047 bool temp9 = false ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 PyObject * obj2 = 0 ;
19051 PyObject * obj3 = 0 ;
19052 PyObject * obj4 = 0 ;
19053 PyObject * obj5 = 0 ;
19054 PyObject * obj6 = 0 ;
19055 PyObject * obj7 = 0 ;
19056 PyObject * obj8 = 0 ;
19057 char * kwnames[] = {
19058 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19059 };
19060
19061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19063 if (!SWIG_IsOK(res1)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19065 }
19066 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19068 if (!SWIG_IsOK(res2)) {
19069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19070 }
19071 arg2 = reinterpret_cast< wxWindow * >(argp2);
19072 if (obj2) {
19073 ecode3 = SWIG_AsVal_int(obj2, &val3);
19074 if (!SWIG_IsOK(ecode3)) {
19075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19076 }
19077 arg3 = static_cast< int >(val3);
19078 }
19079 if (obj3) {
19080 {
19081 arg4 = wxString_in_helper(obj3);
19082 if (arg4 == NULL) SWIG_fail;
19083 temp4 = true;
19084 }
19085 }
19086 if (obj4) {
19087 {
19088 arg5 = &temp5;
19089 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19090 }
19091 }
19092 if (obj5) {
19093 {
19094 arg6 = &temp6;
19095 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19096 }
19097 }
19098 if (obj6) {
19099 ecode7 = SWIG_AsVal_long(obj6, &val7);
19100 if (!SWIG_IsOK(ecode7)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19102 }
19103 arg7 = static_cast< long >(val7);
19104 }
19105 if (obj7) {
19106 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19107 if (!SWIG_IsOK(res8)) {
19108 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19109 }
19110 if (!argp8) {
19111 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19112 }
19113 arg8 = reinterpret_cast< wxValidator * >(argp8);
19114 }
19115 if (obj8) {
19116 {
19117 arg9 = wxString_in_helper(obj8);
19118 if (arg9 == NULL) SWIG_fail;
19119 temp9 = true;
19120 }
19121 }
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 {
19129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19130 }
19131 {
19132 if (temp4)
19133 delete arg4;
19134 }
19135 {
19136 if (temp9)
19137 delete arg9;
19138 }
19139 return resultobj;
19140 fail:
19141 {
19142 if (temp4)
19143 delete arg4;
19144 }
19145 {
19146 if (temp9)
19147 delete arg9;
19148 }
19149 return NULL;
19150 }
19151
19152
19153 SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19154 PyObject *resultobj = 0;
19155 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19156 bool arg2 ;
19157 void *argp1 = 0 ;
19158 int res1 = 0 ;
19159 bool val2 ;
19160 int ecode2 = 0 ;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj1 = 0 ;
19163 char * kwnames[] = {
19164 (char *) "self",(char *) "value", NULL
19165 };
19166
19167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19169 if (!SWIG_IsOK(res1)) {
19170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19171 }
19172 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19173 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19174 if (!SWIG_IsOK(ecode2)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19176 }
19177 arg2 = static_cast< bool >(val2);
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->SetValue(arg2);
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 resultobj = SWIG_Py_Void();
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19192 PyObject *resultobj = 0;
19193 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19194 bool result;
19195 void *argp1 = 0 ;
19196 int res1 = 0 ;
19197 PyObject *swig_obj[1] ;
19198
19199 if (!args) SWIG_fail;
19200 swig_obj[0] = args;
19201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19202 if (!SWIG_IsOK(res1)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19204 }
19205 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj = 0;
19223 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19224 SwigValueWrapper<wxVisualAttributes > result;
19225 int val1 ;
19226 int ecode1 = 0 ;
19227 PyObject * obj0 = 0 ;
19228 char * kwnames[] = {
19229 (char *) "variant", NULL
19230 };
19231
19232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19233 if (obj0) {
19234 ecode1 = SWIG_AsVal_int(obj0, &val1);
19235 if (!SWIG_IsOK(ecode1)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19237 }
19238 arg1 = static_cast< wxWindowVariant >(val1);
19239 }
19240 {
19241 if (!wxPyCheckForApp()) SWIG_fail;
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19255 PyObject *obj;
19256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19257 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19258 return SWIG_Py_Void();
19259 }
19260
19261 SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19262 return SWIG_Python_InitShadowInstance(args);
19263 }
19264
19265 SWIGINTERN int NotebookNameStr_set(PyObject *) {
19266 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19267 return 1;
19268 }
19269
19270
19271 SWIGINTERN PyObject *NotebookNameStr_get(void) {
19272 PyObject *pyobj = 0;
19273
19274 {
19275 #if wxUSE_UNICODE
19276 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19277 #else
19278 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
19279 #endif
19280 }
19281 return pyobj;
19282 }
19283
19284
19285 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19286 PyObject *resultobj = 0;
19287 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19288 size_t result;
19289 void *argp1 = 0 ;
19290 int res1 = 0 ;
19291 PyObject *swig_obj[1] ;
19292
19293 if (!args) SWIG_fail;
19294 swig_obj[0] = args;
19295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19296 if (!SWIG_IsOK(res1)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19298 }
19299 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19300 {
19301 PyThreadState* __tstate = wxPyBeginAllowThreads();
19302 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj = 0;
19315 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19316 size_t arg2 ;
19317 wxWindow *result = 0 ;
19318 void *argp1 = 0 ;
19319 int res1 = 0 ;
19320 size_t val2 ;
19321 int ecode2 = 0 ;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 char * kwnames[] = {
19325 (char *) "self",(char *) "n", NULL
19326 };
19327
19328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19330 if (!SWIG_IsOK(res1)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19332 }
19333 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19334 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19335 if (!SWIG_IsOK(ecode2)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19337 }
19338 arg2 = static_cast< size_t >(val2);
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (wxWindow *)(arg1)->GetPage(arg2);
19342 wxPyEndAllowThreads(__tstate);
19343 if (PyErr_Occurred()) SWIG_fail;
19344 }
19345 {
19346 resultobj = wxPyMake_wxObject(result, 0);
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19355 PyObject *resultobj = 0;
19356 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19357 wxWindow *result = 0 ;
19358 void *argp1 = 0 ;
19359 int res1 = 0 ;
19360 PyObject *swig_obj[1] ;
19361
19362 if (!args) SWIG_fail;
19363 swig_obj[0] = args;
19364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19365 if (!SWIG_IsOK(res1)) {
19366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19367 }
19368 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 {
19376 resultobj = wxPyMake_wxObject(result, 0);
19377 }
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19385 PyObject *resultobj = 0;
19386 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19387 int result;
19388 void *argp1 = 0 ;
19389 int res1 = 0 ;
19390 PyObject *swig_obj[1] ;
19391
19392 if (!args) SWIG_fail;
19393 swig_obj[0] = args;
19394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19395 if (!SWIG_IsOK(res1)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19397 }
19398 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 resultobj = SWIG_From_int(static_cast< int >(result));
19406 return resultobj;
19407 fail:
19408 return NULL;
19409 }
19410
19411
19412 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj = 0;
19414 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19415 size_t arg2 ;
19416 wxString *arg3 = 0 ;
19417 bool result;
19418 void *argp1 = 0 ;
19419 int res1 = 0 ;
19420 size_t val2 ;
19421 int ecode2 = 0 ;
19422 bool temp3 = false ;
19423 PyObject * obj0 = 0 ;
19424 PyObject * obj1 = 0 ;
19425 PyObject * obj2 = 0 ;
19426 char * kwnames[] = {
19427 (char *) "self",(char *) "n",(char *) "strText", NULL
19428 };
19429
19430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19432 if (!SWIG_IsOK(res1)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19434 }
19435 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19436 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19437 if (!SWIG_IsOK(ecode2)) {
19438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19439 }
19440 arg2 = static_cast< size_t >(val2);
19441 {
19442 arg3 = wxString_in_helper(obj2);
19443 if (arg3 == NULL) SWIG_fail;
19444 temp3 = true;
19445 }
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 {
19453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19454 }
19455 {
19456 if (temp3)
19457 delete arg3;
19458 }
19459 return resultobj;
19460 fail:
19461 {
19462 if (temp3)
19463 delete arg3;
19464 }
19465 return NULL;
19466 }
19467
19468
19469 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj = 0;
19471 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19472 size_t arg2 ;
19473 wxString result;
19474 void *argp1 = 0 ;
19475 int res1 = 0 ;
19476 size_t val2 ;
19477 int ecode2 = 0 ;
19478 PyObject * obj0 = 0 ;
19479 PyObject * obj1 = 0 ;
19480 char * kwnames[] = {
19481 (char *) "self",(char *) "n", NULL
19482 };
19483
19484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19486 if (!SWIG_IsOK(res1)) {
19487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19488 }
19489 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19490 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19491 if (!SWIG_IsOK(ecode2)) {
19492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19493 }
19494 arg2 = static_cast< size_t >(val2);
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 {
19502 #if wxUSE_UNICODE
19503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19504 #else
19505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19506 #endif
19507 }
19508 return resultobj;
19509 fail:
19510 return NULL;
19511 }
19512
19513
19514 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19515 PyObject *resultobj = 0;
19516 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19517 wxImageList *arg2 = (wxImageList *) 0 ;
19518 void *argp1 = 0 ;
19519 int res1 = 0 ;
19520 void *argp2 = 0 ;
19521 int res2 = 0 ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char * kwnames[] = {
19525 (char *) "self",(char *) "imageList", NULL
19526 };
19527
19528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19530 if (!SWIG_IsOK(res1)) {
19531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19532 }
19533 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19534 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19535 if (!SWIG_IsOK(res2)) {
19536 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19537 }
19538 arg2 = reinterpret_cast< wxImageList * >(argp2);
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 (arg1)->SetImageList(arg2);
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 resultobj = SWIG_Py_Void();
19546 return resultobj;
19547 fail:
19548 return NULL;
19549 }
19550
19551
19552 SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19553 PyObject *resultobj = 0;
19554 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19555 wxImageList *arg2 = (wxImageList *) 0 ;
19556 void *argp1 = 0 ;
19557 int res1 = 0 ;
19558 int res2 = 0 ;
19559 PyObject * obj0 = 0 ;
19560 PyObject * obj1 = 0 ;
19561 char * kwnames[] = {
19562 (char *) "self",(char *) "imageList", NULL
19563 };
19564
19565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19567 if (!SWIG_IsOK(res1)) {
19568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19569 }
19570 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19571 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19572 if (!SWIG_IsOK(res2)) {
19573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19574 }
19575 {
19576 PyThreadState* __tstate = wxPyBeginAllowThreads();
19577 (arg1)->AssignImageList(arg2);
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 resultobj = SWIG_Py_Void();
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19589 PyObject *resultobj = 0;
19590 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19591 wxImageList *result = 0 ;
19592 void *argp1 = 0 ;
19593 int res1 = 0 ;
19594 PyObject *swig_obj[1] ;
19595
19596 if (!args) SWIG_fail;
19597 swig_obj[0] = args;
19598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19599 if (!SWIG_IsOK(res1)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19601 }
19602 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 {
19610 resultobj = wxPyMake_wxObject(result, (bool)0);
19611 }
19612 return resultobj;
19613 fail:
19614 return NULL;
19615 }
19616
19617
19618 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj = 0;
19620 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19621 size_t arg2 ;
19622 int result;
19623 void *argp1 = 0 ;
19624 int res1 = 0 ;
19625 size_t val2 ;
19626 int ecode2 = 0 ;
19627 PyObject * obj0 = 0 ;
19628 PyObject * obj1 = 0 ;
19629 char * kwnames[] = {
19630 (char *) "self",(char *) "n", NULL
19631 };
19632
19633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19635 if (!SWIG_IsOK(res1)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19637 }
19638 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19639 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19640 if (!SWIG_IsOK(ecode2)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19642 }
19643 arg2 = static_cast< size_t >(val2);
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = SWIG_From_int(static_cast< int >(result));
19651 return resultobj;
19652 fail:
19653 return NULL;
19654 }
19655
19656
19657 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj = 0;
19659 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19660 size_t arg2 ;
19661 int arg3 ;
19662 bool result;
19663 void *argp1 = 0 ;
19664 int res1 = 0 ;
19665 size_t val2 ;
19666 int ecode2 = 0 ;
19667 int val3 ;
19668 int ecode3 = 0 ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 PyObject * obj2 = 0 ;
19672 char * kwnames[] = {
19673 (char *) "self",(char *) "n",(char *) "imageId", NULL
19674 };
19675
19676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19678 if (!SWIG_IsOK(res1)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19680 }
19681 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19682 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19683 if (!SWIG_IsOK(ecode2)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19685 }
19686 arg2 = static_cast< size_t >(val2);
19687 ecode3 = SWIG_AsVal_int(obj2, &val3);
19688 if (!SWIG_IsOK(ecode3)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19690 }
19691 arg3 = static_cast< int >(val3);
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 {
19699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj = 0;
19709 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19710 wxSize *arg2 = 0 ;
19711 void *argp1 = 0 ;
19712 int res1 = 0 ;
19713 wxSize temp2 ;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char * kwnames[] = {
19717 (char *) "self",(char *) "size", NULL
19718 };
19719
19720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19722 if (!SWIG_IsOK(res1)) {
19723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19724 }
19725 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19726 {
19727 arg2 = &temp2;
19728 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->SetPageSize((wxSize const &)*arg2);
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = SWIG_Py_Void();
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj = 0;
19745 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19746 wxSize *arg2 = 0 ;
19747 wxSize result;
19748 void *argp1 = 0 ;
19749 int res1 = 0 ;
19750 wxSize temp2 ;
19751 PyObject * obj0 = 0 ;
19752 PyObject * obj1 = 0 ;
19753 char * kwnames[] = {
19754 (char *) "self",(char *) "sizePage", NULL
19755 };
19756
19757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19759 if (!SWIG_IsOK(res1)) {
19760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19761 }
19762 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19763 {
19764 arg2 = &temp2;
19765 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19766 }
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19770 wxPyEndAllowThreads(__tstate);
19771 if (PyErr_Occurred()) SWIG_fail;
19772 }
19773 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19781 PyObject *resultobj = 0;
19782 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19783 unsigned int result;
19784 void *argp1 = 0 ;
19785 int res1 = 0 ;
19786 PyObject *swig_obj[1] ;
19787
19788 if (!args) SWIG_fail;
19789 swig_obj[0] = args;
19790 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19791 if (!SWIG_IsOK(res1)) {
19792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19793 }
19794 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19795 {
19796 PyThreadState* __tstate = wxPyBeginAllowThreads();
19797 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
19798 wxPyEndAllowThreads(__tstate);
19799 if (PyErr_Occurred()) SWIG_fail;
19800 }
19801 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
19802 return resultobj;
19803 fail:
19804 return NULL;
19805 }
19806
19807
19808 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj = 0;
19810 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19811 unsigned int arg2 ;
19812 void *argp1 = 0 ;
19813 int res1 = 0 ;
19814 unsigned int val2 ;
19815 int ecode2 = 0 ;
19816 PyObject * obj0 = 0 ;
19817 PyObject * obj1 = 0 ;
19818 char * kwnames[] = {
19819 (char *) "self",(char *) "internalBorder", NULL
19820 };
19821
19822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19824 if (!SWIG_IsOK(res1)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19826 }
19827 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19828 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
19829 if (!SWIG_IsOK(ecode2)) {
19830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19831 }
19832 arg2 = static_cast< unsigned int >(val2);
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 (arg1)->SetInternalBorder(arg2);
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_Py_Void();
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19847 PyObject *resultobj = 0;
19848 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19849 bool result;
19850 void *argp1 = 0 ;
19851 int res1 = 0 ;
19852 PyObject *swig_obj[1] ;
19853
19854 if (!args) SWIG_fail;
19855 swig_obj[0] = args;
19856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19857 if (!SWIG_IsOK(res1)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19859 }
19860 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 {
19868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19869 }
19870 return resultobj;
19871 fail:
19872 return NULL;
19873 }
19874
19875
19876 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj = 0;
19878 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19879 int arg2 ;
19880 void *argp1 = 0 ;
19881 int res1 = 0 ;
19882 int val2 ;
19883 int ecode2 = 0 ;
19884 PyObject * obj0 = 0 ;
19885 PyObject * obj1 = 0 ;
19886 char * kwnames[] = {
19887 (char *) "self",(char *) "margin", NULL
19888 };
19889
19890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19892 if (!SWIG_IsOK(res1)) {
19893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19894 }
19895 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19896 ecode2 = SWIG_AsVal_int(obj1, &val2);
19897 if (!SWIG_IsOK(ecode2)) {
19898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19899 }
19900 arg2 = static_cast< int >(val2);
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 (arg1)->SetControlMargin(arg2);
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 resultobj = SWIG_Py_Void();
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19915 PyObject *resultobj = 0;
19916 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19917 int result;
19918 void *argp1 = 0 ;
19919 int res1 = 0 ;
19920 PyObject *swig_obj[1] ;
19921
19922 if (!args) SWIG_fail;
19923 swig_obj[0] = args;
19924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19925 if (!SWIG_IsOK(res1)) {
19926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19927 }
19928 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = SWIG_From_int(static_cast< int >(result));
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj = 0;
19944 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19945 bool arg2 ;
19946 void *argp1 = 0 ;
19947 int res1 = 0 ;
19948 bool val2 ;
19949 int ecode2 = 0 ;
19950 PyObject * obj0 = 0 ;
19951 PyObject * obj1 = 0 ;
19952 char * kwnames[] = {
19953 (char *) "self",(char *) "fit", NULL
19954 };
19955
19956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19958 if (!SWIG_IsOK(res1)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19960 }
19961 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19962 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19963 if (!SWIG_IsOK(ecode2)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19965 }
19966 arg2 = static_cast< bool >(val2);
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 (arg1)->SetFitToCurrentPage(arg2);
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = SWIG_Py_Void();
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19981 PyObject *resultobj = 0;
19982 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19983 bool result;
19984 void *argp1 = 0 ;
19985 int res1 = 0 ;
19986 PyObject *swig_obj[1] ;
19987
19988 if (!args) SWIG_fail;
19989 swig_obj[0] = args;
19990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19991 if (!SWIG_IsOK(res1)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19993 }
19994 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 {
20002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20003 }
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20011 PyObject *resultobj = 0;
20012 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20013 wxSizer *result = 0 ;
20014 void *argp1 = 0 ;
20015 int res1 = 0 ;
20016 PyObject *swig_obj[1] ;
20017
20018 if (!args) SWIG_fail;
20019 swig_obj[0] = args;
20020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20021 if (!SWIG_IsOK(res1)) {
20022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20023 }
20024 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032 resultobj = wxPyMake_wxObject(result, (bool)0);
20033 }
20034 return resultobj;
20035 fail:
20036 return NULL;
20037 }
20038
20039
20040 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj = 0;
20042 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20043 size_t arg2 ;
20044 bool result;
20045 void *argp1 = 0 ;
20046 int res1 = 0 ;
20047 size_t val2 ;
20048 int ecode2 = 0 ;
20049 PyObject * obj0 = 0 ;
20050 PyObject * obj1 = 0 ;
20051 char * kwnames[] = {
20052 (char *) "self",(char *) "n", NULL
20053 };
20054
20055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20057 if (!SWIG_IsOK(res1)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20059 }
20060 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20061 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20062 if (!SWIG_IsOK(ecode2)) {
20063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20064 }
20065 arg2 = static_cast< size_t >(val2);
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 result = (bool)(arg1)->DeletePage(arg2);
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 {
20073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20074 }
20075 return resultobj;
20076 fail:
20077 return NULL;
20078 }
20079
20080
20081 SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20082 PyObject *resultobj = 0;
20083 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20084 size_t arg2 ;
20085 bool result;
20086 void *argp1 = 0 ;
20087 int res1 = 0 ;
20088 size_t val2 ;
20089 int ecode2 = 0 ;
20090 PyObject * obj0 = 0 ;
20091 PyObject * obj1 = 0 ;
20092 char * kwnames[] = {
20093 (char *) "self",(char *) "n", NULL
20094 };
20095
20096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20098 if (!SWIG_IsOK(res1)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20100 }
20101 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20102 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20103 if (!SWIG_IsOK(ecode2)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20105 }
20106 arg2 = static_cast< size_t >(val2);
20107 {
20108 PyThreadState* __tstate = wxPyBeginAllowThreads();
20109 result = (bool)(arg1)->RemovePage(arg2);
20110 wxPyEndAllowThreads(__tstate);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 {
20114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20115 }
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20123 PyObject *resultobj = 0;
20124 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20125 bool result;
20126 void *argp1 = 0 ;
20127 int res1 = 0 ;
20128 PyObject *swig_obj[1] ;
20129
20130 if (!args) SWIG_fail;
20131 swig_obj[0] = args;
20132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20133 if (!SWIG_IsOK(res1)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20135 }
20136 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20137 {
20138 PyThreadState* __tstate = wxPyBeginAllowThreads();
20139 result = (bool)(arg1)->DeleteAllPages();
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 {
20144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20145 }
20146 return resultobj;
20147 fail:
20148 return NULL;
20149 }
20150
20151
20152 SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20153 PyObject *resultobj = 0;
20154 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20155 wxWindow *arg2 = (wxWindow *) 0 ;
20156 wxString *arg3 = 0 ;
20157 bool arg4 = (bool) false ;
20158 int arg5 = (int) -1 ;
20159 bool result;
20160 void *argp1 = 0 ;
20161 int res1 = 0 ;
20162 void *argp2 = 0 ;
20163 int res2 = 0 ;
20164 bool temp3 = false ;
20165 bool val4 ;
20166 int ecode4 = 0 ;
20167 int val5 ;
20168 int ecode5 = 0 ;
20169 PyObject * obj0 = 0 ;
20170 PyObject * obj1 = 0 ;
20171 PyObject * obj2 = 0 ;
20172 PyObject * obj3 = 0 ;
20173 PyObject * obj4 = 0 ;
20174 char * kwnames[] = {
20175 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20176 };
20177
20178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20180 if (!SWIG_IsOK(res1)) {
20181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20182 }
20183 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20185 if (!SWIG_IsOK(res2)) {
20186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20187 }
20188 arg2 = reinterpret_cast< wxWindow * >(argp2);
20189 {
20190 arg3 = wxString_in_helper(obj2);
20191 if (arg3 == NULL) SWIG_fail;
20192 temp3 = true;
20193 }
20194 if (obj3) {
20195 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20196 if (!SWIG_IsOK(ecode4)) {
20197 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20198 }
20199 arg4 = static_cast< bool >(val4);
20200 }
20201 if (obj4) {
20202 ecode5 = SWIG_AsVal_int(obj4, &val5);
20203 if (!SWIG_IsOK(ecode5)) {
20204 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20205 }
20206 arg5 = static_cast< int >(val5);
20207 }
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20211 wxPyEndAllowThreads(__tstate);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
20214 {
20215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20216 }
20217 {
20218 if (temp3)
20219 delete arg3;
20220 }
20221 return resultobj;
20222 fail:
20223 {
20224 if (temp3)
20225 delete arg3;
20226 }
20227 return NULL;
20228 }
20229
20230
20231 SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj = 0;
20233 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20234 size_t arg2 ;
20235 wxWindow *arg3 = (wxWindow *) 0 ;
20236 wxString *arg4 = 0 ;
20237 bool arg5 = (bool) false ;
20238 int arg6 = (int) -1 ;
20239 bool result;
20240 void *argp1 = 0 ;
20241 int res1 = 0 ;
20242 size_t val2 ;
20243 int ecode2 = 0 ;
20244 void *argp3 = 0 ;
20245 int res3 = 0 ;
20246 bool temp4 = false ;
20247 bool val5 ;
20248 int ecode5 = 0 ;
20249 int val6 ;
20250 int ecode6 = 0 ;
20251 PyObject * obj0 = 0 ;
20252 PyObject * obj1 = 0 ;
20253 PyObject * obj2 = 0 ;
20254 PyObject * obj3 = 0 ;
20255 PyObject * obj4 = 0 ;
20256 PyObject * obj5 = 0 ;
20257 char * kwnames[] = {
20258 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20259 };
20260
20261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20263 if (!SWIG_IsOK(res1)) {
20264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20265 }
20266 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20267 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20268 if (!SWIG_IsOK(ecode2)) {
20269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20270 }
20271 arg2 = static_cast< size_t >(val2);
20272 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20273 if (!SWIG_IsOK(res3)) {
20274 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20275 }
20276 arg3 = reinterpret_cast< wxWindow * >(argp3);
20277 {
20278 arg4 = wxString_in_helper(obj3);
20279 if (arg4 == NULL) SWIG_fail;
20280 temp4 = true;
20281 }
20282 if (obj4) {
20283 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20284 if (!SWIG_IsOK(ecode5)) {
20285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20286 }
20287 arg5 = static_cast< bool >(val5);
20288 }
20289 if (obj5) {
20290 ecode6 = SWIG_AsVal_int(obj5, &val6);
20291 if (!SWIG_IsOK(ecode6)) {
20292 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20293 }
20294 arg6 = static_cast< int >(val6);
20295 }
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 {
20303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20304 }
20305 {
20306 if (temp4)
20307 delete arg4;
20308 }
20309 return resultobj;
20310 fail:
20311 {
20312 if (temp4)
20313 delete arg4;
20314 }
20315 return NULL;
20316 }
20317
20318
20319 SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj = 0;
20321 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20322 size_t arg2 ;
20323 int result;
20324 void *argp1 = 0 ;
20325 int res1 = 0 ;
20326 size_t val2 ;
20327 int ecode2 = 0 ;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char * kwnames[] = {
20331 (char *) "self",(char *) "n", NULL
20332 };
20333
20334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20336 if (!SWIG_IsOK(res1)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20338 }
20339 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20340 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20341 if (!SWIG_IsOK(ecode2)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20343 }
20344 arg2 = static_cast< size_t >(val2);
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (int)(arg1)->SetSelection(arg2);
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = SWIG_From_int(static_cast< int >(result));
20352 return resultobj;
20353 fail:
20354 return NULL;
20355 }
20356
20357
20358 SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj = 0;
20360 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20361 size_t arg2 ;
20362 int result;
20363 void *argp1 = 0 ;
20364 int res1 = 0 ;
20365 size_t val2 ;
20366 int ecode2 = 0 ;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 char * kwnames[] = {
20370 (char *) "self",(char *) "n", NULL
20371 };
20372
20373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20375 if (!SWIG_IsOK(res1)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20377 }
20378 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20379 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20380 if (!SWIG_IsOK(ecode2)) {
20381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20382 }
20383 arg2 = static_cast< size_t >(val2);
20384 {
20385 PyThreadState* __tstate = wxPyBeginAllowThreads();
20386 result = (int)(arg1)->ChangeSelection(arg2);
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_From_int(static_cast< int >(result));
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj = 0;
20399 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20400 bool arg2 = (bool) true ;
20401 void *argp1 = 0 ;
20402 int res1 = 0 ;
20403 bool val2 ;
20404 int ecode2 = 0 ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char * kwnames[] = {
20408 (char *) "self",(char *) "forward", NULL
20409 };
20410
20411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20413 if (!SWIG_IsOK(res1)) {
20414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20415 }
20416 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20417 if (obj1) {
20418 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20419 if (!SWIG_IsOK(ecode2)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20421 }
20422 arg2 = static_cast< bool >(val2);
20423 }
20424 {
20425 PyThreadState* __tstate = wxPyBeginAllowThreads();
20426 (arg1)->AdvanceSelection(arg2);
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 resultobj = SWIG_Py_Void();
20431 return resultobj;
20432 fail:
20433 return NULL;
20434 }
20435
20436
20437 SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20438 PyObject *resultobj = 0;
20439 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20440 wxPoint *arg2 = 0 ;
20441 long *arg3 = (long *) 0 ;
20442 int result;
20443 void *argp1 = 0 ;
20444 int res1 = 0 ;
20445 wxPoint temp2 ;
20446 long temp3 ;
20447 int res3 = SWIG_TMPOBJ ;
20448 PyObject * obj0 = 0 ;
20449 PyObject * obj1 = 0 ;
20450 char * kwnames[] = {
20451 (char *) "self",(char *) "pt", NULL
20452 };
20453
20454 arg3 = &temp3;
20455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20457 if (!SWIG_IsOK(res1)) {
20458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20459 }
20460 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20461 {
20462 arg2 = &temp2;
20463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20464 }
20465 {
20466 PyThreadState* __tstate = wxPyBeginAllowThreads();
20467 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 resultobj = SWIG_From_int(static_cast< int >(result));
20472 if (SWIG_IsTmpObj(res3)) {
20473 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20474 } else {
20475 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20476 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20477 }
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj = 0;
20486 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20487 SwigValueWrapper<wxVisualAttributes > result;
20488 int val1 ;
20489 int ecode1 = 0 ;
20490 PyObject * obj0 = 0 ;
20491 char * kwnames[] = {
20492 (char *) "variant", NULL
20493 };
20494
20495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20496 if (obj0) {
20497 ecode1 = SWIG_AsVal_int(obj0, &val1);
20498 if (!SWIG_IsOK(ecode1)) {
20499 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20500 }
20501 arg1 = static_cast< wxWindowVariant >(val1);
20502 }
20503 {
20504 if (!wxPyCheckForApp()) SWIG_fail;
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20518 PyObject *obj;
20519 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20520 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20521 return SWIG_Py_Void();
20522 }
20523
20524 SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj = 0;
20526 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20527 int arg2 = (int) 0 ;
20528 int arg3 = (int) -1 ;
20529 int arg4 = (int) -1 ;
20530 wxBookCtrlBaseEvent *result = 0 ;
20531 int val1 ;
20532 int ecode1 = 0 ;
20533 int val2 ;
20534 int ecode2 = 0 ;
20535 int val3 ;
20536 int ecode3 = 0 ;
20537 int val4 ;
20538 int ecode4 = 0 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 PyObject * obj2 = 0 ;
20542 PyObject * obj3 = 0 ;
20543 char * kwnames[] = {
20544 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20545 };
20546
20547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20548 if (obj0) {
20549 ecode1 = SWIG_AsVal_int(obj0, &val1);
20550 if (!SWIG_IsOK(ecode1)) {
20551 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20552 }
20553 arg1 = static_cast< wxEventType >(val1);
20554 }
20555 if (obj1) {
20556 ecode2 = SWIG_AsVal_int(obj1, &val2);
20557 if (!SWIG_IsOK(ecode2)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20559 }
20560 arg2 = static_cast< int >(val2);
20561 }
20562 if (obj2) {
20563 ecode3 = SWIG_AsVal_int(obj2, &val3);
20564 if (!SWIG_IsOK(ecode3)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20566 }
20567 arg3 = static_cast< int >(val3);
20568 }
20569 if (obj3) {
20570 ecode4 = SWIG_AsVal_int(obj3, &val4);
20571 if (!SWIG_IsOK(ecode4)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20573 }
20574 arg4 = static_cast< int >(val4);
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20590 PyObject *resultobj = 0;
20591 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20592 int result;
20593 void *argp1 = 0 ;
20594 int res1 = 0 ;
20595 PyObject *swig_obj[1] ;
20596
20597 if (!args) SWIG_fail;
20598 swig_obj[0] = args;
20599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20600 if (!SWIG_IsOK(res1)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20602 }
20603 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 resultobj = SWIG_From_int(static_cast< int >(result));
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj = 0;
20619 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20620 int arg2 ;
20621 void *argp1 = 0 ;
20622 int res1 = 0 ;
20623 int val2 ;
20624 int ecode2 = 0 ;
20625 PyObject * obj0 = 0 ;
20626 PyObject * obj1 = 0 ;
20627 char * kwnames[] = {
20628 (char *) "self",(char *) "nSel", NULL
20629 };
20630
20631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20633 if (!SWIG_IsOK(res1)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20635 }
20636 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20637 ecode2 = SWIG_AsVal_int(obj1, &val2);
20638 if (!SWIG_IsOK(ecode2)) {
20639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20640 }
20641 arg2 = static_cast< int >(val2);
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 (arg1)->SetSelection(arg2);
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 resultobj = SWIG_Py_Void();
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20656 PyObject *resultobj = 0;
20657 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20658 int result;
20659 void *argp1 = 0 ;
20660 int res1 = 0 ;
20661 PyObject *swig_obj[1] ;
20662
20663 if (!args) SWIG_fail;
20664 swig_obj[0] = args;
20665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20666 if (!SWIG_IsOK(res1)) {
20667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20668 }
20669 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 resultobj = SWIG_From_int(static_cast< int >(result));
20677 return resultobj;
20678 fail:
20679 return NULL;
20680 }
20681
20682
20683 SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20684 PyObject *resultobj = 0;
20685 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20686 int arg2 ;
20687 void *argp1 = 0 ;
20688 int res1 = 0 ;
20689 int val2 ;
20690 int ecode2 = 0 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 char * kwnames[] = {
20694 (char *) "self",(char *) "nOldSel", NULL
20695 };
20696
20697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20699 if (!SWIG_IsOK(res1)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20701 }
20702 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20703 ecode2 = SWIG_AsVal_int(obj1, &val2);
20704 if (!SWIG_IsOK(ecode2)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20706 }
20707 arg2 = static_cast< int >(val2);
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetOldSelection(arg2);
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 resultobj = SWIG_Py_Void();
20715 return resultobj;
20716 fail:
20717 return NULL;
20718 }
20719
20720
20721 SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20722 PyObject *obj;
20723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20724 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20725 return SWIG_Py_Void();
20726 }
20727
20728 SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20729 return SWIG_Python_InitShadowInstance(args);
20730 }
20731
20732 SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj = 0;
20734 wxWindow *arg1 = (wxWindow *) 0 ;
20735 int arg2 = (int) -1 ;
20736 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20737 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20738 wxSize const &arg4_defvalue = wxDefaultSize ;
20739 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20740 long arg5 = (long) 0 ;
20741 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20742 wxString *arg6 = (wxString *) &arg6_defvalue ;
20743 wxNotebook *result = 0 ;
20744 void *argp1 = 0 ;
20745 int res1 = 0 ;
20746 int val2 ;
20747 int ecode2 = 0 ;
20748 wxPoint temp3 ;
20749 wxSize temp4 ;
20750 long val5 ;
20751 int ecode5 = 0 ;
20752 bool temp6 = false ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 PyObject * obj2 = 0 ;
20756 PyObject * obj3 = 0 ;
20757 PyObject * obj4 = 0 ;
20758 PyObject * obj5 = 0 ;
20759 char * kwnames[] = {
20760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20761 };
20762
20763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20765 if (!SWIG_IsOK(res1)) {
20766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20767 }
20768 arg1 = reinterpret_cast< wxWindow * >(argp1);
20769 if (obj1) {
20770 ecode2 = SWIG_AsVal_int(obj1, &val2);
20771 if (!SWIG_IsOK(ecode2)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20773 }
20774 arg2 = static_cast< int >(val2);
20775 }
20776 if (obj2) {
20777 {
20778 arg3 = &temp3;
20779 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20780 }
20781 }
20782 if (obj3) {
20783 {
20784 arg4 = &temp4;
20785 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20786 }
20787 }
20788 if (obj4) {
20789 ecode5 = SWIG_AsVal_long(obj4, &val5);
20790 if (!SWIG_IsOK(ecode5)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20792 }
20793 arg5 = static_cast< long >(val5);
20794 }
20795 if (obj5) {
20796 {
20797 arg6 = wxString_in_helper(obj5);
20798 if (arg6 == NULL) SWIG_fail;
20799 temp6 = true;
20800 }
20801 }
20802 {
20803 if (!wxPyCheckForApp()) SWIG_fail;
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20810 {
20811 if (temp6)
20812 delete arg6;
20813 }
20814 return resultobj;
20815 fail:
20816 {
20817 if (temp6)
20818 delete arg6;
20819 }
20820 return NULL;
20821 }
20822
20823
20824 SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20825 PyObject *resultobj = 0;
20826 wxNotebook *result = 0 ;
20827
20828 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20829 {
20830 if (!wxPyCheckForApp()) SWIG_fail;
20831 PyThreadState* __tstate = wxPyBeginAllowThreads();
20832 result = (wxNotebook *)new wxNotebook();
20833 wxPyEndAllowThreads(__tstate);
20834 if (PyErr_Occurred()) SWIG_fail;
20835 }
20836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20837 return resultobj;
20838 fail:
20839 return NULL;
20840 }
20841
20842
20843 SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj = 0;
20845 wxNotebook *arg1 = (wxNotebook *) 0 ;
20846 wxWindow *arg2 = (wxWindow *) 0 ;
20847 int arg3 = (int) -1 ;
20848 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20849 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20850 wxSize const &arg5_defvalue = wxDefaultSize ;
20851 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20852 long arg6 = (long) 0 ;
20853 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20854 wxString *arg7 = (wxString *) &arg7_defvalue ;
20855 bool result;
20856 void *argp1 = 0 ;
20857 int res1 = 0 ;
20858 void *argp2 = 0 ;
20859 int res2 = 0 ;
20860 int val3 ;
20861 int ecode3 = 0 ;
20862 wxPoint temp4 ;
20863 wxSize temp5 ;
20864 long val6 ;
20865 int ecode6 = 0 ;
20866 bool temp7 = false ;
20867 PyObject * obj0 = 0 ;
20868 PyObject * obj1 = 0 ;
20869 PyObject * obj2 = 0 ;
20870 PyObject * obj3 = 0 ;
20871 PyObject * obj4 = 0 ;
20872 PyObject * obj5 = 0 ;
20873 PyObject * obj6 = 0 ;
20874 char * kwnames[] = {
20875 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20876 };
20877
20878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20880 if (!SWIG_IsOK(res1)) {
20881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20882 }
20883 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20885 if (!SWIG_IsOK(res2)) {
20886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20887 }
20888 arg2 = reinterpret_cast< wxWindow * >(argp2);
20889 if (obj2) {
20890 ecode3 = SWIG_AsVal_int(obj2, &val3);
20891 if (!SWIG_IsOK(ecode3)) {
20892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20893 }
20894 arg3 = static_cast< int >(val3);
20895 }
20896 if (obj3) {
20897 {
20898 arg4 = &temp4;
20899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20900 }
20901 }
20902 if (obj4) {
20903 {
20904 arg5 = &temp5;
20905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20906 }
20907 }
20908 if (obj5) {
20909 ecode6 = SWIG_AsVal_long(obj5, &val6);
20910 if (!SWIG_IsOK(ecode6)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20912 }
20913 arg6 = static_cast< long >(val6);
20914 }
20915 if (obj6) {
20916 {
20917 arg7 = wxString_in_helper(obj6);
20918 if (arg7 == NULL) SWIG_fail;
20919 temp7 = true;
20920 }
20921 }
20922 {
20923 PyThreadState* __tstate = wxPyBeginAllowThreads();
20924 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 {
20929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20930 }
20931 {
20932 if (temp7)
20933 delete arg7;
20934 }
20935 return resultobj;
20936 fail:
20937 {
20938 if (temp7)
20939 delete arg7;
20940 }
20941 return NULL;
20942 }
20943
20944
20945 SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20946 PyObject *resultobj = 0;
20947 wxNotebook *arg1 = (wxNotebook *) 0 ;
20948 int result;
20949 void *argp1 = 0 ;
20950 int res1 = 0 ;
20951 PyObject *swig_obj[1] ;
20952
20953 if (!args) SWIG_fail;
20954 swig_obj[0] = args;
20955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20956 if (!SWIG_IsOK(res1)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20958 }
20959 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 resultobj = SWIG_From_int(static_cast< int >(result));
20967 return resultobj;
20968 fail:
20969 return NULL;
20970 }
20971
20972
20973 SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj = 0;
20975 wxNotebook *arg1 = (wxNotebook *) 0 ;
20976 wxSize *arg2 = 0 ;
20977 void *argp1 = 0 ;
20978 int res1 = 0 ;
20979 wxSize temp2 ;
20980 PyObject * obj0 = 0 ;
20981 PyObject * obj1 = 0 ;
20982 char * kwnames[] = {
20983 (char *) "self",(char *) "padding", NULL
20984 };
20985
20986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20988 if (!SWIG_IsOK(res1)) {
20989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20990 }
20991 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20992 {
20993 arg2 = &temp2;
20994 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20995 }
20996 {
20997 PyThreadState* __tstate = wxPyBeginAllowThreads();
20998 (arg1)->SetPadding((wxSize const &)*arg2);
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 resultobj = SWIG_Py_Void();
21003 return resultobj;
21004 fail:
21005 return NULL;
21006 }
21007
21008
21009 SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21010 PyObject *resultobj = 0;
21011 wxNotebook *arg1 = (wxNotebook *) 0 ;
21012 wxSize *arg2 = 0 ;
21013 void *argp1 = 0 ;
21014 int res1 = 0 ;
21015 wxSize temp2 ;
21016 PyObject * obj0 = 0 ;
21017 PyObject * obj1 = 0 ;
21018 char * kwnames[] = {
21019 (char *) "self",(char *) "sz", NULL
21020 };
21021
21022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
21023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21024 if (!SWIG_IsOK(res1)) {
21025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21026 }
21027 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21028 {
21029 arg2 = &temp2;
21030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21031 }
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 (arg1)->SetTabSize((wxSize const &)*arg2);
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 resultobj = SWIG_Py_Void();
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21046 PyObject *resultobj = 0;
21047 wxNotebook *arg1 = (wxNotebook *) 0 ;
21048 wxColour result;
21049 void *argp1 = 0 ;
21050 int res1 = 0 ;
21051 PyObject *swig_obj[1] ;
21052
21053 if (!args) SWIG_fail;
21054 swig_obj[0] = args;
21055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21056 if (!SWIG_IsOK(res1)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21058 }
21059 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj = 0;
21075 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21076 SwigValueWrapper<wxVisualAttributes > result;
21077 int val1 ;
21078 int ecode1 = 0 ;
21079 PyObject * obj0 = 0 ;
21080 char * kwnames[] = {
21081 (char *) "variant", NULL
21082 };
21083
21084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21085 if (obj0) {
21086 ecode1 = SWIG_AsVal_int(obj0, &val1);
21087 if (!SWIG_IsOK(ecode1)) {
21088 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21089 }
21090 arg1 = static_cast< wxWindowVariant >(val1);
21091 }
21092 {
21093 if (!wxPyCheckForApp()) SWIG_fail;
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = wxNotebook::GetClassDefaultAttributes(arg1);
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj = 0;
21108 wxNotebook *arg1 = (wxNotebook *) 0 ;
21109 int arg2 ;
21110 bool result;
21111 void *argp1 = 0 ;
21112 int res1 = 0 ;
21113 int val2 ;
21114 int ecode2 = 0 ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 char * kwnames[] = {
21118 (char *) "self",(char *) "nPage", NULL
21119 };
21120
21121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21123 if (!SWIG_IsOK(res1)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21125 }
21126 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21127 ecode2 = SWIG_AsVal_int(obj1, &val2);
21128 if (!SWIG_IsOK(ecode2)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21130 }
21131 arg2 = static_cast< int >(val2);
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21140 }
21141 return resultobj;
21142 fail:
21143 return NULL;
21144 }
21145
21146
21147 SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj = 0;
21149 wxNotebook *arg1 = (wxNotebook *) 0 ;
21150 int arg2 ;
21151 int arg3 = (int) -1 ;
21152 void *argp1 = 0 ;
21153 int res1 = 0 ;
21154 int val2 ;
21155 int ecode2 = 0 ;
21156 int val3 ;
21157 int ecode3 = 0 ;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 PyObject * obj2 = 0 ;
21161 char * kwnames[] = {
21162 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21163 };
21164
21165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21167 if (!SWIG_IsOK(res1)) {
21168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21169 }
21170 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21171 ecode2 = SWIG_AsVal_int(obj1, &val2);
21172 if (!SWIG_IsOK(ecode2)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21174 }
21175 arg2 = static_cast< int >(val2);
21176 if (obj2) {
21177 ecode3 = SWIG_AsVal_int(obj2, &val3);
21178 if (!SWIG_IsOK(ecode3)) {
21179 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21180 }
21181 arg3 = static_cast< int >(val3);
21182 }
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 (arg1)->SendPageChangedEvent(arg2,arg3);
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 resultobj = SWIG_Py_Void();
21190 return resultobj;
21191 fail:
21192 return NULL;
21193 }
21194
21195
21196 SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21197 PyObject *obj;
21198 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21199 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21200 return SWIG_Py_Void();
21201 }
21202
21203 SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21204 return SWIG_Python_InitShadowInstance(args);
21205 }
21206
21207 SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj = 0;
21209 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21210 int arg2 = (int) 0 ;
21211 int arg3 = (int) -1 ;
21212 int arg4 = (int) -1 ;
21213 wxNotebookEvent *result = 0 ;
21214 int val1 ;
21215 int ecode1 = 0 ;
21216 int val2 ;
21217 int ecode2 = 0 ;
21218 int val3 ;
21219 int ecode3 = 0 ;
21220 int val4 ;
21221 int ecode4 = 0 ;
21222 PyObject * obj0 = 0 ;
21223 PyObject * obj1 = 0 ;
21224 PyObject * obj2 = 0 ;
21225 PyObject * obj3 = 0 ;
21226 char * kwnames[] = {
21227 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21228 };
21229
21230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21231 if (obj0) {
21232 ecode1 = SWIG_AsVal_int(obj0, &val1);
21233 if (!SWIG_IsOK(ecode1)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21235 }
21236 arg1 = static_cast< wxEventType >(val1);
21237 }
21238 if (obj1) {
21239 ecode2 = SWIG_AsVal_int(obj1, &val2);
21240 if (!SWIG_IsOK(ecode2)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21242 }
21243 arg2 = static_cast< int >(val2);
21244 }
21245 if (obj2) {
21246 ecode3 = SWIG_AsVal_int(obj2, &val3);
21247 if (!SWIG_IsOK(ecode3)) {
21248 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21249 }
21250 arg3 = static_cast< int >(val3);
21251 }
21252 if (obj3) {
21253 ecode4 = SWIG_AsVal_int(obj3, &val4);
21254 if (!SWIG_IsOK(ecode4)) {
21255 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21256 }
21257 arg4 = static_cast< int >(val4);
21258 }
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21273 PyObject *obj;
21274 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21275 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21276 return SWIG_Py_Void();
21277 }
21278
21279 SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21280 return SWIG_Python_InitShadowInstance(args);
21281 }
21282
21283 SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj = 0;
21285 wxWindow *arg1 = (wxWindow *) 0 ;
21286 int arg2 = (int) -1 ;
21287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21289 wxSize const &arg4_defvalue = wxDefaultSize ;
21290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21291 long arg5 = (long) 0 ;
21292 wxString const &arg6_defvalue = wxPyEmptyString ;
21293 wxString *arg6 = (wxString *) &arg6_defvalue ;
21294 wxListbook *result = 0 ;
21295 void *argp1 = 0 ;
21296 int res1 = 0 ;
21297 int val2 ;
21298 int ecode2 = 0 ;
21299 wxPoint temp3 ;
21300 wxSize temp4 ;
21301 long val5 ;
21302 int ecode5 = 0 ;
21303 bool temp6 = false ;
21304 PyObject * obj0 = 0 ;
21305 PyObject * obj1 = 0 ;
21306 PyObject * obj2 = 0 ;
21307 PyObject * obj3 = 0 ;
21308 PyObject * obj4 = 0 ;
21309 PyObject * obj5 = 0 ;
21310 char * kwnames[] = {
21311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21312 };
21313
21314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21316 if (!SWIG_IsOK(res1)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21318 }
21319 arg1 = reinterpret_cast< wxWindow * >(argp1);
21320 if (obj1) {
21321 ecode2 = SWIG_AsVal_int(obj1, &val2);
21322 if (!SWIG_IsOK(ecode2)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21324 }
21325 arg2 = static_cast< int >(val2);
21326 }
21327 if (obj2) {
21328 {
21329 arg3 = &temp3;
21330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21331 }
21332 }
21333 if (obj3) {
21334 {
21335 arg4 = &temp4;
21336 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21337 }
21338 }
21339 if (obj4) {
21340 ecode5 = SWIG_AsVal_long(obj4, &val5);
21341 if (!SWIG_IsOK(ecode5)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21343 }
21344 arg5 = static_cast< long >(val5);
21345 }
21346 if (obj5) {
21347 {
21348 arg6 = wxString_in_helper(obj5);
21349 if (arg6 == NULL) SWIG_fail;
21350 temp6 = true;
21351 }
21352 }
21353 {
21354 if (!wxPyCheckForApp()) SWIG_fail;
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21361 {
21362 if (temp6)
21363 delete arg6;
21364 }
21365 return resultobj;
21366 fail:
21367 {
21368 if (temp6)
21369 delete arg6;
21370 }
21371 return NULL;
21372 }
21373
21374
21375 SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21376 PyObject *resultobj = 0;
21377 wxListbook *result = 0 ;
21378
21379 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21380 {
21381 if (!wxPyCheckForApp()) SWIG_fail;
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 result = (wxListbook *)new wxListbook();
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21388 return resultobj;
21389 fail:
21390 return NULL;
21391 }
21392
21393
21394 SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj = 0;
21396 wxListbook *arg1 = (wxListbook *) 0 ;
21397 wxWindow *arg2 = (wxWindow *) 0 ;
21398 int arg3 = (int) -1 ;
21399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21401 wxSize const &arg5_defvalue = wxDefaultSize ;
21402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21403 long arg6 = (long) 0 ;
21404 wxString const &arg7_defvalue = wxPyEmptyString ;
21405 wxString *arg7 = (wxString *) &arg7_defvalue ;
21406 bool result;
21407 void *argp1 = 0 ;
21408 int res1 = 0 ;
21409 void *argp2 = 0 ;
21410 int res2 = 0 ;
21411 int val3 ;
21412 int ecode3 = 0 ;
21413 wxPoint temp4 ;
21414 wxSize temp5 ;
21415 long val6 ;
21416 int ecode6 = 0 ;
21417 bool temp7 = false ;
21418 PyObject * obj0 = 0 ;
21419 PyObject * obj1 = 0 ;
21420 PyObject * obj2 = 0 ;
21421 PyObject * obj3 = 0 ;
21422 PyObject * obj4 = 0 ;
21423 PyObject * obj5 = 0 ;
21424 PyObject * obj6 = 0 ;
21425 char * kwnames[] = {
21426 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21427 };
21428
21429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21431 if (!SWIG_IsOK(res1)) {
21432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21433 }
21434 arg1 = reinterpret_cast< wxListbook * >(argp1);
21435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21436 if (!SWIG_IsOK(res2)) {
21437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21438 }
21439 arg2 = reinterpret_cast< wxWindow * >(argp2);
21440 if (obj2) {
21441 ecode3 = SWIG_AsVal_int(obj2, &val3);
21442 if (!SWIG_IsOK(ecode3)) {
21443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21444 }
21445 arg3 = static_cast< int >(val3);
21446 }
21447 if (obj3) {
21448 {
21449 arg4 = &temp4;
21450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21451 }
21452 }
21453 if (obj4) {
21454 {
21455 arg5 = &temp5;
21456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21457 }
21458 }
21459 if (obj5) {
21460 ecode6 = SWIG_AsVal_long(obj5, &val6);
21461 if (!SWIG_IsOK(ecode6)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21463 }
21464 arg6 = static_cast< long >(val6);
21465 }
21466 if (obj6) {
21467 {
21468 arg7 = wxString_in_helper(obj6);
21469 if (arg7 == NULL) SWIG_fail;
21470 temp7 = true;
21471 }
21472 }
21473 {
21474 PyThreadState* __tstate = wxPyBeginAllowThreads();
21475 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 {
21480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21481 }
21482 {
21483 if (temp7)
21484 delete arg7;
21485 }
21486 return resultobj;
21487 fail:
21488 {
21489 if (temp7)
21490 delete arg7;
21491 }
21492 return NULL;
21493 }
21494
21495
21496 SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21497 PyObject *resultobj = 0;
21498 wxListbook *arg1 = (wxListbook *) 0 ;
21499 wxListView *result = 0 ;
21500 void *argp1 = 0 ;
21501 int res1 = 0 ;
21502 PyObject *swig_obj[1] ;
21503
21504 if (!args) SWIG_fail;
21505 swig_obj[0] = args;
21506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21507 if (!SWIG_IsOK(res1)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21509 }
21510 arg1 = reinterpret_cast< wxListbook * >(argp1);
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = (wxListView *)(arg1)->GetListView();
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21518 return resultobj;
21519 fail:
21520 return NULL;
21521 }
21522
21523
21524 SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21525 PyObject *obj;
21526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21527 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21528 return SWIG_Py_Void();
21529 }
21530
21531 SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21532 return SWIG_Python_InitShadowInstance(args);
21533 }
21534
21535 SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj = 0;
21537 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21538 int arg2 = (int) 0 ;
21539 int arg3 = (int) -1 ;
21540 int arg4 = (int) -1 ;
21541 wxListbookEvent *result = 0 ;
21542 int val1 ;
21543 int ecode1 = 0 ;
21544 int val2 ;
21545 int ecode2 = 0 ;
21546 int val3 ;
21547 int ecode3 = 0 ;
21548 int val4 ;
21549 int ecode4 = 0 ;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 PyObject * obj2 = 0 ;
21553 PyObject * obj3 = 0 ;
21554 char * kwnames[] = {
21555 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21556 };
21557
21558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21559 if (obj0) {
21560 ecode1 = SWIG_AsVal_int(obj0, &val1);
21561 if (!SWIG_IsOK(ecode1)) {
21562 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21563 }
21564 arg1 = static_cast< wxEventType >(val1);
21565 }
21566 if (obj1) {
21567 ecode2 = SWIG_AsVal_int(obj1, &val2);
21568 if (!SWIG_IsOK(ecode2)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21570 }
21571 arg2 = static_cast< int >(val2);
21572 }
21573 if (obj2) {
21574 ecode3 = SWIG_AsVal_int(obj2, &val3);
21575 if (!SWIG_IsOK(ecode3)) {
21576 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21577 }
21578 arg3 = static_cast< int >(val3);
21579 }
21580 if (obj3) {
21581 ecode4 = SWIG_AsVal_int(obj3, &val4);
21582 if (!SWIG_IsOK(ecode4)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21584 }
21585 arg4 = static_cast< int >(val4);
21586 }
21587 {
21588 PyThreadState* __tstate = wxPyBeginAllowThreads();
21589 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21594 return resultobj;
21595 fail:
21596 return NULL;
21597 }
21598
21599
21600 SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21601 PyObject *obj;
21602 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21603 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21604 return SWIG_Py_Void();
21605 }
21606
21607 SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21608 return SWIG_Python_InitShadowInstance(args);
21609 }
21610
21611 SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj = 0;
21613 wxWindow *arg1 = (wxWindow *) 0 ;
21614 int arg2 ;
21615 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21616 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21617 wxSize const &arg4_defvalue = wxDefaultSize ;
21618 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21619 long arg5 = (long) 0 ;
21620 wxString const &arg6_defvalue = wxPyEmptyString ;
21621 wxString *arg6 = (wxString *) &arg6_defvalue ;
21622 wxChoicebook *result = 0 ;
21623 void *argp1 = 0 ;
21624 int res1 = 0 ;
21625 int val2 ;
21626 int ecode2 = 0 ;
21627 wxPoint temp3 ;
21628 wxSize temp4 ;
21629 long val5 ;
21630 int ecode5 = 0 ;
21631 bool temp6 = false ;
21632 PyObject * obj0 = 0 ;
21633 PyObject * obj1 = 0 ;
21634 PyObject * obj2 = 0 ;
21635 PyObject * obj3 = 0 ;
21636 PyObject * obj4 = 0 ;
21637 PyObject * obj5 = 0 ;
21638 char * kwnames[] = {
21639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21640 };
21641
21642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21644 if (!SWIG_IsOK(res1)) {
21645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21646 }
21647 arg1 = reinterpret_cast< wxWindow * >(argp1);
21648 ecode2 = SWIG_AsVal_int(obj1, &val2);
21649 if (!SWIG_IsOK(ecode2)) {
21650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21651 }
21652 arg2 = static_cast< int >(val2);
21653 if (obj2) {
21654 {
21655 arg3 = &temp3;
21656 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21657 }
21658 }
21659 if (obj3) {
21660 {
21661 arg4 = &temp4;
21662 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21663 }
21664 }
21665 if (obj4) {
21666 ecode5 = SWIG_AsVal_long(obj4, &val5);
21667 if (!SWIG_IsOK(ecode5)) {
21668 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21669 }
21670 arg5 = static_cast< long >(val5);
21671 }
21672 if (obj5) {
21673 {
21674 arg6 = wxString_in_helper(obj5);
21675 if (arg6 == NULL) SWIG_fail;
21676 temp6 = true;
21677 }
21678 }
21679 {
21680 if (!wxPyCheckForApp()) SWIG_fail;
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21687 {
21688 if (temp6)
21689 delete arg6;
21690 }
21691 return resultobj;
21692 fail:
21693 {
21694 if (temp6)
21695 delete arg6;
21696 }
21697 return NULL;
21698 }
21699
21700
21701 SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21702 PyObject *resultobj = 0;
21703 wxChoicebook *result = 0 ;
21704
21705 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21706 {
21707 if (!wxPyCheckForApp()) SWIG_fail;
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (wxChoicebook *)new wxChoicebook();
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21714 return resultobj;
21715 fail:
21716 return NULL;
21717 }
21718
21719
21720 SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21721 PyObject *resultobj = 0;
21722 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21723 wxWindow *arg2 = (wxWindow *) 0 ;
21724 int arg3 ;
21725 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21726 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21727 wxSize const &arg5_defvalue = wxDefaultSize ;
21728 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21729 long arg6 = (long) 0 ;
21730 wxString const &arg7_defvalue = wxPyEmptyString ;
21731 wxString *arg7 = (wxString *) &arg7_defvalue ;
21732 bool result;
21733 void *argp1 = 0 ;
21734 int res1 = 0 ;
21735 void *argp2 = 0 ;
21736 int res2 = 0 ;
21737 int val3 ;
21738 int ecode3 = 0 ;
21739 wxPoint temp4 ;
21740 wxSize temp5 ;
21741 long val6 ;
21742 int ecode6 = 0 ;
21743 bool temp7 = false ;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 PyObject * obj2 = 0 ;
21747 PyObject * obj3 = 0 ;
21748 PyObject * obj4 = 0 ;
21749 PyObject * obj5 = 0 ;
21750 PyObject * obj6 = 0 ;
21751 char * kwnames[] = {
21752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21753 };
21754
21755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21757 if (!SWIG_IsOK(res1)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21759 }
21760 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21762 if (!SWIG_IsOK(res2)) {
21763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21764 }
21765 arg2 = reinterpret_cast< wxWindow * >(argp2);
21766 ecode3 = SWIG_AsVal_int(obj2, &val3);
21767 if (!SWIG_IsOK(ecode3)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21769 }
21770 arg3 = static_cast< int >(val3);
21771 if (obj3) {
21772 {
21773 arg4 = &temp4;
21774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21775 }
21776 }
21777 if (obj4) {
21778 {
21779 arg5 = &temp5;
21780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21781 }
21782 }
21783 if (obj5) {
21784 ecode6 = SWIG_AsVal_long(obj5, &val6);
21785 if (!SWIG_IsOK(ecode6)) {
21786 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21787 }
21788 arg6 = static_cast< long >(val6);
21789 }
21790 if (obj6) {
21791 {
21792 arg7 = wxString_in_helper(obj6);
21793 if (arg7 == NULL) SWIG_fail;
21794 temp7 = true;
21795 }
21796 }
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21800 wxPyEndAllowThreads(__tstate);
21801 if (PyErr_Occurred()) SWIG_fail;
21802 }
21803 {
21804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21805 }
21806 {
21807 if (temp7)
21808 delete arg7;
21809 }
21810 return resultobj;
21811 fail:
21812 {
21813 if (temp7)
21814 delete arg7;
21815 }
21816 return NULL;
21817 }
21818
21819
21820 SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21821 PyObject *resultobj = 0;
21822 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21823 wxChoice *result = 0 ;
21824 void *argp1 = 0 ;
21825 int res1 = 0 ;
21826 PyObject *swig_obj[1] ;
21827
21828 if (!args) SWIG_fail;
21829 swig_obj[0] = args;
21830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21831 if (!SWIG_IsOK(res1)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21833 }
21834 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21842 return resultobj;
21843 fail:
21844 return NULL;
21845 }
21846
21847
21848 SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21849 PyObject *obj;
21850 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21851 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21852 return SWIG_Py_Void();
21853 }
21854
21855 SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21856 return SWIG_Python_InitShadowInstance(args);
21857 }
21858
21859 SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj = 0;
21861 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21862 int arg2 = (int) 0 ;
21863 int arg3 = (int) -1 ;
21864 int arg4 = (int) -1 ;
21865 wxChoicebookEvent *result = 0 ;
21866 int val1 ;
21867 int ecode1 = 0 ;
21868 int val2 ;
21869 int ecode2 = 0 ;
21870 int val3 ;
21871 int ecode3 = 0 ;
21872 int val4 ;
21873 int ecode4 = 0 ;
21874 PyObject * obj0 = 0 ;
21875 PyObject * obj1 = 0 ;
21876 PyObject * obj2 = 0 ;
21877 PyObject * obj3 = 0 ;
21878 char * kwnames[] = {
21879 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21880 };
21881
21882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21883 if (obj0) {
21884 ecode1 = SWIG_AsVal_int(obj0, &val1);
21885 if (!SWIG_IsOK(ecode1)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21887 }
21888 arg1 = static_cast< wxEventType >(val1);
21889 }
21890 if (obj1) {
21891 ecode2 = SWIG_AsVal_int(obj1, &val2);
21892 if (!SWIG_IsOK(ecode2)) {
21893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21894 }
21895 arg2 = static_cast< int >(val2);
21896 }
21897 if (obj2) {
21898 ecode3 = SWIG_AsVal_int(obj2, &val3);
21899 if (!SWIG_IsOK(ecode3)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21901 }
21902 arg3 = static_cast< int >(val3);
21903 }
21904 if (obj3) {
21905 ecode4 = SWIG_AsVal_int(obj3, &val4);
21906 if (!SWIG_IsOK(ecode4)) {
21907 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21908 }
21909 arg4 = static_cast< int >(val4);
21910 }
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21914 wxPyEndAllowThreads(__tstate);
21915 if (PyErr_Occurred()) SWIG_fail;
21916 }
21917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21918 return resultobj;
21919 fail:
21920 return NULL;
21921 }
21922
21923
21924 SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21925 PyObject *obj;
21926 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21927 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21928 return SWIG_Py_Void();
21929 }
21930
21931 SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21932 return SWIG_Python_InitShadowInstance(args);
21933 }
21934
21935 SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21936 PyObject *resultobj = 0;
21937 wxWindow *arg1 = (wxWindow *) 0 ;
21938 int arg2 ;
21939 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21940 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21941 wxSize const &arg4_defvalue = wxDefaultSize ;
21942 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21943 long arg5 = (long) wxBK_DEFAULT ;
21944 wxString const &arg6_defvalue = wxPyEmptyString ;
21945 wxString *arg6 = (wxString *) &arg6_defvalue ;
21946 wxTreebook *result = 0 ;
21947 void *argp1 = 0 ;
21948 int res1 = 0 ;
21949 int val2 ;
21950 int ecode2 = 0 ;
21951 wxPoint temp3 ;
21952 wxSize temp4 ;
21953 long val5 ;
21954 int ecode5 = 0 ;
21955 bool temp6 = false ;
21956 PyObject * obj0 = 0 ;
21957 PyObject * obj1 = 0 ;
21958 PyObject * obj2 = 0 ;
21959 PyObject * obj3 = 0 ;
21960 PyObject * obj4 = 0 ;
21961 PyObject * obj5 = 0 ;
21962 char * kwnames[] = {
21963 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21964 };
21965
21966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21968 if (!SWIG_IsOK(res1)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21970 }
21971 arg1 = reinterpret_cast< wxWindow * >(argp1);
21972 ecode2 = SWIG_AsVal_int(obj1, &val2);
21973 if (!SWIG_IsOK(ecode2)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21975 }
21976 arg2 = static_cast< int >(val2);
21977 if (obj2) {
21978 {
21979 arg3 = &temp3;
21980 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21981 }
21982 }
21983 if (obj3) {
21984 {
21985 arg4 = &temp4;
21986 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21987 }
21988 }
21989 if (obj4) {
21990 ecode5 = SWIG_AsVal_long(obj4, &val5);
21991 if (!SWIG_IsOK(ecode5)) {
21992 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21993 }
21994 arg5 = static_cast< long >(val5);
21995 }
21996 if (obj5) {
21997 {
21998 arg6 = wxString_in_helper(obj5);
21999 if (arg6 == NULL) SWIG_fail;
22000 temp6 = true;
22001 }
22002 }
22003 {
22004 if (!wxPyCheckForApp()) SWIG_fail;
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
22011 {
22012 if (temp6)
22013 delete arg6;
22014 }
22015 return resultobj;
22016 fail:
22017 {
22018 if (temp6)
22019 delete arg6;
22020 }
22021 return NULL;
22022 }
22023
22024
22025 SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22026 PyObject *resultobj = 0;
22027 wxTreebook *result = 0 ;
22028
22029 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
22030 {
22031 if (!wxPyCheckForApp()) SWIG_fail;
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 result = (wxTreebook *)new wxTreebook();
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj = 0;
22046 wxTreebook *arg1 = (wxTreebook *) 0 ;
22047 wxWindow *arg2 = (wxWindow *) 0 ;
22048 int arg3 ;
22049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22051 wxSize const &arg5_defvalue = wxDefaultSize ;
22052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22053 long arg6 = (long) wxBK_DEFAULT ;
22054 wxString const &arg7_defvalue = wxPyEmptyString ;
22055 wxString *arg7 = (wxString *) &arg7_defvalue ;
22056 bool result;
22057 void *argp1 = 0 ;
22058 int res1 = 0 ;
22059 void *argp2 = 0 ;
22060 int res2 = 0 ;
22061 int val3 ;
22062 int ecode3 = 0 ;
22063 wxPoint temp4 ;
22064 wxSize temp5 ;
22065 long val6 ;
22066 int ecode6 = 0 ;
22067 bool temp7 = false ;
22068 PyObject * obj0 = 0 ;
22069 PyObject * obj1 = 0 ;
22070 PyObject * obj2 = 0 ;
22071 PyObject * obj3 = 0 ;
22072 PyObject * obj4 = 0 ;
22073 PyObject * obj5 = 0 ;
22074 PyObject * obj6 = 0 ;
22075 char * kwnames[] = {
22076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22077 };
22078
22079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22081 if (!SWIG_IsOK(res1)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22083 }
22084 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22086 if (!SWIG_IsOK(res2)) {
22087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22088 }
22089 arg2 = reinterpret_cast< wxWindow * >(argp2);
22090 ecode3 = SWIG_AsVal_int(obj2, &val3);
22091 if (!SWIG_IsOK(ecode3)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22093 }
22094 arg3 = static_cast< int >(val3);
22095 if (obj3) {
22096 {
22097 arg4 = &temp4;
22098 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22099 }
22100 }
22101 if (obj4) {
22102 {
22103 arg5 = &temp5;
22104 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22105 }
22106 }
22107 if (obj5) {
22108 ecode6 = SWIG_AsVal_long(obj5, &val6);
22109 if (!SWIG_IsOK(ecode6)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22111 }
22112 arg6 = static_cast< long >(val6);
22113 }
22114 if (obj6) {
22115 {
22116 arg7 = wxString_in_helper(obj6);
22117 if (arg7 == NULL) SWIG_fail;
22118 temp7 = true;
22119 }
22120 }
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 {
22128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22129 }
22130 {
22131 if (temp7)
22132 delete arg7;
22133 }
22134 return resultobj;
22135 fail:
22136 {
22137 if (temp7)
22138 delete arg7;
22139 }
22140 return NULL;
22141 }
22142
22143
22144 SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22145 PyObject *resultobj = 0;
22146 wxTreebook *arg1 = (wxTreebook *) 0 ;
22147 size_t arg2 ;
22148 wxWindow *arg3 = (wxWindow *) 0 ;
22149 wxString *arg4 = 0 ;
22150 bool arg5 = (bool) false ;
22151 int arg6 = (int) wxNOT_FOUND ;
22152 bool result;
22153 void *argp1 = 0 ;
22154 int res1 = 0 ;
22155 size_t val2 ;
22156 int ecode2 = 0 ;
22157 void *argp3 = 0 ;
22158 int res3 = 0 ;
22159 bool temp4 = false ;
22160 bool val5 ;
22161 int ecode5 = 0 ;
22162 int val6 ;
22163 int ecode6 = 0 ;
22164 PyObject * obj0 = 0 ;
22165 PyObject * obj1 = 0 ;
22166 PyObject * obj2 = 0 ;
22167 PyObject * obj3 = 0 ;
22168 PyObject * obj4 = 0 ;
22169 PyObject * obj5 = 0 ;
22170 char * kwnames[] = {
22171 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22172 };
22173
22174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22176 if (!SWIG_IsOK(res1)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22178 }
22179 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22180 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22181 if (!SWIG_IsOK(ecode2)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22183 }
22184 arg2 = static_cast< size_t >(val2);
22185 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22186 if (!SWIG_IsOK(res3)) {
22187 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22188 }
22189 arg3 = reinterpret_cast< wxWindow * >(argp3);
22190 {
22191 arg4 = wxString_in_helper(obj3);
22192 if (arg4 == NULL) SWIG_fail;
22193 temp4 = true;
22194 }
22195 if (obj4) {
22196 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22197 if (!SWIG_IsOK(ecode5)) {
22198 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22199 }
22200 arg5 = static_cast< bool >(val5);
22201 }
22202 if (obj5) {
22203 ecode6 = SWIG_AsVal_int(obj5, &val6);
22204 if (!SWIG_IsOK(ecode6)) {
22205 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22206 }
22207 arg6 = static_cast< int >(val6);
22208 }
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22217 }
22218 {
22219 if (temp4)
22220 delete arg4;
22221 }
22222 return resultobj;
22223 fail:
22224 {
22225 if (temp4)
22226 delete arg4;
22227 }
22228 return NULL;
22229 }
22230
22231
22232 SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj = 0;
22234 wxTreebook *arg1 = (wxTreebook *) 0 ;
22235 wxWindow *arg2 = (wxWindow *) 0 ;
22236 wxString *arg3 = 0 ;
22237 bool arg4 = (bool) false ;
22238 int arg5 = (int) wxNOT_FOUND ;
22239 bool result;
22240 void *argp1 = 0 ;
22241 int res1 = 0 ;
22242 void *argp2 = 0 ;
22243 int res2 = 0 ;
22244 bool temp3 = false ;
22245 bool val4 ;
22246 int ecode4 = 0 ;
22247 int val5 ;
22248 int ecode5 = 0 ;
22249 PyObject * obj0 = 0 ;
22250 PyObject * obj1 = 0 ;
22251 PyObject * obj2 = 0 ;
22252 PyObject * obj3 = 0 ;
22253 PyObject * obj4 = 0 ;
22254 char * kwnames[] = {
22255 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22256 };
22257
22258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22260 if (!SWIG_IsOK(res1)) {
22261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22262 }
22263 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22265 if (!SWIG_IsOK(res2)) {
22266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22267 }
22268 arg2 = reinterpret_cast< wxWindow * >(argp2);
22269 {
22270 arg3 = wxString_in_helper(obj2);
22271 if (arg3 == NULL) SWIG_fail;
22272 temp3 = true;
22273 }
22274 if (obj3) {
22275 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22276 if (!SWIG_IsOK(ecode4)) {
22277 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22278 }
22279 arg4 = static_cast< bool >(val4);
22280 }
22281 if (obj4) {
22282 ecode5 = SWIG_AsVal_int(obj4, &val5);
22283 if (!SWIG_IsOK(ecode5)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22285 }
22286 arg5 = static_cast< int >(val5);
22287 }
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22296 }
22297 {
22298 if (temp3)
22299 delete arg3;
22300 }
22301 return resultobj;
22302 fail:
22303 {
22304 if (temp3)
22305 delete arg3;
22306 }
22307 return NULL;
22308 }
22309
22310
22311 SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj = 0;
22313 wxTreebook *arg1 = (wxTreebook *) 0 ;
22314 size_t arg2 ;
22315 bool result;
22316 void *argp1 = 0 ;
22317 int res1 = 0 ;
22318 size_t val2 ;
22319 int ecode2 = 0 ;
22320 PyObject * obj0 = 0 ;
22321 PyObject * obj1 = 0 ;
22322 char * kwnames[] = {
22323 (char *) "self",(char *) "pos", NULL
22324 };
22325
22326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22328 if (!SWIG_IsOK(res1)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22330 }
22331 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22333 if (!SWIG_IsOK(ecode2)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22335 }
22336 arg2 = static_cast< size_t >(val2);
22337 {
22338 PyThreadState* __tstate = wxPyBeginAllowThreads();
22339 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22340 wxPyEndAllowThreads(__tstate);
22341 if (PyErr_Occurred()) SWIG_fail;
22342 }
22343 {
22344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22345 }
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj = 0;
22354 wxTreebook *arg1 = (wxTreebook *) 0 ;
22355 size_t arg2 ;
22356 bool arg3 = (bool) true ;
22357 bool result;
22358 void *argp1 = 0 ;
22359 int res1 = 0 ;
22360 size_t val2 ;
22361 int ecode2 = 0 ;
22362 bool val3 ;
22363 int ecode3 = 0 ;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 PyObject * obj2 = 0 ;
22367 char * kwnames[] = {
22368 (char *) "self",(char *) "pos",(char *) "expand", NULL
22369 };
22370
22371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22373 if (!SWIG_IsOK(res1)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22375 }
22376 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22377 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22378 if (!SWIG_IsOK(ecode2)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22380 }
22381 arg2 = static_cast< size_t >(val2);
22382 if (obj2) {
22383 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22384 if (!SWIG_IsOK(ecode3)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22386 }
22387 arg3 = static_cast< bool >(val3);
22388 }
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22392 wxPyEndAllowThreads(__tstate);
22393 if (PyErr_Occurred()) SWIG_fail;
22394 }
22395 {
22396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22397 }
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj = 0;
22406 wxTreebook *arg1 = (wxTreebook *) 0 ;
22407 size_t arg2 ;
22408 bool result;
22409 void *argp1 = 0 ;
22410 int res1 = 0 ;
22411 size_t val2 ;
22412 int ecode2 = 0 ;
22413 PyObject * obj0 = 0 ;
22414 PyObject * obj1 = 0 ;
22415 char * kwnames[] = {
22416 (char *) "self",(char *) "pos", NULL
22417 };
22418
22419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22421 if (!SWIG_IsOK(res1)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22423 }
22424 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22425 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22426 if (!SWIG_IsOK(ecode2)) {
22427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22428 }
22429 arg2 = static_cast< size_t >(val2);
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 result = (bool)(arg1)->CollapseNode(arg2);
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 {
22437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22438 }
22439 return resultobj;
22440 fail:
22441 return NULL;
22442 }
22443
22444
22445 SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22446 PyObject *resultobj = 0;
22447 wxTreebook *arg1 = (wxTreebook *) 0 ;
22448 size_t arg2 ;
22449 int result;
22450 void *argp1 = 0 ;
22451 int res1 = 0 ;
22452 size_t val2 ;
22453 int ecode2 = 0 ;
22454 PyObject * obj0 = 0 ;
22455 PyObject * obj1 = 0 ;
22456 char * kwnames[] = {
22457 (char *) "self",(char *) "pos", NULL
22458 };
22459
22460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22462 if (!SWIG_IsOK(res1)) {
22463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22464 }
22465 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22466 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22467 if (!SWIG_IsOK(ecode2)) {
22468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22469 }
22470 arg2 = static_cast< size_t >(val2);
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 resultobj = SWIG_From_int(static_cast< int >(result));
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22485 PyObject *resultobj = 0;
22486 wxTreebook *arg1 = (wxTreebook *) 0 ;
22487 wxPyTreeCtrl *result = 0 ;
22488 void *argp1 = 0 ;
22489 int res1 = 0 ;
22490 PyObject *swig_obj[1] ;
22491
22492 if (!args) SWIG_fail;
22493 swig_obj[0] = args;
22494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22495 if (!SWIG_IsOK(res1)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22497 }
22498 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 {
22506 resultobj = wxPyMake_wxObject(result, (bool)0);
22507 }
22508 return resultobj;
22509 fail:
22510 return NULL;
22511 }
22512
22513
22514 SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22515 PyObject *obj;
22516 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22517 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22518 return SWIG_Py_Void();
22519 }
22520
22521 SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22522 return SWIG_Python_InitShadowInstance(args);
22523 }
22524
22525 SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj = 0;
22527 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22528 int arg2 = (int) 0 ;
22529 int arg3 = (int) wxNOT_FOUND ;
22530 int arg4 = (int) wxNOT_FOUND ;
22531 wxTreebookEvent *result = 0 ;
22532 int val1 ;
22533 int ecode1 = 0 ;
22534 int val2 ;
22535 int ecode2 = 0 ;
22536 int val3 ;
22537 int ecode3 = 0 ;
22538 int val4 ;
22539 int ecode4 = 0 ;
22540 PyObject * obj0 = 0 ;
22541 PyObject * obj1 = 0 ;
22542 PyObject * obj2 = 0 ;
22543 PyObject * obj3 = 0 ;
22544 char * kwnames[] = {
22545 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22546 };
22547
22548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22549 if (obj0) {
22550 ecode1 = SWIG_AsVal_int(obj0, &val1);
22551 if (!SWIG_IsOK(ecode1)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22553 }
22554 arg1 = static_cast< wxEventType >(val1);
22555 }
22556 if (obj1) {
22557 ecode2 = SWIG_AsVal_int(obj1, &val2);
22558 if (!SWIG_IsOK(ecode2)) {
22559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22560 }
22561 arg2 = static_cast< int >(val2);
22562 }
22563 if (obj2) {
22564 ecode3 = SWIG_AsVal_int(obj2, &val3);
22565 if (!SWIG_IsOK(ecode3)) {
22566 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22567 }
22568 arg3 = static_cast< int >(val3);
22569 }
22570 if (obj3) {
22571 ecode4 = SWIG_AsVal_int(obj3, &val4);
22572 if (!SWIG_IsOK(ecode4)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22574 }
22575 arg4 = static_cast< int >(val4);
22576 }
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22591 PyObject *obj;
22592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22594 return SWIG_Py_Void();
22595 }
22596
22597 SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 return SWIG_Python_InitShadowInstance(args);
22599 }
22600
22601 SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22602 PyObject *resultobj = 0;
22603 wxWindow *arg1 = (wxWindow *) 0 ;
22604 int arg2 ;
22605 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22606 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22607 wxSize const &arg4_defvalue = wxDefaultSize ;
22608 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22609 long arg5 = (long) wxBK_DEFAULT ;
22610 wxString const &arg6_defvalue = wxPyEmptyString ;
22611 wxString *arg6 = (wxString *) &arg6_defvalue ;
22612 wxToolbook *result = 0 ;
22613 void *argp1 = 0 ;
22614 int res1 = 0 ;
22615 int val2 ;
22616 int ecode2 = 0 ;
22617 wxPoint temp3 ;
22618 wxSize temp4 ;
22619 long val5 ;
22620 int ecode5 = 0 ;
22621 bool temp6 = false ;
22622 PyObject * obj0 = 0 ;
22623 PyObject * obj1 = 0 ;
22624 PyObject * obj2 = 0 ;
22625 PyObject * obj3 = 0 ;
22626 PyObject * obj4 = 0 ;
22627 PyObject * obj5 = 0 ;
22628 char * kwnames[] = {
22629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22630 };
22631
22632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22634 if (!SWIG_IsOK(res1)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22636 }
22637 arg1 = reinterpret_cast< wxWindow * >(argp1);
22638 ecode2 = SWIG_AsVal_int(obj1, &val2);
22639 if (!SWIG_IsOK(ecode2)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22641 }
22642 arg2 = static_cast< int >(val2);
22643 if (obj2) {
22644 {
22645 arg3 = &temp3;
22646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22647 }
22648 }
22649 if (obj3) {
22650 {
22651 arg4 = &temp4;
22652 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22653 }
22654 }
22655 if (obj4) {
22656 ecode5 = SWIG_AsVal_long(obj4, &val5);
22657 if (!SWIG_IsOK(ecode5)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22659 }
22660 arg5 = static_cast< long >(val5);
22661 }
22662 if (obj5) {
22663 {
22664 arg6 = wxString_in_helper(obj5);
22665 if (arg6 == NULL) SWIG_fail;
22666 temp6 = true;
22667 }
22668 }
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22676 {
22677 if (temp6)
22678 delete arg6;
22679 }
22680 return resultobj;
22681 fail:
22682 {
22683 if (temp6)
22684 delete arg6;
22685 }
22686 return NULL;
22687 }
22688
22689
22690 SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22691 PyObject *resultobj = 0;
22692 wxToolbook *result = 0 ;
22693
22694 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 result = (wxToolbook *)new wxToolbook();
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22702 return resultobj;
22703 fail:
22704 return NULL;
22705 }
22706
22707
22708 SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22709 PyObject *resultobj = 0;
22710 wxToolbook *arg1 = (wxToolbook *) 0 ;
22711 wxWindow *arg2 = (wxWindow *) 0 ;
22712 int arg3 ;
22713 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22714 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22715 wxSize const &arg5_defvalue = wxDefaultSize ;
22716 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22717 long arg6 = (long) 0 ;
22718 wxString const &arg7_defvalue = wxEmptyString ;
22719 wxString *arg7 = (wxString *) &arg7_defvalue ;
22720 bool result;
22721 void *argp1 = 0 ;
22722 int res1 = 0 ;
22723 void *argp2 = 0 ;
22724 int res2 = 0 ;
22725 int val3 ;
22726 int ecode3 = 0 ;
22727 wxPoint temp4 ;
22728 wxSize temp5 ;
22729 long val6 ;
22730 int ecode6 = 0 ;
22731 bool temp7 = false ;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 PyObject * obj2 = 0 ;
22735 PyObject * obj3 = 0 ;
22736 PyObject * obj4 = 0 ;
22737 PyObject * obj5 = 0 ;
22738 PyObject * obj6 = 0 ;
22739 char * kwnames[] = {
22740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22741 };
22742
22743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22745 if (!SWIG_IsOK(res1)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22747 }
22748 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22749 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22750 if (!SWIG_IsOK(res2)) {
22751 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22752 }
22753 arg2 = reinterpret_cast< wxWindow * >(argp2);
22754 ecode3 = SWIG_AsVal_int(obj2, &val3);
22755 if (!SWIG_IsOK(ecode3)) {
22756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22757 }
22758 arg3 = static_cast< int >(val3);
22759 if (obj3) {
22760 {
22761 arg4 = &temp4;
22762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22763 }
22764 }
22765 if (obj4) {
22766 {
22767 arg5 = &temp5;
22768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22769 }
22770 }
22771 if (obj5) {
22772 ecode6 = SWIG_AsVal_long(obj5, &val6);
22773 if (!SWIG_IsOK(ecode6)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22775 }
22776 arg6 = static_cast< long >(val6);
22777 }
22778 if (obj6) {
22779 {
22780 arg7 = wxString_in_helper(obj6);
22781 if (arg7 == NULL) SWIG_fail;
22782 temp7 = true;
22783 }
22784 }
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22788 wxPyEndAllowThreads(__tstate);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
22791 {
22792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22793 }
22794 {
22795 if (temp7)
22796 delete arg7;
22797 }
22798 return resultobj;
22799 fail:
22800 {
22801 if (temp7)
22802 delete arg7;
22803 }
22804 return NULL;
22805 }
22806
22807
22808 SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22809 PyObject *resultobj = 0;
22810 wxToolbook *arg1 = (wxToolbook *) 0 ;
22811 wxToolBarBase *result = 0 ;
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_wxToolbook, 0 | 0 );
22819 if (!SWIG_IsOK(res1)) {
22820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22821 }
22822 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22826 wxPyEndAllowThreads(__tstate);
22827 if (PyErr_Occurred()) SWIG_fail;
22828 }
22829 {
22830 resultobj = wxPyMake_wxObject(result, (bool)0);
22831 }
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22839 PyObject *resultobj = 0;
22840 wxToolbook *arg1 = (wxToolbook *) 0 ;
22841 void *argp1 = 0 ;
22842 int res1 = 0 ;
22843 PyObject *swig_obj[1] ;
22844
22845 if (!args) SWIG_fail;
22846 swig_obj[0] = args;
22847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22848 if (!SWIG_IsOK(res1)) {
22849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22850 }
22851 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 (arg1)->Realize();
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 resultobj = SWIG_Py_Void();
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22866 PyObject *obj;
22867 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22868 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22869 return SWIG_Py_Void();
22870 }
22871
22872 SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22873 return SWIG_Python_InitShadowInstance(args);
22874 }
22875
22876 SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22877 PyObject *resultobj = 0;
22878 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22879 int arg2 = (int) 0 ;
22880 int arg3 = (int) wxNOT_FOUND ;
22881 int arg4 = (int) wxNOT_FOUND ;
22882 wxToolbookEvent *result = 0 ;
22883 int val1 ;
22884 int ecode1 = 0 ;
22885 int val2 ;
22886 int ecode2 = 0 ;
22887 int val3 ;
22888 int ecode3 = 0 ;
22889 int val4 ;
22890 int ecode4 = 0 ;
22891 PyObject * obj0 = 0 ;
22892 PyObject * obj1 = 0 ;
22893 PyObject * obj2 = 0 ;
22894 PyObject * obj3 = 0 ;
22895 char * kwnames[] = {
22896 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22897 };
22898
22899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22900 if (obj0) {
22901 ecode1 = SWIG_AsVal_int(obj0, &val1);
22902 if (!SWIG_IsOK(ecode1)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22904 }
22905 arg1 = static_cast< wxEventType >(val1);
22906 }
22907 if (obj1) {
22908 ecode2 = SWIG_AsVal_int(obj1, &val2);
22909 if (!SWIG_IsOK(ecode2)) {
22910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22911 }
22912 arg2 = static_cast< int >(val2);
22913 }
22914 if (obj2) {
22915 ecode3 = SWIG_AsVal_int(obj2, &val3);
22916 if (!SWIG_IsOK(ecode3)) {
22917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22918 }
22919 arg3 = static_cast< int >(val3);
22920 }
22921 if (obj3) {
22922 ecode4 = SWIG_AsVal_int(obj3, &val4);
22923 if (!SWIG_IsOK(ecode4)) {
22924 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22925 }
22926 arg4 = static_cast< int >(val4);
22927 }
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22935 return resultobj;
22936 fail:
22937 return NULL;
22938 }
22939
22940
22941 SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22942 PyObject *obj;
22943 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22944 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22945 return SWIG_Py_Void();
22946 }
22947
22948 SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22949 return SWIG_Python_InitShadowInstance(args);
22950 }
22951
22952 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22953 PyObject *resultobj = 0;
22954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22955 int result;
22956 void *argp1 = 0 ;
22957 int res1 = 0 ;
22958 PyObject *swig_obj[1] ;
22959
22960 if (!args) SWIG_fail;
22961 swig_obj[0] = args;
22962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22963 if (!SWIG_IsOK(res1)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22965 }
22966 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = (int)(arg1)->GetId();
22970 wxPyEndAllowThreads(__tstate);
22971 if (PyErr_Occurred()) SWIG_fail;
22972 }
22973 resultobj = SWIG_From_int(static_cast< int >(result));
22974 return resultobj;
22975 fail:
22976 return NULL;
22977 }
22978
22979
22980 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22981 PyObject *resultobj = 0;
22982 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22983 wxControl *result = 0 ;
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_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22993 }
22994 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22995 {
22996 PyThreadState* __tstate = wxPyBeginAllowThreads();
22997 result = (wxControl *)(arg1)->GetControl();
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 {
23002 resultobj = wxPyMake_wxObject(result, 0);
23003 }
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23011 PyObject *resultobj = 0;
23012 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23013 wxToolBarBase *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_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23023 }
23024 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 result = (wxToolBarBase *)(arg1)->GetToolBar();
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 {
23032 resultobj = wxPyMake_wxObject(result, (bool)0);
23033 }
23034 return resultobj;
23035 fail:
23036 return NULL;
23037 }
23038
23039
23040 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23041 PyObject *resultobj = 0;
23042 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23043 int result;
23044 void *argp1 = 0 ;
23045 int res1 = 0 ;
23046 PyObject *swig_obj[1] ;
23047
23048 if (!args) SWIG_fail;
23049 swig_obj[0] = args;
23050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23051 if (!SWIG_IsOK(res1)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23053 }
23054 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (int)(arg1)->IsButton();
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 resultobj = SWIG_From_int(static_cast< int >(result));
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23069 PyObject *resultobj = 0;
23070 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23071 int result;
23072 void *argp1 = 0 ;
23073 int res1 = 0 ;
23074 PyObject *swig_obj[1] ;
23075
23076 if (!args) SWIG_fail;
23077 swig_obj[0] = args;
23078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23079 if (!SWIG_IsOK(res1)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23081 }
23082 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 result = (int)(arg1)->IsControl();
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 resultobj = SWIG_From_int(static_cast< int >(result));
23090 return resultobj;
23091 fail:
23092 return NULL;
23093 }
23094
23095
23096 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23097 PyObject *resultobj = 0;
23098 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23099 int result;
23100 void *argp1 = 0 ;
23101 int res1 = 0 ;
23102 PyObject *swig_obj[1] ;
23103
23104 if (!args) SWIG_fail;
23105 swig_obj[0] = args;
23106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23107 if (!SWIG_IsOK(res1)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23109 }
23110 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 result = (int)(arg1)->IsSeparator();
23114 wxPyEndAllowThreads(__tstate);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 resultobj = SWIG_From_int(static_cast< int >(result));
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23125 PyObject *resultobj = 0;
23126 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23127 int result;
23128 void *argp1 = 0 ;
23129 int res1 = 0 ;
23130 PyObject *swig_obj[1] ;
23131
23132 if (!args) SWIG_fail;
23133 swig_obj[0] = args;
23134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23135 if (!SWIG_IsOK(res1)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23137 }
23138 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (int)(arg1)->GetStyle();
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 resultobj = SWIG_From_int(static_cast< int >(result));
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23153 PyObject *resultobj = 0;
23154 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23155 wxItemKind result;
23156 void *argp1 = 0 ;
23157 int res1 = 0 ;
23158 PyObject *swig_obj[1] ;
23159
23160 if (!args) SWIG_fail;
23161 swig_obj[0] = args;
23162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23163 if (!SWIG_IsOK(res1)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23165 }
23166 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (wxItemKind)(arg1)->GetKind();
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 resultobj = SWIG_From_int(static_cast< int >(result));
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23181 PyObject *resultobj = 0;
23182 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23183 bool result;
23184 void *argp1 = 0 ;
23185 int res1 = 0 ;
23186 PyObject *swig_obj[1] ;
23187
23188 if (!args) SWIG_fail;
23189 swig_obj[0] = args;
23190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23191 if (!SWIG_IsOK(res1)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23193 }
23194 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 result = (bool)(arg1)->IsEnabled();
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 {
23202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23203 }
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23211 PyObject *resultobj = 0;
23212 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23213 bool result;
23214 void *argp1 = 0 ;
23215 int res1 = 0 ;
23216 PyObject *swig_obj[1] ;
23217
23218 if (!args) SWIG_fail;
23219 swig_obj[0] = args;
23220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23221 if (!SWIG_IsOK(res1)) {
23222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23223 }
23224 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (bool)(arg1)->IsToggled();
23228 wxPyEndAllowThreads(__tstate);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 {
23232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23233 }
23234 return resultobj;
23235 fail:
23236 return NULL;
23237 }
23238
23239
23240 SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23241 PyObject *resultobj = 0;
23242 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23243 bool result;
23244 void *argp1 = 0 ;
23245 int res1 = 0 ;
23246 PyObject *swig_obj[1] ;
23247
23248 if (!args) SWIG_fail;
23249 swig_obj[0] = args;
23250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23251 if (!SWIG_IsOK(res1)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23253 }
23254 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (bool)(arg1)->CanBeToggled();
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23263 }
23264 return resultobj;
23265 fail:
23266 return NULL;
23267 }
23268
23269
23270 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23271 PyObject *resultobj = 0;
23272 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23273 wxBitmap *result = 0 ;
23274 void *argp1 = 0 ;
23275 int res1 = 0 ;
23276 PyObject *swig_obj[1] ;
23277
23278 if (!args) SWIG_fail;
23279 swig_obj[0] = args;
23280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23281 if (!SWIG_IsOK(res1)) {
23282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23283 }
23284 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23285 {
23286 PyThreadState* __tstate = wxPyBeginAllowThreads();
23287 {
23288 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23289 result = (wxBitmap *) &_result_ref;
23290 }
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 {
23295 wxBitmap* resultptr = new wxBitmap(*result);
23296 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23297 }
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23305 PyObject *resultobj = 0;
23306 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23307 wxBitmap *result = 0 ;
23308 void *argp1 = 0 ;
23309 int res1 = 0 ;
23310 PyObject *swig_obj[1] ;
23311
23312 if (!args) SWIG_fail;
23313 swig_obj[0] = args;
23314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23315 if (!SWIG_IsOK(res1)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23317 }
23318 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 {
23322 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23323 result = (wxBitmap *) &_result_ref;
23324 }
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 {
23329 wxBitmap* resultptr = new wxBitmap(*result);
23330 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23331 }
23332 return resultobj;
23333 fail:
23334 return NULL;
23335 }
23336
23337
23338 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23339 PyObject *resultobj = 0;
23340 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23341 wxBitmap result;
23342 void *argp1 = 0 ;
23343 int res1 = 0 ;
23344 PyObject *swig_obj[1] ;
23345
23346 if (!args) SWIG_fail;
23347 swig_obj[0] = args;
23348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23349 if (!SWIG_IsOK(res1)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23351 }
23352 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 result = (arg1)->GetBitmap();
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23360 return resultobj;
23361 fail:
23362 return NULL;
23363 }
23364
23365
23366 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23367 PyObject *resultobj = 0;
23368 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23369 wxString result;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 PyObject *swig_obj[1] ;
23373
23374 if (!args) SWIG_fail;
23375 swig_obj[0] = args;
23376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23377 if (!SWIG_IsOK(res1)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23379 }
23380 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (arg1)->GetLabel();
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 {
23388 #if wxUSE_UNICODE
23389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23390 #else
23391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23392 #endif
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 PyObject *resultobj = 0;
23402 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23403 wxString result;
23404 void *argp1 = 0 ;
23405 int res1 = 0 ;
23406 PyObject *swig_obj[1] ;
23407
23408 if (!args) SWIG_fail;
23409 swig_obj[0] = args;
23410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23411 if (!SWIG_IsOK(res1)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23413 }
23414 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (arg1)->GetShortHelp();
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 {
23422 #if wxUSE_UNICODE
23423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23424 #else
23425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23426 #endif
23427 }
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23435 PyObject *resultobj = 0;
23436 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23437 wxString result;
23438 void *argp1 = 0 ;
23439 int res1 = 0 ;
23440 PyObject *swig_obj[1] ;
23441
23442 if (!args) SWIG_fail;
23443 swig_obj[0] = args;
23444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23445 if (!SWIG_IsOK(res1)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23447 }
23448 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 result = (arg1)->GetLongHelp();
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
23455 {
23456 #if wxUSE_UNICODE
23457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23458 #else
23459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23460 #endif
23461 }
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj = 0;
23470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23471 bool arg2 ;
23472 bool result;
23473 void *argp1 = 0 ;
23474 int res1 = 0 ;
23475 bool val2 ;
23476 int ecode2 = 0 ;
23477 PyObject * obj0 = 0 ;
23478 PyObject * obj1 = 0 ;
23479 char * kwnames[] = {
23480 (char *) "self",(char *) "enable", NULL
23481 };
23482
23483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23485 if (!SWIG_IsOK(res1)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23487 }
23488 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23489 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23490 if (!SWIG_IsOK(ecode2)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23492 }
23493 arg2 = static_cast< bool >(val2);
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = (bool)(arg1)->Enable(arg2);
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 {
23501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23502 }
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23510 PyObject *resultobj = 0;
23511 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23512 void *argp1 = 0 ;
23513 int res1 = 0 ;
23514 PyObject *swig_obj[1] ;
23515
23516 if (!args) SWIG_fail;
23517 swig_obj[0] = args;
23518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23519 if (!SWIG_IsOK(res1)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23521 }
23522 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 (arg1)->Toggle();
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 resultobj = SWIG_Py_Void();
23530 return resultobj;
23531 fail:
23532 return NULL;
23533 }
23534
23535
23536 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj = 0;
23538 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23539 bool arg2 ;
23540 bool result;
23541 void *argp1 = 0 ;
23542 int res1 = 0 ;
23543 bool val2 ;
23544 int ecode2 = 0 ;
23545 PyObject * obj0 = 0 ;
23546 PyObject * obj1 = 0 ;
23547 char * kwnames[] = {
23548 (char *) "self",(char *) "toggle", NULL
23549 };
23550
23551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23553 if (!SWIG_IsOK(res1)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23555 }
23556 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23557 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23558 if (!SWIG_IsOK(ecode2)) {
23559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23560 }
23561 arg2 = static_cast< bool >(val2);
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = (bool)(arg1)->SetToggle(arg2);
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 {
23569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23570 }
23571 return resultobj;
23572 fail:
23573 return NULL;
23574 }
23575
23576
23577 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23578 PyObject *resultobj = 0;
23579 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23580 wxString *arg2 = 0 ;
23581 bool result;
23582 void *argp1 = 0 ;
23583 int res1 = 0 ;
23584 bool temp2 = false ;
23585 PyObject * obj0 = 0 ;
23586 PyObject * obj1 = 0 ;
23587 char * kwnames[] = {
23588 (char *) "self",(char *) "help", NULL
23589 };
23590
23591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23593 if (!SWIG_IsOK(res1)) {
23594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23595 }
23596 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23597 {
23598 arg2 = wxString_in_helper(obj1);
23599 if (arg2 == NULL) SWIG_fail;
23600 temp2 = true;
23601 }
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23610 }
23611 {
23612 if (temp2)
23613 delete arg2;
23614 }
23615 return resultobj;
23616 fail:
23617 {
23618 if (temp2)
23619 delete arg2;
23620 }
23621 return NULL;
23622 }
23623
23624
23625 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23626 PyObject *resultobj = 0;
23627 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23628 wxString *arg2 = 0 ;
23629 bool result;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 bool temp2 = false ;
23633 PyObject * obj0 = 0 ;
23634 PyObject * obj1 = 0 ;
23635 char * kwnames[] = {
23636 (char *) "self",(char *) "help", NULL
23637 };
23638
23639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23641 if (!SWIG_IsOK(res1)) {
23642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23643 }
23644 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23645 {
23646 arg2 = wxString_in_helper(obj1);
23647 if (arg2 == NULL) SWIG_fail;
23648 temp2 = true;
23649 }
23650 {
23651 PyThreadState* __tstate = wxPyBeginAllowThreads();
23652 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 {
23657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23658 }
23659 {
23660 if (temp2)
23661 delete arg2;
23662 }
23663 return resultobj;
23664 fail:
23665 {
23666 if (temp2)
23667 delete arg2;
23668 }
23669 return NULL;
23670 }
23671
23672
23673 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23674 PyObject *resultobj = 0;
23675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23676 wxBitmap *arg2 = 0 ;
23677 void *argp1 = 0 ;
23678 int res1 = 0 ;
23679 void *argp2 = 0 ;
23680 int res2 = 0 ;
23681 PyObject * obj0 = 0 ;
23682 PyObject * obj1 = 0 ;
23683 char * kwnames[] = {
23684 (char *) "self",(char *) "bmp", NULL
23685 };
23686
23687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23689 if (!SWIG_IsOK(res1)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23691 }
23692 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23693 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23694 if (!SWIG_IsOK(res2)) {
23695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23696 }
23697 if (!argp2) {
23698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23699 }
23700 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 resultobj = SWIG_Py_Void();
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23715 PyObject *resultobj = 0;
23716 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23717 wxBitmap *arg2 = 0 ;
23718 void *argp1 = 0 ;
23719 int res1 = 0 ;
23720 void *argp2 = 0 ;
23721 int res2 = 0 ;
23722 PyObject * obj0 = 0 ;
23723 PyObject * obj1 = 0 ;
23724 char * kwnames[] = {
23725 (char *) "self",(char *) "bmp", NULL
23726 };
23727
23728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23730 if (!SWIG_IsOK(res1)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23732 }
23733 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23734 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23735 if (!SWIG_IsOK(res2)) {
23736 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23737 }
23738 if (!argp2) {
23739 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23740 }
23741 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 resultobj = SWIG_Py_Void();
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj = 0;
23757 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23758 wxString *arg2 = 0 ;
23759 void *argp1 = 0 ;
23760 int res1 = 0 ;
23761 bool temp2 = false ;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 char * kwnames[] = {
23765 (char *) "self",(char *) "label", NULL
23766 };
23767
23768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23770 if (!SWIG_IsOK(res1)) {
23771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23772 }
23773 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23774 {
23775 arg2 = wxString_in_helper(obj1);
23776 if (arg2 == NULL) SWIG_fail;
23777 temp2 = true;
23778 }
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
23781 (arg1)->SetLabel((wxString const &)*arg2);
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 resultobj = SWIG_Py_Void();
23786 {
23787 if (temp2)
23788 delete arg2;
23789 }
23790 return resultobj;
23791 fail:
23792 {
23793 if (temp2)
23794 delete arg2;
23795 }
23796 return NULL;
23797 }
23798
23799
23800 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23801 PyObject *resultobj = 0;
23802 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23803 void *argp1 = 0 ;
23804 int res1 = 0 ;
23805 PyObject *swig_obj[1] ;
23806
23807 if (!args) SWIG_fail;
23808 swig_obj[0] = args;
23809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23810 if (!SWIG_IsOK(res1)) {
23811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23812 }
23813 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->Detach();
23817 wxPyEndAllowThreads(__tstate);
23818 if (PyErr_Occurred()) SWIG_fail;
23819 }
23820 resultobj = SWIG_Py_Void();
23821 return resultobj;
23822 fail:
23823 return NULL;
23824 }
23825
23826
23827 SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23828 PyObject *resultobj = 0;
23829 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23830 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23831 void *argp1 = 0 ;
23832 int res1 = 0 ;
23833 void *argp2 = 0 ;
23834 int res2 = 0 ;
23835 PyObject * obj0 = 0 ;
23836 PyObject * obj1 = 0 ;
23837 char * kwnames[] = {
23838 (char *) "self",(char *) "tbar", NULL
23839 };
23840
23841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23843 if (!SWIG_IsOK(res1)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23845 }
23846 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23847 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23848 if (!SWIG_IsOK(res2)) {
23849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23850 }
23851 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 (arg1)->Attach(arg2);
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 resultobj = SWIG_Py_Void();
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23868 PyObject *result = 0 ;
23869 void *argp1 = 0 ;
23870 int res1 = 0 ;
23871 PyObject *swig_obj[1] ;
23872
23873 if (!args) SWIG_fail;
23874 swig_obj[0] = args;
23875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23878 }
23879 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = result;
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj = 0;
23895 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23896 PyObject *arg2 = (PyObject *) 0 ;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 PyObject * obj0 = 0 ;
23900 PyObject * obj1 = 0 ;
23901 char * kwnames[] = {
23902 (char *) "self",(char *) "clientData", NULL
23903 };
23904
23905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23907 if (!SWIG_IsOK(res1)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23909 }
23910 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23911 arg2 = obj1;
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 wxToolBarToolBase_SetClientData(arg1,arg2);
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 resultobj = SWIG_Py_Void();
23919 return resultobj;
23920 fail:
23921 return NULL;
23922 }
23923
23924
23925 SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23926 PyObject *obj;
23927 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23928 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23929 return SWIG_Py_Void();
23930 }
23931
23932 SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj = 0;
23934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23935 int arg2 ;
23936 wxString *arg3 = 0 ;
23937 wxBitmap *arg4 = 0 ;
23938 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23939 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23940 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23941 wxString const &arg7_defvalue = wxPyEmptyString ;
23942 wxString *arg7 = (wxString *) &arg7_defvalue ;
23943 wxString const &arg8_defvalue = wxPyEmptyString ;
23944 wxString *arg8 = (wxString *) &arg8_defvalue ;
23945 PyObject *arg9 = (PyObject *) NULL ;
23946 wxToolBarToolBase *result = 0 ;
23947 void *argp1 = 0 ;
23948 int res1 = 0 ;
23949 int val2 ;
23950 int ecode2 = 0 ;
23951 bool temp3 = false ;
23952 void *argp4 = 0 ;
23953 int res4 = 0 ;
23954 void *argp5 = 0 ;
23955 int res5 = 0 ;
23956 int val6 ;
23957 int ecode6 = 0 ;
23958 bool temp7 = false ;
23959 bool temp8 = false ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 PyObject * obj2 = 0 ;
23963 PyObject * obj3 = 0 ;
23964 PyObject * obj4 = 0 ;
23965 PyObject * obj5 = 0 ;
23966 PyObject * obj6 = 0 ;
23967 PyObject * obj7 = 0 ;
23968 PyObject * obj8 = 0 ;
23969 char * kwnames[] = {
23970 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23971 };
23972
23973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23975 if (!SWIG_IsOK(res1)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23977 }
23978 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23979 ecode2 = SWIG_AsVal_int(obj1, &val2);
23980 if (!SWIG_IsOK(ecode2)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23982 }
23983 arg2 = static_cast< int >(val2);
23984 {
23985 arg3 = wxString_in_helper(obj2);
23986 if (arg3 == NULL) SWIG_fail;
23987 temp3 = true;
23988 }
23989 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23990 if (!SWIG_IsOK(res4)) {
23991 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23992 }
23993 if (!argp4) {
23994 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23995 }
23996 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23997 if (obj4) {
23998 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23999 if (!SWIG_IsOK(res5)) {
24000 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24001 }
24002 if (!argp5) {
24003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24004 }
24005 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24006 }
24007 if (obj5) {
24008 ecode6 = SWIG_AsVal_int(obj5, &val6);
24009 if (!SWIG_IsOK(ecode6)) {
24010 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24011 }
24012 arg6 = static_cast< wxItemKind >(val6);
24013 }
24014 if (obj6) {
24015 {
24016 arg7 = wxString_in_helper(obj6);
24017 if (arg7 == NULL) SWIG_fail;
24018 temp7 = true;
24019 }
24020 }
24021 if (obj7) {
24022 {
24023 arg8 = wxString_in_helper(obj7);
24024 if (arg8 == NULL) SWIG_fail;
24025 temp8 = true;
24026 }
24027 }
24028 if (obj8) {
24029 arg9 = obj8;
24030 }
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 {
24038 resultobj = wxPyMake_wxObject(result, (bool)0);
24039 }
24040 {
24041 if (temp3)
24042 delete arg3;
24043 }
24044 {
24045 if (temp7)
24046 delete arg7;
24047 }
24048 {
24049 if (temp8)
24050 delete arg8;
24051 }
24052 return resultobj;
24053 fail:
24054 {
24055 if (temp3)
24056 delete arg3;
24057 }
24058 {
24059 if (temp7)
24060 delete arg7;
24061 }
24062 {
24063 if (temp8)
24064 delete arg8;
24065 }
24066 return NULL;
24067 }
24068
24069
24070 SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj = 0;
24072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24073 size_t arg2 ;
24074 int arg3 ;
24075 wxString *arg4 = 0 ;
24076 wxBitmap *arg5 = 0 ;
24077 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24078 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24079 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24080 wxString const &arg8_defvalue = wxPyEmptyString ;
24081 wxString *arg8 = (wxString *) &arg8_defvalue ;
24082 wxString const &arg9_defvalue = wxPyEmptyString ;
24083 wxString *arg9 = (wxString *) &arg9_defvalue ;
24084 PyObject *arg10 = (PyObject *) NULL ;
24085 wxToolBarToolBase *result = 0 ;
24086 void *argp1 = 0 ;
24087 int res1 = 0 ;
24088 size_t val2 ;
24089 int ecode2 = 0 ;
24090 int val3 ;
24091 int ecode3 = 0 ;
24092 bool temp4 = false ;
24093 void *argp5 = 0 ;
24094 int res5 = 0 ;
24095 void *argp6 = 0 ;
24096 int res6 = 0 ;
24097 int val7 ;
24098 int ecode7 = 0 ;
24099 bool temp8 = false ;
24100 bool temp9 = false ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 PyObject * obj2 = 0 ;
24104 PyObject * obj3 = 0 ;
24105 PyObject * obj4 = 0 ;
24106 PyObject * obj5 = 0 ;
24107 PyObject * obj6 = 0 ;
24108 PyObject * obj7 = 0 ;
24109 PyObject * obj8 = 0 ;
24110 PyObject * obj9 = 0 ;
24111 char * kwnames[] = {
24112 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24113 };
24114
24115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24117 if (!SWIG_IsOK(res1)) {
24118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24119 }
24120 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24121 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24122 if (!SWIG_IsOK(ecode2)) {
24123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24124 }
24125 arg2 = static_cast< size_t >(val2);
24126 ecode3 = SWIG_AsVal_int(obj2, &val3);
24127 if (!SWIG_IsOK(ecode3)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24129 }
24130 arg3 = static_cast< int >(val3);
24131 {
24132 arg4 = wxString_in_helper(obj3);
24133 if (arg4 == NULL) SWIG_fail;
24134 temp4 = true;
24135 }
24136 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24137 if (!SWIG_IsOK(res5)) {
24138 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24139 }
24140 if (!argp5) {
24141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24142 }
24143 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24144 if (obj5) {
24145 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24146 if (!SWIG_IsOK(res6)) {
24147 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24148 }
24149 if (!argp6) {
24150 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24151 }
24152 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24153 }
24154 if (obj6) {
24155 ecode7 = SWIG_AsVal_int(obj6, &val7);
24156 if (!SWIG_IsOK(ecode7)) {
24157 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24158 }
24159 arg7 = static_cast< wxItemKind >(val7);
24160 }
24161 if (obj7) {
24162 {
24163 arg8 = wxString_in_helper(obj7);
24164 if (arg8 == NULL) SWIG_fail;
24165 temp8 = true;
24166 }
24167 }
24168 if (obj8) {
24169 {
24170 arg9 = wxString_in_helper(obj8);
24171 if (arg9 == NULL) SWIG_fail;
24172 temp9 = true;
24173 }
24174 }
24175 if (obj9) {
24176 arg10 = obj9;
24177 }
24178 {
24179 PyThreadState* __tstate = wxPyBeginAllowThreads();
24180 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24181 wxPyEndAllowThreads(__tstate);
24182 if (PyErr_Occurred()) SWIG_fail;
24183 }
24184 {
24185 resultobj = wxPyMake_wxObject(result, (bool)0);
24186 }
24187 {
24188 if (temp4)
24189 delete arg4;
24190 }
24191 {
24192 if (temp8)
24193 delete arg8;
24194 }
24195 {
24196 if (temp9)
24197 delete arg9;
24198 }
24199 return resultobj;
24200 fail:
24201 {
24202 if (temp4)
24203 delete arg4;
24204 }
24205 {
24206 if (temp8)
24207 delete arg8;
24208 }
24209 {
24210 if (temp9)
24211 delete arg9;
24212 }
24213 return NULL;
24214 }
24215
24216
24217 SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj = 0;
24219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24220 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24221 wxToolBarToolBase *result = 0 ;
24222 void *argp1 = 0 ;
24223 int res1 = 0 ;
24224 void *argp2 = 0 ;
24225 int res2 = 0 ;
24226 PyObject * obj0 = 0 ;
24227 PyObject * obj1 = 0 ;
24228 char * kwnames[] = {
24229 (char *) "self",(char *) "tool", NULL
24230 };
24231
24232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24234 if (!SWIG_IsOK(res1)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24236 }
24237 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24238 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24239 if (!SWIG_IsOK(res2)) {
24240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24241 }
24242 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24243 {
24244 PyThreadState* __tstate = wxPyBeginAllowThreads();
24245 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 {
24250 resultobj = wxPyMake_wxObject(result, (bool)0);
24251 }
24252 return resultobj;
24253 fail:
24254 return NULL;
24255 }
24256
24257
24258 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24259 PyObject *resultobj = 0;
24260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24261 size_t arg2 ;
24262 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24263 wxToolBarToolBase *result = 0 ;
24264 void *argp1 = 0 ;
24265 int res1 = 0 ;
24266 size_t val2 ;
24267 int ecode2 = 0 ;
24268 void *argp3 = 0 ;
24269 int res3 = 0 ;
24270 PyObject * obj0 = 0 ;
24271 PyObject * obj1 = 0 ;
24272 PyObject * obj2 = 0 ;
24273 char * kwnames[] = {
24274 (char *) "self",(char *) "pos",(char *) "tool", NULL
24275 };
24276
24277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24279 if (!SWIG_IsOK(res1)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24281 }
24282 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24283 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24284 if (!SWIG_IsOK(ecode2)) {
24285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24286 }
24287 arg2 = static_cast< size_t >(val2);
24288 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24289 if (!SWIG_IsOK(res3)) {
24290 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24291 }
24292 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24293 {
24294 PyThreadState* __tstate = wxPyBeginAllowThreads();
24295 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24296 wxPyEndAllowThreads(__tstate);
24297 if (PyErr_Occurred()) SWIG_fail;
24298 }
24299 {
24300 resultobj = wxPyMake_wxObject(result, (bool)0);
24301 }
24302 return resultobj;
24303 fail:
24304 return NULL;
24305 }
24306
24307
24308 SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24309 PyObject *resultobj = 0;
24310 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24311 wxControl *arg2 = (wxControl *) 0 ;
24312 wxString const &arg3_defvalue = wxEmptyString ;
24313 wxString *arg3 = (wxString *) &arg3_defvalue ;
24314 wxToolBarToolBase *result = 0 ;
24315 void *argp1 = 0 ;
24316 int res1 = 0 ;
24317 void *argp2 = 0 ;
24318 int res2 = 0 ;
24319 bool temp3 = false ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 PyObject * obj2 = 0 ;
24323 char * kwnames[] = {
24324 (char *) "self",(char *) "control",(char *) "label", NULL
24325 };
24326
24327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ToolBarBase_AddControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24329 if (!SWIG_IsOK(res1)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24331 }
24332 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24333 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24334 if (!SWIG_IsOK(res2)) {
24335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24336 }
24337 arg2 = reinterpret_cast< wxControl * >(argp2);
24338 if (obj2) {
24339 {
24340 arg3 = wxString_in_helper(obj2);
24341 if (arg3 == NULL) SWIG_fail;
24342 temp3 = true;
24343 }
24344 }
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2,(wxString const &)*arg3);
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
24351 {
24352 resultobj = wxPyMake_wxObject(result, (bool)0);
24353 }
24354 {
24355 if (temp3)
24356 delete arg3;
24357 }
24358 return resultobj;
24359 fail:
24360 {
24361 if (temp3)
24362 delete arg3;
24363 }
24364 return NULL;
24365 }
24366
24367
24368 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj = 0;
24370 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24371 size_t arg2 ;
24372 wxControl *arg3 = (wxControl *) 0 ;
24373 wxString const &arg4_defvalue = wxEmptyString ;
24374 wxString *arg4 = (wxString *) &arg4_defvalue ;
24375 wxToolBarToolBase *result = 0 ;
24376 void *argp1 = 0 ;
24377 int res1 = 0 ;
24378 size_t val2 ;
24379 int ecode2 = 0 ;
24380 void *argp3 = 0 ;
24381 int res3 = 0 ;
24382 bool temp4 = false ;
24383 PyObject * obj0 = 0 ;
24384 PyObject * obj1 = 0 ;
24385 PyObject * obj2 = 0 ;
24386 PyObject * obj3 = 0 ;
24387 char * kwnames[] = {
24388 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24389 };
24390
24391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
24392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24393 if (!SWIG_IsOK(res1)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24395 }
24396 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24397 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24398 if (!SWIG_IsOK(ecode2)) {
24399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24400 }
24401 arg2 = static_cast< size_t >(val2);
24402 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24403 if (!SWIG_IsOK(res3)) {
24404 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24405 }
24406 arg3 = reinterpret_cast< wxControl * >(argp3);
24407 if (obj3) {
24408 {
24409 arg4 = wxString_in_helper(obj3);
24410 if (arg4 == NULL) SWIG_fail;
24411 temp4 = true;
24412 }
24413 }
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
24416 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3,(wxString const &)*arg4);
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 {
24421 resultobj = wxPyMake_wxObject(result, (bool)0);
24422 }
24423 {
24424 if (temp4)
24425 delete arg4;
24426 }
24427 return resultobj;
24428 fail:
24429 {
24430 if (temp4)
24431 delete arg4;
24432 }
24433 return NULL;
24434 }
24435
24436
24437 SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = 0;
24439 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24440 int arg2 ;
24441 wxControl *result = 0 ;
24442 void *argp1 = 0 ;
24443 int res1 = 0 ;
24444 int val2 ;
24445 int ecode2 = 0 ;
24446 PyObject * obj0 = 0 ;
24447 PyObject * obj1 = 0 ;
24448 char * kwnames[] = {
24449 (char *) "self",(char *) "id", NULL
24450 };
24451
24452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24454 if (!SWIG_IsOK(res1)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24456 }
24457 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24458 ecode2 = SWIG_AsVal_int(obj1, &val2);
24459 if (!SWIG_IsOK(ecode2)) {
24460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24461 }
24462 arg2 = static_cast< int >(val2);
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 result = (wxControl *)(arg1)->FindControl(arg2);
24466 wxPyEndAllowThreads(__tstate);
24467 if (PyErr_Occurred()) SWIG_fail;
24468 }
24469 {
24470 resultobj = wxPyMake_wxObject(result, 0);
24471 }
24472 return resultobj;
24473 fail:
24474 return NULL;
24475 }
24476
24477
24478 SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24479 PyObject *resultobj = 0;
24480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24481 wxToolBarToolBase *result = 0 ;
24482 void *argp1 = 0 ;
24483 int res1 = 0 ;
24484 PyObject *swig_obj[1] ;
24485
24486 if (!args) SWIG_fail;
24487 swig_obj[0] = args;
24488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24489 if (!SWIG_IsOK(res1)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24491 }
24492 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 {
24500 resultobj = wxPyMake_wxObject(result, (bool)0);
24501 }
24502 return resultobj;
24503 fail:
24504 return NULL;
24505 }
24506
24507
24508 SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24509 PyObject *resultobj = 0;
24510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24511 size_t arg2 ;
24512 wxToolBarToolBase *result = 0 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 size_t val2 ;
24516 int ecode2 = 0 ;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 char * kwnames[] = {
24520 (char *) "self",(char *) "pos", NULL
24521 };
24522
24523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24527 }
24528 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24529 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24530 if (!SWIG_IsOK(ecode2)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24532 }
24533 arg2 = static_cast< size_t >(val2);
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 {
24541 resultobj = wxPyMake_wxObject(result, (bool)0);
24542 }
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24550 PyObject *resultobj = 0;
24551 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24552 int arg2 ;
24553 wxToolBarToolBase *result = 0 ;
24554 void *argp1 = 0 ;
24555 int res1 = 0 ;
24556 int val2 ;
24557 int ecode2 = 0 ;
24558 PyObject * obj0 = 0 ;
24559 PyObject * obj1 = 0 ;
24560 char * kwnames[] = {
24561 (char *) "self",(char *) "id", NULL
24562 };
24563
24564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24566 if (!SWIG_IsOK(res1)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24568 }
24569 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24570 ecode2 = SWIG_AsVal_int(obj1, &val2);
24571 if (!SWIG_IsOK(ecode2)) {
24572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24573 }
24574 arg2 = static_cast< int >(val2);
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24578 wxPyEndAllowThreads(__tstate);
24579 if (PyErr_Occurred()) SWIG_fail;
24580 }
24581 {
24582 resultobj = wxPyMake_wxObject(result, (bool)0);
24583 }
24584 return resultobj;
24585 fail:
24586 return NULL;
24587 }
24588
24589
24590 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24591 PyObject *resultobj = 0;
24592 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24593 size_t arg2 ;
24594 bool result;
24595 void *argp1 = 0 ;
24596 int res1 = 0 ;
24597 size_t val2 ;
24598 int ecode2 = 0 ;
24599 PyObject * obj0 = 0 ;
24600 PyObject * obj1 = 0 ;
24601 char * kwnames[] = {
24602 (char *) "self",(char *) "pos", NULL
24603 };
24604
24605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24607 if (!SWIG_IsOK(res1)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24609 }
24610 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24611 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24612 if (!SWIG_IsOK(ecode2)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24614 }
24615 arg2 = static_cast< size_t >(val2);
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 result = (bool)(arg1)->DeleteToolByPos(arg2);
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 {
24623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj = 0;
24633 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24634 int arg2 ;
24635 bool result;
24636 void *argp1 = 0 ;
24637 int res1 = 0 ;
24638 int val2 ;
24639 int ecode2 = 0 ;
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
24642 char * kwnames[] = {
24643 (char *) "self",(char *) "id", NULL
24644 };
24645
24646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24648 if (!SWIG_IsOK(res1)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24650 }
24651 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24652 ecode2 = SWIG_AsVal_int(obj1, &val2);
24653 if (!SWIG_IsOK(ecode2)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24655 }
24656 arg2 = static_cast< int >(val2);
24657 {
24658 PyThreadState* __tstate = wxPyBeginAllowThreads();
24659 result = (bool)(arg1)->DeleteTool(arg2);
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 {
24664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24665 }
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24673 PyObject *resultobj = 0;
24674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24675 void *argp1 = 0 ;
24676 int res1 = 0 ;
24677 PyObject *swig_obj[1] ;
24678
24679 if (!args) SWIG_fail;
24680 swig_obj[0] = args;
24681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24682 if (!SWIG_IsOK(res1)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24684 }
24685 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24686 {
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 (arg1)->ClearTools();
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 resultobj = SWIG_Py_Void();
24693 return resultobj;
24694 fail:
24695 return NULL;
24696 }
24697
24698
24699 SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24700 PyObject *resultobj = 0;
24701 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24702 bool result;
24703 void *argp1 = 0 ;
24704 int res1 = 0 ;
24705 PyObject *swig_obj[1] ;
24706
24707 if (!args) SWIG_fail;
24708 swig_obj[0] = args;
24709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24710 if (!SWIG_IsOK(res1)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24712 }
24713 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24714 {
24715 PyThreadState* __tstate = wxPyBeginAllowThreads();
24716 result = (bool)(arg1)->Realize();
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 {
24721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24722 }
24723 return resultobj;
24724 fail:
24725 return NULL;
24726 }
24727
24728
24729 SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24730 PyObject *resultobj = 0;
24731 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24732 int arg2 ;
24733 bool arg3 ;
24734 void *argp1 = 0 ;
24735 int res1 = 0 ;
24736 int val2 ;
24737 int ecode2 = 0 ;
24738 bool val3 ;
24739 int ecode3 = 0 ;
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 PyObject * obj2 = 0 ;
24743 char * kwnames[] = {
24744 (char *) "self",(char *) "id",(char *) "enable", NULL
24745 };
24746
24747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) 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_EnableTool" "', 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_EnableTool" "', expected argument " "2"" of type '" "int""'");
24756 }
24757 arg2 = static_cast< int >(val2);
24758 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24759 if (!SWIG_IsOK(ecode3)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24761 }
24762 arg3 = static_cast< bool >(val3);
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 (arg1)->EnableTool(arg2,arg3);
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 resultobj = SWIG_Py_Void();
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj = 0;
24778 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24779 int arg2 ;
24780 bool arg3 ;
24781 void *argp1 = 0 ;
24782 int res1 = 0 ;
24783 int val2 ;
24784 int ecode2 = 0 ;
24785 bool val3 ;
24786 int ecode3 = 0 ;
24787 PyObject * obj0 = 0 ;
24788 PyObject * obj1 = 0 ;
24789 PyObject * obj2 = 0 ;
24790 char * kwnames[] = {
24791 (char *) "self",(char *) "id",(char *) "toggle", NULL
24792 };
24793
24794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24796 if (!SWIG_IsOK(res1)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24798 }
24799 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24800 ecode2 = SWIG_AsVal_int(obj1, &val2);
24801 if (!SWIG_IsOK(ecode2)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24803 }
24804 arg2 = static_cast< int >(val2);
24805 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24806 if (!SWIG_IsOK(ecode3)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24808 }
24809 arg3 = static_cast< bool >(val3);
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 (arg1)->ToggleTool(arg2,arg3);
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 resultobj = SWIG_Py_Void();
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj = 0;
24825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24826 int arg2 ;
24827 bool arg3 ;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 int val2 ;
24831 int ecode2 = 0 ;
24832 bool val3 ;
24833 int ecode3 = 0 ;
24834 PyObject * obj0 = 0 ;
24835 PyObject * obj1 = 0 ;
24836 PyObject * obj2 = 0 ;
24837 char * kwnames[] = {
24838 (char *) "self",(char *) "id",(char *) "toggle", NULL
24839 };
24840
24841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24843 if (!SWIG_IsOK(res1)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24845 }
24846 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24847 ecode2 = SWIG_AsVal_int(obj1, &val2);
24848 if (!SWIG_IsOK(ecode2)) {
24849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24850 }
24851 arg2 = static_cast< int >(val2);
24852 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24853 if (!SWIG_IsOK(ecode3)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24855 }
24856 arg3 = static_cast< bool >(val3);
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 (arg1)->SetToggle(arg2,arg3);
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 resultobj = SWIG_Py_Void();
24864 return resultobj;
24865 fail:
24866 return NULL;
24867 }
24868
24869
24870 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24871 PyObject *resultobj = 0;
24872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24873 int arg2 ;
24874 PyObject *result = 0 ;
24875 void *argp1 = 0 ;
24876 int res1 = 0 ;
24877 int val2 ;
24878 int ecode2 = 0 ;
24879 PyObject * obj0 = 0 ;
24880 PyObject * obj1 = 0 ;
24881 char * kwnames[] = {
24882 (char *) "self",(char *) "id", NULL
24883 };
24884
24885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24887 if (!SWIG_IsOK(res1)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24889 }
24890 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24891 ecode2 = SWIG_AsVal_int(obj1, &val2);
24892 if (!SWIG_IsOK(ecode2)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24894 }
24895 arg2 = static_cast< int >(val2);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 resultobj = result;
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj = 0;
24911 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24912 int arg2 ;
24913 PyObject *arg3 = (PyObject *) 0 ;
24914 void *argp1 = 0 ;
24915 int res1 = 0 ;
24916 int val2 ;
24917 int ecode2 = 0 ;
24918 PyObject * obj0 = 0 ;
24919 PyObject * obj1 = 0 ;
24920 PyObject * obj2 = 0 ;
24921 char * kwnames[] = {
24922 (char *) "self",(char *) "id",(char *) "clientData", NULL
24923 };
24924
24925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24927 if (!SWIG_IsOK(res1)) {
24928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24929 }
24930 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24931 ecode2 = SWIG_AsVal_int(obj1, &val2);
24932 if (!SWIG_IsOK(ecode2)) {
24933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24934 }
24935 arg2 = static_cast< int >(val2);
24936 arg3 = obj2;
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = SWIG_Py_Void();
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj = 0;
24952 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24953 int arg2 ;
24954 int result;
24955 void *argp1 = 0 ;
24956 int res1 = 0 ;
24957 int val2 ;
24958 int ecode2 = 0 ;
24959 PyObject * obj0 = 0 ;
24960 PyObject * obj1 = 0 ;
24961 char * kwnames[] = {
24962 (char *) "self",(char *) "id", NULL
24963 };
24964
24965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24969 }
24970 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24971 ecode2 = SWIG_AsVal_int(obj1, &val2);
24972 if (!SWIG_IsOK(ecode2)) {
24973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24974 }
24975 arg2 = static_cast< int >(val2);
24976 {
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 resultobj = SWIG_From_int(static_cast< int >(result));
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj = 0;
24991 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24992 int arg2 ;
24993 bool result;
24994 void *argp1 = 0 ;
24995 int res1 = 0 ;
24996 int val2 ;
24997 int ecode2 = 0 ;
24998 PyObject * obj0 = 0 ;
24999 PyObject * obj1 = 0 ;
25000 char * kwnames[] = {
25001 (char *) "self",(char *) "id", NULL
25002 };
25003
25004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
25005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25006 if (!SWIG_IsOK(res1)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25008 }
25009 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25010 ecode2 = SWIG_AsVal_int(obj1, &val2);
25011 if (!SWIG_IsOK(ecode2)) {
25012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25013 }
25014 arg2 = static_cast< int >(val2);
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = (bool)(arg1)->GetToolState(arg2);
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 {
25022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25023 }
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj = 0;
25032 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25033 int arg2 ;
25034 bool result;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 int val2 ;
25038 int ecode2 = 0 ;
25039 PyObject * obj0 = 0 ;
25040 PyObject * obj1 = 0 ;
25041 char * kwnames[] = {
25042 (char *) "self",(char *) "id", NULL
25043 };
25044
25045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
25046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25047 if (!SWIG_IsOK(res1)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25049 }
25050 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25051 ecode2 = SWIG_AsVal_int(obj1, &val2);
25052 if (!SWIG_IsOK(ecode2)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25054 }
25055 arg2 = static_cast< int >(val2);
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = (bool)(arg1)->GetToolEnabled(arg2);
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25064 }
25065 return resultobj;
25066 fail:
25067 return NULL;
25068 }
25069
25070
25071 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25072 PyObject *resultobj = 0;
25073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25074 int arg2 ;
25075 wxString *arg3 = 0 ;
25076 void *argp1 = 0 ;
25077 int res1 = 0 ;
25078 int val2 ;
25079 int ecode2 = 0 ;
25080 bool temp3 = false ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 PyObject * obj2 = 0 ;
25084 char * kwnames[] = {
25085 (char *) "self",(char *) "id",(char *) "helpString", NULL
25086 };
25087
25088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25090 if (!SWIG_IsOK(res1)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25092 }
25093 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25094 ecode2 = SWIG_AsVal_int(obj1, &val2);
25095 if (!SWIG_IsOK(ecode2)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25097 }
25098 arg2 = static_cast< int >(val2);
25099 {
25100 arg3 = wxString_in_helper(obj2);
25101 if (arg3 == NULL) SWIG_fail;
25102 temp3 = true;
25103 }
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25107 wxPyEndAllowThreads(__tstate);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 }
25110 resultobj = SWIG_Py_Void();
25111 {
25112 if (temp3)
25113 delete arg3;
25114 }
25115 return resultobj;
25116 fail:
25117 {
25118 if (temp3)
25119 delete arg3;
25120 }
25121 return NULL;
25122 }
25123
25124
25125 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj = 0;
25127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25128 int arg2 ;
25129 wxString result;
25130 void *argp1 = 0 ;
25131 int res1 = 0 ;
25132 int val2 ;
25133 int ecode2 = 0 ;
25134 PyObject * obj0 = 0 ;
25135 PyObject * obj1 = 0 ;
25136 char * kwnames[] = {
25137 (char *) "self",(char *) "id", NULL
25138 };
25139
25140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25142 if (!SWIG_IsOK(res1)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25144 }
25145 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25146 ecode2 = SWIG_AsVal_int(obj1, &val2);
25147 if (!SWIG_IsOK(ecode2)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25149 }
25150 arg2 = static_cast< int >(val2);
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = (arg1)->GetToolShortHelp(arg2);
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 {
25158 #if wxUSE_UNICODE
25159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25160 #else
25161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25162 #endif
25163 }
25164 return resultobj;
25165 fail:
25166 return NULL;
25167 }
25168
25169
25170 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25171 PyObject *resultobj = 0;
25172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25173 int arg2 ;
25174 wxString *arg3 = 0 ;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 int val2 ;
25178 int ecode2 = 0 ;
25179 bool temp3 = false ;
25180 PyObject * obj0 = 0 ;
25181 PyObject * obj1 = 0 ;
25182 PyObject * obj2 = 0 ;
25183 char * kwnames[] = {
25184 (char *) "self",(char *) "id",(char *) "helpString", NULL
25185 };
25186
25187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25189 if (!SWIG_IsOK(res1)) {
25190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25191 }
25192 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25193 ecode2 = SWIG_AsVal_int(obj1, &val2);
25194 if (!SWIG_IsOK(ecode2)) {
25195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25196 }
25197 arg2 = static_cast< int >(val2);
25198 {
25199 arg3 = wxString_in_helper(obj2);
25200 if (arg3 == NULL) SWIG_fail;
25201 temp3 = true;
25202 }
25203 {
25204 PyThreadState* __tstate = wxPyBeginAllowThreads();
25205 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 resultobj = SWIG_Py_Void();
25210 {
25211 if (temp3)
25212 delete arg3;
25213 }
25214 return resultobj;
25215 fail:
25216 {
25217 if (temp3)
25218 delete arg3;
25219 }
25220 return NULL;
25221 }
25222
25223
25224 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25225 PyObject *resultobj = 0;
25226 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25227 int arg2 ;
25228 wxString result;
25229 void *argp1 = 0 ;
25230 int res1 = 0 ;
25231 int val2 ;
25232 int ecode2 = 0 ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 char * kwnames[] = {
25236 (char *) "self",(char *) "id", NULL
25237 };
25238
25239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25241 if (!SWIG_IsOK(res1)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25243 }
25244 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25245 ecode2 = SWIG_AsVal_int(obj1, &val2);
25246 if (!SWIG_IsOK(ecode2)) {
25247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25248 }
25249 arg2 = static_cast< int >(val2);
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 result = (arg1)->GetToolLongHelp(arg2);
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 {
25257 #if wxUSE_UNICODE
25258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25259 #else
25260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25261 #endif
25262 }
25263 return resultobj;
25264 fail:
25265 return NULL;
25266 }
25267
25268
25269 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25270 PyObject *resultobj = 0;
25271 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25272 int arg2 ;
25273 int arg3 ;
25274 void *argp1 = 0 ;
25275 int res1 = 0 ;
25276 int val2 ;
25277 int ecode2 = 0 ;
25278 int val3 ;
25279 int ecode3 = 0 ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 PyObject * obj2 = 0 ;
25283 char * kwnames[] = {
25284 (char *) "self",(char *) "x",(char *) "y", NULL
25285 };
25286
25287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25289 if (!SWIG_IsOK(res1)) {
25290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25291 }
25292 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25293 ecode2 = SWIG_AsVal_int(obj1, &val2);
25294 if (!SWIG_IsOK(ecode2)) {
25295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25296 }
25297 arg2 = static_cast< int >(val2);
25298 ecode3 = SWIG_AsVal_int(obj2, &val3);
25299 if (!SWIG_IsOK(ecode3)) {
25300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25301 }
25302 arg3 = static_cast< int >(val3);
25303 {
25304 PyThreadState* __tstate = wxPyBeginAllowThreads();
25305 (arg1)->SetMargins(arg2,arg3);
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 resultobj = SWIG_Py_Void();
25310 return resultobj;
25311 fail:
25312 return NULL;
25313 }
25314
25315
25316 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj = 0;
25318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25319 wxSize *arg2 = 0 ;
25320 void *argp1 = 0 ;
25321 int res1 = 0 ;
25322 wxSize temp2 ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char * kwnames[] = {
25326 (char *) "self",(char *) "size", NULL
25327 };
25328
25329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25331 if (!SWIG_IsOK(res1)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25333 }
25334 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25335 {
25336 arg2 = &temp2;
25337 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25338 }
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->SetMargins((wxSize const &)*arg2);
25342 wxPyEndAllowThreads(__tstate);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 }
25345 resultobj = SWIG_Py_Void();
25346 return resultobj;
25347 fail:
25348 return NULL;
25349 }
25350
25351
25352 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25353 PyObject *resultobj = 0;
25354 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25355 int arg2 ;
25356 void *argp1 = 0 ;
25357 int res1 = 0 ;
25358 int val2 ;
25359 int ecode2 = 0 ;
25360 PyObject * obj0 = 0 ;
25361 PyObject * obj1 = 0 ;
25362 char * kwnames[] = {
25363 (char *) "self",(char *) "packing", NULL
25364 };
25365
25366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25368 if (!SWIG_IsOK(res1)) {
25369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25370 }
25371 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25372 ecode2 = SWIG_AsVal_int(obj1, &val2);
25373 if (!SWIG_IsOK(ecode2)) {
25374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25375 }
25376 arg2 = static_cast< int >(val2);
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 (arg1)->SetToolPacking(arg2);
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_Py_Void();
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25391 PyObject *resultobj = 0;
25392 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25393 int arg2 ;
25394 void *argp1 = 0 ;
25395 int res1 = 0 ;
25396 int val2 ;
25397 int ecode2 = 0 ;
25398 PyObject * obj0 = 0 ;
25399 PyObject * obj1 = 0 ;
25400 char * kwnames[] = {
25401 (char *) "self",(char *) "separation", NULL
25402 };
25403
25404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25406 if (!SWIG_IsOK(res1)) {
25407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25408 }
25409 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25410 ecode2 = SWIG_AsVal_int(obj1, &val2);
25411 if (!SWIG_IsOK(ecode2)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25413 }
25414 arg2 = static_cast< int >(val2);
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 (arg1)->SetToolSeparation(arg2);
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 resultobj = SWIG_Py_Void();
25422 return resultobj;
25423 fail:
25424 return NULL;
25425 }
25426
25427
25428 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25429 PyObject *resultobj = 0;
25430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25431 wxSize result;
25432 void *argp1 = 0 ;
25433 int res1 = 0 ;
25434 PyObject *swig_obj[1] ;
25435
25436 if (!args) SWIG_fail;
25437 swig_obj[0] = args;
25438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25439 if (!SWIG_IsOK(res1)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25441 }
25442 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25443 {
25444 PyThreadState* __tstate = wxPyBeginAllowThreads();
25445 result = (arg1)->GetToolMargins();
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
25449 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25450 return resultobj;
25451 fail:
25452 return NULL;
25453 }
25454
25455
25456 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25457 PyObject *resultobj = 0;
25458 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25459 wxSize result;
25460 void *argp1 = 0 ;
25461 int res1 = 0 ;
25462 PyObject *swig_obj[1] ;
25463
25464 if (!args) SWIG_fail;
25465 swig_obj[0] = args;
25466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25467 if (!SWIG_IsOK(res1)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25469 }
25470 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25471 {
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 result = (arg1)->GetMargins();
25474 wxPyEndAllowThreads(__tstate);
25475 if (PyErr_Occurred()) SWIG_fail;
25476 }
25477 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25478 return resultobj;
25479 fail:
25480 return NULL;
25481 }
25482
25483
25484 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25485 PyObject *resultobj = 0;
25486 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25487 int result;
25488 void *argp1 = 0 ;
25489 int res1 = 0 ;
25490 PyObject *swig_obj[1] ;
25491
25492 if (!args) SWIG_fail;
25493 swig_obj[0] = args;
25494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25495 if (!SWIG_IsOK(res1)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25497 }
25498 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25499 {
25500 PyThreadState* __tstate = wxPyBeginAllowThreads();
25501 result = (int)(arg1)->GetToolPacking();
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 resultobj = SWIG_From_int(static_cast< int >(result));
25506 return resultobj;
25507 fail:
25508 return NULL;
25509 }
25510
25511
25512 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25513 PyObject *resultobj = 0;
25514 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25515 int result;
25516 void *argp1 = 0 ;
25517 int res1 = 0 ;
25518 PyObject *swig_obj[1] ;
25519
25520 if (!args) SWIG_fail;
25521 swig_obj[0] = args;
25522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25523 if (!SWIG_IsOK(res1)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25525 }
25526 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 result = (int)(arg1)->GetToolSeparation();
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 resultobj = SWIG_From_int(static_cast< int >(result));
25534 return resultobj;
25535 fail:
25536 return NULL;
25537 }
25538
25539
25540 SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25541 PyObject *resultobj = 0;
25542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25543 int arg2 ;
25544 void *argp1 = 0 ;
25545 int res1 = 0 ;
25546 int val2 ;
25547 int ecode2 = 0 ;
25548 PyObject * obj0 = 0 ;
25549 PyObject * obj1 = 0 ;
25550 char * kwnames[] = {
25551 (char *) "self",(char *) "nRows", NULL
25552 };
25553
25554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25556 if (!SWIG_IsOK(res1)) {
25557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25558 }
25559 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25560 ecode2 = SWIG_AsVal_int(obj1, &val2);
25561 if (!SWIG_IsOK(ecode2)) {
25562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25563 }
25564 arg2 = static_cast< int >(val2);
25565 {
25566 PyThreadState* __tstate = wxPyBeginAllowThreads();
25567 (arg1)->SetRows(arg2);
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
25571 resultobj = SWIG_Py_Void();
25572 return resultobj;
25573 fail:
25574 return NULL;
25575 }
25576
25577
25578 SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj = 0;
25580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25581 int arg2 ;
25582 int arg3 ;
25583 void *argp1 = 0 ;
25584 int res1 = 0 ;
25585 int val2 ;
25586 int ecode2 = 0 ;
25587 int val3 ;
25588 int ecode3 = 0 ;
25589 PyObject * obj0 = 0 ;
25590 PyObject * obj1 = 0 ;
25591 PyObject * obj2 = 0 ;
25592 char * kwnames[] = {
25593 (char *) "self",(char *) "rows",(char *) "cols", NULL
25594 };
25595
25596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25600 }
25601 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25602 ecode2 = SWIG_AsVal_int(obj1, &val2);
25603 if (!SWIG_IsOK(ecode2)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25605 }
25606 arg2 = static_cast< int >(val2);
25607 ecode3 = SWIG_AsVal_int(obj2, &val3);
25608 if (!SWIG_IsOK(ecode3)) {
25609 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25610 }
25611 arg3 = static_cast< int >(val3);
25612 {
25613 PyThreadState* __tstate = wxPyBeginAllowThreads();
25614 (arg1)->SetMaxRowsCols(arg2,arg3);
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_Py_Void();
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25626 PyObject *resultobj = 0;
25627 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25628 int result;
25629 void *argp1 = 0 ;
25630 int res1 = 0 ;
25631 PyObject *swig_obj[1] ;
25632
25633 if (!args) SWIG_fail;
25634 swig_obj[0] = args;
25635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25636 if (!SWIG_IsOK(res1)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25638 }
25639 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25640 {
25641 PyThreadState* __tstate = wxPyBeginAllowThreads();
25642 result = (int)(arg1)->GetMaxRows();
25643 wxPyEndAllowThreads(__tstate);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 resultobj = SWIG_From_int(static_cast< int >(result));
25647 return resultobj;
25648 fail:
25649 return NULL;
25650 }
25651
25652
25653 SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25654 PyObject *resultobj = 0;
25655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25656 int result;
25657 void *argp1 = 0 ;
25658 int res1 = 0 ;
25659 PyObject *swig_obj[1] ;
25660
25661 if (!args) SWIG_fail;
25662 swig_obj[0] = args;
25663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25666 }
25667 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25668 {
25669 PyThreadState* __tstate = wxPyBeginAllowThreads();
25670 result = (int)(arg1)->GetMaxCols();
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 resultobj = SWIG_From_int(static_cast< int >(result));
25675 return resultobj;
25676 fail:
25677 return NULL;
25678 }
25679
25680
25681 SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj = 0;
25683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25684 wxSize *arg2 = 0 ;
25685 void *argp1 = 0 ;
25686 int res1 = 0 ;
25687 wxSize temp2 ;
25688 PyObject * obj0 = 0 ;
25689 PyObject * obj1 = 0 ;
25690 char * kwnames[] = {
25691 (char *) "self",(char *) "size", NULL
25692 };
25693
25694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25696 if (!SWIG_IsOK(res1)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25698 }
25699 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25700 {
25701 arg2 = &temp2;
25702 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25703 }
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
25710 resultobj = SWIG_Py_Void();
25711 return resultobj;
25712 fail:
25713 return NULL;
25714 }
25715
25716
25717 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25718 PyObject *resultobj = 0;
25719 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25720 wxSize result;
25721 void *argp1 = 0 ;
25722 int res1 = 0 ;
25723 PyObject *swig_obj[1] ;
25724
25725 if (!args) SWIG_fail;
25726 swig_obj[0] = args;
25727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25728 if (!SWIG_IsOK(res1)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25730 }
25731 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 result = (arg1)->GetToolBitmapSize();
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25739 return resultobj;
25740 fail:
25741 return NULL;
25742 }
25743
25744
25745 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25746 PyObject *resultobj = 0;
25747 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25748 wxSize result;
25749 void *argp1 = 0 ;
25750 int res1 = 0 ;
25751 PyObject *swig_obj[1] ;
25752
25753 if (!args) SWIG_fail;
25754 swig_obj[0] = args;
25755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25756 if (!SWIG_IsOK(res1)) {
25757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25758 }
25759 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25760 {
25761 PyThreadState* __tstate = wxPyBeginAllowThreads();
25762 result = (arg1)->GetToolSize();
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj = 0;
25775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25776 int arg2 ;
25777 int arg3 ;
25778 wxToolBarToolBase *result = 0 ;
25779 void *argp1 = 0 ;
25780 int res1 = 0 ;
25781 int val2 ;
25782 int ecode2 = 0 ;
25783 int val3 ;
25784 int ecode3 = 0 ;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788 char * kwnames[] = {
25789 (char *) "self",(char *) "x",(char *) "y", NULL
25790 };
25791
25792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25794 if (!SWIG_IsOK(res1)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25796 }
25797 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25798 ecode2 = SWIG_AsVal_int(obj1, &val2);
25799 if (!SWIG_IsOK(ecode2)) {
25800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25801 }
25802 arg2 = static_cast< int >(val2);
25803 ecode3 = SWIG_AsVal_int(obj2, &val3);
25804 if (!SWIG_IsOK(ecode3)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25806 }
25807 arg3 = static_cast< int >(val3);
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 {
25815 resultobj = wxPyMake_wxObject(result, (bool)0);
25816 }
25817 return resultobj;
25818 fail:
25819 return NULL;
25820 }
25821
25822
25823 SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25824 PyObject *resultobj = 0;
25825 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25826 int arg2 ;
25827 wxToolBarToolBase *result = 0 ;
25828 void *argp1 = 0 ;
25829 int res1 = 0 ;
25830 int val2 ;
25831 int ecode2 = 0 ;
25832 PyObject * obj0 = 0 ;
25833 PyObject * obj1 = 0 ;
25834 char * kwnames[] = {
25835 (char *) "self",(char *) "toolid", NULL
25836 };
25837
25838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25840 if (!SWIG_IsOK(res1)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25842 }
25843 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25844 ecode2 = SWIG_AsVal_int(obj1, &val2);
25845 if (!SWIG_IsOK(ecode2)) {
25846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25847 }
25848 arg2 = static_cast< int >(val2);
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 {
25856 resultobj = wxPyMake_wxObject(result, (bool)0);
25857 }
25858 return resultobj;
25859 fail:
25860 return NULL;
25861 }
25862
25863
25864 SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25865 PyObject *resultobj = 0;
25866 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25867 bool result;
25868 void *argp1 = 0 ;
25869 int res1 = 0 ;
25870 PyObject *swig_obj[1] ;
25871
25872 if (!args) SWIG_fail;
25873 swig_obj[0] = args;
25874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25875 if (!SWIG_IsOK(res1)) {
25876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25877 }
25878 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25879 {
25880 PyThreadState* __tstate = wxPyBeginAllowThreads();
25881 result = (bool)(arg1)->IsVertical();
25882 wxPyEndAllowThreads(__tstate);
25883 if (PyErr_Occurred()) SWIG_fail;
25884 }
25885 {
25886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25887 }
25888 return resultobj;
25889 fail:
25890 return NULL;
25891 }
25892
25893
25894 SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25895 PyObject *resultobj = 0;
25896 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25897 size_t result;
25898 void *argp1 = 0 ;
25899 int res1 = 0 ;
25900 PyObject *swig_obj[1] ;
25901
25902 if (!args) SWIG_fail;
25903 swig_obj[0] = args;
25904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25905 if (!SWIG_IsOK(res1)) {
25906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25907 }
25908 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25912 wxPyEndAllowThreads(__tstate);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25916 return resultobj;
25917 fail:
25918 return NULL;
25919 }
25920
25921
25922 SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25923 PyObject *obj;
25924 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25925 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25926 return SWIG_Py_Void();
25927 }
25928
25929 SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj = 0;
25931 wxWindow *arg1 = (wxWindow *) 0 ;
25932 int arg2 = (int) -1 ;
25933 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25934 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25935 wxSize const &arg4_defvalue = wxDefaultSize ;
25936 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25937 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25938 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25939 wxString *arg6 = (wxString *) &arg6_defvalue ;
25940 wxToolBar *result = 0 ;
25941 void *argp1 = 0 ;
25942 int res1 = 0 ;
25943 int val2 ;
25944 int ecode2 = 0 ;
25945 wxPoint temp3 ;
25946 wxSize temp4 ;
25947 long val5 ;
25948 int ecode5 = 0 ;
25949 bool temp6 = false ;
25950 PyObject * obj0 = 0 ;
25951 PyObject * obj1 = 0 ;
25952 PyObject * obj2 = 0 ;
25953 PyObject * obj3 = 0 ;
25954 PyObject * obj4 = 0 ;
25955 PyObject * obj5 = 0 ;
25956 char * kwnames[] = {
25957 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25958 };
25959
25960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25962 if (!SWIG_IsOK(res1)) {
25963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25964 }
25965 arg1 = reinterpret_cast< wxWindow * >(argp1);
25966 if (obj1) {
25967 ecode2 = SWIG_AsVal_int(obj1, &val2);
25968 if (!SWIG_IsOK(ecode2)) {
25969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25970 }
25971 arg2 = static_cast< int >(val2);
25972 }
25973 if (obj2) {
25974 {
25975 arg3 = &temp3;
25976 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25977 }
25978 }
25979 if (obj3) {
25980 {
25981 arg4 = &temp4;
25982 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25983 }
25984 }
25985 if (obj4) {
25986 ecode5 = SWIG_AsVal_long(obj4, &val5);
25987 if (!SWIG_IsOK(ecode5)) {
25988 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25989 }
25990 arg5 = static_cast< long >(val5);
25991 }
25992 if (obj5) {
25993 {
25994 arg6 = wxString_in_helper(obj5);
25995 if (arg6 == NULL) SWIG_fail;
25996 temp6 = true;
25997 }
25998 }
25999 {
26000 if (!wxPyCheckForApp()) SWIG_fail;
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
26007 {
26008 if (temp6)
26009 delete arg6;
26010 }
26011 return resultobj;
26012 fail:
26013 {
26014 if (temp6)
26015 delete arg6;
26016 }
26017 return NULL;
26018 }
26019
26020
26021 SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxToolBar *result = 0 ;
26024
26025 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
26026 {
26027 if (!wxPyCheckForApp()) SWIG_fail;
26028 PyThreadState* __tstate = wxPyBeginAllowThreads();
26029 result = (wxToolBar *)new wxToolBar();
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj = 0;
26042 wxToolBar *arg1 = (wxToolBar *) 0 ;
26043 wxWindow *arg2 = (wxWindow *) 0 ;
26044 int arg3 = (int) -1 ;
26045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26047 wxSize const &arg5_defvalue = wxDefaultSize ;
26048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26049 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
26050 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
26051 wxString *arg7 = (wxString *) &arg7_defvalue ;
26052 bool result;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 void *argp2 = 0 ;
26056 int res2 = 0 ;
26057 int val3 ;
26058 int ecode3 = 0 ;
26059 wxPoint temp4 ;
26060 wxSize temp5 ;
26061 long val6 ;
26062 int ecode6 = 0 ;
26063 bool temp7 = false ;
26064 PyObject * obj0 = 0 ;
26065 PyObject * obj1 = 0 ;
26066 PyObject * obj2 = 0 ;
26067 PyObject * obj3 = 0 ;
26068 PyObject * obj4 = 0 ;
26069 PyObject * obj5 = 0 ;
26070 PyObject * obj6 = 0 ;
26071 char * kwnames[] = {
26072 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26073 };
26074
26075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
26076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26077 if (!SWIG_IsOK(res1)) {
26078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26079 }
26080 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26082 if (!SWIG_IsOK(res2)) {
26083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26084 }
26085 arg2 = reinterpret_cast< wxWindow * >(argp2);
26086 if (obj2) {
26087 ecode3 = SWIG_AsVal_int(obj2, &val3);
26088 if (!SWIG_IsOK(ecode3)) {
26089 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26090 }
26091 arg3 = static_cast< int >(val3);
26092 }
26093 if (obj3) {
26094 {
26095 arg4 = &temp4;
26096 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26097 }
26098 }
26099 if (obj4) {
26100 {
26101 arg5 = &temp5;
26102 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26103 }
26104 }
26105 if (obj5) {
26106 ecode6 = SWIG_AsVal_long(obj5, &val6);
26107 if (!SWIG_IsOK(ecode6)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26109 }
26110 arg6 = static_cast< long >(val6);
26111 }
26112 if (obj6) {
26113 {
26114 arg7 = wxString_in_helper(obj6);
26115 if (arg7 == NULL) SWIG_fail;
26116 temp7 = true;
26117 }
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 {
26126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26127 }
26128 {
26129 if (temp7)
26130 delete arg7;
26131 }
26132 return resultobj;
26133 fail:
26134 {
26135 if (temp7)
26136 delete arg7;
26137 }
26138 return NULL;
26139 }
26140
26141
26142 SWIGINTERN PyObject *_wrap_ToolBar_SetToolNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26143 PyObject *resultobj = 0;
26144 wxToolBar *arg1 = (wxToolBar *) 0 ;
26145 int arg2 ;
26146 wxBitmap *arg3 = 0 ;
26147 void *argp1 = 0 ;
26148 int res1 = 0 ;
26149 int val2 ;
26150 int ecode2 = 0 ;
26151 void *argp3 = 0 ;
26152 int res3 = 0 ;
26153 PyObject * obj0 = 0 ;
26154 PyObject * obj1 = 0 ;
26155 PyObject * obj2 = 0 ;
26156 char * kwnames[] = {
26157 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26158 };
26159
26160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26162 if (!SWIG_IsOK(res1)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26164 }
26165 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26166 ecode2 = SWIG_AsVal_int(obj1, &val2);
26167 if (!SWIG_IsOK(ecode2)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26169 }
26170 arg2 = static_cast< int >(val2);
26171 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
26172 if (!SWIG_IsOK(res3)) {
26173 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26174 }
26175 if (!argp3) {
26176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26177 }
26178 arg3 = reinterpret_cast< wxBitmap * >(argp3);
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 (arg1)->SetToolNormalBitmap(arg2,(wxBitmap const &)*arg3);
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 resultobj = SWIG_Py_Void();
26186 return resultobj;
26187 fail:
26188 return NULL;
26189 }
26190
26191
26192 SWIGINTERN PyObject *_wrap_ToolBar_SetToolDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26193 PyObject *resultobj = 0;
26194 wxToolBar *arg1 = (wxToolBar *) 0 ;
26195 int arg2 ;
26196 wxBitmap *arg3 = 0 ;
26197 void *argp1 = 0 ;
26198 int res1 = 0 ;
26199 int val2 ;
26200 int ecode2 = 0 ;
26201 void *argp3 = 0 ;
26202 int res3 = 0 ;
26203 PyObject * obj0 = 0 ;
26204 PyObject * obj1 = 0 ;
26205 PyObject * obj2 = 0 ;
26206 char * kwnames[] = {
26207 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26208 };
26209
26210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
26212 if (!SWIG_IsOK(res1)) {
26213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26214 }
26215 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26216 ecode2 = SWIG_AsVal_int(obj1, &val2);
26217 if (!SWIG_IsOK(ecode2)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26219 }
26220 arg2 = static_cast< int >(val2);
26221 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
26222 if (!SWIG_IsOK(res3)) {
26223 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26224 }
26225 if (!argp3) {
26226 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26227 }
26228 arg3 = reinterpret_cast< wxBitmap * >(argp3);
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 (arg1)->SetToolDisabledBitmap(arg2,(wxBitmap const &)*arg3);
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 resultobj = SWIG_Py_Void();
26236 return resultobj;
26237 fail:
26238 return NULL;
26239 }
26240
26241
26242 SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26243 PyObject *resultobj = 0;
26244 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26245 SwigValueWrapper<wxVisualAttributes > result;
26246 int val1 ;
26247 int ecode1 = 0 ;
26248 PyObject * obj0 = 0 ;
26249 char * kwnames[] = {
26250 (char *) "variant", NULL
26251 };
26252
26253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26254 if (obj0) {
26255 ecode1 = SWIG_AsVal_int(obj0, &val1);
26256 if (!SWIG_IsOK(ecode1)) {
26257 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26258 }
26259 arg1 = static_cast< wxWindowVariant >(val1);
26260 }
26261 {
26262 if (!wxPyCheckForApp()) SWIG_fail;
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 result = wxToolBar::GetClassDefaultAttributes(arg1);
26265 wxPyEndAllowThreads(__tstate);
26266 if (PyErr_Occurred()) SWIG_fail;
26267 }
26268 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26269 return resultobj;
26270 fail:
26271 return NULL;
26272 }
26273
26274
26275 SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26276 PyObject *obj;
26277 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26278 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26279 return SWIG_Py_Void();
26280 }
26281
26282 SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26283 return SWIG_Python_InitShadowInstance(args);
26284 }
26285
26286 SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26287 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26288 return 1;
26289 }
26290
26291
26292 SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26293 PyObject *pyobj = 0;
26294
26295 {
26296 #if wxUSE_UNICODE
26297 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26298 #else
26299 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26300 #endif
26301 }
26302 return pyobj;
26303 }
26304
26305
26306 SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj = 0;
26308 wxColour const &arg1_defvalue = wxNullColour ;
26309 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26310 wxColour const &arg2_defvalue = wxNullColour ;
26311 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26312 wxFont const &arg3_defvalue = wxNullFont ;
26313 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26314 wxListItemAttr *result = 0 ;
26315 wxColour temp1 ;
26316 wxColour temp2 ;
26317 void *argp3 = 0 ;
26318 int res3 = 0 ;
26319 PyObject * obj0 = 0 ;
26320 PyObject * obj1 = 0 ;
26321 PyObject * obj2 = 0 ;
26322 char * kwnames[] = {
26323 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26324 };
26325
26326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26327 if (obj0) {
26328 {
26329 arg1 = &temp1;
26330 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
26331 }
26332 }
26333 if (obj1) {
26334 {
26335 arg2 = &temp2;
26336 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26337 }
26338 }
26339 if (obj2) {
26340 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26341 if (!SWIG_IsOK(res3)) {
26342 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26343 }
26344 if (!argp3) {
26345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26346 }
26347 arg3 = reinterpret_cast< wxFont * >(argp3);
26348 }
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26363 PyObject *resultobj = 0;
26364 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26365 void *argp1 = 0 ;
26366 int res1 = 0 ;
26367 PyObject *swig_obj[1] ;
26368
26369 if (!args) SWIG_fail;
26370 swig_obj[0] = args;
26371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26372 if (!SWIG_IsOK(res1)) {
26373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26374 }
26375 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 delete arg1;
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 resultobj = SWIG_Py_Void();
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj = 0;
26392 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26393 wxColour *arg2 = 0 ;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 wxColour temp2 ;
26397 PyObject * obj0 = 0 ;
26398 PyObject * obj1 = 0 ;
26399 char * kwnames[] = {
26400 (char *) "self",(char *) "colText", NULL
26401 };
26402
26403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26405 if (!SWIG_IsOK(res1)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26407 }
26408 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26409 {
26410 arg2 = &temp2;
26411 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26412 }
26413 {
26414 PyThreadState* __tstate = wxPyBeginAllowThreads();
26415 (arg1)->SetTextColour((wxColour const &)*arg2);
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 resultobj = SWIG_Py_Void();
26420 return resultobj;
26421 fail:
26422 return NULL;
26423 }
26424
26425
26426 SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26427 PyObject *resultobj = 0;
26428 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26429 wxColour *arg2 = 0 ;
26430 void *argp1 = 0 ;
26431 int res1 = 0 ;
26432 wxColour temp2 ;
26433 PyObject * obj0 = 0 ;
26434 PyObject * obj1 = 0 ;
26435 char * kwnames[] = {
26436 (char *) "self",(char *) "colBack", NULL
26437 };
26438
26439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26441 if (!SWIG_IsOK(res1)) {
26442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26443 }
26444 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26445 {
26446 arg2 = &temp2;
26447 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26448 }
26449 {
26450 PyThreadState* __tstate = wxPyBeginAllowThreads();
26451 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 resultobj = SWIG_Py_Void();
26456 return resultobj;
26457 fail:
26458 return NULL;
26459 }
26460
26461
26462 SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26463 PyObject *resultobj = 0;
26464 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26465 wxFont *arg2 = 0 ;
26466 void *argp1 = 0 ;
26467 int res1 = 0 ;
26468 void *argp2 = 0 ;
26469 int res2 = 0 ;
26470 PyObject * obj0 = 0 ;
26471 PyObject * obj1 = 0 ;
26472 char * kwnames[] = {
26473 (char *) "self",(char *) "font", NULL
26474 };
26475
26476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26478 if (!SWIG_IsOK(res1)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26480 }
26481 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26482 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26483 if (!SWIG_IsOK(res2)) {
26484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26485 }
26486 if (!argp2) {
26487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26488 }
26489 arg2 = reinterpret_cast< wxFont * >(argp2);
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 (arg1)->SetFont((wxFont const &)*arg2);
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
26496 resultobj = SWIG_Py_Void();
26497 return resultobj;
26498 fail:
26499 return NULL;
26500 }
26501
26502
26503 SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26504 PyObject *resultobj = 0;
26505 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26506 bool result;
26507 void *argp1 = 0 ;
26508 int res1 = 0 ;
26509 PyObject *swig_obj[1] ;
26510
26511 if (!args) SWIG_fail;
26512 swig_obj[0] = args;
26513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26514 if (!SWIG_IsOK(res1)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26516 }
26517 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
26520 result = (bool)(arg1)->HasTextColour();
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 {
26525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26526 }
26527 return resultobj;
26528 fail:
26529 return NULL;
26530 }
26531
26532
26533 SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26534 PyObject *resultobj = 0;
26535 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26536 bool result;
26537 void *argp1 = 0 ;
26538 int res1 = 0 ;
26539 PyObject *swig_obj[1] ;
26540
26541 if (!args) SWIG_fail;
26542 swig_obj[0] = args;
26543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26544 if (!SWIG_IsOK(res1)) {
26545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26546 }
26547 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26548 {
26549 PyThreadState* __tstate = wxPyBeginAllowThreads();
26550 result = (bool)(arg1)->HasBackgroundColour();
26551 wxPyEndAllowThreads(__tstate);
26552 if (PyErr_Occurred()) SWIG_fail;
26553 }
26554 {
26555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26556 }
26557 return resultobj;
26558 fail:
26559 return NULL;
26560 }
26561
26562
26563 SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26564 PyObject *resultobj = 0;
26565 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26566 bool result;
26567 void *argp1 = 0 ;
26568 int res1 = 0 ;
26569 PyObject *swig_obj[1] ;
26570
26571 if (!args) SWIG_fail;
26572 swig_obj[0] = args;
26573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26574 if (!SWIG_IsOK(res1)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26576 }
26577 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26578 {
26579 PyThreadState* __tstate = wxPyBeginAllowThreads();
26580 result = (bool)(arg1)->HasFont();
26581 wxPyEndAllowThreads(__tstate);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 }
26584 {
26585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26586 }
26587 return resultobj;
26588 fail:
26589 return NULL;
26590 }
26591
26592
26593 SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26594 PyObject *resultobj = 0;
26595 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26596 wxColour result;
26597 void *argp1 = 0 ;
26598 int res1 = 0 ;
26599 PyObject *swig_obj[1] ;
26600
26601 if (!args) SWIG_fail;
26602 swig_obj[0] = args;
26603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26604 if (!SWIG_IsOK(res1)) {
26605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26606 }
26607 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26608 {
26609 PyThreadState* __tstate = wxPyBeginAllowThreads();
26610 result = (arg1)->GetTextColour();
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26615 return resultobj;
26616 fail:
26617 return NULL;
26618 }
26619
26620
26621 SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26622 PyObject *resultobj = 0;
26623 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26624 wxColour result;
26625 void *argp1 = 0 ;
26626 int res1 = 0 ;
26627 PyObject *swig_obj[1] ;
26628
26629 if (!args) SWIG_fail;
26630 swig_obj[0] = args;
26631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26632 if (!SWIG_IsOK(res1)) {
26633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26634 }
26635 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26636 {
26637 PyThreadState* __tstate = wxPyBeginAllowThreads();
26638 result = (arg1)->GetBackgroundColour();
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26643 return resultobj;
26644 fail:
26645 return NULL;
26646 }
26647
26648
26649 SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26650 PyObject *resultobj = 0;
26651 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26652 wxFont result;
26653 void *argp1 = 0 ;
26654 int res1 = 0 ;
26655 PyObject *swig_obj[1] ;
26656
26657 if (!args) SWIG_fail;
26658 swig_obj[0] = args;
26659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26662 }
26663 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (arg1)->GetFont();
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26671 return resultobj;
26672 fail:
26673 return NULL;
26674 }
26675
26676
26677 SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26678 PyObject *resultobj = 0;
26679 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26680 wxListItemAttr *arg2 = 0 ;
26681 void *argp1 = 0 ;
26682 int res1 = 0 ;
26683 void *argp2 = 0 ;
26684 int res2 = 0 ;
26685 PyObject * obj0 = 0 ;
26686 PyObject * obj1 = 0 ;
26687 char * kwnames[] = {
26688 (char *) "self",(char *) "source", NULL
26689 };
26690
26691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26693 if (!SWIG_IsOK(res1)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26695 }
26696 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26697 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26698 if (!SWIG_IsOK(res2)) {
26699 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26700 }
26701 if (!argp2) {
26702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26703 }
26704 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 resultobj = SWIG_Py_Void();
26712 return resultobj;
26713 fail:
26714 return NULL;
26715 }
26716
26717
26718 SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26719 PyObject *resultobj = 0;
26720 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26721 void *argp1 = 0 ;
26722 int res1 = 0 ;
26723 PyObject *swig_obj[1] ;
26724
26725 if (!args) SWIG_fail;
26726 swig_obj[0] = args;
26727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26728 if (!SWIG_IsOK(res1)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26730 }
26731 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 wxListItemAttr_Destroy(arg1);
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 resultobj = SWIG_Py_Void();
26739 return resultobj;
26740 fail:
26741 return NULL;
26742 }
26743
26744
26745 SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26746 PyObject *obj;
26747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26748 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26749 return SWIG_Py_Void();
26750 }
26751
26752 SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26753 return SWIG_Python_InitShadowInstance(args);
26754 }
26755
26756 SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26757 PyObject *resultobj = 0;
26758 wxListItem *result = 0 ;
26759
26760 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 result = (wxListItem *)new wxListItem();
26764 wxPyEndAllowThreads(__tstate);
26765 if (PyErr_Occurred()) SWIG_fail;
26766 }
26767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
26768 return resultobj;
26769 fail:
26770 return NULL;
26771 }
26772
26773
26774 SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26775 PyObject *resultobj = 0;
26776 wxListItem *arg1 = (wxListItem *) 0 ;
26777 void *argp1 = 0 ;
26778 int res1 = 0 ;
26779 PyObject *swig_obj[1] ;
26780
26781 if (!args) SWIG_fail;
26782 swig_obj[0] = args;
26783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26784 if (!SWIG_IsOK(res1)) {
26785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26786 }
26787 arg1 = reinterpret_cast< wxListItem * >(argp1);
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 delete arg1;
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 resultobj = SWIG_Py_Void();
26796 return resultobj;
26797 fail:
26798 return NULL;
26799 }
26800
26801
26802 SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26803 PyObject *resultobj = 0;
26804 wxListItem *arg1 = (wxListItem *) 0 ;
26805 void *argp1 = 0 ;
26806 int res1 = 0 ;
26807 PyObject *swig_obj[1] ;
26808
26809 if (!args) SWIG_fail;
26810 swig_obj[0] = args;
26811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26812 if (!SWIG_IsOK(res1)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26814 }
26815 arg1 = reinterpret_cast< wxListItem * >(argp1);
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 (arg1)->Clear();
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 resultobj = SWIG_Py_Void();
26823 return resultobj;
26824 fail:
26825 return NULL;
26826 }
26827
26828
26829 SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26830 PyObject *resultobj = 0;
26831 wxListItem *arg1 = (wxListItem *) 0 ;
26832 void *argp1 = 0 ;
26833 int res1 = 0 ;
26834 PyObject *swig_obj[1] ;
26835
26836 if (!args) SWIG_fail;
26837 swig_obj[0] = args;
26838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26839 if (!SWIG_IsOK(res1)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26841 }
26842 arg1 = reinterpret_cast< wxListItem * >(argp1);
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 (arg1)->ClearAttributes();
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
26849 resultobj = SWIG_Py_Void();
26850 return resultobj;
26851 fail:
26852 return NULL;
26853 }
26854
26855
26856 SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26857 PyObject *resultobj = 0;
26858 wxListItem *arg1 = (wxListItem *) 0 ;
26859 long arg2 ;
26860 void *argp1 = 0 ;
26861 int res1 = 0 ;
26862 long val2 ;
26863 int ecode2 = 0 ;
26864 PyObject * obj0 = 0 ;
26865 PyObject * obj1 = 0 ;
26866 char * kwnames[] = {
26867 (char *) "self",(char *) "mask", NULL
26868 };
26869
26870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26872 if (!SWIG_IsOK(res1)) {
26873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26874 }
26875 arg1 = reinterpret_cast< wxListItem * >(argp1);
26876 ecode2 = SWIG_AsVal_long(obj1, &val2);
26877 if (!SWIG_IsOK(ecode2)) {
26878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26879 }
26880 arg2 = static_cast< long >(val2);
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 (arg1)->SetMask(arg2);
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 resultobj = SWIG_Py_Void();
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj = 0;
26896 wxListItem *arg1 = (wxListItem *) 0 ;
26897 long arg2 ;
26898 void *argp1 = 0 ;
26899 int res1 = 0 ;
26900 long val2 ;
26901 int ecode2 = 0 ;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 char * kwnames[] = {
26905 (char *) "self",(char *) "id", NULL
26906 };
26907
26908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26910 if (!SWIG_IsOK(res1)) {
26911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26912 }
26913 arg1 = reinterpret_cast< wxListItem * >(argp1);
26914 ecode2 = SWIG_AsVal_long(obj1, &val2);
26915 if (!SWIG_IsOK(ecode2)) {
26916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26917 }
26918 arg2 = static_cast< long >(val2);
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 (arg1)->SetId(arg2);
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 resultobj = SWIG_Py_Void();
26926 return resultobj;
26927 fail:
26928 return NULL;
26929 }
26930
26931
26932 SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26933 PyObject *resultobj = 0;
26934 wxListItem *arg1 = (wxListItem *) 0 ;
26935 int arg2 ;
26936 void *argp1 = 0 ;
26937 int res1 = 0 ;
26938 int val2 ;
26939 int ecode2 = 0 ;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 char * kwnames[] = {
26943 (char *) "self",(char *) "col", NULL
26944 };
26945
26946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26948 if (!SWIG_IsOK(res1)) {
26949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26950 }
26951 arg1 = reinterpret_cast< wxListItem * >(argp1);
26952 ecode2 = SWIG_AsVal_int(obj1, &val2);
26953 if (!SWIG_IsOK(ecode2)) {
26954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26955 }
26956 arg2 = static_cast< int >(val2);
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 (arg1)->SetColumn(arg2);
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 resultobj = SWIG_Py_Void();
26964 return resultobj;
26965 fail:
26966 return NULL;
26967 }
26968
26969
26970 SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj = 0;
26972 wxListItem *arg1 = (wxListItem *) 0 ;
26973 long arg2 ;
26974 void *argp1 = 0 ;
26975 int res1 = 0 ;
26976 long val2 ;
26977 int ecode2 = 0 ;
26978 PyObject * obj0 = 0 ;
26979 PyObject * obj1 = 0 ;
26980 char * kwnames[] = {
26981 (char *) "self",(char *) "state", NULL
26982 };
26983
26984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26986 if (!SWIG_IsOK(res1)) {
26987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26988 }
26989 arg1 = reinterpret_cast< wxListItem * >(argp1);
26990 ecode2 = SWIG_AsVal_long(obj1, &val2);
26991 if (!SWIG_IsOK(ecode2)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26993 }
26994 arg2 = static_cast< long >(val2);
26995 {
26996 PyThreadState* __tstate = wxPyBeginAllowThreads();
26997 (arg1)->SetState(arg2);
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 resultobj = SWIG_Py_Void();
27002 return resultobj;
27003 fail:
27004 return NULL;
27005 }
27006
27007
27008 SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj = 0;
27010 wxListItem *arg1 = (wxListItem *) 0 ;
27011 long arg2 ;
27012 void *argp1 = 0 ;
27013 int res1 = 0 ;
27014 long val2 ;
27015 int ecode2 = 0 ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 char * kwnames[] = {
27019 (char *) "self",(char *) "stateMask", NULL
27020 };
27021
27022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
27023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27024 if (!SWIG_IsOK(res1)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27026 }
27027 arg1 = reinterpret_cast< wxListItem * >(argp1);
27028 ecode2 = SWIG_AsVal_long(obj1, &val2);
27029 if (!SWIG_IsOK(ecode2)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27031 }
27032 arg2 = static_cast< long >(val2);
27033 {
27034 PyThreadState* __tstate = wxPyBeginAllowThreads();
27035 (arg1)->SetStateMask(arg2);
27036 wxPyEndAllowThreads(__tstate);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 resultobj = SWIG_Py_Void();
27040 return resultobj;
27041 fail:
27042 return NULL;
27043 }
27044
27045
27046 SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj = 0;
27048 wxListItem *arg1 = (wxListItem *) 0 ;
27049 wxString *arg2 = 0 ;
27050 void *argp1 = 0 ;
27051 int res1 = 0 ;
27052 bool temp2 = false ;
27053 PyObject * obj0 = 0 ;
27054 PyObject * obj1 = 0 ;
27055 char * kwnames[] = {
27056 (char *) "self",(char *) "text", NULL
27057 };
27058
27059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
27060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27061 if (!SWIG_IsOK(res1)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27063 }
27064 arg1 = reinterpret_cast< wxListItem * >(argp1);
27065 {
27066 arg2 = wxString_in_helper(obj1);
27067 if (arg2 == NULL) SWIG_fail;
27068 temp2 = true;
27069 }
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
27072 (arg1)->SetText((wxString const &)*arg2);
27073 wxPyEndAllowThreads(__tstate);
27074 if (PyErr_Occurred()) SWIG_fail;
27075 }
27076 resultobj = SWIG_Py_Void();
27077 {
27078 if (temp2)
27079 delete arg2;
27080 }
27081 return resultobj;
27082 fail:
27083 {
27084 if (temp2)
27085 delete arg2;
27086 }
27087 return NULL;
27088 }
27089
27090
27091 SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27092 PyObject *resultobj = 0;
27093 wxListItem *arg1 = (wxListItem *) 0 ;
27094 int arg2 ;
27095 void *argp1 = 0 ;
27096 int res1 = 0 ;
27097 int val2 ;
27098 int ecode2 = 0 ;
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 char * kwnames[] = {
27102 (char *) "self",(char *) "image", NULL
27103 };
27104
27105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
27106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27107 if (!SWIG_IsOK(res1)) {
27108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 }
27110 arg1 = reinterpret_cast< wxListItem * >(argp1);
27111 ecode2 = SWIG_AsVal_int(obj1, &val2);
27112 if (!SWIG_IsOK(ecode2)) {
27113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27114 }
27115 arg2 = static_cast< int >(val2);
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 (arg1)->SetImage(arg2);
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 resultobj = SWIG_Py_Void();
27123 return resultobj;
27124 fail:
27125 return NULL;
27126 }
27127
27128
27129 SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27130 PyObject *resultobj = 0;
27131 wxListItem *arg1 = (wxListItem *) 0 ;
27132 long arg2 ;
27133 void *argp1 = 0 ;
27134 int res1 = 0 ;
27135 long val2 ;
27136 int ecode2 = 0 ;
27137 PyObject * obj0 = 0 ;
27138 PyObject * obj1 = 0 ;
27139 char * kwnames[] = {
27140 (char *) "self",(char *) "data", NULL
27141 };
27142
27143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
27144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27145 if (!SWIG_IsOK(res1)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27147 }
27148 arg1 = reinterpret_cast< wxListItem * >(argp1);
27149 ecode2 = SWIG_AsVal_long(obj1, &val2);
27150 if (!SWIG_IsOK(ecode2)) {
27151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27152 }
27153 arg2 = static_cast< long >(val2);
27154 {
27155 PyThreadState* __tstate = wxPyBeginAllowThreads();
27156 (arg1)->SetData(arg2);
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 resultobj = SWIG_Py_Void();
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj = 0;
27169 wxListItem *arg1 = (wxListItem *) 0 ;
27170 int arg2 ;
27171 void *argp1 = 0 ;
27172 int res1 = 0 ;
27173 int val2 ;
27174 int ecode2 = 0 ;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 char * kwnames[] = {
27178 (char *) "self",(char *) "width", NULL
27179 };
27180
27181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27183 if (!SWIG_IsOK(res1)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 }
27186 arg1 = reinterpret_cast< wxListItem * >(argp1);
27187 ecode2 = SWIG_AsVal_int(obj1, &val2);
27188 if (!SWIG_IsOK(ecode2)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27190 }
27191 arg2 = static_cast< int >(val2);
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 (arg1)->SetWidth(arg2);
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 resultobj = SWIG_Py_Void();
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27206 PyObject *resultobj = 0;
27207 wxListItem *arg1 = (wxListItem *) 0 ;
27208 wxListColumnFormat arg2 ;
27209 void *argp1 = 0 ;
27210 int res1 = 0 ;
27211 int val2 ;
27212 int ecode2 = 0 ;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 char * kwnames[] = {
27216 (char *) "self",(char *) "align", NULL
27217 };
27218
27219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27221 if (!SWIG_IsOK(res1)) {
27222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27223 }
27224 arg1 = reinterpret_cast< wxListItem * >(argp1);
27225 ecode2 = SWIG_AsVal_int(obj1, &val2);
27226 if (!SWIG_IsOK(ecode2)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27228 }
27229 arg2 = static_cast< wxListColumnFormat >(val2);
27230 {
27231 PyThreadState* __tstate = wxPyBeginAllowThreads();
27232 (arg1)->SetAlign(arg2);
27233 wxPyEndAllowThreads(__tstate);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 resultobj = SWIG_Py_Void();
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj = 0;
27245 wxListItem *arg1 = (wxListItem *) 0 ;
27246 wxColour *arg2 = 0 ;
27247 void *argp1 = 0 ;
27248 int res1 = 0 ;
27249 wxColour temp2 ;
27250 PyObject * obj0 = 0 ;
27251 PyObject * obj1 = 0 ;
27252 char * kwnames[] = {
27253 (char *) "self",(char *) "colText", NULL
27254 };
27255
27256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27258 if (!SWIG_IsOK(res1)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27260 }
27261 arg1 = reinterpret_cast< wxListItem * >(argp1);
27262 {
27263 arg2 = &temp2;
27264 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27265 }
27266 {
27267 PyThreadState* __tstate = wxPyBeginAllowThreads();
27268 (arg1)->SetTextColour((wxColour const &)*arg2);
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 resultobj = SWIG_Py_Void();
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj = 0;
27281 wxListItem *arg1 = (wxListItem *) 0 ;
27282 wxColour *arg2 = 0 ;
27283 void *argp1 = 0 ;
27284 int res1 = 0 ;
27285 wxColour temp2 ;
27286 PyObject * obj0 = 0 ;
27287 PyObject * obj1 = 0 ;
27288 char * kwnames[] = {
27289 (char *) "self",(char *) "colBack", NULL
27290 };
27291
27292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27294 if (!SWIG_IsOK(res1)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27296 }
27297 arg1 = reinterpret_cast< wxListItem * >(argp1);
27298 {
27299 arg2 = &temp2;
27300 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27301 }
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 resultobj = SWIG_Py_Void();
27309 return resultobj;
27310 fail:
27311 return NULL;
27312 }
27313
27314
27315 SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27316 PyObject *resultobj = 0;
27317 wxListItem *arg1 = (wxListItem *) 0 ;
27318 wxFont *arg2 = 0 ;
27319 void *argp1 = 0 ;
27320 int res1 = 0 ;
27321 void *argp2 = 0 ;
27322 int res2 = 0 ;
27323 PyObject * obj0 = 0 ;
27324 PyObject * obj1 = 0 ;
27325 char * kwnames[] = {
27326 (char *) "self",(char *) "font", NULL
27327 };
27328
27329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27331 if (!SWIG_IsOK(res1)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27333 }
27334 arg1 = reinterpret_cast< wxListItem * >(argp1);
27335 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27336 if (!SWIG_IsOK(res2)) {
27337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27338 }
27339 if (!argp2) {
27340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27341 }
27342 arg2 = reinterpret_cast< wxFont * >(argp2);
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 (arg1)->SetFont((wxFont const &)*arg2);
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 resultobj = SWIG_Py_Void();
27350 return resultobj;
27351 fail:
27352 return NULL;
27353 }
27354
27355
27356 SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27357 PyObject *resultobj = 0;
27358 wxListItem *arg1 = (wxListItem *) 0 ;
27359 long result;
27360 void *argp1 = 0 ;
27361 int res1 = 0 ;
27362 PyObject *swig_obj[1] ;
27363
27364 if (!args) SWIG_fail;
27365 swig_obj[0] = args;
27366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27367 if (!SWIG_IsOK(res1)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27369 }
27370 arg1 = reinterpret_cast< wxListItem * >(argp1);
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 result = (long)(arg1)->GetMask();
27374 wxPyEndAllowThreads(__tstate);
27375 if (PyErr_Occurred()) SWIG_fail;
27376 }
27377 resultobj = SWIG_From_long(static_cast< long >(result));
27378 return resultobj;
27379 fail:
27380 return NULL;
27381 }
27382
27383
27384 SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27385 PyObject *resultobj = 0;
27386 wxListItem *arg1 = (wxListItem *) 0 ;
27387 long result;
27388 void *argp1 = 0 ;
27389 int res1 = 0 ;
27390 PyObject *swig_obj[1] ;
27391
27392 if (!args) SWIG_fail;
27393 swig_obj[0] = args;
27394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27395 if (!SWIG_IsOK(res1)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27397 }
27398 arg1 = reinterpret_cast< wxListItem * >(argp1);
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 result = (long)(arg1)->GetId();
27402 wxPyEndAllowThreads(__tstate);
27403 if (PyErr_Occurred()) SWIG_fail;
27404 }
27405 resultobj = SWIG_From_long(static_cast< long >(result));
27406 return resultobj;
27407 fail:
27408 return NULL;
27409 }
27410
27411
27412 SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27413 PyObject *resultobj = 0;
27414 wxListItem *arg1 = (wxListItem *) 0 ;
27415 int result;
27416 void *argp1 = 0 ;
27417 int res1 = 0 ;
27418 PyObject *swig_obj[1] ;
27419
27420 if (!args) SWIG_fail;
27421 swig_obj[0] = args;
27422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27423 if (!SWIG_IsOK(res1)) {
27424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27425 }
27426 arg1 = reinterpret_cast< wxListItem * >(argp1);
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 result = (int)(arg1)->GetColumn();
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 resultobj = SWIG_From_int(static_cast< int >(result));
27434 return resultobj;
27435 fail:
27436 return NULL;
27437 }
27438
27439
27440 SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27441 PyObject *resultobj = 0;
27442 wxListItem *arg1 = (wxListItem *) 0 ;
27443 long result;
27444 void *argp1 = 0 ;
27445 int res1 = 0 ;
27446 PyObject *swig_obj[1] ;
27447
27448 if (!args) SWIG_fail;
27449 swig_obj[0] = args;
27450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27451 if (!SWIG_IsOK(res1)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27453 }
27454 arg1 = reinterpret_cast< wxListItem * >(argp1);
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 result = (long)(arg1)->GetState();
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 resultobj = SWIG_From_long(static_cast< long >(result));
27462 return resultobj;
27463 fail:
27464 return NULL;
27465 }
27466
27467
27468 SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27469 PyObject *resultobj = 0;
27470 wxListItem *arg1 = (wxListItem *) 0 ;
27471 wxString *result = 0 ;
27472 void *argp1 = 0 ;
27473 int res1 = 0 ;
27474 PyObject *swig_obj[1] ;
27475
27476 if (!args) SWIG_fail;
27477 swig_obj[0] = args;
27478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27479 if (!SWIG_IsOK(res1)) {
27480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27481 }
27482 arg1 = reinterpret_cast< wxListItem * >(argp1);
27483 {
27484 PyThreadState* __tstate = wxPyBeginAllowThreads();
27485 {
27486 wxString const &_result_ref = (arg1)->GetText();
27487 result = (wxString *) &_result_ref;
27488 }
27489 wxPyEndAllowThreads(__tstate);
27490 if (PyErr_Occurred()) SWIG_fail;
27491 }
27492 {
27493 #if wxUSE_UNICODE
27494 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27495 #else
27496 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27497 #endif
27498 }
27499 return resultobj;
27500 fail:
27501 return NULL;
27502 }
27503
27504
27505 SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27506 PyObject *resultobj = 0;
27507 wxListItem *arg1 = (wxListItem *) 0 ;
27508 int result;
27509 void *argp1 = 0 ;
27510 int res1 = 0 ;
27511 PyObject *swig_obj[1] ;
27512
27513 if (!args) SWIG_fail;
27514 swig_obj[0] = args;
27515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27516 if (!SWIG_IsOK(res1)) {
27517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27518 }
27519 arg1 = reinterpret_cast< wxListItem * >(argp1);
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
27522 result = (int)(arg1)->GetImage();
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 resultobj = SWIG_From_int(static_cast< int >(result));
27527 return resultobj;
27528 fail:
27529 return NULL;
27530 }
27531
27532
27533 SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27534 PyObject *resultobj = 0;
27535 wxListItem *arg1 = (wxListItem *) 0 ;
27536 long result;
27537 void *argp1 = 0 ;
27538 int res1 = 0 ;
27539 PyObject *swig_obj[1] ;
27540
27541 if (!args) SWIG_fail;
27542 swig_obj[0] = args;
27543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27544 if (!SWIG_IsOK(res1)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27546 }
27547 arg1 = reinterpret_cast< wxListItem * >(argp1);
27548 {
27549 PyThreadState* __tstate = wxPyBeginAllowThreads();
27550 result = (long)(arg1)->GetData();
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 resultobj = SWIG_From_long(static_cast< long >(result));
27555 return resultobj;
27556 fail:
27557 return NULL;
27558 }
27559
27560
27561 SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27562 PyObject *resultobj = 0;
27563 wxListItem *arg1 = (wxListItem *) 0 ;
27564 int result;
27565 void *argp1 = 0 ;
27566 int res1 = 0 ;
27567 PyObject *swig_obj[1] ;
27568
27569 if (!args) SWIG_fail;
27570 swig_obj[0] = args;
27571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27572 if (!SWIG_IsOK(res1)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27574 }
27575 arg1 = reinterpret_cast< wxListItem * >(argp1);
27576 {
27577 PyThreadState* __tstate = wxPyBeginAllowThreads();
27578 result = (int)(arg1)->GetWidth();
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 resultobj = SWIG_From_int(static_cast< int >(result));
27583 return resultobj;
27584 fail:
27585 return NULL;
27586 }
27587
27588
27589 SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27590 PyObject *resultobj = 0;
27591 wxListItem *arg1 = (wxListItem *) 0 ;
27592 wxListColumnFormat result;
27593 void *argp1 = 0 ;
27594 int res1 = 0 ;
27595 PyObject *swig_obj[1] ;
27596
27597 if (!args) SWIG_fail;
27598 swig_obj[0] = args;
27599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27600 if (!SWIG_IsOK(res1)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27602 }
27603 arg1 = reinterpret_cast< wxListItem * >(argp1);
27604 {
27605 PyThreadState* __tstate = wxPyBeginAllowThreads();
27606 result = (wxListColumnFormat)(arg1)->GetAlign();
27607 wxPyEndAllowThreads(__tstate);
27608 if (PyErr_Occurred()) SWIG_fail;
27609 }
27610 resultobj = SWIG_From_int(static_cast< int >(result));
27611 return resultobj;
27612 fail:
27613 return NULL;
27614 }
27615
27616
27617 SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27618 PyObject *resultobj = 0;
27619 wxListItem *arg1 = (wxListItem *) 0 ;
27620 wxListItemAttr *result = 0 ;
27621 void *argp1 = 0 ;
27622 int res1 = 0 ;
27623 PyObject *swig_obj[1] ;
27624
27625 if (!args) SWIG_fail;
27626 swig_obj[0] = args;
27627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27628 if (!SWIG_IsOK(res1)) {
27629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27630 }
27631 arg1 = reinterpret_cast< wxListItem * >(argp1);
27632 {
27633 PyThreadState* __tstate = wxPyBeginAllowThreads();
27634 result = (wxListItemAttr *)(arg1)->GetAttributes();
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27639 return resultobj;
27640 fail:
27641 return NULL;
27642 }
27643
27644
27645 SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27646 PyObject *resultobj = 0;
27647 wxListItem *arg1 = (wxListItem *) 0 ;
27648 bool result;
27649 void *argp1 = 0 ;
27650 int res1 = 0 ;
27651 PyObject *swig_obj[1] ;
27652
27653 if (!args) SWIG_fail;
27654 swig_obj[0] = args;
27655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27656 if (!SWIG_IsOK(res1)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 }
27659 arg1 = reinterpret_cast< wxListItem * >(argp1);
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 result = (bool)(arg1)->HasAttributes();
27663 wxPyEndAllowThreads(__tstate);
27664 if (PyErr_Occurred()) SWIG_fail;
27665 }
27666 {
27667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27668 }
27669 return resultobj;
27670 fail:
27671 return NULL;
27672 }
27673
27674
27675 SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27676 PyObject *resultobj = 0;
27677 wxListItem *arg1 = (wxListItem *) 0 ;
27678 wxColour result;
27679 void *argp1 = 0 ;
27680 int res1 = 0 ;
27681 PyObject *swig_obj[1] ;
27682
27683 if (!args) SWIG_fail;
27684 swig_obj[0] = args;
27685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27686 if (!SWIG_IsOK(res1)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27688 }
27689 arg1 = reinterpret_cast< wxListItem * >(argp1);
27690 {
27691 PyThreadState* __tstate = wxPyBeginAllowThreads();
27692 result = ((wxListItem const *)arg1)->GetTextColour();
27693 wxPyEndAllowThreads(__tstate);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27697 return resultobj;
27698 fail:
27699 return NULL;
27700 }
27701
27702
27703 SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27704 PyObject *resultobj = 0;
27705 wxListItem *arg1 = (wxListItem *) 0 ;
27706 wxColour result;
27707 void *argp1 = 0 ;
27708 int res1 = 0 ;
27709 PyObject *swig_obj[1] ;
27710
27711 if (!args) SWIG_fail;
27712 swig_obj[0] = args;
27713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27714 if (!SWIG_IsOK(res1)) {
27715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27716 }
27717 arg1 = reinterpret_cast< wxListItem * >(argp1);
27718 {
27719 PyThreadState* __tstate = wxPyBeginAllowThreads();
27720 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27725 return resultobj;
27726 fail:
27727 return NULL;
27728 }
27729
27730
27731 SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27732 PyObject *resultobj = 0;
27733 wxListItem *arg1 = (wxListItem *) 0 ;
27734 wxFont result;
27735 void *argp1 = 0 ;
27736 int res1 = 0 ;
27737 PyObject *swig_obj[1] ;
27738
27739 if (!args) SWIG_fail;
27740 swig_obj[0] = args;
27741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27742 if (!SWIG_IsOK(res1)) {
27743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27744 }
27745 arg1 = reinterpret_cast< wxListItem * >(argp1);
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 result = ((wxListItem const *)arg1)->GetFont();
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27753 return resultobj;
27754 fail:
27755 return NULL;
27756 }
27757
27758
27759 SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27760 PyObject *resultobj = 0;
27761 wxListItem *arg1 = (wxListItem *) 0 ;
27762 long arg2 ;
27763 void *argp1 = 0 ;
27764 int res1 = 0 ;
27765 long val2 ;
27766 int ecode2 = 0 ;
27767 PyObject *swig_obj[2] ;
27768
27769 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27771 if (!SWIG_IsOK(res1)) {
27772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27773 }
27774 arg1 = reinterpret_cast< wxListItem * >(argp1);
27775 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27776 if (!SWIG_IsOK(ecode2)) {
27777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27778 }
27779 arg2 = static_cast< long >(val2);
27780 if (arg1) (arg1)->m_mask = arg2;
27781
27782 resultobj = SWIG_Py_Void();
27783 return resultobj;
27784 fail:
27785 return NULL;
27786 }
27787
27788
27789 SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27790 PyObject *resultobj = 0;
27791 wxListItem *arg1 = (wxListItem *) 0 ;
27792 long result;
27793 void *argp1 = 0 ;
27794 int res1 = 0 ;
27795 PyObject *swig_obj[1] ;
27796
27797 if (!args) SWIG_fail;
27798 swig_obj[0] = args;
27799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27802 }
27803 arg1 = reinterpret_cast< wxListItem * >(argp1);
27804 result = (long) ((arg1)->m_mask);
27805 resultobj = SWIG_From_long(static_cast< long >(result));
27806 return resultobj;
27807 fail:
27808 return NULL;
27809 }
27810
27811
27812 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27813 PyObject *resultobj = 0;
27814 wxListItem *arg1 = (wxListItem *) 0 ;
27815 long arg2 ;
27816 void *argp1 = 0 ;
27817 int res1 = 0 ;
27818 long val2 ;
27819 int ecode2 = 0 ;
27820 PyObject *swig_obj[2] ;
27821
27822 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27824 if (!SWIG_IsOK(res1)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27826 }
27827 arg1 = reinterpret_cast< wxListItem * >(argp1);
27828 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27829 if (!SWIG_IsOK(ecode2)) {
27830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27831 }
27832 arg2 = static_cast< long >(val2);
27833 if (arg1) (arg1)->m_itemId = arg2;
27834
27835 resultobj = SWIG_Py_Void();
27836 return resultobj;
27837 fail:
27838 return NULL;
27839 }
27840
27841
27842 SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27843 PyObject *resultobj = 0;
27844 wxListItem *arg1 = (wxListItem *) 0 ;
27845 long result;
27846 void *argp1 = 0 ;
27847 int res1 = 0 ;
27848 PyObject *swig_obj[1] ;
27849
27850 if (!args) SWIG_fail;
27851 swig_obj[0] = args;
27852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27853 if (!SWIG_IsOK(res1)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27855 }
27856 arg1 = reinterpret_cast< wxListItem * >(argp1);
27857 result = (long) ((arg1)->m_itemId);
27858 resultobj = SWIG_From_long(static_cast< long >(result));
27859 return resultobj;
27860 fail:
27861 return NULL;
27862 }
27863
27864
27865 SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27866 PyObject *resultobj = 0;
27867 wxListItem *arg1 = (wxListItem *) 0 ;
27868 int arg2 ;
27869 void *argp1 = 0 ;
27870 int res1 = 0 ;
27871 int val2 ;
27872 int ecode2 = 0 ;
27873 PyObject *swig_obj[2] ;
27874
27875 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27877 if (!SWIG_IsOK(res1)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27879 }
27880 arg1 = reinterpret_cast< wxListItem * >(argp1);
27881 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27882 if (!SWIG_IsOK(ecode2)) {
27883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27884 }
27885 arg2 = static_cast< int >(val2);
27886 if (arg1) (arg1)->m_col = arg2;
27887
27888 resultobj = SWIG_Py_Void();
27889 return resultobj;
27890 fail:
27891 return NULL;
27892 }
27893
27894
27895 SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27896 PyObject *resultobj = 0;
27897 wxListItem *arg1 = (wxListItem *) 0 ;
27898 int result;
27899 void *argp1 = 0 ;
27900 int res1 = 0 ;
27901 PyObject *swig_obj[1] ;
27902
27903 if (!args) SWIG_fail;
27904 swig_obj[0] = args;
27905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27906 if (!SWIG_IsOK(res1)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27908 }
27909 arg1 = reinterpret_cast< wxListItem * >(argp1);
27910 result = (int) ((arg1)->m_col);
27911 resultobj = SWIG_From_int(static_cast< int >(result));
27912 return resultobj;
27913 fail:
27914 return NULL;
27915 }
27916
27917
27918 SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27919 PyObject *resultobj = 0;
27920 wxListItem *arg1 = (wxListItem *) 0 ;
27921 long arg2 ;
27922 void *argp1 = 0 ;
27923 int res1 = 0 ;
27924 long val2 ;
27925 int ecode2 = 0 ;
27926 PyObject *swig_obj[2] ;
27927
27928 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27930 if (!SWIG_IsOK(res1)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27932 }
27933 arg1 = reinterpret_cast< wxListItem * >(argp1);
27934 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27935 if (!SWIG_IsOK(ecode2)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27937 }
27938 arg2 = static_cast< long >(val2);
27939 if (arg1) (arg1)->m_state = arg2;
27940
27941 resultobj = SWIG_Py_Void();
27942 return resultobj;
27943 fail:
27944 return NULL;
27945 }
27946
27947
27948 SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27949 PyObject *resultobj = 0;
27950 wxListItem *arg1 = (wxListItem *) 0 ;
27951 long result;
27952 void *argp1 = 0 ;
27953 int res1 = 0 ;
27954 PyObject *swig_obj[1] ;
27955
27956 if (!args) SWIG_fail;
27957 swig_obj[0] = args;
27958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27959 if (!SWIG_IsOK(res1)) {
27960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27961 }
27962 arg1 = reinterpret_cast< wxListItem * >(argp1);
27963 result = (long) ((arg1)->m_state);
27964 resultobj = SWIG_From_long(static_cast< long >(result));
27965 return resultobj;
27966 fail:
27967 return NULL;
27968 }
27969
27970
27971 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27972 PyObject *resultobj = 0;
27973 wxListItem *arg1 = (wxListItem *) 0 ;
27974 long arg2 ;
27975 void *argp1 = 0 ;
27976 int res1 = 0 ;
27977 long val2 ;
27978 int ecode2 = 0 ;
27979 PyObject *swig_obj[2] ;
27980
27981 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27983 if (!SWIG_IsOK(res1)) {
27984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27985 }
27986 arg1 = reinterpret_cast< wxListItem * >(argp1);
27987 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27988 if (!SWIG_IsOK(ecode2)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27990 }
27991 arg2 = static_cast< long >(val2);
27992 if (arg1) (arg1)->m_stateMask = arg2;
27993
27994 resultobj = SWIG_Py_Void();
27995 return resultobj;
27996 fail:
27997 return NULL;
27998 }
27999
28000
28001 SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28002 PyObject *resultobj = 0;
28003 wxListItem *arg1 = (wxListItem *) 0 ;
28004 long result;
28005 void *argp1 = 0 ;
28006 int res1 = 0 ;
28007 PyObject *swig_obj[1] ;
28008
28009 if (!args) SWIG_fail;
28010 swig_obj[0] = args;
28011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28012 if (!SWIG_IsOK(res1)) {
28013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28014 }
28015 arg1 = reinterpret_cast< wxListItem * >(argp1);
28016 result = (long) ((arg1)->m_stateMask);
28017 resultobj = SWIG_From_long(static_cast< long >(result));
28018 return resultobj;
28019 fail:
28020 return NULL;
28021 }
28022
28023
28024 SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28025 PyObject *resultobj = 0;
28026 wxListItem *arg1 = (wxListItem *) 0 ;
28027 wxString *arg2 = (wxString *) 0 ;
28028 void *argp1 = 0 ;
28029 int res1 = 0 ;
28030 bool temp2 = false ;
28031 PyObject *swig_obj[2] ;
28032
28033 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
28034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28035 if (!SWIG_IsOK(res1)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28037 }
28038 arg1 = reinterpret_cast< wxListItem * >(argp1);
28039 {
28040 arg2 = wxString_in_helper(swig_obj[1]);
28041 if (arg2 == NULL) SWIG_fail;
28042 temp2 = true;
28043 }
28044 if (arg1) (arg1)->m_text = *arg2;
28045
28046 resultobj = SWIG_Py_Void();
28047 {
28048 if (temp2)
28049 delete arg2;
28050 }
28051 return resultobj;
28052 fail:
28053 {
28054 if (temp2)
28055 delete arg2;
28056 }
28057 return NULL;
28058 }
28059
28060
28061 SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28062 PyObject *resultobj = 0;
28063 wxListItem *arg1 = (wxListItem *) 0 ;
28064 wxString *result = 0 ;
28065 void *argp1 = 0 ;
28066 int res1 = 0 ;
28067 PyObject *swig_obj[1] ;
28068
28069 if (!args) SWIG_fail;
28070 swig_obj[0] = args;
28071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28074 }
28075 arg1 = reinterpret_cast< wxListItem * >(argp1);
28076 result = (wxString *)& ((arg1)->m_text);
28077 {
28078 #if wxUSE_UNICODE
28079 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28080 #else
28081 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28082 #endif
28083 }
28084 return resultobj;
28085 fail:
28086 return NULL;
28087 }
28088
28089
28090 SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28091 PyObject *resultobj = 0;
28092 wxListItem *arg1 = (wxListItem *) 0 ;
28093 int arg2 ;
28094 void *argp1 = 0 ;
28095 int res1 = 0 ;
28096 int val2 ;
28097 int ecode2 = 0 ;
28098 PyObject *swig_obj[2] ;
28099
28100 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
28101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28102 if (!SWIG_IsOK(res1)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28104 }
28105 arg1 = reinterpret_cast< wxListItem * >(argp1);
28106 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28107 if (!SWIG_IsOK(ecode2)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28109 }
28110 arg2 = static_cast< int >(val2);
28111 if (arg1) (arg1)->m_image = arg2;
28112
28113 resultobj = SWIG_Py_Void();
28114 return resultobj;
28115 fail:
28116 return NULL;
28117 }
28118
28119
28120 SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28121 PyObject *resultobj = 0;
28122 wxListItem *arg1 = (wxListItem *) 0 ;
28123 int result;
28124 void *argp1 = 0 ;
28125 int res1 = 0 ;
28126 PyObject *swig_obj[1] ;
28127
28128 if (!args) SWIG_fail;
28129 swig_obj[0] = args;
28130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28131 if (!SWIG_IsOK(res1)) {
28132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28133 }
28134 arg1 = reinterpret_cast< wxListItem * >(argp1);
28135 result = (int) ((arg1)->m_image);
28136 resultobj = SWIG_From_int(static_cast< int >(result));
28137 return resultobj;
28138 fail:
28139 return NULL;
28140 }
28141
28142
28143 SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28144 PyObject *resultobj = 0;
28145 wxListItem *arg1 = (wxListItem *) 0 ;
28146 long arg2 ;
28147 void *argp1 = 0 ;
28148 int res1 = 0 ;
28149 long val2 ;
28150 int ecode2 = 0 ;
28151 PyObject *swig_obj[2] ;
28152
28153 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
28154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28155 if (!SWIG_IsOK(res1)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28157 }
28158 arg1 = reinterpret_cast< wxListItem * >(argp1);
28159 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28160 if (!SWIG_IsOK(ecode2)) {
28161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28162 }
28163 arg2 = static_cast< long >(val2);
28164 if (arg1) (arg1)->m_data = arg2;
28165
28166 resultobj = SWIG_Py_Void();
28167 return resultobj;
28168 fail:
28169 return NULL;
28170 }
28171
28172
28173 SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28174 PyObject *resultobj = 0;
28175 wxListItem *arg1 = (wxListItem *) 0 ;
28176 long result;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 PyObject *swig_obj[1] ;
28180
28181 if (!args) SWIG_fail;
28182 swig_obj[0] = args;
28183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28184 if (!SWIG_IsOK(res1)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28186 }
28187 arg1 = reinterpret_cast< wxListItem * >(argp1);
28188 result = (long) ((arg1)->m_data);
28189 resultobj = SWIG_From_long(static_cast< long >(result));
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28197 PyObject *resultobj = 0;
28198 wxListItem *arg1 = (wxListItem *) 0 ;
28199 int arg2 ;
28200 void *argp1 = 0 ;
28201 int res1 = 0 ;
28202 int val2 ;
28203 int ecode2 = 0 ;
28204 PyObject *swig_obj[2] ;
28205
28206 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28208 if (!SWIG_IsOK(res1)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28210 }
28211 arg1 = reinterpret_cast< wxListItem * >(argp1);
28212 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28213 if (!SWIG_IsOK(ecode2)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28215 }
28216 arg2 = static_cast< int >(val2);
28217 if (arg1) (arg1)->m_format = arg2;
28218
28219 resultobj = SWIG_Py_Void();
28220 return resultobj;
28221 fail:
28222 return NULL;
28223 }
28224
28225
28226 SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28227 PyObject *resultobj = 0;
28228 wxListItem *arg1 = (wxListItem *) 0 ;
28229 int result;
28230 void *argp1 = 0 ;
28231 int res1 = 0 ;
28232 PyObject *swig_obj[1] ;
28233
28234 if (!args) SWIG_fail;
28235 swig_obj[0] = args;
28236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28237 if (!SWIG_IsOK(res1)) {
28238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28239 }
28240 arg1 = reinterpret_cast< wxListItem * >(argp1);
28241 result = (int) ((arg1)->m_format);
28242 resultobj = SWIG_From_int(static_cast< int >(result));
28243 return resultobj;
28244 fail:
28245 return NULL;
28246 }
28247
28248
28249 SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28250 PyObject *resultobj = 0;
28251 wxListItem *arg1 = (wxListItem *) 0 ;
28252 int arg2 ;
28253 void *argp1 = 0 ;
28254 int res1 = 0 ;
28255 int val2 ;
28256 int ecode2 = 0 ;
28257 PyObject *swig_obj[2] ;
28258
28259 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28261 if (!SWIG_IsOK(res1)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28263 }
28264 arg1 = reinterpret_cast< wxListItem * >(argp1);
28265 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28266 if (!SWIG_IsOK(ecode2)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28268 }
28269 arg2 = static_cast< int >(val2);
28270 if (arg1) (arg1)->m_width = arg2;
28271
28272 resultobj = SWIG_Py_Void();
28273 return resultobj;
28274 fail:
28275 return NULL;
28276 }
28277
28278
28279 SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28280 PyObject *resultobj = 0;
28281 wxListItem *arg1 = (wxListItem *) 0 ;
28282 int result;
28283 void *argp1 = 0 ;
28284 int res1 = 0 ;
28285 PyObject *swig_obj[1] ;
28286
28287 if (!args) SWIG_fail;
28288 swig_obj[0] = args;
28289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28290 if (!SWIG_IsOK(res1)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28292 }
28293 arg1 = reinterpret_cast< wxListItem * >(argp1);
28294 result = (int) ((arg1)->m_width);
28295 resultobj = SWIG_From_int(static_cast< int >(result));
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28303 PyObject *obj;
28304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28305 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28306 return SWIG_Py_Void();
28307 }
28308
28309 SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28310 return SWIG_Python_InitShadowInstance(args);
28311 }
28312
28313 SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28314 PyObject *resultobj = 0;
28315 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28316 int arg2 = (int) 0 ;
28317 wxListEvent *result = 0 ;
28318 int val1 ;
28319 int ecode1 = 0 ;
28320 int val2 ;
28321 int ecode2 = 0 ;
28322 PyObject * obj0 = 0 ;
28323 PyObject * obj1 = 0 ;
28324 char * kwnames[] = {
28325 (char *) "commandType",(char *) "id", NULL
28326 };
28327
28328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28329 if (obj0) {
28330 ecode1 = SWIG_AsVal_int(obj0, &val1);
28331 if (!SWIG_IsOK(ecode1)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28333 }
28334 arg1 = static_cast< wxEventType >(val1);
28335 }
28336 if (obj1) {
28337 ecode2 = SWIG_AsVal_int(obj1, &val2);
28338 if (!SWIG_IsOK(ecode2)) {
28339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28340 }
28341 arg2 = static_cast< int >(val2);
28342 }
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28346 wxPyEndAllowThreads(__tstate);
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
28349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28350 return resultobj;
28351 fail:
28352 return NULL;
28353 }
28354
28355
28356 SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28357 PyObject *resultobj = 0;
28358 wxListEvent *arg1 = (wxListEvent *) 0 ;
28359 int arg2 ;
28360 void *argp1 = 0 ;
28361 int res1 = 0 ;
28362 int val2 ;
28363 int ecode2 = 0 ;
28364 PyObject *swig_obj[2] ;
28365
28366 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28368 if (!SWIG_IsOK(res1)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28370 }
28371 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28372 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28373 if (!SWIG_IsOK(ecode2)) {
28374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28375 }
28376 arg2 = static_cast< int >(val2);
28377 if (arg1) (arg1)->m_code = arg2;
28378
28379 resultobj = SWIG_Py_Void();
28380 return resultobj;
28381 fail:
28382 return NULL;
28383 }
28384
28385
28386 SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28387 PyObject *resultobj = 0;
28388 wxListEvent *arg1 = (wxListEvent *) 0 ;
28389 int result;
28390 void *argp1 = 0 ;
28391 int res1 = 0 ;
28392 PyObject *swig_obj[1] ;
28393
28394 if (!args) SWIG_fail;
28395 swig_obj[0] = args;
28396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28397 if (!SWIG_IsOK(res1)) {
28398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 }
28400 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28401 result = (int) ((arg1)->m_code);
28402 resultobj = SWIG_From_int(static_cast< int >(result));
28403 return resultobj;
28404 fail:
28405 return NULL;
28406 }
28407
28408
28409 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28410 PyObject *resultobj = 0;
28411 wxListEvent *arg1 = (wxListEvent *) 0 ;
28412 long arg2 ;
28413 void *argp1 = 0 ;
28414 int res1 = 0 ;
28415 long val2 ;
28416 int ecode2 = 0 ;
28417 PyObject *swig_obj[2] ;
28418
28419 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28421 if (!SWIG_IsOK(res1)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28423 }
28424 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28425 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28426 if (!SWIG_IsOK(ecode2)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28428 }
28429 arg2 = static_cast< long >(val2);
28430 if (arg1) (arg1)->m_oldItemIndex = arg2;
28431
28432 resultobj = SWIG_Py_Void();
28433 return resultobj;
28434 fail:
28435 return NULL;
28436 }
28437
28438
28439 SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28440 PyObject *resultobj = 0;
28441 wxListEvent *arg1 = (wxListEvent *) 0 ;
28442 long result;
28443 void *argp1 = 0 ;
28444 int res1 = 0 ;
28445 PyObject *swig_obj[1] ;
28446
28447 if (!args) SWIG_fail;
28448 swig_obj[0] = args;
28449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28450 if (!SWIG_IsOK(res1)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28452 }
28453 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28454 result = (long) ((arg1)->m_oldItemIndex);
28455 resultobj = SWIG_From_long(static_cast< long >(result));
28456 return resultobj;
28457 fail:
28458 return NULL;
28459 }
28460
28461
28462 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28463 PyObject *resultobj = 0;
28464 wxListEvent *arg1 = (wxListEvent *) 0 ;
28465 long arg2 ;
28466 void *argp1 = 0 ;
28467 int res1 = 0 ;
28468 long val2 ;
28469 int ecode2 = 0 ;
28470 PyObject *swig_obj[2] ;
28471
28472 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28476 }
28477 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28478 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28479 if (!SWIG_IsOK(ecode2)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28481 }
28482 arg2 = static_cast< long >(val2);
28483 if (arg1) (arg1)->m_itemIndex = arg2;
28484
28485 resultobj = SWIG_Py_Void();
28486 return resultobj;
28487 fail:
28488 return NULL;
28489 }
28490
28491
28492 SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(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_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28505 }
28506 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28507 result = (long) ((arg1)->m_itemIndex);
28508 resultobj = SWIG_From_long(static_cast< long >(result));
28509 return resultobj;
28510 fail:
28511 return NULL;
28512 }
28513
28514
28515 SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28516 PyObject *resultobj = 0;
28517 wxListEvent *arg1 = (wxListEvent *) 0 ;
28518 int arg2 ;
28519 void *argp1 = 0 ;
28520 int res1 = 0 ;
28521 int val2 ;
28522 int ecode2 = 0 ;
28523 PyObject *swig_obj[2] ;
28524
28525 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28527 if (!SWIG_IsOK(res1)) {
28528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28529 }
28530 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28531 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28532 if (!SWIG_IsOK(ecode2)) {
28533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28534 }
28535 arg2 = static_cast< int >(val2);
28536 if (arg1) (arg1)->m_col = arg2;
28537
28538 resultobj = SWIG_Py_Void();
28539 return resultobj;
28540 fail:
28541 return NULL;
28542 }
28543
28544
28545 SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28546 PyObject *resultobj = 0;
28547 wxListEvent *arg1 = (wxListEvent *) 0 ;
28548 int result;
28549 void *argp1 = 0 ;
28550 int res1 = 0 ;
28551 PyObject *swig_obj[1] ;
28552
28553 if (!args) SWIG_fail;
28554 swig_obj[0] = args;
28555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28556 if (!SWIG_IsOK(res1)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28558 }
28559 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28560 result = (int) ((arg1)->m_col);
28561 resultobj = SWIG_From_int(static_cast< int >(result));
28562 return resultobj;
28563 fail:
28564 return NULL;
28565 }
28566
28567
28568 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28569 PyObject *resultobj = 0;
28570 wxListEvent *arg1 = (wxListEvent *) 0 ;
28571 wxPoint *arg2 = (wxPoint *) 0 ;
28572 void *argp1 = 0 ;
28573 int res1 = 0 ;
28574 void *argp2 = 0 ;
28575 int res2 = 0 ;
28576 PyObject *swig_obj[2] ;
28577
28578 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28580 if (!SWIG_IsOK(res1)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28582 }
28583 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28584 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28585 if (!SWIG_IsOK(res2)) {
28586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28587 }
28588 arg2 = reinterpret_cast< wxPoint * >(argp2);
28589 if (arg1) (arg1)->m_pointDrag = *arg2;
28590
28591 resultobj = SWIG_Py_Void();
28592 return resultobj;
28593 fail:
28594 return NULL;
28595 }
28596
28597
28598 SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28599 PyObject *resultobj = 0;
28600 wxListEvent *arg1 = (wxListEvent *) 0 ;
28601 wxPoint *result = 0 ;
28602 void *argp1 = 0 ;
28603 int res1 = 0 ;
28604 PyObject *swig_obj[1] ;
28605
28606 if (!args) SWIG_fail;
28607 swig_obj[0] = args;
28608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28609 if (!SWIG_IsOK(res1)) {
28610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28611 }
28612 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28613 result = (wxPoint *)& ((arg1)->m_pointDrag);
28614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28615 return resultobj;
28616 fail:
28617 return NULL;
28618 }
28619
28620
28621 SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28622 PyObject *resultobj = 0;
28623 wxListEvent *arg1 = (wxListEvent *) 0 ;
28624 wxListItem *result = 0 ;
28625 void *argp1 = 0 ;
28626 int res1 = 0 ;
28627 PyObject *swig_obj[1] ;
28628
28629 if (!args) SWIG_fail;
28630 swig_obj[0] = args;
28631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28632 if (!SWIG_IsOK(res1)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28634 }
28635 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28636 result = (wxListItem *)& ((arg1)->m_item);
28637 {
28638 resultobj = wxPyMake_wxObject(result, 0);
28639 }
28640 return resultobj;
28641 fail:
28642 return NULL;
28643 }
28644
28645
28646 SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28647 PyObject *resultobj = 0;
28648 wxListEvent *arg1 = (wxListEvent *) 0 ;
28649 int result;
28650 void *argp1 = 0 ;
28651 int res1 = 0 ;
28652 PyObject *swig_obj[1] ;
28653
28654 if (!args) SWIG_fail;
28655 swig_obj[0] = args;
28656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28657 if (!SWIG_IsOK(res1)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28659 }
28660 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28661 {
28662 PyThreadState* __tstate = wxPyBeginAllowThreads();
28663 result = (int)(arg1)->GetKeyCode();
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 resultobj = SWIG_From_int(static_cast< int >(result));
28668 return resultobj;
28669 fail:
28670 return NULL;
28671 }
28672
28673
28674 SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 PyObject *resultobj = 0;
28676 wxListEvent *arg1 = (wxListEvent *) 0 ;
28677 long result;
28678 void *argp1 = 0 ;
28679 int res1 = 0 ;
28680 PyObject *swig_obj[1] ;
28681
28682 if (!args) SWIG_fail;
28683 swig_obj[0] = args;
28684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28685 if (!SWIG_IsOK(res1)) {
28686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28687 }
28688 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28689 {
28690 PyThreadState* __tstate = wxPyBeginAllowThreads();
28691 result = (long)(arg1)->GetIndex();
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 resultobj = SWIG_From_long(static_cast< long >(result));
28696 return resultobj;
28697 fail:
28698 return NULL;
28699 }
28700
28701
28702 SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28703 PyObject *resultobj = 0;
28704 wxListEvent *arg1 = (wxListEvent *) 0 ;
28705 int result;
28706 void *argp1 = 0 ;
28707 int res1 = 0 ;
28708 PyObject *swig_obj[1] ;
28709
28710 if (!args) SWIG_fail;
28711 swig_obj[0] = args;
28712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28713 if (!SWIG_IsOK(res1)) {
28714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28715 }
28716 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28717 {
28718 PyThreadState* __tstate = wxPyBeginAllowThreads();
28719 result = (int)(arg1)->GetColumn();
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 resultobj = SWIG_From_int(static_cast< int >(result));
28724 return resultobj;
28725 fail:
28726 return NULL;
28727 }
28728
28729
28730 SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28731 PyObject *resultobj = 0;
28732 wxListEvent *arg1 = (wxListEvent *) 0 ;
28733 wxPoint result;
28734 void *argp1 = 0 ;
28735 int res1 = 0 ;
28736 PyObject *swig_obj[1] ;
28737
28738 if (!args) SWIG_fail;
28739 swig_obj[0] = args;
28740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28741 if (!SWIG_IsOK(res1)) {
28742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28743 }
28744 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28745 {
28746 PyThreadState* __tstate = wxPyBeginAllowThreads();
28747 result = (arg1)->GetPoint();
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28752 return resultobj;
28753 fail:
28754 return NULL;
28755 }
28756
28757
28758 SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28759 PyObject *resultobj = 0;
28760 wxListEvent *arg1 = (wxListEvent *) 0 ;
28761 wxString *result = 0 ;
28762 void *argp1 = 0 ;
28763 int res1 = 0 ;
28764 PyObject *swig_obj[1] ;
28765
28766 if (!args) SWIG_fail;
28767 swig_obj[0] = args;
28768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28769 if (!SWIG_IsOK(res1)) {
28770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28771 }
28772 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28773 {
28774 PyThreadState* __tstate = wxPyBeginAllowThreads();
28775 {
28776 wxString const &_result_ref = (arg1)->GetLabel();
28777 result = (wxString *) &_result_ref;
28778 }
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 {
28783 #if wxUSE_UNICODE
28784 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28785 #else
28786 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28787 #endif
28788 }
28789 return resultobj;
28790 fail:
28791 return NULL;
28792 }
28793
28794
28795 SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28796 PyObject *resultobj = 0;
28797 wxListEvent *arg1 = (wxListEvent *) 0 ;
28798 wxString *result = 0 ;
28799 void *argp1 = 0 ;
28800 int res1 = 0 ;
28801 PyObject *swig_obj[1] ;
28802
28803 if (!args) SWIG_fail;
28804 swig_obj[0] = args;
28805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28806 if (!SWIG_IsOK(res1)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28808 }
28809 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 {
28813 wxString const &_result_ref = (arg1)->GetText();
28814 result = (wxString *) &_result_ref;
28815 }
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 {
28820 #if wxUSE_UNICODE
28821 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28822 #else
28823 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28824 #endif
28825 }
28826 return resultobj;
28827 fail:
28828 return NULL;
28829 }
28830
28831
28832 SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28833 PyObject *resultobj = 0;
28834 wxListEvent *arg1 = (wxListEvent *) 0 ;
28835 int result;
28836 void *argp1 = 0 ;
28837 int res1 = 0 ;
28838 PyObject *swig_obj[1] ;
28839
28840 if (!args) SWIG_fail;
28841 swig_obj[0] = args;
28842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28843 if (!SWIG_IsOK(res1)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28845 }
28846 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 result = (int)(arg1)->GetImage();
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
28853 resultobj = SWIG_From_int(static_cast< int >(result));
28854 return resultobj;
28855 fail:
28856 return NULL;
28857 }
28858
28859
28860 SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28861 PyObject *resultobj = 0;
28862 wxListEvent *arg1 = (wxListEvent *) 0 ;
28863 long result;
28864 void *argp1 = 0 ;
28865 int res1 = 0 ;
28866 PyObject *swig_obj[1] ;
28867
28868 if (!args) SWIG_fail;
28869 swig_obj[0] = args;
28870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28871 if (!SWIG_IsOK(res1)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28873 }
28874 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28875 {
28876 PyThreadState* __tstate = wxPyBeginAllowThreads();
28877 result = (long)(arg1)->GetData();
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 resultobj = SWIG_From_long(static_cast< long >(result));
28882 return resultobj;
28883 fail:
28884 return NULL;
28885 }
28886
28887
28888 SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28889 PyObject *resultobj = 0;
28890 wxListEvent *arg1 = (wxListEvent *) 0 ;
28891 long result;
28892 void *argp1 = 0 ;
28893 int res1 = 0 ;
28894 PyObject *swig_obj[1] ;
28895
28896 if (!args) SWIG_fail;
28897 swig_obj[0] = args;
28898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28899 if (!SWIG_IsOK(res1)) {
28900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28901 }
28902 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28903 {
28904 PyThreadState* __tstate = wxPyBeginAllowThreads();
28905 result = (long)(arg1)->GetMask();
28906 wxPyEndAllowThreads(__tstate);
28907 if (PyErr_Occurred()) SWIG_fail;
28908 }
28909 resultobj = SWIG_From_long(static_cast< long >(result));
28910 return resultobj;
28911 fail:
28912 return NULL;
28913 }
28914
28915
28916 SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28917 PyObject *resultobj = 0;
28918 wxListEvent *arg1 = (wxListEvent *) 0 ;
28919 wxListItem *result = 0 ;
28920 void *argp1 = 0 ;
28921 int res1 = 0 ;
28922 PyObject *swig_obj[1] ;
28923
28924 if (!args) SWIG_fail;
28925 swig_obj[0] = args;
28926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28927 if (!SWIG_IsOK(res1)) {
28928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28929 }
28930 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28931 {
28932 PyThreadState* __tstate = wxPyBeginAllowThreads();
28933 {
28934 wxListItem const &_result_ref = (arg1)->GetItem();
28935 result = (wxListItem *) &_result_ref;
28936 }
28937 wxPyEndAllowThreads(__tstate);
28938 if (PyErr_Occurred()) SWIG_fail;
28939 }
28940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28941 return resultobj;
28942 fail:
28943 return NULL;
28944 }
28945
28946
28947 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28948 PyObject *resultobj = 0;
28949 wxListEvent *arg1 = (wxListEvent *) 0 ;
28950 long result;
28951 void *argp1 = 0 ;
28952 int res1 = 0 ;
28953 PyObject *swig_obj[1] ;
28954
28955 if (!args) SWIG_fail;
28956 swig_obj[0] = args;
28957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28958 if (!SWIG_IsOK(res1)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28960 }
28961 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28962 {
28963 PyThreadState* __tstate = wxPyBeginAllowThreads();
28964 result = (long)(arg1)->GetCacheFrom();
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 resultobj = SWIG_From_long(static_cast< long >(result));
28969 return resultobj;
28970 fail:
28971 return NULL;
28972 }
28973
28974
28975 SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28976 PyObject *resultobj = 0;
28977 wxListEvent *arg1 = (wxListEvent *) 0 ;
28978 long result;
28979 void *argp1 = 0 ;
28980 int res1 = 0 ;
28981 PyObject *swig_obj[1] ;
28982
28983 if (!args) SWIG_fail;
28984 swig_obj[0] = args;
28985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28986 if (!SWIG_IsOK(res1)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28988 }
28989 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28990 {
28991 PyThreadState* __tstate = wxPyBeginAllowThreads();
28992 result = (long)(arg1)->GetCacheTo();
28993 wxPyEndAllowThreads(__tstate);
28994 if (PyErr_Occurred()) SWIG_fail;
28995 }
28996 resultobj = SWIG_From_long(static_cast< long >(result));
28997 return resultobj;
28998 fail:
28999 return NULL;
29000 }
29001
29002
29003 SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29004 PyObject *resultobj = 0;
29005 wxListEvent *arg1 = (wxListEvent *) 0 ;
29006 bool result;
29007 void *argp1 = 0 ;
29008 int res1 = 0 ;
29009 PyObject *swig_obj[1] ;
29010
29011 if (!args) SWIG_fail;
29012 swig_obj[0] = args;
29013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29014 if (!SWIG_IsOK(res1)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29016 }
29017 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29018 {
29019 PyThreadState* __tstate = wxPyBeginAllowThreads();
29020 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 {
29025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29026 }
29027 return resultobj;
29028 fail:
29029 return NULL;
29030 }
29031
29032
29033 SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29034 PyObject *resultobj = 0;
29035 wxListEvent *arg1 = (wxListEvent *) 0 ;
29036 bool arg2 ;
29037 void *argp1 = 0 ;
29038 int res1 = 0 ;
29039 bool val2 ;
29040 int ecode2 = 0 ;
29041 PyObject * obj0 = 0 ;
29042 PyObject * obj1 = 0 ;
29043 char * kwnames[] = {
29044 (char *) "self",(char *) "editCancelled", NULL
29045 };
29046
29047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
29048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
29049 if (!SWIG_IsOK(res1)) {
29050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29051 }
29052 arg1 = reinterpret_cast< wxListEvent * >(argp1);
29053 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29054 if (!SWIG_IsOK(ecode2)) {
29055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29056 }
29057 arg2 = static_cast< bool >(val2);
29058 {
29059 PyThreadState* __tstate = wxPyBeginAllowThreads();
29060 (arg1)->SetEditCanceled(arg2);
29061 wxPyEndAllowThreads(__tstate);
29062 if (PyErr_Occurred()) SWIG_fail;
29063 }
29064 resultobj = SWIG_Py_Void();
29065 return resultobj;
29066 fail:
29067 return NULL;
29068 }
29069
29070
29071 SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29072 PyObject *obj;
29073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29074 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
29075 return SWIG_Py_Void();
29076 }
29077
29078 SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29079 return SWIG_Python_InitShadowInstance(args);
29080 }
29081
29082 SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29083 PyObject *resultobj = 0;
29084 wxWindow *arg1 = (wxWindow *) 0 ;
29085 int arg2 = (int) -1 ;
29086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29088 wxSize const &arg4_defvalue = wxDefaultSize ;
29089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29090 long arg5 = (long) wxLC_ICON ;
29091 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29092 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29093 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
29094 wxString *arg7 = (wxString *) &arg7_defvalue ;
29095 wxPyListCtrl *result = 0 ;
29096 void *argp1 = 0 ;
29097 int res1 = 0 ;
29098 int val2 ;
29099 int ecode2 = 0 ;
29100 wxPoint temp3 ;
29101 wxSize temp4 ;
29102 long val5 ;
29103 int ecode5 = 0 ;
29104 void *argp6 = 0 ;
29105 int res6 = 0 ;
29106 bool temp7 = false ;
29107 PyObject * obj0 = 0 ;
29108 PyObject * obj1 = 0 ;
29109 PyObject * obj2 = 0 ;
29110 PyObject * obj3 = 0 ;
29111 PyObject * obj4 = 0 ;
29112 PyObject * obj5 = 0 ;
29113 PyObject * obj6 = 0 ;
29114 char * kwnames[] = {
29115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29116 };
29117
29118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29120 if (!SWIG_IsOK(res1)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29122 }
29123 arg1 = reinterpret_cast< wxWindow * >(argp1);
29124 if (obj1) {
29125 ecode2 = SWIG_AsVal_int(obj1, &val2);
29126 if (!SWIG_IsOK(ecode2)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29128 }
29129 arg2 = static_cast< int >(val2);
29130 }
29131 if (obj2) {
29132 {
29133 arg3 = &temp3;
29134 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29135 }
29136 }
29137 if (obj3) {
29138 {
29139 arg4 = &temp4;
29140 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29141 }
29142 }
29143 if (obj4) {
29144 ecode5 = SWIG_AsVal_long(obj4, &val5);
29145 if (!SWIG_IsOK(ecode5)) {
29146 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29147 }
29148 arg5 = static_cast< long >(val5);
29149 }
29150 if (obj5) {
29151 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
29152 if (!SWIG_IsOK(res6)) {
29153 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29154 }
29155 if (!argp6) {
29156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29157 }
29158 arg6 = reinterpret_cast< wxValidator * >(argp6);
29159 }
29160 if (obj6) {
29161 {
29162 arg7 = wxString_in_helper(obj6);
29163 if (arg7 == NULL) SWIG_fail;
29164 temp7 = true;
29165 }
29166 }
29167 {
29168 if (!wxPyCheckForApp()) SWIG_fail;
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
29175 {
29176 if (temp7)
29177 delete arg7;
29178 }
29179 return resultobj;
29180 fail:
29181 {
29182 if (temp7)
29183 delete arg7;
29184 }
29185 return NULL;
29186 }
29187
29188
29189 SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29190 PyObject *resultobj = 0;
29191 wxPyListCtrl *result = 0 ;
29192
29193 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29194 {
29195 if (!wxPyCheckForApp()) SWIG_fail;
29196 PyThreadState* __tstate = wxPyBeginAllowThreads();
29197 result = (wxPyListCtrl *)new wxPyListCtrl();
29198 wxPyEndAllowThreads(__tstate);
29199 if (PyErr_Occurred()) SWIG_fail;
29200 }
29201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29202 return resultobj;
29203 fail:
29204 return NULL;
29205 }
29206
29207
29208 SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29209 PyObject *resultobj = 0;
29210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29211 wxWindow *arg2 = (wxWindow *) 0 ;
29212 int arg3 = (int) -1 ;
29213 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29214 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29215 wxSize const &arg5_defvalue = wxDefaultSize ;
29216 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29217 long arg6 = (long) wxLC_ICON ;
29218 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29219 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29220 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29221 wxString *arg8 = (wxString *) &arg8_defvalue ;
29222 bool result;
29223 void *argp1 = 0 ;
29224 int res1 = 0 ;
29225 void *argp2 = 0 ;
29226 int res2 = 0 ;
29227 int val3 ;
29228 int ecode3 = 0 ;
29229 wxPoint temp4 ;
29230 wxSize temp5 ;
29231 long val6 ;
29232 int ecode6 = 0 ;
29233 void *argp7 = 0 ;
29234 int res7 = 0 ;
29235 bool temp8 = false ;
29236 PyObject * obj0 = 0 ;
29237 PyObject * obj1 = 0 ;
29238 PyObject * obj2 = 0 ;
29239 PyObject * obj3 = 0 ;
29240 PyObject * obj4 = 0 ;
29241 PyObject * obj5 = 0 ;
29242 PyObject * obj6 = 0 ;
29243 PyObject * obj7 = 0 ;
29244 char * kwnames[] = {
29245 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29246 };
29247
29248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29250 if (!SWIG_IsOK(res1)) {
29251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29252 }
29253 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29255 if (!SWIG_IsOK(res2)) {
29256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29257 }
29258 arg2 = reinterpret_cast< wxWindow * >(argp2);
29259 if (obj2) {
29260 ecode3 = SWIG_AsVal_int(obj2, &val3);
29261 if (!SWIG_IsOK(ecode3)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29263 }
29264 arg3 = static_cast< int >(val3);
29265 }
29266 if (obj3) {
29267 {
29268 arg4 = &temp4;
29269 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29270 }
29271 }
29272 if (obj4) {
29273 {
29274 arg5 = &temp5;
29275 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29276 }
29277 }
29278 if (obj5) {
29279 ecode6 = SWIG_AsVal_long(obj5, &val6);
29280 if (!SWIG_IsOK(ecode6)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29282 }
29283 arg6 = static_cast< long >(val6);
29284 }
29285 if (obj6) {
29286 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29287 if (!SWIG_IsOK(res7)) {
29288 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29289 }
29290 if (!argp7) {
29291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29292 }
29293 arg7 = reinterpret_cast< wxValidator * >(argp7);
29294 }
29295 if (obj7) {
29296 {
29297 arg8 = wxString_in_helper(obj7);
29298 if (arg8 == NULL) SWIG_fail;
29299 temp8 = true;
29300 }
29301 }
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 {
29309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29310 }
29311 {
29312 if (temp8)
29313 delete arg8;
29314 }
29315 return resultobj;
29316 fail:
29317 {
29318 if (temp8)
29319 delete arg8;
29320 }
29321 return NULL;
29322 }
29323
29324
29325 SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29326 PyObject *resultobj = 0;
29327 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29328 PyObject *arg2 = (PyObject *) 0 ;
29329 PyObject *arg3 = (PyObject *) 0 ;
29330 void *argp1 = 0 ;
29331 int res1 = 0 ;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 PyObject * obj2 = 0 ;
29335 char * kwnames[] = {
29336 (char *) "self",(char *) "self",(char *) "_class", NULL
29337 };
29338
29339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29341 if (!SWIG_IsOK(res1)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29343 }
29344 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29345 arg2 = obj1;
29346 arg3 = obj2;
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 (arg1)->_setCallbackInfo(arg2,arg3);
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 resultobj = SWIG_Py_Void();
29354 return resultobj;
29355 fail:
29356 return NULL;
29357 }
29358
29359
29360 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29361 PyObject *resultobj = 0;
29362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29363 int arg2 ;
29364 wxListItem *result = 0 ;
29365 void *argp1 = 0 ;
29366 int res1 = 0 ;
29367 int val2 ;
29368 int ecode2 = 0 ;
29369 PyObject * obj0 = 0 ;
29370 PyObject * obj1 = 0 ;
29371 char * kwnames[] = {
29372 (char *) "self",(char *) "col", NULL
29373 };
29374
29375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29377 if (!SWIG_IsOK(res1)) {
29378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29379 }
29380 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29381 ecode2 = SWIG_AsVal_int(obj1, &val2);
29382 if (!SWIG_IsOK(ecode2)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29384 }
29385 arg2 = static_cast< int >(val2);
29386 {
29387 PyThreadState* __tstate = wxPyBeginAllowThreads();
29388 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 {
29393 resultobj = wxPyMake_wxObject(result, 0);
29394 }
29395 return resultobj;
29396 fail:
29397 return NULL;
29398 }
29399
29400
29401 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29402 PyObject *resultobj = 0;
29403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29404 int arg2 ;
29405 wxListItem *arg3 = 0 ;
29406 bool result;
29407 void *argp1 = 0 ;
29408 int res1 = 0 ;
29409 int val2 ;
29410 int ecode2 = 0 ;
29411 void *argp3 = 0 ;
29412 int res3 = 0 ;
29413 PyObject * obj0 = 0 ;
29414 PyObject * obj1 = 0 ;
29415 PyObject * obj2 = 0 ;
29416 char * kwnames[] = {
29417 (char *) "self",(char *) "col",(char *) "item", NULL
29418 };
29419
29420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29422 if (!SWIG_IsOK(res1)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29424 }
29425 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29426 ecode2 = SWIG_AsVal_int(obj1, &val2);
29427 if (!SWIG_IsOK(ecode2)) {
29428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29429 }
29430 arg2 = static_cast< int >(val2);
29431 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29432 if (!SWIG_IsOK(res3)) {
29433 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29434 }
29435 if (!argp3) {
29436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29437 }
29438 arg3 = reinterpret_cast< wxListItem * >(argp3);
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 {
29446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29447 }
29448 return resultobj;
29449 fail:
29450 return NULL;
29451 }
29452
29453
29454 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29455 PyObject *resultobj = 0;
29456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29457 int arg2 ;
29458 int result;
29459 void *argp1 = 0 ;
29460 int res1 = 0 ;
29461 int val2 ;
29462 int ecode2 = 0 ;
29463 PyObject * obj0 = 0 ;
29464 PyObject * obj1 = 0 ;
29465 char * kwnames[] = {
29466 (char *) "self",(char *) "col", NULL
29467 };
29468
29469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29471 if (!SWIG_IsOK(res1)) {
29472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29473 }
29474 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29475 ecode2 = SWIG_AsVal_int(obj1, &val2);
29476 if (!SWIG_IsOK(ecode2)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29478 }
29479 arg2 = static_cast< int >(val2);
29480 {
29481 PyThreadState* __tstate = wxPyBeginAllowThreads();
29482 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29483 wxPyEndAllowThreads(__tstate);
29484 if (PyErr_Occurred()) SWIG_fail;
29485 }
29486 resultobj = SWIG_From_int(static_cast< int >(result));
29487 return resultobj;
29488 fail:
29489 return NULL;
29490 }
29491
29492
29493 SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29494 PyObject *resultobj = 0;
29495 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29496 int arg2 ;
29497 int arg3 ;
29498 bool result;
29499 void *argp1 = 0 ;
29500 int res1 = 0 ;
29501 int val2 ;
29502 int ecode2 = 0 ;
29503 int val3 ;
29504 int ecode3 = 0 ;
29505 PyObject * obj0 = 0 ;
29506 PyObject * obj1 = 0 ;
29507 PyObject * obj2 = 0 ;
29508 char * kwnames[] = {
29509 (char *) "self",(char *) "col",(char *) "width", NULL
29510 };
29511
29512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29514 if (!SWIG_IsOK(res1)) {
29515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29516 }
29517 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29518 ecode2 = SWIG_AsVal_int(obj1, &val2);
29519 if (!SWIG_IsOK(ecode2)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29521 }
29522 arg2 = static_cast< int >(val2);
29523 ecode3 = SWIG_AsVal_int(obj2, &val3);
29524 if (!SWIG_IsOK(ecode3)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29526 }
29527 arg3 = static_cast< int >(val3);
29528 {
29529 PyThreadState* __tstate = wxPyBeginAllowThreads();
29530 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29531 wxPyEndAllowThreads(__tstate);
29532 if (PyErr_Occurred()) SWIG_fail;
29533 }
29534 {
29535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29536 }
29537 return resultobj;
29538 fail:
29539 return NULL;
29540 }
29541
29542
29543 SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29544 PyObject *resultobj = 0;
29545 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29546 int result;
29547 void *argp1 = 0 ;
29548 int res1 = 0 ;
29549 PyObject *swig_obj[1] ;
29550
29551 if (!args) SWIG_fail;
29552 swig_obj[0] = args;
29553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29554 if (!SWIG_IsOK(res1)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29556 }
29557 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29558 {
29559 PyThreadState* __tstate = wxPyBeginAllowThreads();
29560 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29561 wxPyEndAllowThreads(__tstate);
29562 if (PyErr_Occurred()) SWIG_fail;
29563 }
29564 resultobj = SWIG_From_int(static_cast< int >(result));
29565 return resultobj;
29566 fail:
29567 return NULL;
29568 }
29569
29570
29571 SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29572 PyObject *resultobj = 0;
29573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29574 wxRect result;
29575 void *argp1 = 0 ;
29576 int res1 = 0 ;
29577 PyObject *swig_obj[1] ;
29578
29579 if (!args) SWIG_fail;
29580 swig_obj[0] = args;
29581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29582 if (!SWIG_IsOK(res1)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29584 }
29585 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29586 {
29587 PyThreadState* __tstate = wxPyBeginAllowThreads();
29588 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29589 wxPyEndAllowThreads(__tstate);
29590 if (PyErr_Occurred()) SWIG_fail;
29591 }
29592 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29593 return resultobj;
29594 fail:
29595 return NULL;
29596 }
29597
29598
29599 SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29600 PyObject *resultobj = 0;
29601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29602 wxTextCtrl *result = 0 ;
29603 void *argp1 = 0 ;
29604 int res1 = 0 ;
29605 PyObject *swig_obj[1] ;
29606
29607 if (!args) SWIG_fail;
29608 swig_obj[0] = args;
29609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29610 if (!SWIG_IsOK(res1)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29612 }
29613 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 {
29621 resultobj = wxPyMake_wxObject(result, 0);
29622 }
29623 return resultobj;
29624 fail:
29625 return NULL;
29626 }
29627
29628
29629 SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29630 PyObject *resultobj = 0;
29631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29632 long arg2 ;
29633 int arg3 = (int) 0 ;
29634 wxListItem *result = 0 ;
29635 void *argp1 = 0 ;
29636 int res1 = 0 ;
29637 long val2 ;
29638 int ecode2 = 0 ;
29639 int val3 ;
29640 int ecode3 = 0 ;
29641 PyObject * obj0 = 0 ;
29642 PyObject * obj1 = 0 ;
29643 PyObject * obj2 = 0 ;
29644 char * kwnames[] = {
29645 (char *) "self",(char *) "itemId",(char *) "col", NULL
29646 };
29647
29648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29650 if (!SWIG_IsOK(res1)) {
29651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29652 }
29653 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29654 ecode2 = SWIG_AsVal_long(obj1, &val2);
29655 if (!SWIG_IsOK(ecode2)) {
29656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29657 }
29658 arg2 = static_cast< long >(val2);
29659 if (obj2) {
29660 ecode3 = SWIG_AsVal_int(obj2, &val3);
29661 if (!SWIG_IsOK(ecode3)) {
29662 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29663 }
29664 arg3 = static_cast< int >(val3);
29665 }
29666 {
29667 PyThreadState* __tstate = wxPyBeginAllowThreads();
29668 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29669 wxPyEndAllowThreads(__tstate);
29670 if (PyErr_Occurred()) SWIG_fail;
29671 }
29672 {
29673 resultobj = wxPyMake_wxObject(result, 0);
29674 }
29675 return resultobj;
29676 fail:
29677 return NULL;
29678 }
29679
29680
29681 SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29682 PyObject *resultobj = 0;
29683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29684 wxListItem *arg2 = 0 ;
29685 bool result;
29686 void *argp1 = 0 ;
29687 int res1 = 0 ;
29688 void *argp2 = 0 ;
29689 int res2 = 0 ;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char * kwnames[] = {
29693 (char *) "self",(char *) "info", NULL
29694 };
29695
29696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29698 if (!SWIG_IsOK(res1)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29700 }
29701 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29702 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29703 if (!SWIG_IsOK(res2)) {
29704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29705 }
29706 if (!argp2) {
29707 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29708 }
29709 arg2 = reinterpret_cast< wxListItem * >(argp2);
29710 {
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
29712 result = (bool)(arg1)->SetItem(*arg2);
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 {
29717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29718 }
29719 return resultobj;
29720 fail:
29721 return NULL;
29722 }
29723
29724
29725 SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29726 PyObject *resultobj = 0;
29727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29728 long arg2 ;
29729 int arg3 ;
29730 wxString *arg4 = 0 ;
29731 int arg5 = (int) -1 ;
29732 long result;
29733 void *argp1 = 0 ;
29734 int res1 = 0 ;
29735 long val2 ;
29736 int ecode2 = 0 ;
29737 int val3 ;
29738 int ecode3 = 0 ;
29739 bool temp4 = false ;
29740 int val5 ;
29741 int ecode5 = 0 ;
29742 PyObject * obj0 = 0 ;
29743 PyObject * obj1 = 0 ;
29744 PyObject * obj2 = 0 ;
29745 PyObject * obj3 = 0 ;
29746 PyObject * obj4 = 0 ;
29747 char * kwnames[] = {
29748 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29749 };
29750
29751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29753 if (!SWIG_IsOK(res1)) {
29754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29755 }
29756 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29757 ecode2 = SWIG_AsVal_long(obj1, &val2);
29758 if (!SWIG_IsOK(ecode2)) {
29759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29760 }
29761 arg2 = static_cast< long >(val2);
29762 ecode3 = SWIG_AsVal_int(obj2, &val3);
29763 if (!SWIG_IsOK(ecode3)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29765 }
29766 arg3 = static_cast< int >(val3);
29767 {
29768 arg4 = wxString_in_helper(obj3);
29769 if (arg4 == NULL) SWIG_fail;
29770 temp4 = true;
29771 }
29772 if (obj4) {
29773 ecode5 = SWIG_AsVal_int(obj4, &val5);
29774 if (!SWIG_IsOK(ecode5)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29776 }
29777 arg5 = static_cast< int >(val5);
29778 }
29779 {
29780 PyThreadState* __tstate = wxPyBeginAllowThreads();
29781 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 resultobj = SWIG_From_long(static_cast< long >(result));
29786 {
29787 if (temp4)
29788 delete arg4;
29789 }
29790 return resultobj;
29791 fail:
29792 {
29793 if (temp4)
29794 delete arg4;
29795 }
29796 return NULL;
29797 }
29798
29799
29800 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29801 PyObject *resultobj = 0;
29802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29803 long arg2 ;
29804 long arg3 ;
29805 int result;
29806 void *argp1 = 0 ;
29807 int res1 = 0 ;
29808 long val2 ;
29809 int ecode2 = 0 ;
29810 long val3 ;
29811 int ecode3 = 0 ;
29812 PyObject * obj0 = 0 ;
29813 PyObject * obj1 = 0 ;
29814 PyObject * obj2 = 0 ;
29815 char * kwnames[] = {
29816 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29817 };
29818
29819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29821 if (!SWIG_IsOK(res1)) {
29822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29823 }
29824 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29825 ecode2 = SWIG_AsVal_long(obj1, &val2);
29826 if (!SWIG_IsOK(ecode2)) {
29827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29828 }
29829 arg2 = static_cast< long >(val2);
29830 ecode3 = SWIG_AsVal_long(obj2, &val3);
29831 if (!SWIG_IsOK(ecode3)) {
29832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29833 }
29834 arg3 = static_cast< long >(val3);
29835 {
29836 PyThreadState* __tstate = wxPyBeginAllowThreads();
29837 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29838 wxPyEndAllowThreads(__tstate);
29839 if (PyErr_Occurred()) SWIG_fail;
29840 }
29841 resultobj = SWIG_From_int(static_cast< int >(result));
29842 return resultobj;
29843 fail:
29844 return NULL;
29845 }
29846
29847
29848 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29849 PyObject *resultobj = 0;
29850 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29851 long arg2 ;
29852 long arg3 ;
29853 long arg4 ;
29854 bool result;
29855 void *argp1 = 0 ;
29856 int res1 = 0 ;
29857 long val2 ;
29858 int ecode2 = 0 ;
29859 long val3 ;
29860 int ecode3 = 0 ;
29861 long val4 ;
29862 int ecode4 = 0 ;
29863 PyObject * obj0 = 0 ;
29864 PyObject * obj1 = 0 ;
29865 PyObject * obj2 = 0 ;
29866 PyObject * obj3 = 0 ;
29867 char * kwnames[] = {
29868 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29869 };
29870
29871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29873 if (!SWIG_IsOK(res1)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29875 }
29876 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29877 ecode2 = SWIG_AsVal_long(obj1, &val2);
29878 if (!SWIG_IsOK(ecode2)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29880 }
29881 arg2 = static_cast< long >(val2);
29882 ecode3 = SWIG_AsVal_long(obj2, &val3);
29883 if (!SWIG_IsOK(ecode3)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29885 }
29886 arg3 = static_cast< long >(val3);
29887 ecode4 = SWIG_AsVal_long(obj3, &val4);
29888 if (!SWIG_IsOK(ecode4)) {
29889 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29890 }
29891 arg4 = static_cast< long >(val4);
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29895 wxPyEndAllowThreads(__tstate);
29896 if (PyErr_Occurred()) SWIG_fail;
29897 }
29898 {
29899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29900 }
29901 return resultobj;
29902 fail:
29903 return NULL;
29904 }
29905
29906
29907 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29908 PyObject *resultobj = 0;
29909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29910 long arg2 ;
29911 int arg3 ;
29912 int arg4 = (int) -1 ;
29913 bool result;
29914 void *argp1 = 0 ;
29915 int res1 = 0 ;
29916 long val2 ;
29917 int ecode2 = 0 ;
29918 int val3 ;
29919 int ecode3 = 0 ;
29920 int val4 ;
29921 int ecode4 = 0 ;
29922 PyObject * obj0 = 0 ;
29923 PyObject * obj1 = 0 ;
29924 PyObject * obj2 = 0 ;
29925 PyObject * obj3 = 0 ;
29926 char * kwnames[] = {
29927 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29928 };
29929
29930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29932 if (!SWIG_IsOK(res1)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29934 }
29935 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29936 ecode2 = SWIG_AsVal_long(obj1, &val2);
29937 if (!SWIG_IsOK(ecode2)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29939 }
29940 arg2 = static_cast< long >(val2);
29941 ecode3 = SWIG_AsVal_int(obj2, &val3);
29942 if (!SWIG_IsOK(ecode3)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29944 }
29945 arg3 = static_cast< int >(val3);
29946 if (obj3) {
29947 ecode4 = SWIG_AsVal_int(obj3, &val4);
29948 if (!SWIG_IsOK(ecode4)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29950 }
29951 arg4 = static_cast< int >(val4);
29952 }
29953 {
29954 PyThreadState* __tstate = wxPyBeginAllowThreads();
29955 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 {
29960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29961 }
29962 return resultobj;
29963 fail:
29964 return NULL;
29965 }
29966
29967
29968 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj = 0;
29970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29971 long arg2 ;
29972 long arg3 ;
29973 int arg4 ;
29974 bool result;
29975 void *argp1 = 0 ;
29976 int res1 = 0 ;
29977 long val2 ;
29978 int ecode2 = 0 ;
29979 long val3 ;
29980 int ecode3 = 0 ;
29981 int val4 ;
29982 int ecode4 = 0 ;
29983 PyObject * obj0 = 0 ;
29984 PyObject * obj1 = 0 ;
29985 PyObject * obj2 = 0 ;
29986 PyObject * obj3 = 0 ;
29987 char * kwnames[] = {
29988 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29989 };
29990
29991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29993 if (!SWIG_IsOK(res1)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29995 }
29996 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29997 ecode2 = SWIG_AsVal_long(obj1, &val2);
29998 if (!SWIG_IsOK(ecode2)) {
29999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30000 }
30001 arg2 = static_cast< long >(val2);
30002 ecode3 = SWIG_AsVal_long(obj2, &val3);
30003 if (!SWIG_IsOK(ecode3)) {
30004 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30005 }
30006 arg3 = static_cast< long >(val3);
30007 ecode4 = SWIG_AsVal_int(obj3, &val4);
30008 if (!SWIG_IsOK(ecode4)) {
30009 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30010 }
30011 arg4 = static_cast< int >(val4);
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
30015 wxPyEndAllowThreads(__tstate);
30016 if (PyErr_Occurred()) SWIG_fail;
30017 }
30018 {
30019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30020 }
30021 return resultobj;
30022 fail:
30023 return NULL;
30024 }
30025
30026
30027 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30028 PyObject *resultobj = 0;
30029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30030 long arg2 ;
30031 wxString result;
30032 void *argp1 = 0 ;
30033 int res1 = 0 ;
30034 long val2 ;
30035 int ecode2 = 0 ;
30036 PyObject * obj0 = 0 ;
30037 PyObject * obj1 = 0 ;
30038 char * kwnames[] = {
30039 (char *) "self",(char *) "item", NULL
30040 };
30041
30042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
30043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30044 if (!SWIG_IsOK(res1)) {
30045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30046 }
30047 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30048 ecode2 = SWIG_AsVal_long(obj1, &val2);
30049 if (!SWIG_IsOK(ecode2)) {
30050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30051 }
30052 arg2 = static_cast< long >(val2);
30053 {
30054 PyThreadState* __tstate = wxPyBeginAllowThreads();
30055 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
30056 wxPyEndAllowThreads(__tstate);
30057 if (PyErr_Occurred()) SWIG_fail;
30058 }
30059 {
30060 #if wxUSE_UNICODE
30061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30062 #else
30063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30064 #endif
30065 }
30066 return resultobj;
30067 fail:
30068 return NULL;
30069 }
30070
30071
30072 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30073 PyObject *resultobj = 0;
30074 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30075 long arg2 ;
30076 wxString *arg3 = 0 ;
30077 void *argp1 = 0 ;
30078 int res1 = 0 ;
30079 long val2 ;
30080 int ecode2 = 0 ;
30081 bool temp3 = false ;
30082 PyObject * obj0 = 0 ;
30083 PyObject * obj1 = 0 ;
30084 PyObject * obj2 = 0 ;
30085 char * kwnames[] = {
30086 (char *) "self",(char *) "item",(char *) "str", NULL
30087 };
30088
30089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30091 if (!SWIG_IsOK(res1)) {
30092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30093 }
30094 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30095 ecode2 = SWIG_AsVal_long(obj1, &val2);
30096 if (!SWIG_IsOK(ecode2)) {
30097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30098 }
30099 arg2 = static_cast< long >(val2);
30100 {
30101 arg3 = wxString_in_helper(obj2);
30102 if (arg3 == NULL) SWIG_fail;
30103 temp3 = true;
30104 }
30105 {
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
30108 wxPyEndAllowThreads(__tstate);
30109 if (PyErr_Occurred()) SWIG_fail;
30110 }
30111 resultobj = SWIG_Py_Void();
30112 {
30113 if (temp3)
30114 delete arg3;
30115 }
30116 return resultobj;
30117 fail:
30118 {
30119 if (temp3)
30120 delete arg3;
30121 }
30122 return NULL;
30123 }
30124
30125
30126 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30127 PyObject *resultobj = 0;
30128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30129 long arg2 ;
30130 long result;
30131 void *argp1 = 0 ;
30132 int res1 = 0 ;
30133 long val2 ;
30134 int ecode2 = 0 ;
30135 PyObject * obj0 = 0 ;
30136 PyObject * obj1 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "self",(char *) "item", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
30142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30147 ecode2 = SWIG_AsVal_long(obj1, &val2);
30148 if (!SWIG_IsOK(ecode2)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30150 }
30151 arg2 = static_cast< long >(val2);
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
30155 wxPyEndAllowThreads(__tstate);
30156 if (PyErr_Occurred()) SWIG_fail;
30157 }
30158 resultobj = SWIG_From_long(static_cast< long >(result));
30159 return resultobj;
30160 fail:
30161 return NULL;
30162 }
30163
30164
30165 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30166 PyObject *resultobj = 0;
30167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30168 long arg2 ;
30169 long arg3 ;
30170 bool result;
30171 void *argp1 = 0 ;
30172 int res1 = 0 ;
30173 long val2 ;
30174 int ecode2 = 0 ;
30175 long val3 ;
30176 int ecode3 = 0 ;
30177 PyObject * obj0 = 0 ;
30178 PyObject * obj1 = 0 ;
30179 PyObject * obj2 = 0 ;
30180 char * kwnames[] = {
30181 (char *) "self",(char *) "item",(char *) "data", NULL
30182 };
30183
30184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30186 if (!SWIG_IsOK(res1)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30188 }
30189 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30190 ecode2 = SWIG_AsVal_long(obj1, &val2);
30191 if (!SWIG_IsOK(ecode2)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30193 }
30194 arg2 = static_cast< long >(val2);
30195 ecode3 = SWIG_AsVal_long(obj2, &val3);
30196 if (!SWIG_IsOK(ecode3)) {
30197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30198 }
30199 arg3 = static_cast< long >(val3);
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 result = (bool)(arg1)->SetItemData(arg2,arg3);
30203 wxPyEndAllowThreads(__tstate);
30204 if (PyErr_Occurred()) SWIG_fail;
30205 }
30206 {
30207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30208 }
30209 return resultobj;
30210 fail:
30211 return NULL;
30212 }
30213
30214
30215 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30216 PyObject *resultobj = 0;
30217 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30218 long arg2 ;
30219 wxPoint result;
30220 void *argp1 = 0 ;
30221 int res1 = 0 ;
30222 long val2 ;
30223 int ecode2 = 0 ;
30224 PyObject * obj0 = 0 ;
30225 PyObject * obj1 = 0 ;
30226 char * kwnames[] = {
30227 (char *) "self",(char *) "item", NULL
30228 };
30229
30230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30232 if (!SWIG_IsOK(res1)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30234 }
30235 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30236 ecode2 = SWIG_AsVal_long(obj1, &val2);
30237 if (!SWIG_IsOK(ecode2)) {
30238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30239 }
30240 arg2 = static_cast< long >(val2);
30241 {
30242 PyThreadState* __tstate = wxPyBeginAllowThreads();
30243 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30244 wxPyEndAllowThreads(__tstate);
30245 if (PyErr_Occurred()) SWIG_fail;
30246 }
30247 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30248 return resultobj;
30249 fail:
30250 return NULL;
30251 }
30252
30253
30254 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30255 PyObject *resultobj = 0;
30256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30257 long arg2 ;
30258 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30259 wxRect result;
30260 void *argp1 = 0 ;
30261 int res1 = 0 ;
30262 long val2 ;
30263 int ecode2 = 0 ;
30264 int val3 ;
30265 int ecode3 = 0 ;
30266 PyObject * obj0 = 0 ;
30267 PyObject * obj1 = 0 ;
30268 PyObject * obj2 = 0 ;
30269 char * kwnames[] = {
30270 (char *) "self",(char *) "item",(char *) "code", NULL
30271 };
30272
30273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30275 if (!SWIG_IsOK(res1)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30277 }
30278 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30279 ecode2 = SWIG_AsVal_long(obj1, &val2);
30280 if (!SWIG_IsOK(ecode2)) {
30281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30282 }
30283 arg2 = static_cast< long >(val2);
30284 if (obj2) {
30285 ecode3 = SWIG_AsVal_int(obj2, &val3);
30286 if (!SWIG_IsOK(ecode3)) {
30287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30288 }
30289 arg3 = static_cast< int >(val3);
30290 }
30291 {
30292 PyThreadState* __tstate = wxPyBeginAllowThreads();
30293 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30294 wxPyEndAllowThreads(__tstate);
30295 if (PyErr_Occurred()) SWIG_fail;
30296 }
30297 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30298 return resultobj;
30299 fail:
30300 return NULL;
30301 }
30302
30303
30304 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30305 PyObject *resultobj = 0;
30306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30307 long arg2 ;
30308 wxPoint *arg3 = 0 ;
30309 bool result;
30310 void *argp1 = 0 ;
30311 int res1 = 0 ;
30312 long val2 ;
30313 int ecode2 = 0 ;
30314 wxPoint temp3 ;
30315 PyObject * obj0 = 0 ;
30316 PyObject * obj1 = 0 ;
30317 PyObject * obj2 = 0 ;
30318 char * kwnames[] = {
30319 (char *) "self",(char *) "item",(char *) "pos", NULL
30320 };
30321
30322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30324 if (!SWIG_IsOK(res1)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30326 }
30327 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30328 ecode2 = SWIG_AsVal_long(obj1, &val2);
30329 if (!SWIG_IsOK(ecode2)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30331 }
30332 arg2 = static_cast< long >(val2);
30333 {
30334 arg3 = &temp3;
30335 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30336 }
30337 {
30338 PyThreadState* __tstate = wxPyBeginAllowThreads();
30339 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 {
30344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30345 }
30346 return resultobj;
30347 fail:
30348 return NULL;
30349 }
30350
30351
30352 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30353 PyObject *resultobj = 0;
30354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30355 int result;
30356 void *argp1 = 0 ;
30357 int res1 = 0 ;
30358 PyObject *swig_obj[1] ;
30359
30360 if (!args) SWIG_fail;
30361 swig_obj[0] = args;
30362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30363 if (!SWIG_IsOK(res1)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30365 }
30366 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30367 {
30368 PyThreadState* __tstate = wxPyBeginAllowThreads();
30369 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 resultobj = SWIG_From_int(static_cast< int >(result));
30374 return resultobj;
30375 fail:
30376 return NULL;
30377 }
30378
30379
30380 SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30381 PyObject *resultobj = 0;
30382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30383 int result;
30384 void *argp1 = 0 ;
30385 int res1 = 0 ;
30386 PyObject *swig_obj[1] ;
30387
30388 if (!args) SWIG_fail;
30389 swig_obj[0] = args;
30390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30391 if (!SWIG_IsOK(res1)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30393 }
30394 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 resultobj = SWIG_From_int(static_cast< int >(result));
30402 return resultobj;
30403 fail:
30404 return NULL;
30405 }
30406
30407
30408 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30409 PyObject *resultobj = 0;
30410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30411 wxSize result;
30412 void *argp1 = 0 ;
30413 int res1 = 0 ;
30414 PyObject *swig_obj[1] ;
30415
30416 if (!args) SWIG_fail;
30417 swig_obj[0] = args;
30418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30419 if (!SWIG_IsOK(res1)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30421 }
30422 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30423 {
30424 PyThreadState* __tstate = wxPyBeginAllowThreads();
30425 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30430 return resultobj;
30431 fail:
30432 return NULL;
30433 }
30434
30435
30436 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30437 PyObject *resultobj = 0;
30438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30439 int arg2 ;
30440 bool arg3 = (bool) false ;
30441 void *argp1 = 0 ;
30442 int res1 = 0 ;
30443 int val2 ;
30444 int ecode2 = 0 ;
30445 bool val3 ;
30446 int ecode3 = 0 ;
30447 PyObject * obj0 = 0 ;
30448 PyObject * obj1 = 0 ;
30449 PyObject * obj2 = 0 ;
30450 char * kwnames[] = {
30451 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30452 };
30453
30454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30456 if (!SWIG_IsOK(res1)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30458 }
30459 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30460 ecode2 = SWIG_AsVal_int(obj1, &val2);
30461 if (!SWIG_IsOK(ecode2)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30463 }
30464 arg2 = static_cast< int >(val2);
30465 if (obj2) {
30466 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30467 if (!SWIG_IsOK(ecode3)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30469 }
30470 arg3 = static_cast< bool >(val3);
30471 }
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 (arg1)->SetItemSpacing(arg2,arg3);
30475 wxPyEndAllowThreads(__tstate);
30476 if (PyErr_Occurred()) SWIG_fail;
30477 }
30478 resultobj = SWIG_Py_Void();
30479 return resultobj;
30480 fail:
30481 return NULL;
30482 }
30483
30484
30485 SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30486 PyObject *resultobj = 0;
30487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30488 int result;
30489 void *argp1 = 0 ;
30490 int res1 = 0 ;
30491 PyObject *swig_obj[1] ;
30492
30493 if (!args) SWIG_fail;
30494 swig_obj[0] = args;
30495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30496 if (!SWIG_IsOK(res1)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30498 }
30499 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30500 {
30501 PyThreadState* __tstate = wxPyBeginAllowThreads();
30502 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 resultobj = SWIG_From_int(static_cast< int >(result));
30507 return resultobj;
30508 fail:
30509 return NULL;
30510 }
30511
30512
30513 SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30514 PyObject *resultobj = 0;
30515 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30516 wxColour result;
30517 void *argp1 = 0 ;
30518 int res1 = 0 ;
30519 PyObject *swig_obj[1] ;
30520
30521 if (!args) SWIG_fail;
30522 swig_obj[0] = args;
30523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30524 if (!SWIG_IsOK(res1)) {
30525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30526 }
30527 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30535 return resultobj;
30536 fail:
30537 return NULL;
30538 }
30539
30540
30541 SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30542 PyObject *resultobj = 0;
30543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30544 wxColour *arg2 = 0 ;
30545 void *argp1 = 0 ;
30546 int res1 = 0 ;
30547 wxColour temp2 ;
30548 PyObject * obj0 = 0 ;
30549 PyObject * obj1 = 0 ;
30550 char * kwnames[] = {
30551 (char *) "self",(char *) "col", NULL
30552 };
30553
30554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30556 if (!SWIG_IsOK(res1)) {
30557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30558 }
30559 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30560 {
30561 arg2 = &temp2;
30562 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30563 }
30564 {
30565 PyThreadState* __tstate = wxPyBeginAllowThreads();
30566 (arg1)->SetTextColour((wxColour const &)*arg2);
30567 wxPyEndAllowThreads(__tstate);
30568 if (PyErr_Occurred()) SWIG_fail;
30569 }
30570 resultobj = SWIG_Py_Void();
30571 return resultobj;
30572 fail:
30573 return NULL;
30574 }
30575
30576
30577 SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30578 PyObject *resultobj = 0;
30579 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30580 long result;
30581 void *argp1 = 0 ;
30582 int res1 = 0 ;
30583 PyObject *swig_obj[1] ;
30584
30585 if (!args) SWIG_fail;
30586 swig_obj[0] = args;
30587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30588 if (!SWIG_IsOK(res1)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30590 }
30591 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30595 wxPyEndAllowThreads(__tstate);
30596 if (PyErr_Occurred()) SWIG_fail;
30597 }
30598 resultobj = SWIG_From_long(static_cast< long >(result));
30599 return resultobj;
30600 fail:
30601 return NULL;
30602 }
30603
30604
30605 SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30606 PyObject *resultobj = 0;
30607 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30608 long arg2 ;
30609 bool arg3 = (bool) true ;
30610 void *argp1 = 0 ;
30611 int res1 = 0 ;
30612 long val2 ;
30613 int ecode2 = 0 ;
30614 bool val3 ;
30615 int ecode3 = 0 ;
30616 PyObject * obj0 = 0 ;
30617 PyObject * obj1 = 0 ;
30618 PyObject * obj2 = 0 ;
30619 char * kwnames[] = {
30620 (char *) "self",(char *) "style",(char *) "add", NULL
30621 };
30622
30623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30625 if (!SWIG_IsOK(res1)) {
30626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30627 }
30628 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30629 ecode2 = SWIG_AsVal_long(obj1, &val2);
30630 if (!SWIG_IsOK(ecode2)) {
30631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30632 }
30633 arg2 = static_cast< long >(val2);
30634 if (obj2) {
30635 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30636 if (!SWIG_IsOK(ecode3)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30638 }
30639 arg3 = static_cast< bool >(val3);
30640 }
30641 {
30642 PyThreadState* __tstate = wxPyBeginAllowThreads();
30643 (arg1)->SetSingleStyle(arg2,arg3);
30644 wxPyEndAllowThreads(__tstate);
30645 if (PyErr_Occurred()) SWIG_fail;
30646 }
30647 resultobj = SWIG_Py_Void();
30648 return resultobj;
30649 fail:
30650 return NULL;
30651 }
30652
30653
30654 SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30655 PyObject *resultobj = 0;
30656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30657 long arg2 ;
30658 int arg3 = (int) wxLIST_NEXT_ALL ;
30659 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30660 long result;
30661 void *argp1 = 0 ;
30662 int res1 = 0 ;
30663 long val2 ;
30664 int ecode2 = 0 ;
30665 int val3 ;
30666 int ecode3 = 0 ;
30667 int val4 ;
30668 int ecode4 = 0 ;
30669 PyObject * obj0 = 0 ;
30670 PyObject * obj1 = 0 ;
30671 PyObject * obj2 = 0 ;
30672 PyObject * obj3 = 0 ;
30673 char * kwnames[] = {
30674 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30675 };
30676
30677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30681 }
30682 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30683 ecode2 = SWIG_AsVal_long(obj1, &val2);
30684 if (!SWIG_IsOK(ecode2)) {
30685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30686 }
30687 arg2 = static_cast< long >(val2);
30688 if (obj2) {
30689 ecode3 = SWIG_AsVal_int(obj2, &val3);
30690 if (!SWIG_IsOK(ecode3)) {
30691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30692 }
30693 arg3 = static_cast< int >(val3);
30694 }
30695 if (obj3) {
30696 ecode4 = SWIG_AsVal_int(obj3, &val4);
30697 if (!SWIG_IsOK(ecode4)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30699 }
30700 arg4 = static_cast< int >(val4);
30701 }
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30705 wxPyEndAllowThreads(__tstate);
30706 if (PyErr_Occurred()) SWIG_fail;
30707 }
30708 resultobj = SWIG_From_long(static_cast< long >(result));
30709 return resultobj;
30710 fail:
30711 return NULL;
30712 }
30713
30714
30715 SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30716 PyObject *resultobj = 0;
30717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30718 int arg2 ;
30719 wxImageList *result = 0 ;
30720 void *argp1 = 0 ;
30721 int res1 = 0 ;
30722 int val2 ;
30723 int ecode2 = 0 ;
30724 PyObject * obj0 = 0 ;
30725 PyObject * obj1 = 0 ;
30726 char * kwnames[] = {
30727 (char *) "self",(char *) "which", NULL
30728 };
30729
30730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30732 if (!SWIG_IsOK(res1)) {
30733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30734 }
30735 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30736 ecode2 = SWIG_AsVal_int(obj1, &val2);
30737 if (!SWIG_IsOK(ecode2)) {
30738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30739 }
30740 arg2 = static_cast< int >(val2);
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
30743 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30744 wxPyEndAllowThreads(__tstate);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 }
30747 {
30748 resultobj = wxPyMake_wxObject(result, (bool)0);
30749 }
30750 return resultobj;
30751 fail:
30752 return NULL;
30753 }
30754
30755
30756 SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30757 PyObject *resultobj = 0;
30758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30759 wxImageList *arg2 = (wxImageList *) 0 ;
30760 int arg3 ;
30761 void *argp1 = 0 ;
30762 int res1 = 0 ;
30763 void *argp2 = 0 ;
30764 int res2 = 0 ;
30765 int val3 ;
30766 int ecode3 = 0 ;
30767 PyObject * obj0 = 0 ;
30768 PyObject * obj1 = 0 ;
30769 PyObject * obj2 = 0 ;
30770 char * kwnames[] = {
30771 (char *) "self",(char *) "imageList",(char *) "which", NULL
30772 };
30773
30774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30776 if (!SWIG_IsOK(res1)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30778 }
30779 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30780 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30781 if (!SWIG_IsOK(res2)) {
30782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30783 }
30784 arg2 = reinterpret_cast< wxImageList * >(argp2);
30785 ecode3 = SWIG_AsVal_int(obj2, &val3);
30786 if (!SWIG_IsOK(ecode3)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30788 }
30789 arg3 = static_cast< int >(val3);
30790 {
30791 PyThreadState* __tstate = wxPyBeginAllowThreads();
30792 (arg1)->SetImageList(arg2,arg3);
30793 wxPyEndAllowThreads(__tstate);
30794 if (PyErr_Occurred()) SWIG_fail;
30795 }
30796 resultobj = SWIG_Py_Void();
30797 return resultobj;
30798 fail:
30799 return NULL;
30800 }
30801
30802
30803 SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30804 PyObject *resultobj = 0;
30805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30806 wxImageList *arg2 = (wxImageList *) 0 ;
30807 int arg3 ;
30808 void *argp1 = 0 ;
30809 int res1 = 0 ;
30810 int res2 = 0 ;
30811 int val3 ;
30812 int ecode3 = 0 ;
30813 PyObject * obj0 = 0 ;
30814 PyObject * obj1 = 0 ;
30815 PyObject * obj2 = 0 ;
30816 char * kwnames[] = {
30817 (char *) "self",(char *) "imageList",(char *) "which", NULL
30818 };
30819
30820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30822 if (!SWIG_IsOK(res1)) {
30823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30824 }
30825 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30826 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30827 if (!SWIG_IsOK(res2)) {
30828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30829 }
30830 ecode3 = SWIG_AsVal_int(obj2, &val3);
30831 if (!SWIG_IsOK(ecode3)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30833 }
30834 arg3 = static_cast< int >(val3);
30835 {
30836 PyThreadState* __tstate = wxPyBeginAllowThreads();
30837 (arg1)->AssignImageList(arg2,arg3);
30838 wxPyEndAllowThreads(__tstate);
30839 if (PyErr_Occurred()) SWIG_fail;
30840 }
30841 resultobj = SWIG_Py_Void();
30842 return resultobj;
30843 fail:
30844 return NULL;
30845 }
30846
30847
30848 SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30849 PyObject *resultobj = 0;
30850 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30851 bool result;
30852 void *argp1 = 0 ;
30853 int res1 = 0 ;
30854 PyObject *swig_obj[1] ;
30855
30856 if (!args) SWIG_fail;
30857 swig_obj[0] = args;
30858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30859 if (!SWIG_IsOK(res1)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30861 }
30862 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30863 {
30864 PyThreadState* __tstate = wxPyBeginAllowThreads();
30865 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30866 wxPyEndAllowThreads(__tstate);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
30869 {
30870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30871 }
30872 return resultobj;
30873 fail:
30874 return NULL;
30875 }
30876
30877
30878 SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30879 PyObject *resultobj = 0;
30880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30881 bool result;
30882 void *argp1 = 0 ;
30883 int res1 = 0 ;
30884 PyObject *swig_obj[1] ;
30885
30886 if (!args) SWIG_fail;
30887 swig_obj[0] = args;
30888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30889 if (!SWIG_IsOK(res1)) {
30890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30891 }
30892 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30893 {
30894 PyThreadState* __tstate = wxPyBeginAllowThreads();
30895 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 {
30900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30901 }
30902 return resultobj;
30903 fail:
30904 return NULL;
30905 }
30906
30907
30908 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30909 PyObject *resultobj = 0;
30910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30911 long arg2 ;
30912 void *argp1 = 0 ;
30913 int res1 = 0 ;
30914 long val2 ;
30915 int ecode2 = 0 ;
30916 PyObject * obj0 = 0 ;
30917 PyObject * obj1 = 0 ;
30918 char * kwnames[] = {
30919 (char *) "self",(char *) "item", NULL
30920 };
30921
30922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30924 if (!SWIG_IsOK(res1)) {
30925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30926 }
30927 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30928 ecode2 = SWIG_AsVal_long(obj1, &val2);
30929 if (!SWIG_IsOK(ecode2)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30931 }
30932 arg2 = static_cast< long >(val2);
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 (arg1)->RefreshItem(arg2);
30936 wxPyEndAllowThreads(__tstate);
30937 if (PyErr_Occurred()) SWIG_fail;
30938 }
30939 resultobj = SWIG_Py_Void();
30940 return resultobj;
30941 fail:
30942 return NULL;
30943 }
30944
30945
30946 SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30947 PyObject *resultobj = 0;
30948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30949 long arg2 ;
30950 long arg3 ;
30951 void *argp1 = 0 ;
30952 int res1 = 0 ;
30953 long val2 ;
30954 int ecode2 = 0 ;
30955 long val3 ;
30956 int ecode3 = 0 ;
30957 PyObject * obj0 = 0 ;
30958 PyObject * obj1 = 0 ;
30959 PyObject * obj2 = 0 ;
30960 char * kwnames[] = {
30961 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30962 };
30963
30964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30966 if (!SWIG_IsOK(res1)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30968 }
30969 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30970 ecode2 = SWIG_AsVal_long(obj1, &val2);
30971 if (!SWIG_IsOK(ecode2)) {
30972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30973 }
30974 arg2 = static_cast< long >(val2);
30975 ecode3 = SWIG_AsVal_long(obj2, &val3);
30976 if (!SWIG_IsOK(ecode3)) {
30977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30978 }
30979 arg3 = static_cast< long >(val3);
30980 {
30981 PyThreadState* __tstate = wxPyBeginAllowThreads();
30982 (arg1)->RefreshItems(arg2,arg3);
30983 wxPyEndAllowThreads(__tstate);
30984 if (PyErr_Occurred()) SWIG_fail;
30985 }
30986 resultobj = SWIG_Py_Void();
30987 return resultobj;
30988 fail:
30989 return NULL;
30990 }
30991
30992
30993 SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30994 PyObject *resultobj = 0;
30995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30996 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30997 bool result;
30998 void *argp1 = 0 ;
30999 int res1 = 0 ;
31000 int val2 ;
31001 int ecode2 = 0 ;
31002 PyObject * obj0 = 0 ;
31003 PyObject * obj1 = 0 ;
31004 char * kwnames[] = {
31005 (char *) "self",(char *) "flag", NULL
31006 };
31007
31008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
31009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31010 if (!SWIG_IsOK(res1)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31012 }
31013 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31014 if (obj1) {
31015 ecode2 = SWIG_AsVal_int(obj1, &val2);
31016 if (!SWIG_IsOK(ecode2)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31018 }
31019 arg2 = static_cast< int >(val2);
31020 }
31021 {
31022 PyThreadState* __tstate = wxPyBeginAllowThreads();
31023 result = (bool)(arg1)->Arrange(arg2);
31024 wxPyEndAllowThreads(__tstate);
31025 if (PyErr_Occurred()) SWIG_fail;
31026 }
31027 {
31028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31029 }
31030 return resultobj;
31031 fail:
31032 return NULL;
31033 }
31034
31035
31036 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31037 PyObject *resultobj = 0;
31038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31039 long arg2 ;
31040 bool result;
31041 void *argp1 = 0 ;
31042 int res1 = 0 ;
31043 long val2 ;
31044 int ecode2 = 0 ;
31045 PyObject * obj0 = 0 ;
31046 PyObject * obj1 = 0 ;
31047 char * kwnames[] = {
31048 (char *) "self",(char *) "item", NULL
31049 };
31050
31051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
31052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31053 if (!SWIG_IsOK(res1)) {
31054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31055 }
31056 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31057 ecode2 = SWIG_AsVal_long(obj1, &val2);
31058 if (!SWIG_IsOK(ecode2)) {
31059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31060 }
31061 arg2 = static_cast< long >(val2);
31062 {
31063 PyThreadState* __tstate = wxPyBeginAllowThreads();
31064 result = (bool)(arg1)->DeleteItem(arg2);
31065 wxPyEndAllowThreads(__tstate);
31066 if (PyErr_Occurred()) SWIG_fail;
31067 }
31068 {
31069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31070 }
31071 return resultobj;
31072 fail:
31073 return NULL;
31074 }
31075
31076
31077 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31078 PyObject *resultobj = 0;
31079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31080 bool result;
31081 void *argp1 = 0 ;
31082 int res1 = 0 ;
31083 PyObject *swig_obj[1] ;
31084
31085 if (!args) SWIG_fail;
31086 swig_obj[0] = args;
31087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31088 if (!SWIG_IsOK(res1)) {
31089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31090 }
31091 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31092 {
31093 PyThreadState* __tstate = wxPyBeginAllowThreads();
31094 result = (bool)(arg1)->DeleteAllItems();
31095 wxPyEndAllowThreads(__tstate);
31096 if (PyErr_Occurred()) SWIG_fail;
31097 }
31098 {
31099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31100 }
31101 return resultobj;
31102 fail:
31103 return NULL;
31104 }
31105
31106
31107 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31108 PyObject *resultobj = 0;
31109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31110 int arg2 ;
31111 bool result;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 int val2 ;
31115 int ecode2 = 0 ;
31116 PyObject * obj0 = 0 ;
31117 PyObject * obj1 = 0 ;
31118 char * kwnames[] = {
31119 (char *) "self",(char *) "col", NULL
31120 };
31121
31122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
31123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31124 if (!SWIG_IsOK(res1)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31126 }
31127 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31128 ecode2 = SWIG_AsVal_int(obj1, &val2);
31129 if (!SWIG_IsOK(ecode2)) {
31130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31131 }
31132 arg2 = static_cast< int >(val2);
31133 {
31134 PyThreadState* __tstate = wxPyBeginAllowThreads();
31135 result = (bool)(arg1)->DeleteColumn(arg2);
31136 wxPyEndAllowThreads(__tstate);
31137 if (PyErr_Occurred()) SWIG_fail;
31138 }
31139 {
31140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31141 }
31142 return resultobj;
31143 fail:
31144 return NULL;
31145 }
31146
31147
31148 SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31149 PyObject *resultobj = 0;
31150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31151 bool result;
31152 void *argp1 = 0 ;
31153 int res1 = 0 ;
31154 PyObject *swig_obj[1] ;
31155
31156 if (!args) SWIG_fail;
31157 swig_obj[0] = args;
31158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31159 if (!SWIG_IsOK(res1)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31161 }
31162 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31163 {
31164 PyThreadState* __tstate = wxPyBeginAllowThreads();
31165 result = (bool)(arg1)->DeleteAllColumns();
31166 wxPyEndAllowThreads(__tstate);
31167 if (PyErr_Occurred()) SWIG_fail;
31168 }
31169 {
31170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31171 }
31172 return resultobj;
31173 fail:
31174 return NULL;
31175 }
31176
31177
31178 SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31179 PyObject *resultobj = 0;
31180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31181 void *argp1 = 0 ;
31182 int res1 = 0 ;
31183 PyObject *swig_obj[1] ;
31184
31185 if (!args) SWIG_fail;
31186 swig_obj[0] = args;
31187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31188 if (!SWIG_IsOK(res1)) {
31189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31190 }
31191 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31192 {
31193 PyThreadState* __tstate = wxPyBeginAllowThreads();
31194 (arg1)->ClearAll();
31195 wxPyEndAllowThreads(__tstate);
31196 if (PyErr_Occurred()) SWIG_fail;
31197 }
31198 resultobj = SWIG_Py_Void();
31199 return resultobj;
31200 fail:
31201 return NULL;
31202 }
31203
31204
31205 SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31206 PyObject *resultobj = 0;
31207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31208 long arg2 ;
31209 void *argp1 = 0 ;
31210 int res1 = 0 ;
31211 long val2 ;
31212 int ecode2 = 0 ;
31213 PyObject * obj0 = 0 ;
31214 PyObject * obj1 = 0 ;
31215 char * kwnames[] = {
31216 (char *) "self",(char *) "item", NULL
31217 };
31218
31219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31221 if (!SWIG_IsOK(res1)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31223 }
31224 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31225 ecode2 = SWIG_AsVal_long(obj1, &val2);
31226 if (!SWIG_IsOK(ecode2)) {
31227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31228 }
31229 arg2 = static_cast< long >(val2);
31230 {
31231 PyThreadState* __tstate = wxPyBeginAllowThreads();
31232 (arg1)->EditLabel(arg2);
31233 wxPyEndAllowThreads(__tstate);
31234 if (PyErr_Occurred()) SWIG_fail;
31235 }
31236 resultobj = SWIG_Py_Void();
31237 return resultobj;
31238 fail:
31239 return NULL;
31240 }
31241
31242
31243 SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31244 PyObject *resultobj = 0;
31245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31246 long arg2 ;
31247 bool result;
31248 void *argp1 = 0 ;
31249 int res1 = 0 ;
31250 long val2 ;
31251 int ecode2 = 0 ;
31252 PyObject * obj0 = 0 ;
31253 PyObject * obj1 = 0 ;
31254 char * kwnames[] = {
31255 (char *) "self",(char *) "item", NULL
31256 };
31257
31258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31260 if (!SWIG_IsOK(res1)) {
31261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31262 }
31263 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31264 ecode2 = SWIG_AsVal_long(obj1, &val2);
31265 if (!SWIG_IsOK(ecode2)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31267 }
31268 arg2 = static_cast< long >(val2);
31269 {
31270 PyThreadState* __tstate = wxPyBeginAllowThreads();
31271 result = (bool)(arg1)->EnsureVisible(arg2);
31272 wxPyEndAllowThreads(__tstate);
31273 if (PyErr_Occurred()) SWIG_fail;
31274 }
31275 {
31276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31277 }
31278 return resultobj;
31279 fail:
31280 return NULL;
31281 }
31282
31283
31284 SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31285 PyObject *resultobj = 0;
31286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31287 long arg2 ;
31288 wxString *arg3 = 0 ;
31289 bool arg4 = (bool) false ;
31290 long result;
31291 void *argp1 = 0 ;
31292 int res1 = 0 ;
31293 long val2 ;
31294 int ecode2 = 0 ;
31295 bool temp3 = false ;
31296 bool val4 ;
31297 int ecode4 = 0 ;
31298 PyObject * obj0 = 0 ;
31299 PyObject * obj1 = 0 ;
31300 PyObject * obj2 = 0 ;
31301 PyObject * obj3 = 0 ;
31302 char * kwnames[] = {
31303 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31304 };
31305
31306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31308 if (!SWIG_IsOK(res1)) {
31309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31310 }
31311 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31312 ecode2 = SWIG_AsVal_long(obj1, &val2);
31313 if (!SWIG_IsOK(ecode2)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31315 }
31316 arg2 = static_cast< long >(val2);
31317 {
31318 arg3 = wxString_in_helper(obj2);
31319 if (arg3 == NULL) SWIG_fail;
31320 temp3 = true;
31321 }
31322 if (obj3) {
31323 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31324 if (!SWIG_IsOK(ecode4)) {
31325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31326 }
31327 arg4 = static_cast< bool >(val4);
31328 }
31329 {
31330 PyThreadState* __tstate = wxPyBeginAllowThreads();
31331 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31332 wxPyEndAllowThreads(__tstate);
31333 if (PyErr_Occurred()) SWIG_fail;
31334 }
31335 resultobj = SWIG_From_long(static_cast< long >(result));
31336 {
31337 if (temp3)
31338 delete arg3;
31339 }
31340 return resultobj;
31341 fail:
31342 {
31343 if (temp3)
31344 delete arg3;
31345 }
31346 return NULL;
31347 }
31348
31349
31350 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31351 PyObject *resultobj = 0;
31352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31353 long arg2 ;
31354 long arg3 ;
31355 long result;
31356 void *argp1 = 0 ;
31357 int res1 = 0 ;
31358 long val2 ;
31359 int ecode2 = 0 ;
31360 long val3 ;
31361 int ecode3 = 0 ;
31362 PyObject * obj0 = 0 ;
31363 PyObject * obj1 = 0 ;
31364 PyObject * obj2 = 0 ;
31365 char * kwnames[] = {
31366 (char *) "self",(char *) "start",(char *) "data", NULL
31367 };
31368
31369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31371 if (!SWIG_IsOK(res1)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31373 }
31374 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31375 ecode2 = SWIG_AsVal_long(obj1, &val2);
31376 if (!SWIG_IsOK(ecode2)) {
31377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31378 }
31379 arg2 = static_cast< long >(val2);
31380 ecode3 = SWIG_AsVal_long(obj2, &val3);
31381 if (!SWIG_IsOK(ecode3)) {
31382 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31383 }
31384 arg3 = static_cast< long >(val3);
31385 {
31386 PyThreadState* __tstate = wxPyBeginAllowThreads();
31387 result = (long)(arg1)->FindItem(arg2,arg3);
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
31391 resultobj = SWIG_From_long(static_cast< long >(result));
31392 return resultobj;
31393 fail:
31394 return NULL;
31395 }
31396
31397
31398 SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31399 PyObject *resultobj = 0;
31400 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31401 long arg2 ;
31402 wxPoint *arg3 = 0 ;
31403 int arg4 ;
31404 long result;
31405 void *argp1 = 0 ;
31406 int res1 = 0 ;
31407 long val2 ;
31408 int ecode2 = 0 ;
31409 wxPoint temp3 ;
31410 int val4 ;
31411 int ecode4 = 0 ;
31412 PyObject * obj0 = 0 ;
31413 PyObject * obj1 = 0 ;
31414 PyObject * obj2 = 0 ;
31415 PyObject * obj3 = 0 ;
31416 char * kwnames[] = {
31417 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31418 };
31419
31420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31422 if (!SWIG_IsOK(res1)) {
31423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31424 }
31425 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31426 ecode2 = SWIG_AsVal_long(obj1, &val2);
31427 if (!SWIG_IsOK(ecode2)) {
31428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31429 }
31430 arg2 = static_cast< long >(val2);
31431 {
31432 arg3 = &temp3;
31433 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31434 }
31435 ecode4 = SWIG_AsVal_int(obj3, &val4);
31436 if (!SWIG_IsOK(ecode4)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31438 }
31439 arg4 = static_cast< int >(val4);
31440 {
31441 PyThreadState* __tstate = wxPyBeginAllowThreads();
31442 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 resultobj = SWIG_From_long(static_cast< long >(result));
31447 return resultobj;
31448 fail:
31449 return NULL;
31450 }
31451
31452
31453 SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31454 PyObject *resultobj = 0;
31455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31456 wxPoint *arg2 = 0 ;
31457 int *arg3 = 0 ;
31458 long result;
31459 void *argp1 = 0 ;
31460 int res1 = 0 ;
31461 wxPoint temp2 ;
31462 int temp3 ;
31463 int res3 = SWIG_TMPOBJ ;
31464 PyObject * obj0 = 0 ;
31465 PyObject * obj1 = 0 ;
31466 char * kwnames[] = {
31467 (char *) "self",(char *) "point", NULL
31468 };
31469
31470 arg3 = &temp3;
31471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31473 if (!SWIG_IsOK(res1)) {
31474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31475 }
31476 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31477 {
31478 arg2 = &temp2;
31479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31480 }
31481 {
31482 PyThreadState* __tstate = wxPyBeginAllowThreads();
31483 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31484 wxPyEndAllowThreads(__tstate);
31485 if (PyErr_Occurred()) SWIG_fail;
31486 }
31487 resultobj = SWIG_From_long(static_cast< long >(result));
31488 if (SWIG_IsTmpObj(res3)) {
31489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31490 } else {
31491 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31493 }
31494 return resultobj;
31495 fail:
31496 return NULL;
31497 }
31498
31499
31500 SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31501 PyObject *resultobj = 0;
31502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31503 wxPoint *arg2 = 0 ;
31504 int *arg3 = 0 ;
31505 long *arg4 = (long *) 0 ;
31506 long result;
31507 void *argp1 = 0 ;
31508 int res1 = 0 ;
31509 wxPoint temp2 ;
31510 int temp3 ;
31511 int res3 = SWIG_TMPOBJ ;
31512 long temp4 ;
31513 int res4 = SWIG_TMPOBJ ;
31514 PyObject * obj0 = 0 ;
31515 PyObject * obj1 = 0 ;
31516 char * kwnames[] = {
31517 (char *) "self",(char *) "point", NULL
31518 };
31519
31520 arg3 = &temp3;
31521 arg4 = &temp4;
31522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31524 if (!SWIG_IsOK(res1)) {
31525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31526 }
31527 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31528 {
31529 arg2 = &temp2;
31530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31531 }
31532 {
31533 PyThreadState* __tstate = wxPyBeginAllowThreads();
31534 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31535 wxPyEndAllowThreads(__tstate);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 }
31538 resultobj = SWIG_From_long(static_cast< long >(result));
31539 if (SWIG_IsTmpObj(res3)) {
31540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31541 } else {
31542 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31543 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31544 }
31545 if (SWIG_IsTmpObj(res4)) {
31546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31547 } else {
31548 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31550 }
31551 return resultobj;
31552 fail:
31553 return NULL;
31554 }
31555
31556
31557 SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31558 PyObject *resultobj = 0;
31559 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31560 wxListItem *arg2 = 0 ;
31561 long result;
31562 void *argp1 = 0 ;
31563 int res1 = 0 ;
31564 void *argp2 = 0 ;
31565 int res2 = 0 ;
31566 PyObject * obj0 = 0 ;
31567 PyObject * obj1 = 0 ;
31568 char * kwnames[] = {
31569 (char *) "self",(char *) "info", NULL
31570 };
31571
31572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31574 if (!SWIG_IsOK(res1)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31576 }
31577 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31578 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31579 if (!SWIG_IsOK(res2)) {
31580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31581 }
31582 if (!argp2) {
31583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31584 }
31585 arg2 = reinterpret_cast< wxListItem * >(argp2);
31586 {
31587 PyThreadState* __tstate = wxPyBeginAllowThreads();
31588 result = (long)(arg1)->InsertItem(*arg2);
31589 wxPyEndAllowThreads(__tstate);
31590 if (PyErr_Occurred()) SWIG_fail;
31591 }
31592 resultobj = SWIG_From_long(static_cast< long >(result));
31593 return resultobj;
31594 fail:
31595 return NULL;
31596 }
31597
31598
31599 SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31600 PyObject *resultobj = 0;
31601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31602 long arg2 ;
31603 wxString *arg3 = 0 ;
31604 int arg4 = (int) -1 ;
31605 long result;
31606 void *argp1 = 0 ;
31607 int res1 = 0 ;
31608 long val2 ;
31609 int ecode2 = 0 ;
31610 bool temp3 = false ;
31611 int val4 ;
31612 int ecode4 = 0 ;
31613 PyObject * obj0 = 0 ;
31614 PyObject * obj1 = 0 ;
31615 PyObject * obj2 = 0 ;
31616 PyObject * obj3 = 0 ;
31617 char * kwnames[] = {
31618 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31619 };
31620
31621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31623 if (!SWIG_IsOK(res1)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31625 }
31626 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31627 ecode2 = SWIG_AsVal_long(obj1, &val2);
31628 if (!SWIG_IsOK(ecode2)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31630 }
31631 arg2 = static_cast< long >(val2);
31632 {
31633 arg3 = wxString_in_helper(obj2);
31634 if (arg3 == NULL) SWIG_fail;
31635 temp3 = true;
31636 }
31637 if (obj3) {
31638 ecode4 = SWIG_AsVal_int(obj3, &val4);
31639 if (!SWIG_IsOK(ecode4)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31641 }
31642 arg4 = static_cast< int >(val4);
31643 }
31644 {
31645 PyThreadState* __tstate = wxPyBeginAllowThreads();
31646 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
31650 resultobj = SWIG_From_long(static_cast< long >(result));
31651 {
31652 if (temp3)
31653 delete arg3;
31654 }
31655 return resultobj;
31656 fail:
31657 {
31658 if (temp3)
31659 delete arg3;
31660 }
31661 return NULL;
31662 }
31663
31664
31665 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31666 PyObject *resultobj = 0;
31667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31668 long arg2 ;
31669 int arg3 ;
31670 long result;
31671 void *argp1 = 0 ;
31672 int res1 = 0 ;
31673 long val2 ;
31674 int ecode2 = 0 ;
31675 int val3 ;
31676 int ecode3 = 0 ;
31677 PyObject * obj0 = 0 ;
31678 PyObject * obj1 = 0 ;
31679 PyObject * obj2 = 0 ;
31680 char * kwnames[] = {
31681 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31682 };
31683
31684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31686 if (!SWIG_IsOK(res1)) {
31687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31688 }
31689 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31690 ecode2 = SWIG_AsVal_long(obj1, &val2);
31691 if (!SWIG_IsOK(ecode2)) {
31692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31693 }
31694 arg2 = static_cast< long >(val2);
31695 ecode3 = SWIG_AsVal_int(obj2, &val3);
31696 if (!SWIG_IsOK(ecode3)) {
31697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31698 }
31699 arg3 = static_cast< int >(val3);
31700 {
31701 PyThreadState* __tstate = wxPyBeginAllowThreads();
31702 result = (long)(arg1)->InsertItem(arg2,arg3);
31703 wxPyEndAllowThreads(__tstate);
31704 if (PyErr_Occurred()) SWIG_fail;
31705 }
31706 resultobj = SWIG_From_long(static_cast< long >(result));
31707 return resultobj;
31708 fail:
31709 return NULL;
31710 }
31711
31712
31713 SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31714 PyObject *resultobj = 0;
31715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31716 long arg2 ;
31717 wxString *arg3 = 0 ;
31718 int arg4 ;
31719 long result;
31720 void *argp1 = 0 ;
31721 int res1 = 0 ;
31722 long val2 ;
31723 int ecode2 = 0 ;
31724 bool temp3 = false ;
31725 int val4 ;
31726 int ecode4 = 0 ;
31727 PyObject * obj0 = 0 ;
31728 PyObject * obj1 = 0 ;
31729 PyObject * obj2 = 0 ;
31730 PyObject * obj3 = 0 ;
31731 char * kwnames[] = {
31732 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31733 };
31734
31735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31737 if (!SWIG_IsOK(res1)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31739 }
31740 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31741 ecode2 = SWIG_AsVal_long(obj1, &val2);
31742 if (!SWIG_IsOK(ecode2)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31744 }
31745 arg2 = static_cast< long >(val2);
31746 {
31747 arg3 = wxString_in_helper(obj2);
31748 if (arg3 == NULL) SWIG_fail;
31749 temp3 = true;
31750 }
31751 ecode4 = SWIG_AsVal_int(obj3, &val4);
31752 if (!SWIG_IsOK(ecode4)) {
31753 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31754 }
31755 arg4 = static_cast< int >(val4);
31756 {
31757 PyThreadState* __tstate = wxPyBeginAllowThreads();
31758 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
31762 resultobj = SWIG_From_long(static_cast< long >(result));
31763 {
31764 if (temp3)
31765 delete arg3;
31766 }
31767 return resultobj;
31768 fail:
31769 {
31770 if (temp3)
31771 delete arg3;
31772 }
31773 return NULL;
31774 }
31775
31776
31777 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31778 PyObject *resultobj = 0;
31779 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31780 long arg2 ;
31781 wxListItem *arg3 = 0 ;
31782 long result;
31783 void *argp1 = 0 ;
31784 int res1 = 0 ;
31785 long val2 ;
31786 int ecode2 = 0 ;
31787 void *argp3 = 0 ;
31788 int res3 = 0 ;
31789 PyObject * obj0 = 0 ;
31790 PyObject * obj1 = 0 ;
31791 PyObject * obj2 = 0 ;
31792 char * kwnames[] = {
31793 (char *) "self",(char *) "col",(char *) "info", NULL
31794 };
31795
31796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31798 if (!SWIG_IsOK(res1)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31800 }
31801 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31802 ecode2 = SWIG_AsVal_long(obj1, &val2);
31803 if (!SWIG_IsOK(ecode2)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31805 }
31806 arg2 = static_cast< long >(val2);
31807 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31808 if (!SWIG_IsOK(res3)) {
31809 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31810 }
31811 if (!argp3) {
31812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31813 }
31814 arg3 = reinterpret_cast< wxListItem * >(argp3);
31815 {
31816 PyThreadState* __tstate = wxPyBeginAllowThreads();
31817 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31818 wxPyEndAllowThreads(__tstate);
31819 if (PyErr_Occurred()) SWIG_fail;
31820 }
31821 resultobj = SWIG_From_long(static_cast< long >(result));
31822 return resultobj;
31823 fail:
31824 return NULL;
31825 }
31826
31827
31828 SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31829 PyObject *resultobj = 0;
31830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31831 long arg2 ;
31832 wxString *arg3 = 0 ;
31833 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31834 int arg5 = (int) -1 ;
31835 long result;
31836 void *argp1 = 0 ;
31837 int res1 = 0 ;
31838 long val2 ;
31839 int ecode2 = 0 ;
31840 bool temp3 = false ;
31841 int val4 ;
31842 int ecode4 = 0 ;
31843 int val5 ;
31844 int ecode5 = 0 ;
31845 PyObject * obj0 = 0 ;
31846 PyObject * obj1 = 0 ;
31847 PyObject * obj2 = 0 ;
31848 PyObject * obj3 = 0 ;
31849 PyObject * obj4 = 0 ;
31850 char * kwnames[] = {
31851 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31852 };
31853
31854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31856 if (!SWIG_IsOK(res1)) {
31857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31858 }
31859 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31860 ecode2 = SWIG_AsVal_long(obj1, &val2);
31861 if (!SWIG_IsOK(ecode2)) {
31862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31863 }
31864 arg2 = static_cast< long >(val2);
31865 {
31866 arg3 = wxString_in_helper(obj2);
31867 if (arg3 == NULL) SWIG_fail;
31868 temp3 = true;
31869 }
31870 if (obj3) {
31871 ecode4 = SWIG_AsVal_int(obj3, &val4);
31872 if (!SWIG_IsOK(ecode4)) {
31873 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31874 }
31875 arg4 = static_cast< int >(val4);
31876 }
31877 if (obj4) {
31878 ecode5 = SWIG_AsVal_int(obj4, &val5);
31879 if (!SWIG_IsOK(ecode5)) {
31880 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31881 }
31882 arg5 = static_cast< int >(val5);
31883 }
31884 {
31885 PyThreadState* __tstate = wxPyBeginAllowThreads();
31886 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31887 wxPyEndAllowThreads(__tstate);
31888 if (PyErr_Occurred()) SWIG_fail;
31889 }
31890 resultobj = SWIG_From_long(static_cast< long >(result));
31891 {
31892 if (temp3)
31893 delete arg3;
31894 }
31895 return resultobj;
31896 fail:
31897 {
31898 if (temp3)
31899 delete arg3;
31900 }
31901 return NULL;
31902 }
31903
31904
31905 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31906 PyObject *resultobj = 0;
31907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31908 long arg2 ;
31909 void *argp1 = 0 ;
31910 int res1 = 0 ;
31911 long val2 ;
31912 int ecode2 = 0 ;
31913 PyObject * obj0 = 0 ;
31914 PyObject * obj1 = 0 ;
31915 char * kwnames[] = {
31916 (char *) "self",(char *) "count", NULL
31917 };
31918
31919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31921 if (!SWIG_IsOK(res1)) {
31922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31923 }
31924 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31925 ecode2 = SWIG_AsVal_long(obj1, &val2);
31926 if (!SWIG_IsOK(ecode2)) {
31927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31928 }
31929 arg2 = static_cast< long >(val2);
31930 {
31931 PyThreadState* __tstate = wxPyBeginAllowThreads();
31932 (arg1)->SetItemCount(arg2);
31933 wxPyEndAllowThreads(__tstate);
31934 if (PyErr_Occurred()) SWIG_fail;
31935 }
31936 resultobj = SWIG_Py_Void();
31937 return resultobj;
31938 fail:
31939 return NULL;
31940 }
31941
31942
31943 SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31944 PyObject *resultobj = 0;
31945 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31946 int arg2 ;
31947 int arg3 ;
31948 bool result;
31949 void *argp1 = 0 ;
31950 int res1 = 0 ;
31951 int val2 ;
31952 int ecode2 = 0 ;
31953 int val3 ;
31954 int ecode3 = 0 ;
31955 PyObject * obj0 = 0 ;
31956 PyObject * obj1 = 0 ;
31957 PyObject * obj2 = 0 ;
31958 char * kwnames[] = {
31959 (char *) "self",(char *) "dx",(char *) "dy", NULL
31960 };
31961
31962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31964 if (!SWIG_IsOK(res1)) {
31965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31966 }
31967 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31968 ecode2 = SWIG_AsVal_int(obj1, &val2);
31969 if (!SWIG_IsOK(ecode2)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31971 }
31972 arg2 = static_cast< int >(val2);
31973 ecode3 = SWIG_AsVal_int(obj2, &val3);
31974 if (!SWIG_IsOK(ecode3)) {
31975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31976 }
31977 arg3 = static_cast< int >(val3);
31978 {
31979 PyThreadState* __tstate = wxPyBeginAllowThreads();
31980 result = (bool)(arg1)->ScrollList(arg2,arg3);
31981 wxPyEndAllowThreads(__tstate);
31982 if (PyErr_Occurred()) SWIG_fail;
31983 }
31984 {
31985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31986 }
31987 return resultobj;
31988 fail:
31989 return NULL;
31990 }
31991
31992
31993 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31994 PyObject *resultobj = 0;
31995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31996 long arg2 ;
31997 wxColour *arg3 = 0 ;
31998 void *argp1 = 0 ;
31999 int res1 = 0 ;
32000 long val2 ;
32001 int ecode2 = 0 ;
32002 wxColour temp3 ;
32003 PyObject * obj0 = 0 ;
32004 PyObject * obj1 = 0 ;
32005 PyObject * obj2 = 0 ;
32006 char * kwnames[] = {
32007 (char *) "self",(char *) "item",(char *) "col", NULL
32008 };
32009
32010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32012 if (!SWIG_IsOK(res1)) {
32013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32014 }
32015 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32016 ecode2 = SWIG_AsVal_long(obj1, &val2);
32017 if (!SWIG_IsOK(ecode2)) {
32018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32019 }
32020 arg2 = static_cast< long >(val2);
32021 {
32022 arg3 = &temp3;
32023 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
32024 }
32025 {
32026 PyThreadState* __tstate = wxPyBeginAllowThreads();
32027 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
32028 wxPyEndAllowThreads(__tstate);
32029 if (PyErr_Occurred()) SWIG_fail;
32030 }
32031 resultobj = SWIG_Py_Void();
32032 return resultobj;
32033 fail:
32034 return NULL;
32035 }
32036
32037
32038 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32039 PyObject *resultobj = 0;
32040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32041 long arg2 ;
32042 wxColour result;
32043 void *argp1 = 0 ;
32044 int res1 = 0 ;
32045 long val2 ;
32046 int ecode2 = 0 ;
32047 PyObject * obj0 = 0 ;
32048 PyObject * obj1 = 0 ;
32049 char * kwnames[] = {
32050 (char *) "self",(char *) "item", NULL
32051 };
32052
32053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
32054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32055 if (!SWIG_IsOK(res1)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32057 }
32058 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32059 ecode2 = SWIG_AsVal_long(obj1, &val2);
32060 if (!SWIG_IsOK(ecode2)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32062 }
32063 arg2 = static_cast< long >(val2);
32064 {
32065 PyThreadState* __tstate = wxPyBeginAllowThreads();
32066 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
32067 wxPyEndAllowThreads(__tstate);
32068 if (PyErr_Occurred()) SWIG_fail;
32069 }
32070 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
32071 return resultobj;
32072 fail:
32073 return NULL;
32074 }
32075
32076
32077 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32078 PyObject *resultobj = 0;
32079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32080 long arg2 ;
32081 wxColour *arg3 = 0 ;
32082 void *argp1 = 0 ;
32083 int res1 = 0 ;
32084 long val2 ;
32085 int ecode2 = 0 ;
32086 wxColour temp3 ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 PyObject * obj2 = 0 ;
32090 char * kwnames[] = {
32091 (char *) "self",(char *) "item",(char *) "col", NULL
32092 };
32093
32094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32096 if (!SWIG_IsOK(res1)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32098 }
32099 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32100 ecode2 = SWIG_AsVal_long(obj1, &val2);
32101 if (!SWIG_IsOK(ecode2)) {
32102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32103 }
32104 arg2 = static_cast< long >(val2);
32105 {
32106 arg3 = &temp3;
32107 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
32108 }
32109 {
32110 PyThreadState* __tstate = wxPyBeginAllowThreads();
32111 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
32112 wxPyEndAllowThreads(__tstate);
32113 if (PyErr_Occurred()) SWIG_fail;
32114 }
32115 resultobj = SWIG_Py_Void();
32116 return resultobj;
32117 fail:
32118 return NULL;
32119 }
32120
32121
32122 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32123 PyObject *resultobj = 0;
32124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32125 long arg2 ;
32126 wxColour result;
32127 void *argp1 = 0 ;
32128 int res1 = 0 ;
32129 long val2 ;
32130 int ecode2 = 0 ;
32131 PyObject * obj0 = 0 ;
32132 PyObject * obj1 = 0 ;
32133 char * kwnames[] = {
32134 (char *) "self",(char *) "item", NULL
32135 };
32136
32137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
32138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32139 if (!SWIG_IsOK(res1)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32141 }
32142 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32143 ecode2 = SWIG_AsVal_long(obj1, &val2);
32144 if (!SWIG_IsOK(ecode2)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32146 }
32147 arg2 = static_cast< long >(val2);
32148 {
32149 PyThreadState* __tstate = wxPyBeginAllowThreads();
32150 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
32151 wxPyEndAllowThreads(__tstate);
32152 if (PyErr_Occurred()) SWIG_fail;
32153 }
32154 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
32155 return resultobj;
32156 fail:
32157 return NULL;
32158 }
32159
32160
32161 SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32162 PyObject *resultobj = 0;
32163 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32164 long arg2 ;
32165 wxFont *arg3 = 0 ;
32166 void *argp1 = 0 ;
32167 int res1 = 0 ;
32168 long val2 ;
32169 int ecode2 = 0 ;
32170 void *argp3 = 0 ;
32171 int res3 = 0 ;
32172 PyObject * obj0 = 0 ;
32173 PyObject * obj1 = 0 ;
32174 PyObject * obj2 = 0 ;
32175 char * kwnames[] = {
32176 (char *) "self",(char *) "item",(char *) "f", NULL
32177 };
32178
32179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32181 if (!SWIG_IsOK(res1)) {
32182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32183 }
32184 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32185 ecode2 = SWIG_AsVal_long(obj1, &val2);
32186 if (!SWIG_IsOK(ecode2)) {
32187 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32188 }
32189 arg2 = static_cast< long >(val2);
32190 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32191 if (!SWIG_IsOK(res3)) {
32192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32193 }
32194 if (!argp3) {
32195 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32196 }
32197 arg3 = reinterpret_cast< wxFont * >(argp3);
32198 {
32199 PyThreadState* __tstate = wxPyBeginAllowThreads();
32200 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
32204 resultobj = SWIG_Py_Void();
32205 return resultobj;
32206 fail:
32207 return NULL;
32208 }
32209
32210
32211 SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32212 PyObject *resultobj = 0;
32213 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32214 long arg2 ;
32215 wxFont result;
32216 void *argp1 = 0 ;
32217 int res1 = 0 ;
32218 long val2 ;
32219 int ecode2 = 0 ;
32220 PyObject * obj0 = 0 ;
32221 PyObject * obj1 = 0 ;
32222 char * kwnames[] = {
32223 (char *) "self",(char *) "item", NULL
32224 };
32225
32226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32228 if (!SWIG_IsOK(res1)) {
32229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32230 }
32231 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32232 ecode2 = SWIG_AsVal_long(obj1, &val2);
32233 if (!SWIG_IsOK(ecode2)) {
32234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32235 }
32236 arg2 = static_cast< long >(val2);
32237 {
32238 PyThreadState* __tstate = wxPyBeginAllowThreads();
32239 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32240 wxPyEndAllowThreads(__tstate);
32241 if (PyErr_Occurred()) SWIG_fail;
32242 }
32243 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32244 return resultobj;
32245 fail:
32246 return NULL;
32247 }
32248
32249
32250 SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32251 PyObject *resultobj = 0;
32252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32253 PyObject *arg2 = (PyObject *) 0 ;
32254 bool result;
32255 void *argp1 = 0 ;
32256 int res1 = 0 ;
32257 PyObject * obj0 = 0 ;
32258 PyObject * obj1 = 0 ;
32259 char * kwnames[] = {
32260 (char *) "self",(char *) "func", NULL
32261 };
32262
32263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32265 if (!SWIG_IsOK(res1)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32267 }
32268 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32269 arg2 = obj1;
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32273 wxPyEndAllowThreads(__tstate);
32274 if (PyErr_Occurred()) SWIG_fail;
32275 }
32276 {
32277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32278 }
32279 return resultobj;
32280 fail:
32281 return NULL;
32282 }
32283
32284
32285 SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32286 PyObject *resultobj = 0;
32287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32288 wxWindow *result = 0 ;
32289 void *argp1 = 0 ;
32290 int res1 = 0 ;
32291 PyObject *swig_obj[1] ;
32292
32293 if (!args) SWIG_fail;
32294 swig_obj[0] = args;
32295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32296 if (!SWIG_IsOK(res1)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32298 }
32299 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32300 {
32301 PyThreadState* __tstate = wxPyBeginAllowThreads();
32302 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32303 wxPyEndAllowThreads(__tstate);
32304 if (PyErr_Occurred()) SWIG_fail;
32305 }
32306 {
32307 resultobj = wxPyMake_wxObject(result, 0);
32308 }
32309 return resultobj;
32310 fail:
32311 return NULL;
32312 }
32313
32314
32315 SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32316 PyObject *resultobj = 0;
32317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32318 SwigValueWrapper<wxVisualAttributes > result;
32319 int val1 ;
32320 int ecode1 = 0 ;
32321 PyObject * obj0 = 0 ;
32322 char * kwnames[] = {
32323 (char *) "variant", NULL
32324 };
32325
32326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32327 if (obj0) {
32328 ecode1 = SWIG_AsVal_int(obj0, &val1);
32329 if (!SWIG_IsOK(ecode1)) {
32330 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32331 }
32332 arg1 = static_cast< wxWindowVariant >(val1);
32333 }
32334 {
32335 if (!wxPyCheckForApp()) SWIG_fail;
32336 PyThreadState* __tstate = wxPyBeginAllowThreads();
32337 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32338 wxPyEndAllowThreads(__tstate);
32339 if (PyErr_Occurred()) SWIG_fail;
32340 }
32341 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32342 return resultobj;
32343 fail:
32344 return NULL;
32345 }
32346
32347
32348 SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32349 PyObject *obj;
32350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32352 return SWIG_Py_Void();
32353 }
32354
32355 SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32356 return SWIG_Python_InitShadowInstance(args);
32357 }
32358
32359 SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32360 PyObject *resultobj = 0;
32361 wxWindow *arg1 = (wxWindow *) 0 ;
32362 int arg2 = (int) -1 ;
32363 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32364 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32365 wxSize const &arg4_defvalue = wxDefaultSize ;
32366 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32367 long arg5 = (long) wxLC_REPORT ;
32368 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32369 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32370 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32371 wxString *arg7 = (wxString *) &arg7_defvalue ;
32372 wxListView *result = 0 ;
32373 void *argp1 = 0 ;
32374 int res1 = 0 ;
32375 int val2 ;
32376 int ecode2 = 0 ;
32377 wxPoint temp3 ;
32378 wxSize temp4 ;
32379 long val5 ;
32380 int ecode5 = 0 ;
32381 void *argp6 = 0 ;
32382 int res6 = 0 ;
32383 bool temp7 = false ;
32384 PyObject * obj0 = 0 ;
32385 PyObject * obj1 = 0 ;
32386 PyObject * obj2 = 0 ;
32387 PyObject * obj3 = 0 ;
32388 PyObject * obj4 = 0 ;
32389 PyObject * obj5 = 0 ;
32390 PyObject * obj6 = 0 ;
32391 char * kwnames[] = {
32392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32393 };
32394
32395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32397 if (!SWIG_IsOK(res1)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32399 }
32400 arg1 = reinterpret_cast< wxWindow * >(argp1);
32401 if (obj1) {
32402 ecode2 = SWIG_AsVal_int(obj1, &val2);
32403 if (!SWIG_IsOK(ecode2)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32405 }
32406 arg2 = static_cast< int >(val2);
32407 }
32408 if (obj2) {
32409 {
32410 arg3 = &temp3;
32411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32412 }
32413 }
32414 if (obj3) {
32415 {
32416 arg4 = &temp4;
32417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32418 }
32419 }
32420 if (obj4) {
32421 ecode5 = SWIG_AsVal_long(obj4, &val5);
32422 if (!SWIG_IsOK(ecode5)) {
32423 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32424 }
32425 arg5 = static_cast< long >(val5);
32426 }
32427 if (obj5) {
32428 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32429 if (!SWIG_IsOK(res6)) {
32430 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32431 }
32432 if (!argp6) {
32433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32434 }
32435 arg6 = reinterpret_cast< wxValidator * >(argp6);
32436 }
32437 if (obj6) {
32438 {
32439 arg7 = wxString_in_helper(obj6);
32440 if (arg7 == NULL) SWIG_fail;
32441 temp7 = true;
32442 }
32443 }
32444 {
32445 if (!wxPyCheckForApp()) SWIG_fail;
32446 PyThreadState* __tstate = wxPyBeginAllowThreads();
32447 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32448 wxPyEndAllowThreads(__tstate);
32449 if (PyErr_Occurred()) SWIG_fail;
32450 }
32451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32452 {
32453 if (temp7)
32454 delete arg7;
32455 }
32456 return resultobj;
32457 fail:
32458 {
32459 if (temp7)
32460 delete arg7;
32461 }
32462 return NULL;
32463 }
32464
32465
32466 SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32467 PyObject *resultobj = 0;
32468 wxListView *result = 0 ;
32469
32470 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32471 {
32472 if (!wxPyCheckForApp()) SWIG_fail;
32473 PyThreadState* __tstate = wxPyBeginAllowThreads();
32474 result = (wxListView *)new wxListView();
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32479 return resultobj;
32480 fail:
32481 return NULL;
32482 }
32483
32484
32485 SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32486 PyObject *resultobj = 0;
32487 wxListView *arg1 = (wxListView *) 0 ;
32488 wxWindow *arg2 = (wxWindow *) 0 ;
32489 int arg3 = (int) -1 ;
32490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32492 wxSize const &arg5_defvalue = wxDefaultSize ;
32493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32494 long arg6 = (long) wxLC_REPORT ;
32495 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32496 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32497 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32498 wxString *arg8 = (wxString *) &arg8_defvalue ;
32499 bool result;
32500 void *argp1 = 0 ;
32501 int res1 = 0 ;
32502 void *argp2 = 0 ;
32503 int res2 = 0 ;
32504 int val3 ;
32505 int ecode3 = 0 ;
32506 wxPoint temp4 ;
32507 wxSize temp5 ;
32508 long val6 ;
32509 int ecode6 = 0 ;
32510 void *argp7 = 0 ;
32511 int res7 = 0 ;
32512 bool temp8 = false ;
32513 PyObject * obj0 = 0 ;
32514 PyObject * obj1 = 0 ;
32515 PyObject * obj2 = 0 ;
32516 PyObject * obj3 = 0 ;
32517 PyObject * obj4 = 0 ;
32518 PyObject * obj5 = 0 ;
32519 PyObject * obj6 = 0 ;
32520 PyObject * obj7 = 0 ;
32521 char * kwnames[] = {
32522 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32523 };
32524
32525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32527 if (!SWIG_IsOK(res1)) {
32528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32529 }
32530 arg1 = reinterpret_cast< wxListView * >(argp1);
32531 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32532 if (!SWIG_IsOK(res2)) {
32533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32534 }
32535 arg2 = reinterpret_cast< wxWindow * >(argp2);
32536 if (obj2) {
32537 ecode3 = SWIG_AsVal_int(obj2, &val3);
32538 if (!SWIG_IsOK(ecode3)) {
32539 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32540 }
32541 arg3 = static_cast< int >(val3);
32542 }
32543 if (obj3) {
32544 {
32545 arg4 = &temp4;
32546 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32547 }
32548 }
32549 if (obj4) {
32550 {
32551 arg5 = &temp5;
32552 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32553 }
32554 }
32555 if (obj5) {
32556 ecode6 = SWIG_AsVal_long(obj5, &val6);
32557 if (!SWIG_IsOK(ecode6)) {
32558 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32559 }
32560 arg6 = static_cast< long >(val6);
32561 }
32562 if (obj6) {
32563 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32564 if (!SWIG_IsOK(res7)) {
32565 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32566 }
32567 if (!argp7) {
32568 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32569 }
32570 arg7 = reinterpret_cast< wxValidator * >(argp7);
32571 }
32572 if (obj7) {
32573 {
32574 arg8 = wxString_in_helper(obj7);
32575 if (arg8 == NULL) SWIG_fail;
32576 temp8 = true;
32577 }
32578 }
32579 {
32580 PyThreadState* __tstate = wxPyBeginAllowThreads();
32581 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32582 wxPyEndAllowThreads(__tstate);
32583 if (PyErr_Occurred()) SWIG_fail;
32584 }
32585 {
32586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32587 }
32588 {
32589 if (temp8)
32590 delete arg8;
32591 }
32592 return resultobj;
32593 fail:
32594 {
32595 if (temp8)
32596 delete arg8;
32597 }
32598 return NULL;
32599 }
32600
32601
32602 SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32603 PyObject *resultobj = 0;
32604 wxListView *arg1 = (wxListView *) 0 ;
32605 long arg2 ;
32606 bool arg3 = (bool) true ;
32607 void *argp1 = 0 ;
32608 int res1 = 0 ;
32609 long val2 ;
32610 int ecode2 = 0 ;
32611 bool val3 ;
32612 int ecode3 = 0 ;
32613 PyObject * obj0 = 0 ;
32614 PyObject * obj1 = 0 ;
32615 PyObject * obj2 = 0 ;
32616 char * kwnames[] = {
32617 (char *) "self",(char *) "n",(char *) "on", NULL
32618 };
32619
32620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32622 if (!SWIG_IsOK(res1)) {
32623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32624 }
32625 arg1 = reinterpret_cast< wxListView * >(argp1);
32626 ecode2 = SWIG_AsVal_long(obj1, &val2);
32627 if (!SWIG_IsOK(ecode2)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32629 }
32630 arg2 = static_cast< long >(val2);
32631 if (obj2) {
32632 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32633 if (!SWIG_IsOK(ecode3)) {
32634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32635 }
32636 arg3 = static_cast< bool >(val3);
32637 }
32638 {
32639 PyThreadState* __tstate = wxPyBeginAllowThreads();
32640 (arg1)->Select(arg2,arg3);
32641 wxPyEndAllowThreads(__tstate);
32642 if (PyErr_Occurred()) SWIG_fail;
32643 }
32644 resultobj = SWIG_Py_Void();
32645 return resultobj;
32646 fail:
32647 return NULL;
32648 }
32649
32650
32651 SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32652 PyObject *resultobj = 0;
32653 wxListView *arg1 = (wxListView *) 0 ;
32654 long arg2 ;
32655 void *argp1 = 0 ;
32656 int res1 = 0 ;
32657 long val2 ;
32658 int ecode2 = 0 ;
32659 PyObject * obj0 = 0 ;
32660 PyObject * obj1 = 0 ;
32661 char * kwnames[] = {
32662 (char *) "self",(char *) "index", NULL
32663 };
32664
32665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32667 if (!SWIG_IsOK(res1)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32669 }
32670 arg1 = reinterpret_cast< wxListView * >(argp1);
32671 ecode2 = SWIG_AsVal_long(obj1, &val2);
32672 if (!SWIG_IsOK(ecode2)) {
32673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32674 }
32675 arg2 = static_cast< long >(val2);
32676 {
32677 PyThreadState* __tstate = wxPyBeginAllowThreads();
32678 (arg1)->Focus(arg2);
32679 wxPyEndAllowThreads(__tstate);
32680 if (PyErr_Occurred()) SWIG_fail;
32681 }
32682 resultobj = SWIG_Py_Void();
32683 return resultobj;
32684 fail:
32685 return NULL;
32686 }
32687
32688
32689 SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32690 PyObject *resultobj = 0;
32691 wxListView *arg1 = (wxListView *) 0 ;
32692 long result;
32693 void *argp1 = 0 ;
32694 int res1 = 0 ;
32695 PyObject *swig_obj[1] ;
32696
32697 if (!args) SWIG_fail;
32698 swig_obj[0] = args;
32699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32700 if (!SWIG_IsOK(res1)) {
32701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32702 }
32703 arg1 = reinterpret_cast< wxListView * >(argp1);
32704 {
32705 PyThreadState* __tstate = wxPyBeginAllowThreads();
32706 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32707 wxPyEndAllowThreads(__tstate);
32708 if (PyErr_Occurred()) SWIG_fail;
32709 }
32710 resultobj = SWIG_From_long(static_cast< long >(result));
32711 return resultobj;
32712 fail:
32713 return NULL;
32714 }
32715
32716
32717 SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32718 PyObject *resultobj = 0;
32719 wxListView *arg1 = (wxListView *) 0 ;
32720 long arg2 ;
32721 long result;
32722 void *argp1 = 0 ;
32723 int res1 = 0 ;
32724 long val2 ;
32725 int ecode2 = 0 ;
32726 PyObject * obj0 = 0 ;
32727 PyObject * obj1 = 0 ;
32728 char * kwnames[] = {
32729 (char *) "self",(char *) "item", NULL
32730 };
32731
32732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32734 if (!SWIG_IsOK(res1)) {
32735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32736 }
32737 arg1 = reinterpret_cast< wxListView * >(argp1);
32738 ecode2 = SWIG_AsVal_long(obj1, &val2);
32739 if (!SWIG_IsOK(ecode2)) {
32740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32741 }
32742 arg2 = static_cast< long >(val2);
32743 {
32744 PyThreadState* __tstate = wxPyBeginAllowThreads();
32745 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32746 wxPyEndAllowThreads(__tstate);
32747 if (PyErr_Occurred()) SWIG_fail;
32748 }
32749 resultobj = SWIG_From_long(static_cast< long >(result));
32750 return resultobj;
32751 fail:
32752 return NULL;
32753 }
32754
32755
32756 SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32757 PyObject *resultobj = 0;
32758 wxListView *arg1 = (wxListView *) 0 ;
32759 long result;
32760 void *argp1 = 0 ;
32761 int res1 = 0 ;
32762 PyObject *swig_obj[1] ;
32763
32764 if (!args) SWIG_fail;
32765 swig_obj[0] = args;
32766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32767 if (!SWIG_IsOK(res1)) {
32768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32769 }
32770 arg1 = reinterpret_cast< wxListView * >(argp1);
32771 {
32772 PyThreadState* __tstate = wxPyBeginAllowThreads();
32773 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32774 wxPyEndAllowThreads(__tstate);
32775 if (PyErr_Occurred()) SWIG_fail;
32776 }
32777 resultobj = SWIG_From_long(static_cast< long >(result));
32778 return resultobj;
32779 fail:
32780 return NULL;
32781 }
32782
32783
32784 SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32785 PyObject *resultobj = 0;
32786 wxListView *arg1 = (wxListView *) 0 ;
32787 long arg2 ;
32788 bool result;
32789 void *argp1 = 0 ;
32790 int res1 = 0 ;
32791 long val2 ;
32792 int ecode2 = 0 ;
32793 PyObject * obj0 = 0 ;
32794 PyObject * obj1 = 0 ;
32795 char * kwnames[] = {
32796 (char *) "self",(char *) "index", NULL
32797 };
32798
32799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32801 if (!SWIG_IsOK(res1)) {
32802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32803 }
32804 arg1 = reinterpret_cast< wxListView * >(argp1);
32805 ecode2 = SWIG_AsVal_long(obj1, &val2);
32806 if (!SWIG_IsOK(ecode2)) {
32807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32808 }
32809 arg2 = static_cast< long >(val2);
32810 {
32811 PyThreadState* __tstate = wxPyBeginAllowThreads();
32812 result = (bool)(arg1)->IsSelected(arg2);
32813 wxPyEndAllowThreads(__tstate);
32814 if (PyErr_Occurred()) SWIG_fail;
32815 }
32816 {
32817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32818 }
32819 return resultobj;
32820 fail:
32821 return NULL;
32822 }
32823
32824
32825 SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32826 PyObject *resultobj = 0;
32827 wxListView *arg1 = (wxListView *) 0 ;
32828 int arg2 ;
32829 int arg3 ;
32830 void *argp1 = 0 ;
32831 int res1 = 0 ;
32832 int val2 ;
32833 int ecode2 = 0 ;
32834 int val3 ;
32835 int ecode3 = 0 ;
32836 PyObject * obj0 = 0 ;
32837 PyObject * obj1 = 0 ;
32838 PyObject * obj2 = 0 ;
32839 char * kwnames[] = {
32840 (char *) "self",(char *) "col",(char *) "image", NULL
32841 };
32842
32843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32845 if (!SWIG_IsOK(res1)) {
32846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32847 }
32848 arg1 = reinterpret_cast< wxListView * >(argp1);
32849 ecode2 = SWIG_AsVal_int(obj1, &val2);
32850 if (!SWIG_IsOK(ecode2)) {
32851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32852 }
32853 arg2 = static_cast< int >(val2);
32854 ecode3 = SWIG_AsVal_int(obj2, &val3);
32855 if (!SWIG_IsOK(ecode3)) {
32856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32857 }
32858 arg3 = static_cast< int >(val3);
32859 {
32860 PyThreadState* __tstate = wxPyBeginAllowThreads();
32861 (arg1)->SetColumnImage(arg2,arg3);
32862 wxPyEndAllowThreads(__tstate);
32863 if (PyErr_Occurred()) SWIG_fail;
32864 }
32865 resultobj = SWIG_Py_Void();
32866 return resultobj;
32867 fail:
32868 return NULL;
32869 }
32870
32871
32872 SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32873 PyObject *resultobj = 0;
32874 wxListView *arg1 = (wxListView *) 0 ;
32875 int arg2 ;
32876 void *argp1 = 0 ;
32877 int res1 = 0 ;
32878 int val2 ;
32879 int ecode2 = 0 ;
32880 PyObject * obj0 = 0 ;
32881 PyObject * obj1 = 0 ;
32882 char * kwnames[] = {
32883 (char *) "self",(char *) "col", NULL
32884 };
32885
32886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32888 if (!SWIG_IsOK(res1)) {
32889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32890 }
32891 arg1 = reinterpret_cast< wxListView * >(argp1);
32892 ecode2 = SWIG_AsVal_int(obj1, &val2);
32893 if (!SWIG_IsOK(ecode2)) {
32894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32895 }
32896 arg2 = static_cast< int >(val2);
32897 {
32898 PyThreadState* __tstate = wxPyBeginAllowThreads();
32899 (arg1)->ClearColumnImage(arg2);
32900 wxPyEndAllowThreads(__tstate);
32901 if (PyErr_Occurred()) SWIG_fail;
32902 }
32903 resultobj = SWIG_Py_Void();
32904 return resultobj;
32905 fail:
32906 return NULL;
32907 }
32908
32909
32910 SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32911 PyObject *obj;
32912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32913 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32914 return SWIG_Py_Void();
32915 }
32916
32917 SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32918 return SWIG_Python_InitShadowInstance(args);
32919 }
32920
32921 SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32922 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32923 return 1;
32924 }
32925
32926
32927 SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32928 PyObject *pyobj = 0;
32929
32930 {
32931 #if wxUSE_UNICODE
32932 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32933 #else
32934 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32935 #endif
32936 }
32937 return pyobj;
32938 }
32939
32940
32941 SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32942 PyObject *resultobj = 0;
32943 wxTreeItemId *result = 0 ;
32944
32945 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32946 {
32947 PyThreadState* __tstate = wxPyBeginAllowThreads();
32948 result = (wxTreeItemId *)new wxTreeItemId();
32949 wxPyEndAllowThreads(__tstate);
32950 if (PyErr_Occurred()) SWIG_fail;
32951 }
32952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32953 return resultobj;
32954 fail:
32955 return NULL;
32956 }
32957
32958
32959 SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32960 PyObject *resultobj = 0;
32961 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32962 void *argp1 = 0 ;
32963 int res1 = 0 ;
32964 PyObject *swig_obj[1] ;
32965
32966 if (!args) SWIG_fail;
32967 swig_obj[0] = args;
32968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32969 if (!SWIG_IsOK(res1)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32971 }
32972 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32973 {
32974 PyThreadState* __tstate = wxPyBeginAllowThreads();
32975 delete arg1;
32976
32977 wxPyEndAllowThreads(__tstate);
32978 if (PyErr_Occurred()) SWIG_fail;
32979 }
32980 resultobj = SWIG_Py_Void();
32981 return resultobj;
32982 fail:
32983 return NULL;
32984 }
32985
32986
32987 SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32988 PyObject *resultobj = 0;
32989 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32990 bool result;
32991 void *argp1 = 0 ;
32992 int res1 = 0 ;
32993 PyObject *swig_obj[1] ;
32994
32995 if (!args) SWIG_fail;
32996 swig_obj[0] = args;
32997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32998 if (!SWIG_IsOK(res1)) {
32999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33000 }
33001 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33002 {
33003 PyThreadState* __tstate = wxPyBeginAllowThreads();
33004 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
33005 wxPyEndAllowThreads(__tstate);
33006 if (PyErr_Occurred()) SWIG_fail;
33007 }
33008 {
33009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33010 }
33011 return resultobj;
33012 fail:
33013 return NULL;
33014 }
33015
33016
33017 SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33018 PyObject *resultobj = 0;
33019 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33020 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
33021 bool result;
33022 void *argp1 = 0 ;
33023 int res1 = 0 ;
33024 void *argp2 = 0 ;
33025 int res2 = 0 ;
33026 PyObject * obj0 = 0 ;
33027 PyObject * obj1 = 0 ;
33028 char * kwnames[] = {
33029 (char *) "self",(char *) "other", NULL
33030 };
33031
33032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
33033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33034 if (!SWIG_IsOK(res1)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33036 }
33037 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33038 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33039 if (!SWIG_IsOK(res2)) {
33040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33041 }
33042 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33043 {
33044 PyThreadState* __tstate = wxPyBeginAllowThreads();
33045 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
33046 wxPyEndAllowThreads(__tstate);
33047 if (PyErr_Occurred()) SWIG_fail;
33048 }
33049 {
33050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33051 }
33052 return resultobj;
33053 fail:
33054 return NULL;
33055 }
33056
33057
33058 SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33059 PyObject *resultobj = 0;
33060 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33061 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
33062 bool result;
33063 void *argp1 = 0 ;
33064 int res1 = 0 ;
33065 void *argp2 = 0 ;
33066 int res2 = 0 ;
33067 PyObject * obj0 = 0 ;
33068 PyObject * obj1 = 0 ;
33069 char * kwnames[] = {
33070 (char *) "self",(char *) "other", NULL
33071 };
33072
33073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
33074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33075 if (!SWIG_IsOK(res1)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33077 }
33078 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33079 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33080 if (!SWIG_IsOK(res2)) {
33081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33082 }
33083 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33084 {
33085 PyThreadState* __tstate = wxPyBeginAllowThreads();
33086 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
33087 wxPyEndAllowThreads(__tstate);
33088 if (PyErr_Occurred()) SWIG_fail;
33089 }
33090 {
33091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33092 }
33093 return resultobj;
33094 fail:
33095 return NULL;
33096 }
33097
33098
33099 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33100 PyObject *resultobj = 0;
33101 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33102 void *arg2 = (void *) 0 ;
33103 void *argp1 = 0 ;
33104 int res1 = 0 ;
33105 int res2 ;
33106 PyObject *swig_obj[2] ;
33107
33108 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
33109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33110 if (!SWIG_IsOK(res1)) {
33111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33112 }
33113 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33114 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
33115 if (!SWIG_IsOK(res2)) {
33116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33117 }
33118 if (arg1) (arg1)->m_pItem = arg2;
33119
33120 resultobj = SWIG_Py_Void();
33121 return resultobj;
33122 fail:
33123 return NULL;
33124 }
33125
33126
33127 SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33128 PyObject *resultobj = 0;
33129 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
33130 void *result = 0 ;
33131 void *argp1 = 0 ;
33132 int res1 = 0 ;
33133 PyObject *swig_obj[1] ;
33134
33135 if (!args) SWIG_fail;
33136 swig_obj[0] = args;
33137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33138 if (!SWIG_IsOK(res1)) {
33139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33140 }
33141 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
33142 result = (void *) ((arg1)->m_pItem);
33143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
33144 return resultobj;
33145 fail:
33146 return NULL;
33147 }
33148
33149
33150 SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33151 PyObject *obj;
33152 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33153 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
33154 return SWIG_Py_Void();
33155 }
33156
33157 SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33158 return SWIG_Python_InitShadowInstance(args);
33159 }
33160
33161 SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33162 PyObject *resultobj = 0;
33163 PyObject *arg1 = (PyObject *) NULL ;
33164 wxPyTreeItemData *result = 0 ;
33165 PyObject * obj0 = 0 ;
33166 char * kwnames[] = {
33167 (char *) "obj", NULL
33168 };
33169
33170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
33171 if (obj0) {
33172 arg1 = obj0;
33173 }
33174 {
33175 PyThreadState* __tstate = wxPyBeginAllowThreads();
33176 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
33177 wxPyEndAllowThreads(__tstate);
33178 if (PyErr_Occurred()) SWIG_fail;
33179 }
33180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
33181 return resultobj;
33182 fail:
33183 return NULL;
33184 }
33185
33186
33187 SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33188 PyObject *resultobj = 0;
33189 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33190 void *argp1 = 0 ;
33191 int res1 = 0 ;
33192 PyObject *swig_obj[1] ;
33193
33194 if (!args) SWIG_fail;
33195 swig_obj[0] = args;
33196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33197 if (!SWIG_IsOK(res1)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33199 }
33200 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33201 {
33202 PyThreadState* __tstate = wxPyBeginAllowThreads();
33203 delete arg1;
33204
33205 wxPyEndAllowThreads(__tstate);
33206 if (PyErr_Occurred()) SWIG_fail;
33207 }
33208 resultobj = SWIG_Py_Void();
33209 return resultobj;
33210 fail:
33211 return NULL;
33212 }
33213
33214
33215 SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33216 PyObject *resultobj = 0;
33217 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33218 PyObject *result = 0 ;
33219 void *argp1 = 0 ;
33220 int res1 = 0 ;
33221 PyObject *swig_obj[1] ;
33222
33223 if (!args) SWIG_fail;
33224 swig_obj[0] = args;
33225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33226 if (!SWIG_IsOK(res1)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33228 }
33229 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33230 {
33231 PyThreadState* __tstate = wxPyBeginAllowThreads();
33232 result = (PyObject *)(arg1)->GetData();
33233 wxPyEndAllowThreads(__tstate);
33234 if (PyErr_Occurred()) SWIG_fail;
33235 }
33236 resultobj = result;
33237 return resultobj;
33238 fail:
33239 return NULL;
33240 }
33241
33242
33243 SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33244 PyObject *resultobj = 0;
33245 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33246 PyObject *arg2 = (PyObject *) 0 ;
33247 void *argp1 = 0 ;
33248 int res1 = 0 ;
33249 PyObject * obj0 = 0 ;
33250 PyObject * obj1 = 0 ;
33251 char * kwnames[] = {
33252 (char *) "self",(char *) "obj", NULL
33253 };
33254
33255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33257 if (!SWIG_IsOK(res1)) {
33258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33259 }
33260 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33261 arg2 = obj1;
33262 {
33263 PyThreadState* __tstate = wxPyBeginAllowThreads();
33264 (arg1)->SetData(arg2);
33265 wxPyEndAllowThreads(__tstate);
33266 if (PyErr_Occurred()) SWIG_fail;
33267 }
33268 resultobj = SWIG_Py_Void();
33269 return resultobj;
33270 fail:
33271 return NULL;
33272 }
33273
33274
33275 SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33276 PyObject *resultobj = 0;
33277 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33278 wxTreeItemId *result = 0 ;
33279 void *argp1 = 0 ;
33280 int res1 = 0 ;
33281 PyObject *swig_obj[1] ;
33282
33283 if (!args) SWIG_fail;
33284 swig_obj[0] = args;
33285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33286 if (!SWIG_IsOK(res1)) {
33287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33288 }
33289 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33290 {
33291 PyThreadState* __tstate = wxPyBeginAllowThreads();
33292 {
33293 wxTreeItemId const &_result_ref = (arg1)->GetId();
33294 result = (wxTreeItemId *) &_result_ref;
33295 }
33296 wxPyEndAllowThreads(__tstate);
33297 if (PyErr_Occurred()) SWIG_fail;
33298 }
33299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33300 return resultobj;
33301 fail:
33302 return NULL;
33303 }
33304
33305
33306 SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33307 PyObject *resultobj = 0;
33308 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33309 wxTreeItemId *arg2 = 0 ;
33310 void *argp1 = 0 ;
33311 int res1 = 0 ;
33312 void *argp2 = 0 ;
33313 int res2 = 0 ;
33314 PyObject * obj0 = 0 ;
33315 PyObject * obj1 = 0 ;
33316 char * kwnames[] = {
33317 (char *) "self",(char *) "id", NULL
33318 };
33319
33320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33322 if (!SWIG_IsOK(res1)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33324 }
33325 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33326 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33327 if (!SWIG_IsOK(res2)) {
33328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33329 }
33330 if (!argp2) {
33331 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33332 }
33333 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33334 {
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 (arg1)->SetId((wxTreeItemId const &)*arg2);
33337 wxPyEndAllowThreads(__tstate);
33338 if (PyErr_Occurred()) SWIG_fail;
33339 }
33340 resultobj = SWIG_Py_Void();
33341 return resultobj;
33342 fail:
33343 return NULL;
33344 }
33345
33346
33347 SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33348 PyObject *resultobj = 0;
33349 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33350 void *argp1 = 0 ;
33351 int res1 = 0 ;
33352 PyObject *swig_obj[1] ;
33353
33354 if (!args) SWIG_fail;
33355 swig_obj[0] = args;
33356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33357 if (!SWIG_IsOK(res1)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33359 }
33360 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33361 {
33362 PyThreadState* __tstate = wxPyBeginAllowThreads();
33363 wxPyTreeItemData_Destroy(arg1);
33364 wxPyEndAllowThreads(__tstate);
33365 if (PyErr_Occurred()) SWIG_fail;
33366 }
33367 resultobj = SWIG_Py_Void();
33368 return resultobj;
33369 fail:
33370 return NULL;
33371 }
33372
33373
33374 SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33375 PyObject *obj;
33376 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33377 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33378 return SWIG_Py_Void();
33379 }
33380
33381 SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33382 return SWIG_Python_InitShadowInstance(args);
33383 }
33384
33385 SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33386 {
33387 void *argp = 0;
33388 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33389 if (!SWIG_IsOK(res)) {
33390 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33391 }
33392 if (!argp) {
33393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33394 } else {
33395 wxTreeItemId * temp;
33396 temp = reinterpret_cast< wxTreeItemId * >(argp);
33397 wxNullTreeItemId = *temp;
33398 if (SWIG_IsNewObj(res)) delete temp;
33399 }
33400 }
33401 return 0;
33402 fail:
33403 return 1;
33404 }
33405
33406
33407 SWIGINTERN PyObject *NullTreeItemId_get(void) {
33408 PyObject *pyobj = 0;
33409
33410 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33411 return pyobj;
33412 }
33413
33414
33415 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33416 PyObject *resultobj = 0;
33417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33418 int arg2 = (int) 0 ;
33419 wxTreeEvent *result = 0 ;
33420 int val1 ;
33421 int ecode1 = 0 ;
33422 int val2 ;
33423 int ecode2 = 0 ;
33424
33425 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33426 if (swig_obj[0]) {
33427 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33428 if (!SWIG_IsOK(ecode1)) {
33429 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33430 }
33431 arg1 = static_cast< wxEventType >(val1);
33432 }
33433 if (swig_obj[1]) {
33434 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
33435 if (!SWIG_IsOK(ecode2)) {
33436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33437 }
33438 arg2 = static_cast< int >(val2);
33439 }
33440 {
33441 PyThreadState* __tstate = wxPyBeginAllowThreads();
33442 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33443 wxPyEndAllowThreads(__tstate);
33444 if (PyErr_Occurred()) SWIG_fail;
33445 }
33446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33447 return resultobj;
33448 fail:
33449 return NULL;
33450 }
33451
33452
33453 SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33454 PyObject *resultobj = 0;
33455 wxEventType arg1 ;
33456 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33457 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33458 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33459 wxTreeEvent *result = 0 ;
33460 int val1 ;
33461 int ecode1 = 0 ;
33462 void *argp2 = 0 ;
33463 int res2 = 0 ;
33464 void *argp3 = 0 ;
33465 int res3 = 0 ;
33466
33467 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33468 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33469 if (!SWIG_IsOK(ecode1)) {
33470 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33471 }
33472 arg1 = static_cast< wxEventType >(val1);
33473 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33474 if (!SWIG_IsOK(res2)) {
33475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33476 }
33477 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33478 if (swig_obj[2]) {
33479 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33480 if (!SWIG_IsOK(res3)) {
33481 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33482 }
33483 if (!argp3) {
33484 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33485 }
33486 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33487 }
33488 {
33489 PyThreadState* __tstate = wxPyBeginAllowThreads();
33490 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33491 wxPyEndAllowThreads(__tstate);
33492 if (PyErr_Occurred()) SWIG_fail;
33493 }
33494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33495 return resultobj;
33496 fail:
33497 return NULL;
33498 }
33499
33500
33501 SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33502 int argc;
33503 PyObject *argv[4];
33504
33505 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33506 --argc;
33507 if ((argc >= 0) && (argc <= 2)) {
33508 int _v = 0;
33509 if (argc > 1) {
33510 {
33511 {
33512 int res = SWIG_AsVal_int(argv[1], NULL);
33513 _v = SWIG_CheckState(res);
33514 }
33515 }
33516 if (!_v) goto check_1;
33517 }
33518 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33519 }
33520 check_1:
33521
33522 if ((argc >= 2) && (argc <= 3)) {
33523 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33524 }
33525
33526 fail:
33527 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33528 return NULL;
33529 }
33530
33531
33532 SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33533 PyObject *resultobj = 0;
33534 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33535 wxTreeItemId result;
33536 void *argp1 = 0 ;
33537 int res1 = 0 ;
33538 PyObject *swig_obj[1] ;
33539
33540 if (!args) SWIG_fail;
33541 swig_obj[0] = args;
33542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33543 if (!SWIG_IsOK(res1)) {
33544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33545 }
33546 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33547 {
33548 PyThreadState* __tstate = wxPyBeginAllowThreads();
33549 result = ((wxTreeEvent const *)arg1)->GetItem();
33550 wxPyEndAllowThreads(__tstate);
33551 if (PyErr_Occurred()) SWIG_fail;
33552 }
33553 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33554 return resultobj;
33555 fail:
33556 return NULL;
33557 }
33558
33559
33560 SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33561 PyObject *resultobj = 0;
33562 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33563 wxTreeItemId *arg2 = 0 ;
33564 void *argp1 = 0 ;
33565 int res1 = 0 ;
33566 void *argp2 = 0 ;
33567 int res2 = 0 ;
33568 PyObject * obj0 = 0 ;
33569 PyObject * obj1 = 0 ;
33570 char * kwnames[] = {
33571 (char *) "self",(char *) "item", NULL
33572 };
33573
33574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33576 if (!SWIG_IsOK(res1)) {
33577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33578 }
33579 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33580 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33581 if (!SWIG_IsOK(res2)) {
33582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33583 }
33584 if (!argp2) {
33585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33586 }
33587 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33588 {
33589 PyThreadState* __tstate = wxPyBeginAllowThreads();
33590 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33591 wxPyEndAllowThreads(__tstate);
33592 if (PyErr_Occurred()) SWIG_fail;
33593 }
33594 resultobj = SWIG_Py_Void();
33595 return resultobj;
33596 fail:
33597 return NULL;
33598 }
33599
33600
33601 SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33602 PyObject *resultobj = 0;
33603 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33604 wxTreeItemId result;
33605 void *argp1 = 0 ;
33606 int res1 = 0 ;
33607 PyObject *swig_obj[1] ;
33608
33609 if (!args) SWIG_fail;
33610 swig_obj[0] = args;
33611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33612 if (!SWIG_IsOK(res1)) {
33613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33614 }
33615 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33616 {
33617 PyThreadState* __tstate = wxPyBeginAllowThreads();
33618 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33619 wxPyEndAllowThreads(__tstate);
33620 if (PyErr_Occurred()) SWIG_fail;
33621 }
33622 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33623 return resultobj;
33624 fail:
33625 return NULL;
33626 }
33627
33628
33629 SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33630 PyObject *resultobj = 0;
33631 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33632 wxTreeItemId *arg2 = 0 ;
33633 void *argp1 = 0 ;
33634 int res1 = 0 ;
33635 void *argp2 = 0 ;
33636 int res2 = 0 ;
33637 PyObject * obj0 = 0 ;
33638 PyObject * obj1 = 0 ;
33639 char * kwnames[] = {
33640 (char *) "self",(char *) "item", NULL
33641 };
33642
33643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33645 if (!SWIG_IsOK(res1)) {
33646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33647 }
33648 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33649 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33650 if (!SWIG_IsOK(res2)) {
33651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33652 }
33653 if (!argp2) {
33654 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33655 }
33656 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33657 {
33658 PyThreadState* __tstate = wxPyBeginAllowThreads();
33659 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33660 wxPyEndAllowThreads(__tstate);
33661 if (PyErr_Occurred()) SWIG_fail;
33662 }
33663 resultobj = SWIG_Py_Void();
33664 return resultobj;
33665 fail:
33666 return NULL;
33667 }
33668
33669
33670 SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33671 PyObject *resultobj = 0;
33672 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33673 wxPoint result;
33674 void *argp1 = 0 ;
33675 int res1 = 0 ;
33676 PyObject *swig_obj[1] ;
33677
33678 if (!args) SWIG_fail;
33679 swig_obj[0] = args;
33680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33681 if (!SWIG_IsOK(res1)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33683 }
33684 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33685 {
33686 PyThreadState* __tstate = wxPyBeginAllowThreads();
33687 result = ((wxTreeEvent const *)arg1)->GetPoint();
33688 wxPyEndAllowThreads(__tstate);
33689 if (PyErr_Occurred()) SWIG_fail;
33690 }
33691 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33692 return resultobj;
33693 fail:
33694 return NULL;
33695 }
33696
33697
33698 SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33699 PyObject *resultobj = 0;
33700 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33701 wxPoint *arg2 = 0 ;
33702 void *argp1 = 0 ;
33703 int res1 = 0 ;
33704 wxPoint temp2 ;
33705 PyObject * obj0 = 0 ;
33706 PyObject * obj1 = 0 ;
33707 char * kwnames[] = {
33708 (char *) "self",(char *) "pt", NULL
33709 };
33710
33711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33713 if (!SWIG_IsOK(res1)) {
33714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33715 }
33716 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33717 {
33718 arg2 = &temp2;
33719 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33720 }
33721 {
33722 PyThreadState* __tstate = wxPyBeginAllowThreads();
33723 (arg1)->SetPoint((wxPoint const &)*arg2);
33724 wxPyEndAllowThreads(__tstate);
33725 if (PyErr_Occurred()) SWIG_fail;
33726 }
33727 resultobj = SWIG_Py_Void();
33728 return resultobj;
33729 fail:
33730 return NULL;
33731 }
33732
33733
33734 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33735 PyObject *resultobj = 0;
33736 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33737 wxKeyEvent *result = 0 ;
33738 void *argp1 = 0 ;
33739 int res1 = 0 ;
33740 PyObject *swig_obj[1] ;
33741
33742 if (!args) SWIG_fail;
33743 swig_obj[0] = args;
33744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33745 if (!SWIG_IsOK(res1)) {
33746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33747 }
33748 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33749 {
33750 PyThreadState* __tstate = wxPyBeginAllowThreads();
33751 {
33752 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33753 result = (wxKeyEvent *) &_result_ref;
33754 }
33755 wxPyEndAllowThreads(__tstate);
33756 if (PyErr_Occurred()) SWIG_fail;
33757 }
33758 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33759 return resultobj;
33760 fail:
33761 return NULL;
33762 }
33763
33764
33765 SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33766 PyObject *resultobj = 0;
33767 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33768 int result;
33769 void *argp1 = 0 ;
33770 int res1 = 0 ;
33771 PyObject *swig_obj[1] ;
33772
33773 if (!args) SWIG_fail;
33774 swig_obj[0] = args;
33775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33776 if (!SWIG_IsOK(res1)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33778 }
33779 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33780 {
33781 PyThreadState* __tstate = wxPyBeginAllowThreads();
33782 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33783 wxPyEndAllowThreads(__tstate);
33784 if (PyErr_Occurred()) SWIG_fail;
33785 }
33786 resultobj = SWIG_From_int(static_cast< int >(result));
33787 return resultobj;
33788 fail:
33789 return NULL;
33790 }
33791
33792
33793 SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33794 PyObject *resultobj = 0;
33795 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33796 wxKeyEvent *arg2 = 0 ;
33797 void *argp1 = 0 ;
33798 int res1 = 0 ;
33799 void *argp2 = 0 ;
33800 int res2 = 0 ;
33801 PyObject * obj0 = 0 ;
33802 PyObject * obj1 = 0 ;
33803 char * kwnames[] = {
33804 (char *) "self",(char *) "evt", NULL
33805 };
33806
33807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33809 if (!SWIG_IsOK(res1)) {
33810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33811 }
33812 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33813 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33814 if (!SWIG_IsOK(res2)) {
33815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33816 }
33817 if (!argp2) {
33818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33819 }
33820 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33821 {
33822 PyThreadState* __tstate = wxPyBeginAllowThreads();
33823 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33824 wxPyEndAllowThreads(__tstate);
33825 if (PyErr_Occurred()) SWIG_fail;
33826 }
33827 resultobj = SWIG_Py_Void();
33828 return resultobj;
33829 fail:
33830 return NULL;
33831 }
33832
33833
33834 SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33835 PyObject *resultobj = 0;
33836 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33837 wxString *result = 0 ;
33838 void *argp1 = 0 ;
33839 int res1 = 0 ;
33840 PyObject *swig_obj[1] ;
33841
33842 if (!args) SWIG_fail;
33843 swig_obj[0] = args;
33844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33845 if (!SWIG_IsOK(res1)) {
33846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33847 }
33848 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33849 {
33850 PyThreadState* __tstate = wxPyBeginAllowThreads();
33851 {
33852 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33853 result = (wxString *) &_result_ref;
33854 }
33855 wxPyEndAllowThreads(__tstate);
33856 if (PyErr_Occurred()) SWIG_fail;
33857 }
33858 {
33859 #if wxUSE_UNICODE
33860 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33861 #else
33862 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33863 #endif
33864 }
33865 return resultobj;
33866 fail:
33867 return NULL;
33868 }
33869
33870
33871 SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33872 PyObject *resultobj = 0;
33873 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33874 wxString *arg2 = 0 ;
33875 void *argp1 = 0 ;
33876 int res1 = 0 ;
33877 bool temp2 = false ;
33878 PyObject * obj0 = 0 ;
33879 PyObject * obj1 = 0 ;
33880 char * kwnames[] = {
33881 (char *) "self",(char *) "label", NULL
33882 };
33883
33884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33886 if (!SWIG_IsOK(res1)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33888 }
33889 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33890 {
33891 arg2 = wxString_in_helper(obj1);
33892 if (arg2 == NULL) SWIG_fail;
33893 temp2 = true;
33894 }
33895 {
33896 PyThreadState* __tstate = wxPyBeginAllowThreads();
33897 (arg1)->SetLabel((wxString const &)*arg2);
33898 wxPyEndAllowThreads(__tstate);
33899 if (PyErr_Occurred()) SWIG_fail;
33900 }
33901 resultobj = SWIG_Py_Void();
33902 {
33903 if (temp2)
33904 delete arg2;
33905 }
33906 return resultobj;
33907 fail:
33908 {
33909 if (temp2)
33910 delete arg2;
33911 }
33912 return NULL;
33913 }
33914
33915
33916 SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33917 PyObject *resultobj = 0;
33918 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33919 bool result;
33920 void *argp1 = 0 ;
33921 int res1 = 0 ;
33922 PyObject *swig_obj[1] ;
33923
33924 if (!args) SWIG_fail;
33925 swig_obj[0] = args;
33926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33927 if (!SWIG_IsOK(res1)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33929 }
33930 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33931 {
33932 PyThreadState* __tstate = wxPyBeginAllowThreads();
33933 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33934 wxPyEndAllowThreads(__tstate);
33935 if (PyErr_Occurred()) SWIG_fail;
33936 }
33937 {
33938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33939 }
33940 return resultobj;
33941 fail:
33942 return NULL;
33943 }
33944
33945
33946 SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33947 PyObject *resultobj = 0;
33948 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33949 bool arg2 ;
33950 void *argp1 = 0 ;
33951 int res1 = 0 ;
33952 bool val2 ;
33953 int ecode2 = 0 ;
33954 PyObject * obj0 = 0 ;
33955 PyObject * obj1 = 0 ;
33956 char * kwnames[] = {
33957 (char *) "self",(char *) "editCancelled", NULL
33958 };
33959
33960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33962 if (!SWIG_IsOK(res1)) {
33963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33964 }
33965 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33966 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33967 if (!SWIG_IsOK(ecode2)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33969 }
33970 arg2 = static_cast< bool >(val2);
33971 {
33972 PyThreadState* __tstate = wxPyBeginAllowThreads();
33973 (arg1)->SetEditCanceled(arg2);
33974 wxPyEndAllowThreads(__tstate);
33975 if (PyErr_Occurred()) SWIG_fail;
33976 }
33977 resultobj = SWIG_Py_Void();
33978 return resultobj;
33979 fail:
33980 return NULL;
33981 }
33982
33983
33984 SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33985 PyObject *resultobj = 0;
33986 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33987 wxString *arg2 = 0 ;
33988 void *argp1 = 0 ;
33989 int res1 = 0 ;
33990 bool temp2 = false ;
33991 PyObject * obj0 = 0 ;
33992 PyObject * obj1 = 0 ;
33993 char * kwnames[] = {
33994 (char *) "self",(char *) "toolTip", NULL
33995 };
33996
33997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33999 if (!SWIG_IsOK(res1)) {
34000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34001 }
34002 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34003 {
34004 arg2 = wxString_in_helper(obj1);
34005 if (arg2 == NULL) SWIG_fail;
34006 temp2 = true;
34007 }
34008 {
34009 PyThreadState* __tstate = wxPyBeginAllowThreads();
34010 (arg1)->SetToolTip((wxString const &)*arg2);
34011 wxPyEndAllowThreads(__tstate);
34012 if (PyErr_Occurred()) SWIG_fail;
34013 }
34014 resultobj = SWIG_Py_Void();
34015 {
34016 if (temp2)
34017 delete arg2;
34018 }
34019 return resultobj;
34020 fail:
34021 {
34022 if (temp2)
34023 delete arg2;
34024 }
34025 return NULL;
34026 }
34027
34028
34029 SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34030 PyObject *resultobj = 0;
34031 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
34032 wxString result;
34033 void *argp1 = 0 ;
34034 int res1 = 0 ;
34035 PyObject *swig_obj[1] ;
34036
34037 if (!args) SWIG_fail;
34038 swig_obj[0] = args;
34039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
34040 if (!SWIG_IsOK(res1)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34042 }
34043 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
34044 {
34045 PyThreadState* __tstate = wxPyBeginAllowThreads();
34046 result = (arg1)->GetToolTip();
34047 wxPyEndAllowThreads(__tstate);
34048 if (PyErr_Occurred()) SWIG_fail;
34049 }
34050 {
34051 #if wxUSE_UNICODE
34052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34053 #else
34054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34055 #endif
34056 }
34057 return resultobj;
34058 fail:
34059 return NULL;
34060 }
34061
34062
34063 SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34064 PyObject *obj;
34065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
34066 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
34067 return SWIG_Py_Void();
34068 }
34069
34070 SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34071 return SWIG_Python_InitShadowInstance(args);
34072 }
34073
34074 SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34075 PyObject *resultobj = 0;
34076 wxWindow *arg1 = (wxWindow *) 0 ;
34077 int arg2 = (int) -1 ;
34078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
34079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
34080 wxSize const &arg4_defvalue = wxDefaultSize ;
34081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
34082 long arg5 = (long) wxTR_DEFAULT_STYLE ;
34083 wxValidator const &arg6_defvalue = wxDefaultValidator ;
34084 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
34085 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
34086 wxString *arg7 = (wxString *) &arg7_defvalue ;
34087 wxPyTreeCtrl *result = 0 ;
34088 void *argp1 = 0 ;
34089 int res1 = 0 ;
34090 int val2 ;
34091 int ecode2 = 0 ;
34092 wxPoint temp3 ;
34093 wxSize temp4 ;
34094 long val5 ;
34095 int ecode5 = 0 ;
34096 void *argp6 = 0 ;
34097 int res6 = 0 ;
34098 bool temp7 = false ;
34099 PyObject * obj0 = 0 ;
34100 PyObject * obj1 = 0 ;
34101 PyObject * obj2 = 0 ;
34102 PyObject * obj3 = 0 ;
34103 PyObject * obj4 = 0 ;
34104 PyObject * obj5 = 0 ;
34105 PyObject * obj6 = 0 ;
34106 char * kwnames[] = {
34107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34108 };
34109
34110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
34111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
34112 if (!SWIG_IsOK(res1)) {
34113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34114 }
34115 arg1 = reinterpret_cast< wxWindow * >(argp1);
34116 if (obj1) {
34117 ecode2 = SWIG_AsVal_int(obj1, &val2);
34118 if (!SWIG_IsOK(ecode2)) {
34119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34120 }
34121 arg2 = static_cast< int >(val2);
34122 }
34123 if (obj2) {
34124 {
34125 arg3 = &temp3;
34126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34127 }
34128 }
34129 if (obj3) {
34130 {
34131 arg4 = &temp4;
34132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
34133 }
34134 }
34135 if (obj4) {
34136 ecode5 = SWIG_AsVal_long(obj4, &val5);
34137 if (!SWIG_IsOK(ecode5)) {
34138 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34139 }
34140 arg5 = static_cast< long >(val5);
34141 }
34142 if (obj5) {
34143 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
34144 if (!SWIG_IsOK(res6)) {
34145 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34146 }
34147 if (!argp6) {
34148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34149 }
34150 arg6 = reinterpret_cast< wxValidator * >(argp6);
34151 }
34152 if (obj6) {
34153 {
34154 arg7 = wxString_in_helper(obj6);
34155 if (arg7 == NULL) SWIG_fail;
34156 temp7 = true;
34157 }
34158 }
34159 {
34160 if (!wxPyCheckForApp()) SWIG_fail;
34161 PyThreadState* __tstate = wxPyBeginAllowThreads();
34162 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
34163 wxPyEndAllowThreads(__tstate);
34164 if (PyErr_Occurred()) SWIG_fail;
34165 }
34166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
34167 {
34168 if (temp7)
34169 delete arg7;
34170 }
34171 return resultobj;
34172 fail:
34173 {
34174 if (temp7)
34175 delete arg7;
34176 }
34177 return NULL;
34178 }
34179
34180
34181 SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34182 PyObject *resultobj = 0;
34183 wxPyTreeCtrl *result = 0 ;
34184
34185 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34186 {
34187 if (!wxPyCheckForApp()) SWIG_fail;
34188 PyThreadState* __tstate = wxPyBeginAllowThreads();
34189 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34190 wxPyEndAllowThreads(__tstate);
34191 if (PyErr_Occurred()) SWIG_fail;
34192 }
34193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34194 return resultobj;
34195 fail:
34196 return NULL;
34197 }
34198
34199
34200 SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34201 PyObject *resultobj = 0;
34202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34203 wxWindow *arg2 = (wxWindow *) 0 ;
34204 int arg3 = (int) -1 ;
34205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34207 wxSize const &arg5_defvalue = wxDefaultSize ;
34208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34209 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34210 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34211 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34212 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34213 wxString *arg8 = (wxString *) &arg8_defvalue ;
34214 bool result;
34215 void *argp1 = 0 ;
34216 int res1 = 0 ;
34217 void *argp2 = 0 ;
34218 int res2 = 0 ;
34219 int val3 ;
34220 int ecode3 = 0 ;
34221 wxPoint temp4 ;
34222 wxSize temp5 ;
34223 long val6 ;
34224 int ecode6 = 0 ;
34225 void *argp7 = 0 ;
34226 int res7 = 0 ;
34227 bool temp8 = false ;
34228 PyObject * obj0 = 0 ;
34229 PyObject * obj1 = 0 ;
34230 PyObject * obj2 = 0 ;
34231 PyObject * obj3 = 0 ;
34232 PyObject * obj4 = 0 ;
34233 PyObject * obj5 = 0 ;
34234 PyObject * obj6 = 0 ;
34235 PyObject * obj7 = 0 ;
34236 char * kwnames[] = {
34237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34238 };
34239
34240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34242 if (!SWIG_IsOK(res1)) {
34243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34244 }
34245 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34247 if (!SWIG_IsOK(res2)) {
34248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34249 }
34250 arg2 = reinterpret_cast< wxWindow * >(argp2);
34251 if (obj2) {
34252 ecode3 = SWIG_AsVal_int(obj2, &val3);
34253 if (!SWIG_IsOK(ecode3)) {
34254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34255 }
34256 arg3 = static_cast< int >(val3);
34257 }
34258 if (obj3) {
34259 {
34260 arg4 = &temp4;
34261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34262 }
34263 }
34264 if (obj4) {
34265 {
34266 arg5 = &temp5;
34267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34268 }
34269 }
34270 if (obj5) {
34271 ecode6 = SWIG_AsVal_long(obj5, &val6);
34272 if (!SWIG_IsOK(ecode6)) {
34273 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34274 }
34275 arg6 = static_cast< long >(val6);
34276 }
34277 if (obj6) {
34278 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34279 if (!SWIG_IsOK(res7)) {
34280 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34281 }
34282 if (!argp7) {
34283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34284 }
34285 arg7 = reinterpret_cast< wxValidator * >(argp7);
34286 }
34287 if (obj7) {
34288 {
34289 arg8 = wxString_in_helper(obj7);
34290 if (arg8 == NULL) SWIG_fail;
34291 temp8 = true;
34292 }
34293 }
34294 {
34295 PyThreadState* __tstate = wxPyBeginAllowThreads();
34296 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34297 wxPyEndAllowThreads(__tstate);
34298 if (PyErr_Occurred()) SWIG_fail;
34299 }
34300 {
34301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34302 }
34303 {
34304 if (temp8)
34305 delete arg8;
34306 }
34307 return resultobj;
34308 fail:
34309 {
34310 if (temp8)
34311 delete arg8;
34312 }
34313 return NULL;
34314 }
34315
34316
34317 SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34318 PyObject *resultobj = 0;
34319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34320 PyObject *arg2 = (PyObject *) 0 ;
34321 PyObject *arg3 = (PyObject *) 0 ;
34322 void *argp1 = 0 ;
34323 int res1 = 0 ;
34324 PyObject * obj0 = 0 ;
34325 PyObject * obj1 = 0 ;
34326 PyObject * obj2 = 0 ;
34327 char * kwnames[] = {
34328 (char *) "self",(char *) "self",(char *) "_class", NULL
34329 };
34330
34331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34333 if (!SWIG_IsOK(res1)) {
34334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34335 }
34336 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34337 arg2 = obj1;
34338 arg3 = obj2;
34339 {
34340 PyThreadState* __tstate = wxPyBeginAllowThreads();
34341 (arg1)->_setCallbackInfo(arg2,arg3);
34342 wxPyEndAllowThreads(__tstate);
34343 if (PyErr_Occurred()) SWIG_fail;
34344 }
34345 resultobj = SWIG_Py_Void();
34346 return resultobj;
34347 fail:
34348 return NULL;
34349 }
34350
34351
34352 SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34353 PyObject *resultobj = 0;
34354 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34355 unsigned int result;
34356 void *argp1 = 0 ;
34357 int res1 = 0 ;
34358 PyObject *swig_obj[1] ;
34359
34360 if (!args) SWIG_fail;
34361 swig_obj[0] = args;
34362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34363 if (!SWIG_IsOK(res1)) {
34364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34365 }
34366 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34367 {
34368 PyThreadState* __tstate = wxPyBeginAllowThreads();
34369 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
34370 wxPyEndAllowThreads(__tstate);
34371 if (PyErr_Occurred()) SWIG_fail;
34372 }
34373 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34374 return resultobj;
34375 fail:
34376 return NULL;
34377 }
34378
34379
34380 SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34381 PyObject *resultobj = 0;
34382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34383 unsigned int result;
34384 void *argp1 = 0 ;
34385 int res1 = 0 ;
34386 PyObject *swig_obj[1] ;
34387
34388 if (!args) SWIG_fail;
34389 swig_obj[0] = args;
34390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34391 if (!SWIG_IsOK(res1)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34393 }
34394 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34395 {
34396 PyThreadState* __tstate = wxPyBeginAllowThreads();
34397 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34398 wxPyEndAllowThreads(__tstate);
34399 if (PyErr_Occurred()) SWIG_fail;
34400 }
34401 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34402 return resultobj;
34403 fail:
34404 return NULL;
34405 }
34406
34407
34408 SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34409 PyObject *resultobj = 0;
34410 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34411 unsigned int arg2 ;
34412 void *argp1 = 0 ;
34413 int res1 = 0 ;
34414 unsigned int val2 ;
34415 int ecode2 = 0 ;
34416 PyObject * obj0 = 0 ;
34417 PyObject * obj1 = 0 ;
34418 char * kwnames[] = {
34419 (char *) "self",(char *) "indent", NULL
34420 };
34421
34422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34424 if (!SWIG_IsOK(res1)) {
34425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34426 }
34427 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34428 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34429 if (!SWIG_IsOK(ecode2)) {
34430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34431 }
34432 arg2 = static_cast< unsigned int >(val2);
34433 {
34434 PyThreadState* __tstate = wxPyBeginAllowThreads();
34435 (arg1)->SetIndent(arg2);
34436 wxPyEndAllowThreads(__tstate);
34437 if (PyErr_Occurred()) SWIG_fail;
34438 }
34439 resultobj = SWIG_Py_Void();
34440 return resultobj;
34441 fail:
34442 return NULL;
34443 }
34444
34445
34446 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34447 PyObject *resultobj = 0;
34448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34449 unsigned int result;
34450 void *argp1 = 0 ;
34451 int res1 = 0 ;
34452 PyObject *swig_obj[1] ;
34453
34454 if (!args) SWIG_fail;
34455 swig_obj[0] = args;
34456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34457 if (!SWIG_IsOK(res1)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34459 }
34460 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34461 {
34462 PyThreadState* __tstate = wxPyBeginAllowThreads();
34463 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34464 wxPyEndAllowThreads(__tstate);
34465 if (PyErr_Occurred()) SWIG_fail;
34466 }
34467 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34468 return resultobj;
34469 fail:
34470 return NULL;
34471 }
34472
34473
34474 SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34475 PyObject *resultobj = 0;
34476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34477 unsigned int arg2 ;
34478 void *argp1 = 0 ;
34479 int res1 = 0 ;
34480 unsigned int val2 ;
34481 int ecode2 = 0 ;
34482 PyObject * obj0 = 0 ;
34483 PyObject * obj1 = 0 ;
34484 char * kwnames[] = {
34485 (char *) "self",(char *) "spacing", NULL
34486 };
34487
34488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34490 if (!SWIG_IsOK(res1)) {
34491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34492 }
34493 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34494 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34495 if (!SWIG_IsOK(ecode2)) {
34496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34497 }
34498 arg2 = static_cast< unsigned int >(val2);
34499 {
34500 PyThreadState* __tstate = wxPyBeginAllowThreads();
34501 (arg1)->SetSpacing(arg2);
34502 wxPyEndAllowThreads(__tstate);
34503 if (PyErr_Occurred()) SWIG_fail;
34504 }
34505 resultobj = SWIG_Py_Void();
34506 return resultobj;
34507 fail:
34508 return NULL;
34509 }
34510
34511
34512 SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34513 PyObject *resultobj = 0;
34514 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34515 wxImageList *result = 0 ;
34516 void *argp1 = 0 ;
34517 int res1 = 0 ;
34518 PyObject *swig_obj[1] ;
34519
34520 if (!args) SWIG_fail;
34521 swig_obj[0] = args;
34522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34523 if (!SWIG_IsOK(res1)) {
34524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34525 }
34526 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34527 {
34528 PyThreadState* __tstate = wxPyBeginAllowThreads();
34529 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34530 wxPyEndAllowThreads(__tstate);
34531 if (PyErr_Occurred()) SWIG_fail;
34532 }
34533 {
34534 resultobj = wxPyMake_wxObject(result, (bool)0);
34535 }
34536 return resultobj;
34537 fail:
34538 return NULL;
34539 }
34540
34541
34542 SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34543 PyObject *resultobj = 0;
34544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34545 wxImageList *result = 0 ;
34546 void *argp1 = 0 ;
34547 int res1 = 0 ;
34548 PyObject *swig_obj[1] ;
34549
34550 if (!args) SWIG_fail;
34551 swig_obj[0] = args;
34552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34553 if (!SWIG_IsOK(res1)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34555 }
34556 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34557 {
34558 PyThreadState* __tstate = wxPyBeginAllowThreads();
34559 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34560 wxPyEndAllowThreads(__tstate);
34561 if (PyErr_Occurred()) SWIG_fail;
34562 }
34563 {
34564 resultobj = wxPyMake_wxObject(result, (bool)0);
34565 }
34566 return resultobj;
34567 fail:
34568 return NULL;
34569 }
34570
34571
34572 SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34573 PyObject *resultobj = 0;
34574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34575 wxImageList *arg2 = (wxImageList *) 0 ;
34576 void *argp1 = 0 ;
34577 int res1 = 0 ;
34578 void *argp2 = 0 ;
34579 int res2 = 0 ;
34580 PyObject * obj0 = 0 ;
34581 PyObject * obj1 = 0 ;
34582 char * kwnames[] = {
34583 (char *) "self",(char *) "imageList", NULL
34584 };
34585
34586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34588 if (!SWIG_IsOK(res1)) {
34589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34590 }
34591 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34593 if (!SWIG_IsOK(res2)) {
34594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34595 }
34596 arg2 = reinterpret_cast< wxImageList * >(argp2);
34597 {
34598 PyThreadState* __tstate = wxPyBeginAllowThreads();
34599 (arg1)->SetImageList(arg2);
34600 wxPyEndAllowThreads(__tstate);
34601 if (PyErr_Occurred()) SWIG_fail;
34602 }
34603 resultobj = SWIG_Py_Void();
34604 return resultobj;
34605 fail:
34606 return NULL;
34607 }
34608
34609
34610 SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34611 PyObject *resultobj = 0;
34612 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34613 wxImageList *arg2 = (wxImageList *) 0 ;
34614 void *argp1 = 0 ;
34615 int res1 = 0 ;
34616 void *argp2 = 0 ;
34617 int res2 = 0 ;
34618 PyObject * obj0 = 0 ;
34619 PyObject * obj1 = 0 ;
34620 char * kwnames[] = {
34621 (char *) "self",(char *) "imageList", NULL
34622 };
34623
34624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34626 if (!SWIG_IsOK(res1)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34628 }
34629 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34631 if (!SWIG_IsOK(res2)) {
34632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34633 }
34634 arg2 = reinterpret_cast< wxImageList * >(argp2);
34635 {
34636 PyThreadState* __tstate = wxPyBeginAllowThreads();
34637 (arg1)->SetStateImageList(arg2);
34638 wxPyEndAllowThreads(__tstate);
34639 if (PyErr_Occurred()) SWIG_fail;
34640 }
34641 resultobj = SWIG_Py_Void();
34642 return resultobj;
34643 fail:
34644 return NULL;
34645 }
34646
34647
34648 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34649 PyObject *resultobj = 0;
34650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34651 wxImageList *arg2 = (wxImageList *) 0 ;
34652 void *argp1 = 0 ;
34653 int res1 = 0 ;
34654 int res2 = 0 ;
34655 PyObject * obj0 = 0 ;
34656 PyObject * obj1 = 0 ;
34657 char * kwnames[] = {
34658 (char *) "self",(char *) "imageList", NULL
34659 };
34660
34661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34663 if (!SWIG_IsOK(res1)) {
34664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34665 }
34666 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34667 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34668 if (!SWIG_IsOK(res2)) {
34669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34670 }
34671 {
34672 PyThreadState* __tstate = wxPyBeginAllowThreads();
34673 (arg1)->AssignImageList(arg2);
34674 wxPyEndAllowThreads(__tstate);
34675 if (PyErr_Occurred()) SWIG_fail;
34676 }
34677 resultobj = SWIG_Py_Void();
34678 return resultobj;
34679 fail:
34680 return NULL;
34681 }
34682
34683
34684 SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34685 PyObject *resultobj = 0;
34686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34687 wxImageList *arg2 = (wxImageList *) 0 ;
34688 void *argp1 = 0 ;
34689 int res1 = 0 ;
34690 int res2 = 0 ;
34691 PyObject * obj0 = 0 ;
34692 PyObject * obj1 = 0 ;
34693 char * kwnames[] = {
34694 (char *) "self",(char *) "imageList", NULL
34695 };
34696
34697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34699 if (!SWIG_IsOK(res1)) {
34700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34701 }
34702 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34703 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34704 if (!SWIG_IsOK(res2)) {
34705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34706 }
34707 {
34708 PyThreadState* __tstate = wxPyBeginAllowThreads();
34709 (arg1)->AssignStateImageList(arg2);
34710 wxPyEndAllowThreads(__tstate);
34711 if (PyErr_Occurred()) SWIG_fail;
34712 }
34713 resultobj = SWIG_Py_Void();
34714 return resultobj;
34715 fail:
34716 return NULL;
34717 }
34718
34719
34720 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34721 PyObject *resultobj = 0;
34722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34723 wxTreeItemId *arg2 = 0 ;
34724 wxString result;
34725 void *argp1 = 0 ;
34726 int res1 = 0 ;
34727 void *argp2 = 0 ;
34728 int res2 = 0 ;
34729 PyObject * obj0 = 0 ;
34730 PyObject * obj1 = 0 ;
34731 char * kwnames[] = {
34732 (char *) "self",(char *) "item", NULL
34733 };
34734
34735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34737 if (!SWIG_IsOK(res1)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34739 }
34740 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34742 if (!SWIG_IsOK(res2)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34744 }
34745 if (!argp2) {
34746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 }
34748 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34749 {
34750 PyThreadState* __tstate = wxPyBeginAllowThreads();
34751 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34752 wxPyEndAllowThreads(__tstate);
34753 if (PyErr_Occurred()) SWIG_fail;
34754 }
34755 {
34756 #if wxUSE_UNICODE
34757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34758 #else
34759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34760 #endif
34761 }
34762 return resultobj;
34763 fail:
34764 return NULL;
34765 }
34766
34767
34768 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34769 PyObject *resultobj = 0;
34770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34771 wxTreeItemId *arg2 = 0 ;
34772 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34773 int result;
34774 void *argp1 = 0 ;
34775 int res1 = 0 ;
34776 void *argp2 = 0 ;
34777 int res2 = 0 ;
34778 int val3 ;
34779 int ecode3 = 0 ;
34780 PyObject * obj0 = 0 ;
34781 PyObject * obj1 = 0 ;
34782 PyObject * obj2 = 0 ;
34783 char * kwnames[] = {
34784 (char *) "self",(char *) "item",(char *) "which", NULL
34785 };
34786
34787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34789 if (!SWIG_IsOK(res1)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34791 }
34792 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34793 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34794 if (!SWIG_IsOK(res2)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34796 }
34797 if (!argp2) {
34798 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34799 }
34800 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34801 if (obj2) {
34802 ecode3 = SWIG_AsVal_int(obj2, &val3);
34803 if (!SWIG_IsOK(ecode3)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34805 }
34806 arg3 = static_cast< wxTreeItemIcon >(val3);
34807 }
34808 {
34809 PyThreadState* __tstate = wxPyBeginAllowThreads();
34810 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34811 wxPyEndAllowThreads(__tstate);
34812 if (PyErr_Occurred()) SWIG_fail;
34813 }
34814 resultobj = SWIG_From_int(static_cast< int >(result));
34815 return resultobj;
34816 fail:
34817 return NULL;
34818 }
34819
34820
34821 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34822 PyObject *resultobj = 0;
34823 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34824 wxTreeItemId *arg2 = 0 ;
34825 wxPyTreeItemData *result = 0 ;
34826 void *argp1 = 0 ;
34827 int res1 = 0 ;
34828 void *argp2 = 0 ;
34829 int res2 = 0 ;
34830 PyObject * obj0 = 0 ;
34831 PyObject * obj1 = 0 ;
34832 char * kwnames[] = {
34833 (char *) "self",(char *) "item", NULL
34834 };
34835
34836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34838 if (!SWIG_IsOK(res1)) {
34839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34840 }
34841 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34842 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34843 if (!SWIG_IsOK(res2)) {
34844 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34845 }
34846 if (!argp2) {
34847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34848 }
34849 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34850 {
34851 PyThreadState* __tstate = wxPyBeginAllowThreads();
34852 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34853 wxPyEndAllowThreads(__tstate);
34854 if (PyErr_Occurred()) SWIG_fail;
34855 }
34856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34857 return resultobj;
34858 fail:
34859 return NULL;
34860 }
34861
34862
34863 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34864 PyObject *resultobj = 0;
34865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34866 wxTreeItemId *arg2 = 0 ;
34867 PyObject *result = 0 ;
34868 void *argp1 = 0 ;
34869 int res1 = 0 ;
34870 void *argp2 = 0 ;
34871 int res2 = 0 ;
34872 PyObject * obj0 = 0 ;
34873 PyObject * obj1 = 0 ;
34874 char * kwnames[] = {
34875 (char *) "self",(char *) "item", NULL
34876 };
34877
34878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34880 if (!SWIG_IsOK(res1)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34882 }
34883 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34884 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34885 if (!SWIG_IsOK(res2)) {
34886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34887 }
34888 if (!argp2) {
34889 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34890 }
34891 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34892 {
34893 PyThreadState* __tstate = wxPyBeginAllowThreads();
34894 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34895 wxPyEndAllowThreads(__tstate);
34896 if (PyErr_Occurred()) SWIG_fail;
34897 }
34898 resultobj = result;
34899 return resultobj;
34900 fail:
34901 return NULL;
34902 }
34903
34904
34905 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34906 PyObject *resultobj = 0;
34907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34908 wxTreeItemId *arg2 = 0 ;
34909 wxColour result;
34910 void *argp1 = 0 ;
34911 int res1 = 0 ;
34912 void *argp2 = 0 ;
34913 int res2 = 0 ;
34914 PyObject * obj0 = 0 ;
34915 PyObject * obj1 = 0 ;
34916 char * kwnames[] = {
34917 (char *) "self",(char *) "item", NULL
34918 };
34919
34920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34922 if (!SWIG_IsOK(res1)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34924 }
34925 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34926 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34927 if (!SWIG_IsOK(res2)) {
34928 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 }
34930 if (!argp2) {
34931 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34932 }
34933 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34934 {
34935 PyThreadState* __tstate = wxPyBeginAllowThreads();
34936 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34937 wxPyEndAllowThreads(__tstate);
34938 if (PyErr_Occurred()) SWIG_fail;
34939 }
34940 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34941 return resultobj;
34942 fail:
34943 return NULL;
34944 }
34945
34946
34947 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34948 PyObject *resultobj = 0;
34949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34950 wxTreeItemId *arg2 = 0 ;
34951 wxColour result;
34952 void *argp1 = 0 ;
34953 int res1 = 0 ;
34954 void *argp2 = 0 ;
34955 int res2 = 0 ;
34956 PyObject * obj0 = 0 ;
34957 PyObject * obj1 = 0 ;
34958 char * kwnames[] = {
34959 (char *) "self",(char *) "item", NULL
34960 };
34961
34962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) 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_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 }
34972 if (!argp2) {
34973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34974 }
34975 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34976 {
34977 PyThreadState* __tstate = wxPyBeginAllowThreads();
34978 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34979 wxPyEndAllowThreads(__tstate);
34980 if (PyErr_Occurred()) SWIG_fail;
34981 }
34982 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34983 return resultobj;
34984 fail:
34985 return NULL;
34986 }
34987
34988
34989 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34990 PyObject *resultobj = 0;
34991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34992 wxTreeItemId *arg2 = 0 ;
34993 wxFont result;
34994 void *argp1 = 0 ;
34995 int res1 = 0 ;
34996 void *argp2 = 0 ;
34997 int res2 = 0 ;
34998 PyObject * obj0 = 0 ;
34999 PyObject * obj1 = 0 ;
35000 char * kwnames[] = {
35001 (char *) "self",(char *) "item", NULL
35002 };
35003
35004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
35005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35006 if (!SWIG_IsOK(res1)) {
35007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35008 }
35009 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35011 if (!SWIG_IsOK(res2)) {
35012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35013 }
35014 if (!argp2) {
35015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35016 }
35017 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35018 {
35019 PyThreadState* __tstate = wxPyBeginAllowThreads();
35020 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
35021 wxPyEndAllowThreads(__tstate);
35022 if (PyErr_Occurred()) SWIG_fail;
35023 }
35024 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
35025 return resultobj;
35026 fail:
35027 return NULL;
35028 }
35029
35030
35031 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35032 PyObject *resultobj = 0;
35033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35034 wxTreeItemId *arg2 = 0 ;
35035 wxString *arg3 = 0 ;
35036 void *argp1 = 0 ;
35037 int res1 = 0 ;
35038 void *argp2 = 0 ;
35039 int res2 = 0 ;
35040 bool temp3 = false ;
35041 PyObject * obj0 = 0 ;
35042 PyObject * obj1 = 0 ;
35043 PyObject * obj2 = 0 ;
35044 char * kwnames[] = {
35045 (char *) "self",(char *) "item",(char *) "text", NULL
35046 };
35047
35048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35050 if (!SWIG_IsOK(res1)) {
35051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35052 }
35053 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35055 if (!SWIG_IsOK(res2)) {
35056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35057 }
35058 if (!argp2) {
35059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35060 }
35061 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35062 {
35063 arg3 = wxString_in_helper(obj2);
35064 if (arg3 == NULL) SWIG_fail;
35065 temp3 = true;
35066 }
35067 {
35068 PyThreadState* __tstate = wxPyBeginAllowThreads();
35069 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
35070 wxPyEndAllowThreads(__tstate);
35071 if (PyErr_Occurred()) SWIG_fail;
35072 }
35073 resultobj = SWIG_Py_Void();
35074 {
35075 if (temp3)
35076 delete arg3;
35077 }
35078 return resultobj;
35079 fail:
35080 {
35081 if (temp3)
35082 delete arg3;
35083 }
35084 return NULL;
35085 }
35086
35087
35088 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35089 PyObject *resultobj = 0;
35090 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35091 wxTreeItemId *arg2 = 0 ;
35092 int arg3 ;
35093 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
35094 void *argp1 = 0 ;
35095 int res1 = 0 ;
35096 void *argp2 = 0 ;
35097 int res2 = 0 ;
35098 int val3 ;
35099 int ecode3 = 0 ;
35100 int val4 ;
35101 int ecode4 = 0 ;
35102 PyObject * obj0 = 0 ;
35103 PyObject * obj1 = 0 ;
35104 PyObject * obj2 = 0 ;
35105 PyObject * obj3 = 0 ;
35106 char * kwnames[] = {
35107 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35108 };
35109
35110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_SetItemImage" "', 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_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35119 }
35120 if (!argp2) {
35121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35122 }
35123 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35124 ecode3 = SWIG_AsVal_int(obj2, &val3);
35125 if (!SWIG_IsOK(ecode3)) {
35126 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35127 }
35128 arg3 = static_cast< int >(val3);
35129 if (obj3) {
35130 ecode4 = SWIG_AsVal_int(obj3, &val4);
35131 if (!SWIG_IsOK(ecode4)) {
35132 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35133 }
35134 arg4 = static_cast< wxTreeItemIcon >(val4);
35135 }
35136 {
35137 PyThreadState* __tstate = wxPyBeginAllowThreads();
35138 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
35139 wxPyEndAllowThreads(__tstate);
35140 if (PyErr_Occurred()) SWIG_fail;
35141 }
35142 resultobj = SWIG_Py_Void();
35143 return resultobj;
35144 fail:
35145 return NULL;
35146 }
35147
35148
35149 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35150 PyObject *resultobj = 0;
35151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35152 wxTreeItemId *arg2 = 0 ;
35153 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
35154 void *argp1 = 0 ;
35155 int res1 = 0 ;
35156 void *argp2 = 0 ;
35157 int res2 = 0 ;
35158 int res3 = 0 ;
35159 PyObject * obj0 = 0 ;
35160 PyObject * obj1 = 0 ;
35161 PyObject * obj2 = 0 ;
35162 char * kwnames[] = {
35163 (char *) "self",(char *) "item",(char *) "data", NULL
35164 };
35165
35166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35168 if (!SWIG_IsOK(res1)) {
35169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35170 }
35171 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35172 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35173 if (!SWIG_IsOK(res2)) {
35174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35175 }
35176 if (!argp2) {
35177 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35178 }
35179 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35180 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35181 if (!SWIG_IsOK(res3)) {
35182 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35183 }
35184 {
35185 PyThreadState* __tstate = wxPyBeginAllowThreads();
35186 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35187 wxPyEndAllowThreads(__tstate);
35188 if (PyErr_Occurred()) SWIG_fail;
35189 }
35190 resultobj = SWIG_Py_Void();
35191 return resultobj;
35192 fail:
35193 return NULL;
35194 }
35195
35196
35197 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35198 PyObject *resultobj = 0;
35199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35200 wxTreeItemId *arg2 = 0 ;
35201 PyObject *arg3 = (PyObject *) 0 ;
35202 void *argp1 = 0 ;
35203 int res1 = 0 ;
35204 void *argp2 = 0 ;
35205 int res2 = 0 ;
35206 PyObject * obj0 = 0 ;
35207 PyObject * obj1 = 0 ;
35208 PyObject * obj2 = 0 ;
35209 char * kwnames[] = {
35210 (char *) "self",(char *) "item",(char *) "obj", NULL
35211 };
35212
35213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35215 if (!SWIG_IsOK(res1)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35217 }
35218 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35219 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35220 if (!SWIG_IsOK(res2)) {
35221 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35222 }
35223 if (!argp2) {
35224 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35225 }
35226 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35227 arg3 = obj2;
35228 {
35229 PyThreadState* __tstate = wxPyBeginAllowThreads();
35230 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35231 wxPyEndAllowThreads(__tstate);
35232 if (PyErr_Occurred()) SWIG_fail;
35233 }
35234 resultobj = SWIG_Py_Void();
35235 return resultobj;
35236 fail:
35237 return NULL;
35238 }
35239
35240
35241 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35242 PyObject *resultobj = 0;
35243 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35244 wxTreeItemId *arg2 = 0 ;
35245 bool arg3 = (bool) true ;
35246 void *argp1 = 0 ;
35247 int res1 = 0 ;
35248 void *argp2 = 0 ;
35249 int res2 = 0 ;
35250 bool val3 ;
35251 int ecode3 = 0 ;
35252 PyObject * obj0 = 0 ;
35253 PyObject * obj1 = 0 ;
35254 PyObject * obj2 = 0 ;
35255 char * kwnames[] = {
35256 (char *) "self",(char *) "item",(char *) "has", NULL
35257 };
35258
35259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35261 if (!SWIG_IsOK(res1)) {
35262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35263 }
35264 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35265 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35266 if (!SWIG_IsOK(res2)) {
35267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35268 }
35269 if (!argp2) {
35270 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35271 }
35272 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35273 if (obj2) {
35274 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35275 if (!SWIG_IsOK(ecode3)) {
35276 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35277 }
35278 arg3 = static_cast< bool >(val3);
35279 }
35280 {
35281 PyThreadState* __tstate = wxPyBeginAllowThreads();
35282 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35283 wxPyEndAllowThreads(__tstate);
35284 if (PyErr_Occurred()) SWIG_fail;
35285 }
35286 resultobj = SWIG_Py_Void();
35287 return resultobj;
35288 fail:
35289 return NULL;
35290 }
35291
35292
35293 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35294 PyObject *resultobj = 0;
35295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35296 wxTreeItemId *arg2 = 0 ;
35297 bool arg3 = (bool) true ;
35298 void *argp1 = 0 ;
35299 int res1 = 0 ;
35300 void *argp2 = 0 ;
35301 int res2 = 0 ;
35302 bool val3 ;
35303 int ecode3 = 0 ;
35304 PyObject * obj0 = 0 ;
35305 PyObject * obj1 = 0 ;
35306 PyObject * obj2 = 0 ;
35307 char * kwnames[] = {
35308 (char *) "self",(char *) "item",(char *) "bold", NULL
35309 };
35310
35311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35313 if (!SWIG_IsOK(res1)) {
35314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35315 }
35316 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35317 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35318 if (!SWIG_IsOK(res2)) {
35319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35320 }
35321 if (!argp2) {
35322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35323 }
35324 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35325 if (obj2) {
35326 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35327 if (!SWIG_IsOK(ecode3)) {
35328 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35329 }
35330 arg3 = static_cast< bool >(val3);
35331 }
35332 {
35333 PyThreadState* __tstate = wxPyBeginAllowThreads();
35334 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35335 wxPyEndAllowThreads(__tstate);
35336 if (PyErr_Occurred()) SWIG_fail;
35337 }
35338 resultobj = SWIG_Py_Void();
35339 return resultobj;
35340 fail:
35341 return NULL;
35342 }
35343
35344
35345 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35346 PyObject *resultobj = 0;
35347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35348 wxTreeItemId *arg2 = 0 ;
35349 bool arg3 = (bool) true ;
35350 void *argp1 = 0 ;
35351 int res1 = 0 ;
35352 void *argp2 = 0 ;
35353 int res2 = 0 ;
35354 bool val3 ;
35355 int ecode3 = 0 ;
35356 PyObject * obj0 = 0 ;
35357 PyObject * obj1 = 0 ;
35358 PyObject * obj2 = 0 ;
35359 char * kwnames[] = {
35360 (char *) "self",(char *) "item",(char *) "highlight", NULL
35361 };
35362
35363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35365 if (!SWIG_IsOK(res1)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35367 }
35368 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35370 if (!SWIG_IsOK(res2)) {
35371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35372 }
35373 if (!argp2) {
35374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35375 }
35376 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35377 if (obj2) {
35378 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35379 if (!SWIG_IsOK(ecode3)) {
35380 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35381 }
35382 arg3 = static_cast< bool >(val3);
35383 }
35384 {
35385 PyThreadState* __tstate = wxPyBeginAllowThreads();
35386 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35387 wxPyEndAllowThreads(__tstate);
35388 if (PyErr_Occurred()) SWIG_fail;
35389 }
35390 resultobj = SWIG_Py_Void();
35391 return resultobj;
35392 fail:
35393 return NULL;
35394 }
35395
35396
35397 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35398 PyObject *resultobj = 0;
35399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35400 wxTreeItemId *arg2 = 0 ;
35401 wxColour *arg3 = 0 ;
35402 void *argp1 = 0 ;
35403 int res1 = 0 ;
35404 void *argp2 = 0 ;
35405 int res2 = 0 ;
35406 wxColour temp3 ;
35407 PyObject * obj0 = 0 ;
35408 PyObject * obj1 = 0 ;
35409 PyObject * obj2 = 0 ;
35410 char * kwnames[] = {
35411 (char *) "self",(char *) "item",(char *) "col", NULL
35412 };
35413
35414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35416 if (!SWIG_IsOK(res1)) {
35417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35418 }
35419 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35421 if (!SWIG_IsOK(res2)) {
35422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35423 }
35424 if (!argp2) {
35425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35426 }
35427 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35428 {
35429 arg3 = &temp3;
35430 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35431 }
35432 {
35433 PyThreadState* __tstate = wxPyBeginAllowThreads();
35434 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35435 wxPyEndAllowThreads(__tstate);
35436 if (PyErr_Occurred()) SWIG_fail;
35437 }
35438 resultobj = SWIG_Py_Void();
35439 return resultobj;
35440 fail:
35441 return NULL;
35442 }
35443
35444
35445 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35446 PyObject *resultobj = 0;
35447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35448 wxTreeItemId *arg2 = 0 ;
35449 wxColour *arg3 = 0 ;
35450 void *argp1 = 0 ;
35451 int res1 = 0 ;
35452 void *argp2 = 0 ;
35453 int res2 = 0 ;
35454 wxColour temp3 ;
35455 PyObject * obj0 = 0 ;
35456 PyObject * obj1 = 0 ;
35457 PyObject * obj2 = 0 ;
35458 char * kwnames[] = {
35459 (char *) "self",(char *) "item",(char *) "col", NULL
35460 };
35461
35462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35464 if (!SWIG_IsOK(res1)) {
35465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35466 }
35467 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35468 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35469 if (!SWIG_IsOK(res2)) {
35470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35471 }
35472 if (!argp2) {
35473 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 }
35475 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35476 {
35477 arg3 = &temp3;
35478 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35479 }
35480 {
35481 PyThreadState* __tstate = wxPyBeginAllowThreads();
35482 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35483 wxPyEndAllowThreads(__tstate);
35484 if (PyErr_Occurred()) SWIG_fail;
35485 }
35486 resultobj = SWIG_Py_Void();
35487 return resultobj;
35488 fail:
35489 return NULL;
35490 }
35491
35492
35493 SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35494 PyObject *resultobj = 0;
35495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35496 wxTreeItemId *arg2 = 0 ;
35497 wxFont *arg3 = 0 ;
35498 void *argp1 = 0 ;
35499 int res1 = 0 ;
35500 void *argp2 = 0 ;
35501 int res2 = 0 ;
35502 void *argp3 = 0 ;
35503 int res3 = 0 ;
35504 PyObject * obj0 = 0 ;
35505 PyObject * obj1 = 0 ;
35506 PyObject * obj2 = 0 ;
35507 char * kwnames[] = {
35508 (char *) "self",(char *) "item",(char *) "font", NULL
35509 };
35510
35511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35513 if (!SWIG_IsOK(res1)) {
35514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35515 }
35516 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35517 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35518 if (!SWIG_IsOK(res2)) {
35519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 }
35521 if (!argp2) {
35522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35523 }
35524 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35525 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35526 if (!SWIG_IsOK(res3)) {
35527 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35528 }
35529 if (!argp3) {
35530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35531 }
35532 arg3 = reinterpret_cast< wxFont * >(argp3);
35533 {
35534 PyThreadState* __tstate = wxPyBeginAllowThreads();
35535 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 resultobj = SWIG_Py_Void();
35540 return resultobj;
35541 fail:
35542 return NULL;
35543 }
35544
35545
35546 SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35547 PyObject *resultobj = 0;
35548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35549 wxTreeItemId *arg2 = 0 ;
35550 bool result;
35551 void *argp1 = 0 ;
35552 int res1 = 0 ;
35553 void *argp2 = 0 ;
35554 int res2 = 0 ;
35555 PyObject * obj0 = 0 ;
35556 PyObject * obj1 = 0 ;
35557 char * kwnames[] = {
35558 (char *) "self",(char *) "item", NULL
35559 };
35560
35561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35563 if (!SWIG_IsOK(res1)) {
35564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35565 }
35566 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35568 if (!SWIG_IsOK(res2)) {
35569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35570 }
35571 if (!argp2) {
35572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35573 }
35574 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35575 {
35576 PyThreadState* __tstate = wxPyBeginAllowThreads();
35577 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35578 wxPyEndAllowThreads(__tstate);
35579 if (PyErr_Occurred()) SWIG_fail;
35580 }
35581 {
35582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35583 }
35584 return resultobj;
35585 fail:
35586 return NULL;
35587 }
35588
35589
35590 SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35591 PyObject *resultobj = 0;
35592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35593 wxTreeItemId *arg2 = 0 ;
35594 bool result;
35595 void *argp1 = 0 ;
35596 int res1 = 0 ;
35597 void *argp2 = 0 ;
35598 int res2 = 0 ;
35599 PyObject * obj0 = 0 ;
35600 PyObject * obj1 = 0 ;
35601 char * kwnames[] = {
35602 (char *) "self",(char *) "item", NULL
35603 };
35604
35605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35607 if (!SWIG_IsOK(res1)) {
35608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35609 }
35610 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35611 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35612 if (!SWIG_IsOK(res2)) {
35613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35614 }
35615 if (!argp2) {
35616 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35617 }
35618 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35619 {
35620 PyThreadState* __tstate = wxPyBeginAllowThreads();
35621 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35622 wxPyEndAllowThreads(__tstate);
35623 if (PyErr_Occurred()) SWIG_fail;
35624 }
35625 {
35626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35627 }
35628 return resultobj;
35629 fail:
35630 return NULL;
35631 }
35632
35633
35634 SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35635 PyObject *resultobj = 0;
35636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35637 wxTreeItemId *arg2 = 0 ;
35638 bool result;
35639 void *argp1 = 0 ;
35640 int res1 = 0 ;
35641 void *argp2 = 0 ;
35642 int res2 = 0 ;
35643 PyObject * obj0 = 0 ;
35644 PyObject * obj1 = 0 ;
35645 char * kwnames[] = {
35646 (char *) "self",(char *) "item", NULL
35647 };
35648
35649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35651 if (!SWIG_IsOK(res1)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35653 }
35654 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35655 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35656 if (!SWIG_IsOK(res2)) {
35657 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35658 }
35659 if (!argp2) {
35660 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35661 }
35662 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35663 {
35664 PyThreadState* __tstate = wxPyBeginAllowThreads();
35665 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35666 wxPyEndAllowThreads(__tstate);
35667 if (PyErr_Occurred()) SWIG_fail;
35668 }
35669 {
35670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35671 }
35672 return resultobj;
35673 fail:
35674 return NULL;
35675 }
35676
35677
35678 SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35679 PyObject *resultobj = 0;
35680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35681 wxTreeItemId *arg2 = 0 ;
35682 bool result;
35683 void *argp1 = 0 ;
35684 int res1 = 0 ;
35685 void *argp2 = 0 ;
35686 int res2 = 0 ;
35687 PyObject * obj0 = 0 ;
35688 PyObject * obj1 = 0 ;
35689 char * kwnames[] = {
35690 (char *) "self",(char *) "item", NULL
35691 };
35692
35693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35695 if (!SWIG_IsOK(res1)) {
35696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35697 }
35698 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35700 if (!SWIG_IsOK(res2)) {
35701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35702 }
35703 if (!argp2) {
35704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35705 }
35706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35707 {
35708 PyThreadState* __tstate = wxPyBeginAllowThreads();
35709 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35710 wxPyEndAllowThreads(__tstate);
35711 if (PyErr_Occurred()) SWIG_fail;
35712 }
35713 {
35714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35715 }
35716 return resultobj;
35717 fail:
35718 return NULL;
35719 }
35720
35721
35722 SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35723 PyObject *resultobj = 0;
35724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35725 wxTreeItemId *arg2 = 0 ;
35726 bool result;
35727 void *argp1 = 0 ;
35728 int res1 = 0 ;
35729 void *argp2 = 0 ;
35730 int res2 = 0 ;
35731 PyObject * obj0 = 0 ;
35732 PyObject * obj1 = 0 ;
35733 char * kwnames[] = {
35734 (char *) "self",(char *) "item", NULL
35735 };
35736
35737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35739 if (!SWIG_IsOK(res1)) {
35740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35741 }
35742 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35743 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35744 if (!SWIG_IsOK(res2)) {
35745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35746 }
35747 if (!argp2) {
35748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35749 }
35750 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35751 {
35752 PyThreadState* __tstate = wxPyBeginAllowThreads();
35753 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35754 wxPyEndAllowThreads(__tstate);
35755 if (PyErr_Occurred()) SWIG_fail;
35756 }
35757 {
35758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35759 }
35760 return resultobj;
35761 fail:
35762 return NULL;
35763 }
35764
35765
35766 SWIGINTERN PyObject *_wrap_TreeCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35767 PyObject *resultobj = 0;
35768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35769 bool result;
35770 void *argp1 = 0 ;
35771 int res1 = 0 ;
35772 PyObject *swig_obj[1] ;
35773
35774 if (!args) SWIG_fail;
35775 swig_obj[0] = args;
35776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35777 if (!SWIG_IsOK(res1)) {
35778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35779 }
35780 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35781 {
35782 PyThreadState* __tstate = wxPyBeginAllowThreads();
35783 result = (bool)((wxPyTreeCtrl const *)arg1)->IsEmpty();
35784 wxPyEndAllowThreads(__tstate);
35785 if (PyErr_Occurred()) SWIG_fail;
35786 }
35787 {
35788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35789 }
35790 return resultobj;
35791 fail:
35792 return NULL;
35793 }
35794
35795
35796 SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35797 PyObject *resultobj = 0;
35798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35799 wxTreeItemId *arg2 = 0 ;
35800 bool arg3 = (bool) true ;
35801 size_t result;
35802 void *argp1 = 0 ;
35803 int res1 = 0 ;
35804 void *argp2 = 0 ;
35805 int res2 = 0 ;
35806 bool val3 ;
35807 int ecode3 = 0 ;
35808 PyObject * obj0 = 0 ;
35809 PyObject * obj1 = 0 ;
35810 PyObject * obj2 = 0 ;
35811 char * kwnames[] = {
35812 (char *) "self",(char *) "item",(char *) "recursively", NULL
35813 };
35814
35815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35817 if (!SWIG_IsOK(res1)) {
35818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35819 }
35820 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35822 if (!SWIG_IsOK(res2)) {
35823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35824 }
35825 if (!argp2) {
35826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35827 }
35828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35829 if (obj2) {
35830 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35831 if (!SWIG_IsOK(ecode3)) {
35832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35833 }
35834 arg3 = static_cast< bool >(val3);
35835 }
35836 {
35837 PyThreadState* __tstate = wxPyBeginAllowThreads();
35838 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35839 wxPyEndAllowThreads(__tstate);
35840 if (PyErr_Occurred()) SWIG_fail;
35841 }
35842 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35843 return resultobj;
35844 fail:
35845 return NULL;
35846 }
35847
35848
35849 SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35850 PyObject *resultobj = 0;
35851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35852 wxTreeItemId result;
35853 void *argp1 = 0 ;
35854 int res1 = 0 ;
35855 PyObject *swig_obj[1] ;
35856
35857 if (!args) SWIG_fail;
35858 swig_obj[0] = args;
35859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35860 if (!SWIG_IsOK(res1)) {
35861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35862 }
35863 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35864 {
35865 PyThreadState* __tstate = wxPyBeginAllowThreads();
35866 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35867 wxPyEndAllowThreads(__tstate);
35868 if (PyErr_Occurred()) SWIG_fail;
35869 }
35870 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35871 return resultobj;
35872 fail:
35873 return NULL;
35874 }
35875
35876
35877 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35878 PyObject *resultobj = 0;
35879 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35880 wxTreeItemId result;
35881 void *argp1 = 0 ;
35882 int res1 = 0 ;
35883 PyObject *swig_obj[1] ;
35884
35885 if (!args) SWIG_fail;
35886 swig_obj[0] = args;
35887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35888 if (!SWIG_IsOK(res1)) {
35889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35890 }
35891 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35892 {
35893 PyThreadState* __tstate = wxPyBeginAllowThreads();
35894 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35895 wxPyEndAllowThreads(__tstate);
35896 if (PyErr_Occurred()) SWIG_fail;
35897 }
35898 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35899 return resultobj;
35900 fail:
35901 return NULL;
35902 }
35903
35904
35905 SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35906 PyObject *resultobj = 0;
35907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35908 PyObject *result = 0 ;
35909 void *argp1 = 0 ;
35910 int res1 = 0 ;
35911 PyObject *swig_obj[1] ;
35912
35913 if (!args) SWIG_fail;
35914 swig_obj[0] = args;
35915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35916 if (!SWIG_IsOK(res1)) {
35917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35918 }
35919 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35920 {
35921 PyThreadState* __tstate = wxPyBeginAllowThreads();
35922 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35923 wxPyEndAllowThreads(__tstate);
35924 if (PyErr_Occurred()) SWIG_fail;
35925 }
35926 resultobj = result;
35927 return resultobj;
35928 fail:
35929 return NULL;
35930 }
35931
35932
35933 SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35934 PyObject *resultobj = 0;
35935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35936 wxTreeItemId *arg2 = 0 ;
35937 wxTreeItemId result;
35938 void *argp1 = 0 ;
35939 int res1 = 0 ;
35940 void *argp2 = 0 ;
35941 int res2 = 0 ;
35942 PyObject * obj0 = 0 ;
35943 PyObject * obj1 = 0 ;
35944 char * kwnames[] = {
35945 (char *) "self",(char *) "item", NULL
35946 };
35947
35948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35950 if (!SWIG_IsOK(res1)) {
35951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35952 }
35953 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35954 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35955 if (!SWIG_IsOK(res2)) {
35956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35957 }
35958 if (!argp2) {
35959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35960 }
35961 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35962 {
35963 PyThreadState* __tstate = wxPyBeginAllowThreads();
35964 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35965 wxPyEndAllowThreads(__tstate);
35966 if (PyErr_Occurred()) SWIG_fail;
35967 }
35968 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35969 return resultobj;
35970 fail:
35971 return NULL;
35972 }
35973
35974
35975 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35976 PyObject *resultobj = 0;
35977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35978 wxTreeItemId *arg2 = 0 ;
35979 PyObject *result = 0 ;
35980 void *argp1 = 0 ;
35981 int res1 = 0 ;
35982 void *argp2 = 0 ;
35983 int res2 = 0 ;
35984 PyObject * obj0 = 0 ;
35985 PyObject * obj1 = 0 ;
35986 char * kwnames[] = {
35987 (char *) "self",(char *) "item", NULL
35988 };
35989
35990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35992 if (!SWIG_IsOK(res1)) {
35993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35994 }
35995 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35997 if (!SWIG_IsOK(res2)) {
35998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35999 }
36000 if (!argp2) {
36001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36002 }
36003 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36004 {
36005 PyThreadState* __tstate = wxPyBeginAllowThreads();
36006 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
36007 wxPyEndAllowThreads(__tstate);
36008 if (PyErr_Occurred()) SWIG_fail;
36009 }
36010 resultobj = result;
36011 return resultobj;
36012 fail:
36013 return NULL;
36014 }
36015
36016
36017 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36018 PyObject *resultobj = 0;
36019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36020 wxTreeItemId *arg2 = 0 ;
36021 void *arg3 = (void *) 0 ;
36022 PyObject *result = 0 ;
36023 void *argp1 = 0 ;
36024 int res1 = 0 ;
36025 void *argp2 = 0 ;
36026 int res2 = 0 ;
36027 int res3 ;
36028 PyObject * obj0 = 0 ;
36029 PyObject * obj1 = 0 ;
36030 PyObject * obj2 = 0 ;
36031 char * kwnames[] = {
36032 (char *) "self",(char *) "item",(char *) "cookie", NULL
36033 };
36034
36035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36037 if (!SWIG_IsOK(res1)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36039 }
36040 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36042 if (!SWIG_IsOK(res2)) {
36043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36044 }
36045 if (!argp2) {
36046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36047 }
36048 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36049 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
36050 if (!SWIG_IsOK(res3)) {
36051 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36052 }
36053 {
36054 PyThreadState* __tstate = wxPyBeginAllowThreads();
36055 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
36056 wxPyEndAllowThreads(__tstate);
36057 if (PyErr_Occurred()) SWIG_fail;
36058 }
36059 resultobj = result;
36060 return resultobj;
36061 fail:
36062 return NULL;
36063 }
36064
36065
36066 SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36067 PyObject *resultobj = 0;
36068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36069 wxTreeItemId *arg2 = 0 ;
36070 wxTreeItemId result;
36071 void *argp1 = 0 ;
36072 int res1 = 0 ;
36073 void *argp2 = 0 ;
36074 int res2 = 0 ;
36075 PyObject * obj0 = 0 ;
36076 PyObject * obj1 = 0 ;
36077 char * kwnames[] = {
36078 (char *) "self",(char *) "item", NULL
36079 };
36080
36081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
36082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36083 if (!SWIG_IsOK(res1)) {
36084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36085 }
36086 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36087 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36088 if (!SWIG_IsOK(res2)) {
36089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36090 }
36091 if (!argp2) {
36092 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36093 }
36094 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36095 {
36096 PyThreadState* __tstate = wxPyBeginAllowThreads();
36097 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
36098 wxPyEndAllowThreads(__tstate);
36099 if (PyErr_Occurred()) SWIG_fail;
36100 }
36101 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36102 return resultobj;
36103 fail:
36104 return NULL;
36105 }
36106
36107
36108 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36109 PyObject *resultobj = 0;
36110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36111 wxTreeItemId *arg2 = 0 ;
36112 wxTreeItemId result;
36113 void *argp1 = 0 ;
36114 int res1 = 0 ;
36115 void *argp2 = 0 ;
36116 int res2 = 0 ;
36117 PyObject * obj0 = 0 ;
36118 PyObject * obj1 = 0 ;
36119 char * kwnames[] = {
36120 (char *) "self",(char *) "item", NULL
36121 };
36122
36123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
36124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36125 if (!SWIG_IsOK(res1)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36127 }
36128 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36129 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36130 if (!SWIG_IsOK(res2)) {
36131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36132 }
36133 if (!argp2) {
36134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36135 }
36136 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36137 {
36138 PyThreadState* __tstate = wxPyBeginAllowThreads();
36139 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
36140 wxPyEndAllowThreads(__tstate);
36141 if (PyErr_Occurred()) SWIG_fail;
36142 }
36143 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36144 return resultobj;
36145 fail:
36146 return NULL;
36147 }
36148
36149
36150 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36151 PyObject *resultobj = 0;
36152 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36153 wxTreeItemId *arg2 = 0 ;
36154 wxTreeItemId result;
36155 void *argp1 = 0 ;
36156 int res1 = 0 ;
36157 void *argp2 = 0 ;
36158 int res2 = 0 ;
36159 PyObject * obj0 = 0 ;
36160 PyObject * obj1 = 0 ;
36161 char * kwnames[] = {
36162 (char *) "self",(char *) "item", NULL
36163 };
36164
36165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
36166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36167 if (!SWIG_IsOK(res1)) {
36168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36169 }
36170 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36171 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36172 if (!SWIG_IsOK(res2)) {
36173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36174 }
36175 if (!argp2) {
36176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36177 }
36178 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36179 {
36180 PyThreadState* __tstate = wxPyBeginAllowThreads();
36181 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
36182 wxPyEndAllowThreads(__tstate);
36183 if (PyErr_Occurred()) SWIG_fail;
36184 }
36185 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36186 return resultobj;
36187 fail:
36188 return NULL;
36189 }
36190
36191
36192 SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36193 PyObject *resultobj = 0;
36194 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36195 wxTreeItemId result;
36196 void *argp1 = 0 ;
36197 int res1 = 0 ;
36198 PyObject *swig_obj[1] ;
36199
36200 if (!args) SWIG_fail;
36201 swig_obj[0] = args;
36202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36203 if (!SWIG_IsOK(res1)) {
36204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36205 }
36206 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36207 {
36208 PyThreadState* __tstate = wxPyBeginAllowThreads();
36209 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
36210 wxPyEndAllowThreads(__tstate);
36211 if (PyErr_Occurred()) SWIG_fail;
36212 }
36213 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36214 return resultobj;
36215 fail:
36216 return NULL;
36217 }
36218
36219
36220 SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36221 PyObject *resultobj = 0;
36222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36223 wxTreeItemId *arg2 = 0 ;
36224 wxTreeItemId result;
36225 void *argp1 = 0 ;
36226 int res1 = 0 ;
36227 void *argp2 = 0 ;
36228 int res2 = 0 ;
36229 PyObject * obj0 = 0 ;
36230 PyObject * obj1 = 0 ;
36231 char * kwnames[] = {
36232 (char *) "self",(char *) "item", NULL
36233 };
36234
36235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36237 if (!SWIG_IsOK(res1)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36239 }
36240 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36241 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36242 if (!SWIG_IsOK(res2)) {
36243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36244 }
36245 if (!argp2) {
36246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36247 }
36248 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36249 {
36250 PyThreadState* __tstate = wxPyBeginAllowThreads();
36251 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36252 wxPyEndAllowThreads(__tstate);
36253 if (PyErr_Occurred()) SWIG_fail;
36254 }
36255 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36256 return resultobj;
36257 fail:
36258 return NULL;
36259 }
36260
36261
36262 SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36263 PyObject *resultobj = 0;
36264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36265 wxTreeItemId *arg2 = 0 ;
36266 wxTreeItemId result;
36267 void *argp1 = 0 ;
36268 int res1 = 0 ;
36269 void *argp2 = 0 ;
36270 int res2 = 0 ;
36271 PyObject * obj0 = 0 ;
36272 PyObject * obj1 = 0 ;
36273 char * kwnames[] = {
36274 (char *) "self",(char *) "item", NULL
36275 };
36276
36277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36279 if (!SWIG_IsOK(res1)) {
36280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36281 }
36282 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36283 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36284 if (!SWIG_IsOK(res2)) {
36285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36286 }
36287 if (!argp2) {
36288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36289 }
36290 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36291 {
36292 PyThreadState* __tstate = wxPyBeginAllowThreads();
36293 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36294 wxPyEndAllowThreads(__tstate);
36295 if (PyErr_Occurred()) SWIG_fail;
36296 }
36297 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36298 return resultobj;
36299 fail:
36300 return NULL;
36301 }
36302
36303
36304 SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36305 PyObject *resultobj = 0;
36306 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36307 wxString *arg2 = 0 ;
36308 int arg3 = (int) -1 ;
36309 int arg4 = (int) -1 ;
36310 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36311 wxTreeItemId result;
36312 void *argp1 = 0 ;
36313 int res1 = 0 ;
36314 bool temp2 = false ;
36315 int val3 ;
36316 int ecode3 = 0 ;
36317 int val4 ;
36318 int ecode4 = 0 ;
36319 int res5 = 0 ;
36320 PyObject * obj0 = 0 ;
36321 PyObject * obj1 = 0 ;
36322 PyObject * obj2 = 0 ;
36323 PyObject * obj3 = 0 ;
36324 PyObject * obj4 = 0 ;
36325 char * kwnames[] = {
36326 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36327 };
36328
36329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36331 if (!SWIG_IsOK(res1)) {
36332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36333 }
36334 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36335 {
36336 arg2 = wxString_in_helper(obj1);
36337 if (arg2 == NULL) SWIG_fail;
36338 temp2 = true;
36339 }
36340 if (obj2) {
36341 ecode3 = SWIG_AsVal_int(obj2, &val3);
36342 if (!SWIG_IsOK(ecode3)) {
36343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36344 }
36345 arg3 = static_cast< int >(val3);
36346 }
36347 if (obj3) {
36348 ecode4 = SWIG_AsVal_int(obj3, &val4);
36349 if (!SWIG_IsOK(ecode4)) {
36350 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36351 }
36352 arg4 = static_cast< int >(val4);
36353 }
36354 if (obj4) {
36355 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36356 if (!SWIG_IsOK(res5)) {
36357 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36358 }
36359 }
36360 {
36361 PyThreadState* __tstate = wxPyBeginAllowThreads();
36362 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36363 wxPyEndAllowThreads(__tstate);
36364 if (PyErr_Occurred()) SWIG_fail;
36365 }
36366 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36367 {
36368 if (temp2)
36369 delete arg2;
36370 }
36371 return resultobj;
36372 fail:
36373 {
36374 if (temp2)
36375 delete arg2;
36376 }
36377 return NULL;
36378 }
36379
36380
36381 SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36382 PyObject *resultobj = 0;
36383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36384 wxTreeItemId *arg2 = 0 ;
36385 wxString *arg3 = 0 ;
36386 int arg4 = (int) -1 ;
36387 int arg5 = (int) -1 ;
36388 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36389 wxTreeItemId result;
36390 void *argp1 = 0 ;
36391 int res1 = 0 ;
36392 void *argp2 = 0 ;
36393 int res2 = 0 ;
36394 bool temp3 = false ;
36395 int val4 ;
36396 int ecode4 = 0 ;
36397 int val5 ;
36398 int ecode5 = 0 ;
36399 int res6 = 0 ;
36400 PyObject * obj0 = 0 ;
36401 PyObject * obj1 = 0 ;
36402 PyObject * obj2 = 0 ;
36403 PyObject * obj3 = 0 ;
36404 PyObject * obj4 = 0 ;
36405 PyObject * obj5 = 0 ;
36406 char * kwnames[] = {
36407 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36408 };
36409
36410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36412 if (!SWIG_IsOK(res1)) {
36413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36414 }
36415 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36416 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36417 if (!SWIG_IsOK(res2)) {
36418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36419 }
36420 if (!argp2) {
36421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36422 }
36423 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36424 {
36425 arg3 = wxString_in_helper(obj2);
36426 if (arg3 == NULL) SWIG_fail;
36427 temp3 = true;
36428 }
36429 if (obj3) {
36430 ecode4 = SWIG_AsVal_int(obj3, &val4);
36431 if (!SWIG_IsOK(ecode4)) {
36432 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36433 }
36434 arg4 = static_cast< int >(val4);
36435 }
36436 if (obj4) {
36437 ecode5 = SWIG_AsVal_int(obj4, &val5);
36438 if (!SWIG_IsOK(ecode5)) {
36439 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36440 }
36441 arg5 = static_cast< int >(val5);
36442 }
36443 if (obj5) {
36444 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36445 if (!SWIG_IsOK(res6)) {
36446 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36447 }
36448 }
36449 {
36450 PyThreadState* __tstate = wxPyBeginAllowThreads();
36451 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36452 wxPyEndAllowThreads(__tstate);
36453 if (PyErr_Occurred()) SWIG_fail;
36454 }
36455 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36456 {
36457 if (temp3)
36458 delete arg3;
36459 }
36460 return resultobj;
36461 fail:
36462 {
36463 if (temp3)
36464 delete arg3;
36465 }
36466 return NULL;
36467 }
36468
36469
36470 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36471 PyObject *resultobj = 0;
36472 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36473 wxTreeItemId *arg2 = 0 ;
36474 wxTreeItemId *arg3 = 0 ;
36475 wxString *arg4 = 0 ;
36476 int arg5 = (int) -1 ;
36477 int arg6 = (int) -1 ;
36478 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36479 wxTreeItemId result;
36480 void *argp1 = 0 ;
36481 int res1 = 0 ;
36482 void *argp2 = 0 ;
36483 int res2 = 0 ;
36484 void *argp3 = 0 ;
36485 int res3 = 0 ;
36486 bool temp4 = false ;
36487 int val5 ;
36488 int ecode5 = 0 ;
36489 int val6 ;
36490 int ecode6 = 0 ;
36491 int res7 = 0 ;
36492 PyObject * obj0 = 0 ;
36493 PyObject * obj1 = 0 ;
36494 PyObject * obj2 = 0 ;
36495 PyObject * obj3 = 0 ;
36496 PyObject * obj4 = 0 ;
36497 PyObject * obj5 = 0 ;
36498 PyObject * obj6 = 0 ;
36499 char * kwnames[] = {
36500 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36501 };
36502
36503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36505 if (!SWIG_IsOK(res1)) {
36506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36507 }
36508 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36510 if (!SWIG_IsOK(res2)) {
36511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36512 }
36513 if (!argp2) {
36514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36515 }
36516 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36517 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36518 if (!SWIG_IsOK(res3)) {
36519 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36520 }
36521 if (!argp3) {
36522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36523 }
36524 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36525 {
36526 arg4 = wxString_in_helper(obj3);
36527 if (arg4 == NULL) SWIG_fail;
36528 temp4 = true;
36529 }
36530 if (obj4) {
36531 ecode5 = SWIG_AsVal_int(obj4, &val5);
36532 if (!SWIG_IsOK(ecode5)) {
36533 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36534 }
36535 arg5 = static_cast< int >(val5);
36536 }
36537 if (obj5) {
36538 ecode6 = SWIG_AsVal_int(obj5, &val6);
36539 if (!SWIG_IsOK(ecode6)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36541 }
36542 arg6 = static_cast< int >(val6);
36543 }
36544 if (obj6) {
36545 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36546 if (!SWIG_IsOK(res7)) {
36547 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36548 }
36549 }
36550 {
36551 PyThreadState* __tstate = wxPyBeginAllowThreads();
36552 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36553 wxPyEndAllowThreads(__tstate);
36554 if (PyErr_Occurred()) SWIG_fail;
36555 }
36556 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36557 {
36558 if (temp4)
36559 delete arg4;
36560 }
36561 return resultobj;
36562 fail:
36563 {
36564 if (temp4)
36565 delete arg4;
36566 }
36567 return NULL;
36568 }
36569
36570
36571 SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36572 PyObject *resultobj = 0;
36573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36574 wxTreeItemId *arg2 = 0 ;
36575 size_t arg3 ;
36576 wxString *arg4 = 0 ;
36577 int arg5 = (int) -1 ;
36578 int arg6 = (int) -1 ;
36579 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36580 wxTreeItemId result;
36581 void *argp1 = 0 ;
36582 int res1 = 0 ;
36583 void *argp2 = 0 ;
36584 int res2 = 0 ;
36585 size_t val3 ;
36586 int ecode3 = 0 ;
36587 bool temp4 = false ;
36588 int val5 ;
36589 int ecode5 = 0 ;
36590 int val6 ;
36591 int ecode6 = 0 ;
36592 int res7 = 0 ;
36593 PyObject * obj0 = 0 ;
36594 PyObject * obj1 = 0 ;
36595 PyObject * obj2 = 0 ;
36596 PyObject * obj3 = 0 ;
36597 PyObject * obj4 = 0 ;
36598 PyObject * obj5 = 0 ;
36599 PyObject * obj6 = 0 ;
36600 char * kwnames[] = {
36601 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36602 };
36603
36604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36606 if (!SWIG_IsOK(res1)) {
36607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36608 }
36609 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36611 if (!SWIG_IsOK(res2)) {
36612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36613 }
36614 if (!argp2) {
36615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36616 }
36617 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36618 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36619 if (!SWIG_IsOK(ecode3)) {
36620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36621 }
36622 arg3 = static_cast< size_t >(val3);
36623 {
36624 arg4 = wxString_in_helper(obj3);
36625 if (arg4 == NULL) SWIG_fail;
36626 temp4 = true;
36627 }
36628 if (obj4) {
36629 ecode5 = SWIG_AsVal_int(obj4, &val5);
36630 if (!SWIG_IsOK(ecode5)) {
36631 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36632 }
36633 arg5 = static_cast< int >(val5);
36634 }
36635 if (obj5) {
36636 ecode6 = SWIG_AsVal_int(obj5, &val6);
36637 if (!SWIG_IsOK(ecode6)) {
36638 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36639 }
36640 arg6 = static_cast< int >(val6);
36641 }
36642 if (obj6) {
36643 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36644 if (!SWIG_IsOK(res7)) {
36645 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36646 }
36647 }
36648 {
36649 PyThreadState* __tstate = wxPyBeginAllowThreads();
36650 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36651 wxPyEndAllowThreads(__tstate);
36652 if (PyErr_Occurred()) SWIG_fail;
36653 }
36654 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36655 {
36656 if (temp4)
36657 delete arg4;
36658 }
36659 return resultobj;
36660 fail:
36661 {
36662 if (temp4)
36663 delete arg4;
36664 }
36665 return NULL;
36666 }
36667
36668
36669 SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36670 PyObject *resultobj = 0;
36671 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36672 wxTreeItemId *arg2 = 0 ;
36673 wxString *arg3 = 0 ;
36674 int arg4 = (int) -1 ;
36675 int arg5 = (int) -1 ;
36676 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36677 wxTreeItemId result;
36678 void *argp1 = 0 ;
36679 int res1 = 0 ;
36680 void *argp2 = 0 ;
36681 int res2 = 0 ;
36682 bool temp3 = false ;
36683 int val4 ;
36684 int ecode4 = 0 ;
36685 int val5 ;
36686 int ecode5 = 0 ;
36687 int res6 = 0 ;
36688 PyObject * obj0 = 0 ;
36689 PyObject * obj1 = 0 ;
36690 PyObject * obj2 = 0 ;
36691 PyObject * obj3 = 0 ;
36692 PyObject * obj4 = 0 ;
36693 PyObject * obj5 = 0 ;
36694 char * kwnames[] = {
36695 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36696 };
36697
36698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36700 if (!SWIG_IsOK(res1)) {
36701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36702 }
36703 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36705 if (!SWIG_IsOK(res2)) {
36706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36707 }
36708 if (!argp2) {
36709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36710 }
36711 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36712 {
36713 arg3 = wxString_in_helper(obj2);
36714 if (arg3 == NULL) SWIG_fail;
36715 temp3 = true;
36716 }
36717 if (obj3) {
36718 ecode4 = SWIG_AsVal_int(obj3, &val4);
36719 if (!SWIG_IsOK(ecode4)) {
36720 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36721 }
36722 arg4 = static_cast< int >(val4);
36723 }
36724 if (obj4) {
36725 ecode5 = SWIG_AsVal_int(obj4, &val5);
36726 if (!SWIG_IsOK(ecode5)) {
36727 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36728 }
36729 arg5 = static_cast< int >(val5);
36730 }
36731 if (obj5) {
36732 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36733 if (!SWIG_IsOK(res6)) {
36734 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36735 }
36736 }
36737 {
36738 PyThreadState* __tstate = wxPyBeginAllowThreads();
36739 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36740 wxPyEndAllowThreads(__tstate);
36741 if (PyErr_Occurred()) SWIG_fail;
36742 }
36743 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36744 {
36745 if (temp3)
36746 delete arg3;
36747 }
36748 return resultobj;
36749 fail:
36750 {
36751 if (temp3)
36752 delete arg3;
36753 }
36754 return NULL;
36755 }
36756
36757
36758 SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36759 PyObject *resultobj = 0;
36760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36761 wxTreeItemId *arg2 = 0 ;
36762 void *argp1 = 0 ;
36763 int res1 = 0 ;
36764 void *argp2 = 0 ;
36765 int res2 = 0 ;
36766 PyObject * obj0 = 0 ;
36767 PyObject * obj1 = 0 ;
36768 char * kwnames[] = {
36769 (char *) "self",(char *) "item", NULL
36770 };
36771
36772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36774 if (!SWIG_IsOK(res1)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36776 }
36777 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36778 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36779 if (!SWIG_IsOK(res2)) {
36780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36781 }
36782 if (!argp2) {
36783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36784 }
36785 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36786 {
36787 PyThreadState* __tstate = wxPyBeginAllowThreads();
36788 (arg1)->Delete((wxTreeItemId const &)*arg2);
36789 wxPyEndAllowThreads(__tstate);
36790 if (PyErr_Occurred()) SWIG_fail;
36791 }
36792 resultobj = SWIG_Py_Void();
36793 return resultobj;
36794 fail:
36795 return NULL;
36796 }
36797
36798
36799 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36800 PyObject *resultobj = 0;
36801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36802 wxTreeItemId *arg2 = 0 ;
36803 void *argp1 = 0 ;
36804 int res1 = 0 ;
36805 void *argp2 = 0 ;
36806 int res2 = 0 ;
36807 PyObject * obj0 = 0 ;
36808 PyObject * obj1 = 0 ;
36809 char * kwnames[] = {
36810 (char *) "self",(char *) "item", NULL
36811 };
36812
36813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36815 if (!SWIG_IsOK(res1)) {
36816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36817 }
36818 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36819 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36820 if (!SWIG_IsOK(res2)) {
36821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36822 }
36823 if (!argp2) {
36824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36825 }
36826 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36827 {
36828 PyThreadState* __tstate = wxPyBeginAllowThreads();
36829 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36830 wxPyEndAllowThreads(__tstate);
36831 if (PyErr_Occurred()) SWIG_fail;
36832 }
36833 resultobj = SWIG_Py_Void();
36834 return resultobj;
36835 fail:
36836 return NULL;
36837 }
36838
36839
36840 SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36841 PyObject *resultobj = 0;
36842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36843 void *argp1 = 0 ;
36844 int res1 = 0 ;
36845 PyObject *swig_obj[1] ;
36846
36847 if (!args) SWIG_fail;
36848 swig_obj[0] = args;
36849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36850 if (!SWIG_IsOK(res1)) {
36851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36852 }
36853 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36854 {
36855 PyThreadState* __tstate = wxPyBeginAllowThreads();
36856 (arg1)->DeleteAllItems();
36857 wxPyEndAllowThreads(__tstate);
36858 if (PyErr_Occurred()) SWIG_fail;
36859 }
36860 resultobj = SWIG_Py_Void();
36861 return resultobj;
36862 fail:
36863 return NULL;
36864 }
36865
36866
36867 SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36868 PyObject *resultobj = 0;
36869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36870 wxTreeItemId *arg2 = 0 ;
36871 void *argp1 = 0 ;
36872 int res1 = 0 ;
36873 void *argp2 = 0 ;
36874 int res2 = 0 ;
36875 PyObject * obj0 = 0 ;
36876 PyObject * obj1 = 0 ;
36877 char * kwnames[] = {
36878 (char *) "self",(char *) "item", NULL
36879 };
36880
36881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36883 if (!SWIG_IsOK(res1)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36885 }
36886 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36887 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36888 if (!SWIG_IsOK(res2)) {
36889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36890 }
36891 if (!argp2) {
36892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36893 }
36894 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36895 {
36896 PyThreadState* __tstate = wxPyBeginAllowThreads();
36897 (arg1)->Expand((wxTreeItemId const &)*arg2);
36898 wxPyEndAllowThreads(__tstate);
36899 if (PyErr_Occurred()) SWIG_fail;
36900 }
36901 resultobj = SWIG_Py_Void();
36902 return resultobj;
36903 fail:
36904 return NULL;
36905 }
36906
36907
36908 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36909 PyObject *resultobj = 0;
36910 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36911 wxTreeItemId *arg2 = 0 ;
36912 void *argp1 = 0 ;
36913 int res1 = 0 ;
36914 void *argp2 = 0 ;
36915 int res2 = 0 ;
36916 PyObject * obj0 = 0 ;
36917 PyObject * obj1 = 0 ;
36918 char * kwnames[] = {
36919 (char *) "self",(char *) "item", NULL
36920 };
36921
36922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36924 if (!SWIG_IsOK(res1)) {
36925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36926 }
36927 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36928 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36929 if (!SWIG_IsOK(res2)) {
36930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36931 }
36932 if (!argp2) {
36933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36934 }
36935 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36936 {
36937 PyThreadState* __tstate = wxPyBeginAllowThreads();
36938 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36939 wxPyEndAllowThreads(__tstate);
36940 if (PyErr_Occurred()) SWIG_fail;
36941 }
36942 resultobj = SWIG_Py_Void();
36943 return resultobj;
36944 fail:
36945 return NULL;
36946 }
36947
36948
36949 SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36950 PyObject *resultobj = 0;
36951 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36952 void *argp1 = 0 ;
36953 int res1 = 0 ;
36954 PyObject *swig_obj[1] ;
36955
36956 if (!args) SWIG_fail;
36957 swig_obj[0] = args;
36958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36959 if (!SWIG_IsOK(res1)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36961 }
36962 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36963 {
36964 PyThreadState* __tstate = wxPyBeginAllowThreads();
36965 (arg1)->ExpandAll();
36966 wxPyEndAllowThreads(__tstate);
36967 if (PyErr_Occurred()) SWIG_fail;
36968 }
36969 resultobj = SWIG_Py_Void();
36970 return resultobj;
36971 fail:
36972 return NULL;
36973 }
36974
36975
36976 SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36977 PyObject *resultobj = 0;
36978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36979 wxTreeItemId *arg2 = 0 ;
36980 void *argp1 = 0 ;
36981 int res1 = 0 ;
36982 void *argp2 = 0 ;
36983 int res2 = 0 ;
36984 PyObject * obj0 = 0 ;
36985 PyObject * obj1 = 0 ;
36986 char * kwnames[] = {
36987 (char *) "self",(char *) "item", NULL
36988 };
36989
36990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36992 if (!SWIG_IsOK(res1)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36994 }
36995 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36997 if (!SWIG_IsOK(res2)) {
36998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36999 }
37000 if (!argp2) {
37001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37002 }
37003 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37004 {
37005 PyThreadState* __tstate = wxPyBeginAllowThreads();
37006 (arg1)->Collapse((wxTreeItemId const &)*arg2);
37007 wxPyEndAllowThreads(__tstate);
37008 if (PyErr_Occurred()) SWIG_fail;
37009 }
37010 resultobj = SWIG_Py_Void();
37011 return resultobj;
37012 fail:
37013 return NULL;
37014 }
37015
37016
37017 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37018 PyObject *resultobj = 0;
37019 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37020 wxTreeItemId *arg2 = 0 ;
37021 void *argp1 = 0 ;
37022 int res1 = 0 ;
37023 void *argp2 = 0 ;
37024 int res2 = 0 ;
37025 PyObject * obj0 = 0 ;
37026 PyObject * obj1 = 0 ;
37027 char * kwnames[] = {
37028 (char *) "self",(char *) "item", NULL
37029 };
37030
37031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37033 if (!SWIG_IsOK(res1)) {
37034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37035 }
37036 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37037 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37038 if (!SWIG_IsOK(res2)) {
37039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37040 }
37041 if (!argp2) {
37042 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37043 }
37044 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37045 {
37046 PyThreadState* __tstate = wxPyBeginAllowThreads();
37047 (arg1)->CollapseAllChildren((wxTreeItemId const &)*arg2);
37048 wxPyEndAllowThreads(__tstate);
37049 if (PyErr_Occurred()) SWIG_fail;
37050 }
37051 resultobj = SWIG_Py_Void();
37052 return resultobj;
37053 fail:
37054 return NULL;
37055 }
37056
37057
37058 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37059 PyObject *resultobj = 0;
37060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37061 void *argp1 = 0 ;
37062 int res1 = 0 ;
37063 PyObject *swig_obj[1] ;
37064
37065 if (!args) SWIG_fail;
37066 swig_obj[0] = args;
37067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37068 if (!SWIG_IsOK(res1)) {
37069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37070 }
37071 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37072 {
37073 PyThreadState* __tstate = wxPyBeginAllowThreads();
37074 (arg1)->CollapseAll();
37075 wxPyEndAllowThreads(__tstate);
37076 if (PyErr_Occurred()) SWIG_fail;
37077 }
37078 resultobj = SWIG_Py_Void();
37079 return resultobj;
37080 fail:
37081 return NULL;
37082 }
37083
37084
37085 SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37086 PyObject *resultobj = 0;
37087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37088 wxTreeItemId *arg2 = 0 ;
37089 void *argp1 = 0 ;
37090 int res1 = 0 ;
37091 void *argp2 = 0 ;
37092 int res2 = 0 ;
37093 PyObject * obj0 = 0 ;
37094 PyObject * obj1 = 0 ;
37095 char * kwnames[] = {
37096 (char *) "self",(char *) "item", NULL
37097 };
37098
37099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
37100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37101 if (!SWIG_IsOK(res1)) {
37102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37103 }
37104 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37105 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37106 if (!SWIG_IsOK(res2)) {
37107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37108 }
37109 if (!argp2) {
37110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37111 }
37112 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37113 {
37114 PyThreadState* __tstate = wxPyBeginAllowThreads();
37115 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
37116 wxPyEndAllowThreads(__tstate);
37117 if (PyErr_Occurred()) SWIG_fail;
37118 }
37119 resultobj = SWIG_Py_Void();
37120 return resultobj;
37121 fail:
37122 return NULL;
37123 }
37124
37125
37126 SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37127 PyObject *resultobj = 0;
37128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37129 wxTreeItemId *arg2 = 0 ;
37130 void *argp1 = 0 ;
37131 int res1 = 0 ;
37132 void *argp2 = 0 ;
37133 int res2 = 0 ;
37134 PyObject * obj0 = 0 ;
37135 PyObject * obj1 = 0 ;
37136 char * kwnames[] = {
37137 (char *) "self",(char *) "item", NULL
37138 };
37139
37140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
37141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37142 if (!SWIG_IsOK(res1)) {
37143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37144 }
37145 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37146 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37147 if (!SWIG_IsOK(res2)) {
37148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37149 }
37150 if (!argp2) {
37151 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37152 }
37153 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37154 {
37155 PyThreadState* __tstate = wxPyBeginAllowThreads();
37156 (arg1)->Toggle((wxTreeItemId const &)*arg2);
37157 wxPyEndAllowThreads(__tstate);
37158 if (PyErr_Occurred()) SWIG_fail;
37159 }
37160 resultobj = SWIG_Py_Void();
37161 return resultobj;
37162 fail:
37163 return NULL;
37164 }
37165
37166
37167 SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37168 PyObject *resultobj = 0;
37169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37170 void *argp1 = 0 ;
37171 int res1 = 0 ;
37172 PyObject *swig_obj[1] ;
37173
37174 if (!args) SWIG_fail;
37175 swig_obj[0] = args;
37176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37177 if (!SWIG_IsOK(res1)) {
37178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37179 }
37180 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37181 {
37182 PyThreadState* __tstate = wxPyBeginAllowThreads();
37183 (arg1)->Unselect();
37184 wxPyEndAllowThreads(__tstate);
37185 if (PyErr_Occurred()) SWIG_fail;
37186 }
37187 resultobj = SWIG_Py_Void();
37188 return resultobj;
37189 fail:
37190 return NULL;
37191 }
37192
37193
37194 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37195 PyObject *resultobj = 0;
37196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37197 wxTreeItemId *arg2 = 0 ;
37198 void *argp1 = 0 ;
37199 int res1 = 0 ;
37200 void *argp2 = 0 ;
37201 int res2 = 0 ;
37202 PyObject * obj0 = 0 ;
37203 PyObject * obj1 = 0 ;
37204 char * kwnames[] = {
37205 (char *) "self",(char *) "item", NULL
37206 };
37207
37208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
37209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37210 if (!SWIG_IsOK(res1)) {
37211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37212 }
37213 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37215 if (!SWIG_IsOK(res2)) {
37216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37217 }
37218 if (!argp2) {
37219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37220 }
37221 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37222 {
37223 PyThreadState* __tstate = wxPyBeginAllowThreads();
37224 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
37225 wxPyEndAllowThreads(__tstate);
37226 if (PyErr_Occurred()) SWIG_fail;
37227 }
37228 resultobj = SWIG_Py_Void();
37229 return resultobj;
37230 fail:
37231 return NULL;
37232 }
37233
37234
37235 SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37236 PyObject *resultobj = 0;
37237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37238 void *argp1 = 0 ;
37239 int res1 = 0 ;
37240 PyObject *swig_obj[1] ;
37241
37242 if (!args) SWIG_fail;
37243 swig_obj[0] = args;
37244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37245 if (!SWIG_IsOK(res1)) {
37246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37247 }
37248 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37249 {
37250 PyThreadState* __tstate = wxPyBeginAllowThreads();
37251 (arg1)->UnselectAll();
37252 wxPyEndAllowThreads(__tstate);
37253 if (PyErr_Occurred()) SWIG_fail;
37254 }
37255 resultobj = SWIG_Py_Void();
37256 return resultobj;
37257 fail:
37258 return NULL;
37259 }
37260
37261
37262 SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37263 PyObject *resultobj = 0;
37264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37265 wxTreeItemId *arg2 = 0 ;
37266 bool arg3 = (bool) true ;
37267 void *argp1 = 0 ;
37268 int res1 = 0 ;
37269 void *argp2 = 0 ;
37270 int res2 = 0 ;
37271 bool val3 ;
37272 int ecode3 = 0 ;
37273 PyObject * obj0 = 0 ;
37274 PyObject * obj1 = 0 ;
37275 PyObject * obj2 = 0 ;
37276 char * kwnames[] = {
37277 (char *) "self",(char *) "item",(char *) "select", NULL
37278 };
37279
37280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37282 if (!SWIG_IsOK(res1)) {
37283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37284 }
37285 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37286 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37287 if (!SWIG_IsOK(res2)) {
37288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37289 }
37290 if (!argp2) {
37291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37292 }
37293 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37294 if (obj2) {
37295 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37296 if (!SWIG_IsOK(ecode3)) {
37297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37298 }
37299 arg3 = static_cast< bool >(val3);
37300 }
37301 {
37302 PyThreadState* __tstate = wxPyBeginAllowThreads();
37303 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37304 wxPyEndAllowThreads(__tstate);
37305 if (PyErr_Occurred()) SWIG_fail;
37306 }
37307 resultobj = SWIG_Py_Void();
37308 return resultobj;
37309 fail:
37310 return NULL;
37311 }
37312
37313
37314 SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37315 PyObject *resultobj = 0;
37316 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37317 wxTreeItemId *arg2 = 0 ;
37318 void *argp1 = 0 ;
37319 int res1 = 0 ;
37320 void *argp2 = 0 ;
37321 int res2 = 0 ;
37322 PyObject * obj0 = 0 ;
37323 PyObject * obj1 = 0 ;
37324 char * kwnames[] = {
37325 (char *) "self",(char *) "item", NULL
37326 };
37327
37328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37330 if (!SWIG_IsOK(res1)) {
37331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37332 }
37333 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37335 if (!SWIG_IsOK(res2)) {
37336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37337 }
37338 if (!argp2) {
37339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37340 }
37341 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37342 {
37343 PyThreadState* __tstate = wxPyBeginAllowThreads();
37344 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37345 wxPyEndAllowThreads(__tstate);
37346 if (PyErr_Occurred()) SWIG_fail;
37347 }
37348 resultobj = SWIG_Py_Void();
37349 return resultobj;
37350 fail:
37351 return NULL;
37352 }
37353
37354
37355 SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37356 PyObject *resultobj = 0;
37357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37358 wxTreeItemId *arg2 = 0 ;
37359 void *argp1 = 0 ;
37360 int res1 = 0 ;
37361 void *argp2 = 0 ;
37362 int res2 = 0 ;
37363 PyObject * obj0 = 0 ;
37364 PyObject * obj1 = 0 ;
37365 char * kwnames[] = {
37366 (char *) "self",(char *) "item", NULL
37367 };
37368
37369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37371 if (!SWIG_IsOK(res1)) {
37372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37373 }
37374 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37376 if (!SWIG_IsOK(res2)) {
37377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37378 }
37379 if (!argp2) {
37380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37381 }
37382 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37383 {
37384 PyThreadState* __tstate = wxPyBeginAllowThreads();
37385 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37386 wxPyEndAllowThreads(__tstate);
37387 if (PyErr_Occurred()) SWIG_fail;
37388 }
37389 resultobj = SWIG_Py_Void();
37390 return resultobj;
37391 fail:
37392 return NULL;
37393 }
37394
37395
37396 SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37397 PyObject *resultobj = 0;
37398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37399 wxTreeItemId *arg2 = 0 ;
37400 void *argp1 = 0 ;
37401 int res1 = 0 ;
37402 void *argp2 = 0 ;
37403 int res2 = 0 ;
37404 PyObject * obj0 = 0 ;
37405 PyObject * obj1 = 0 ;
37406 char * kwnames[] = {
37407 (char *) "self",(char *) "item", NULL
37408 };
37409
37410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37412 if (!SWIG_IsOK(res1)) {
37413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37414 }
37415 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37416 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37417 if (!SWIG_IsOK(res2)) {
37418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37419 }
37420 if (!argp2) {
37421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37422 }
37423 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37424 {
37425 PyThreadState* __tstate = wxPyBeginAllowThreads();
37426 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37427 wxPyEndAllowThreads(__tstate);
37428 if (PyErr_Occurred()) SWIG_fail;
37429 }
37430 resultobj = SWIG_Py_Void();
37431 return resultobj;
37432 fail:
37433 return NULL;
37434 }
37435
37436
37437 SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37438 PyObject *resultobj = 0;
37439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37440 wxTreeItemId *arg2 = 0 ;
37441 void *argp1 = 0 ;
37442 int res1 = 0 ;
37443 void *argp2 = 0 ;
37444 int res2 = 0 ;
37445 PyObject * obj0 = 0 ;
37446 PyObject * obj1 = 0 ;
37447 char * kwnames[] = {
37448 (char *) "self",(char *) "item", NULL
37449 };
37450
37451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37453 if (!SWIG_IsOK(res1)) {
37454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37455 }
37456 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37458 if (!SWIG_IsOK(res2)) {
37459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37460 }
37461 if (!argp2) {
37462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37463 }
37464 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37465 {
37466 PyThreadState* __tstate = wxPyBeginAllowThreads();
37467 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37468 wxPyEndAllowThreads(__tstate);
37469 if (PyErr_Occurred()) SWIG_fail;
37470 }
37471 resultobj = SWIG_Py_Void();
37472 return resultobj;
37473 fail:
37474 return NULL;
37475 }
37476
37477
37478 SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37479 PyObject *resultobj = 0;
37480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37481 wxTextCtrl *result = 0 ;
37482 void *argp1 = 0 ;
37483 int res1 = 0 ;
37484 PyObject *swig_obj[1] ;
37485
37486 if (!args) SWIG_fail;
37487 swig_obj[0] = args;
37488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37489 if (!SWIG_IsOK(res1)) {
37490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37491 }
37492 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37493 {
37494 PyThreadState* __tstate = wxPyBeginAllowThreads();
37495 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37496 wxPyEndAllowThreads(__tstate);
37497 if (PyErr_Occurred()) SWIG_fail;
37498 }
37499 {
37500 resultobj = wxPyMake_wxObject(result, 0);
37501 }
37502 return resultobj;
37503 fail:
37504 return NULL;
37505 }
37506
37507
37508 SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37509 PyObject *resultobj = 0;
37510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37511 wxTreeItemId *arg2 = 0 ;
37512 void *argp1 = 0 ;
37513 int res1 = 0 ;
37514 void *argp2 = 0 ;
37515 int res2 = 0 ;
37516 PyObject * obj0 = 0 ;
37517 PyObject * obj1 = 0 ;
37518 char * kwnames[] = {
37519 (char *) "self",(char *) "item", NULL
37520 };
37521
37522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37524 if (!SWIG_IsOK(res1)) {
37525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37526 }
37527 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37528 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37529 if (!SWIG_IsOK(res2)) {
37530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37531 }
37532 if (!argp2) {
37533 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37534 }
37535 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37536 {
37537 PyThreadState* __tstate = wxPyBeginAllowThreads();
37538 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37539 wxPyEndAllowThreads(__tstate);
37540 if (PyErr_Occurred()) SWIG_fail;
37541 }
37542 resultobj = SWIG_Py_Void();
37543 return resultobj;
37544 fail:
37545 return NULL;
37546 }
37547
37548
37549 SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37550 PyObject *resultobj = 0;
37551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37552 wxPoint *arg2 = 0 ;
37553 int *arg3 = 0 ;
37554 wxTreeItemId result;
37555 void *argp1 = 0 ;
37556 int res1 = 0 ;
37557 wxPoint temp2 ;
37558 int temp3 ;
37559 int res3 = SWIG_TMPOBJ ;
37560 PyObject * obj0 = 0 ;
37561 PyObject * obj1 = 0 ;
37562 char * kwnames[] = {
37563 (char *) "self",(char *) "point", NULL
37564 };
37565
37566 arg3 = &temp3;
37567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37569 if (!SWIG_IsOK(res1)) {
37570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37571 }
37572 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37573 {
37574 arg2 = &temp2;
37575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37576 }
37577 {
37578 PyThreadState* __tstate = wxPyBeginAllowThreads();
37579 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37580 wxPyEndAllowThreads(__tstate);
37581 if (PyErr_Occurred()) SWIG_fail;
37582 }
37583 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37584 if (SWIG_IsTmpObj(res3)) {
37585 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37586 } else {
37587 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37588 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37589 }
37590 return resultobj;
37591 fail:
37592 return NULL;
37593 }
37594
37595
37596 SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37597 PyObject *resultobj = 0;
37598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37599 wxTreeItemId *arg2 = 0 ;
37600 bool arg3 = (bool) false ;
37601 PyObject *result = 0 ;
37602 void *argp1 = 0 ;
37603 int res1 = 0 ;
37604 void *argp2 = 0 ;
37605 int res2 = 0 ;
37606 bool val3 ;
37607 int ecode3 = 0 ;
37608 PyObject * obj0 = 0 ;
37609 PyObject * obj1 = 0 ;
37610 PyObject * obj2 = 0 ;
37611 char * kwnames[] = {
37612 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37613 };
37614
37615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37617 if (!SWIG_IsOK(res1)) {
37618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37619 }
37620 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37621 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37622 if (!SWIG_IsOK(res2)) {
37623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37624 }
37625 if (!argp2) {
37626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37627 }
37628 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37629 if (obj2) {
37630 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37631 if (!SWIG_IsOK(ecode3)) {
37632 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37633 }
37634 arg3 = static_cast< bool >(val3);
37635 }
37636 {
37637 PyThreadState* __tstate = wxPyBeginAllowThreads();
37638 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37639 wxPyEndAllowThreads(__tstate);
37640 if (PyErr_Occurred()) SWIG_fail;
37641 }
37642 resultobj = result;
37643 return resultobj;
37644 fail:
37645 return NULL;
37646 }
37647
37648
37649 SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37650 PyObject *resultobj = 0;
37651 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37652 SwigValueWrapper<wxVisualAttributes > result;
37653 int val1 ;
37654 int ecode1 = 0 ;
37655 PyObject * obj0 = 0 ;
37656 char * kwnames[] = {
37657 (char *) "variant", NULL
37658 };
37659
37660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37661 if (obj0) {
37662 ecode1 = SWIG_AsVal_int(obj0, &val1);
37663 if (!SWIG_IsOK(ecode1)) {
37664 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37665 }
37666 arg1 = static_cast< wxWindowVariant >(val1);
37667 }
37668 {
37669 if (!wxPyCheckForApp()) SWIG_fail;
37670 PyThreadState* __tstate = wxPyBeginAllowThreads();
37671 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37672 wxPyEndAllowThreads(__tstate);
37673 if (PyErr_Occurred()) SWIG_fail;
37674 }
37675 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37676 return resultobj;
37677 fail:
37678 return NULL;
37679 }
37680
37681
37682 SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37683 PyObject *resultobj = 0;
37684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37685 bool arg2 ;
37686 void *argp1 = 0 ;
37687 int res1 = 0 ;
37688 bool val2 ;
37689 int ecode2 = 0 ;
37690 PyObject * obj0 = 0 ;
37691 PyObject * obj1 = 0 ;
37692 char * kwnames[] = {
37693 (char *) "self",(char *) "q", NULL
37694 };
37695
37696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37698 if (!SWIG_IsOK(res1)) {
37699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37700 }
37701 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37703 if (!SWIG_IsOK(ecode2)) {
37704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37705 }
37706 arg2 = static_cast< bool >(val2);
37707 {
37708 PyThreadState* __tstate = wxPyBeginAllowThreads();
37709 (arg1)->SetQuickBestSize(arg2);
37710 wxPyEndAllowThreads(__tstate);
37711 if (PyErr_Occurred()) SWIG_fail;
37712 }
37713 resultobj = SWIG_Py_Void();
37714 return resultobj;
37715 fail:
37716 return NULL;
37717 }
37718
37719
37720 SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37721 PyObject *resultobj = 0;
37722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37723 bool result;
37724 void *argp1 = 0 ;
37725 int res1 = 0 ;
37726 PyObject *swig_obj[1] ;
37727
37728 if (!args) SWIG_fail;
37729 swig_obj[0] = args;
37730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37731 if (!SWIG_IsOK(res1)) {
37732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37733 }
37734 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37735 {
37736 PyThreadState* __tstate = wxPyBeginAllowThreads();
37737 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37738 wxPyEndAllowThreads(__tstate);
37739 if (PyErr_Occurred()) SWIG_fail;
37740 }
37741 {
37742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37743 }
37744 return resultobj;
37745 fail:
37746 return NULL;
37747 }
37748
37749
37750 SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37751 PyObject *obj;
37752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37753 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37754 return SWIG_Py_Void();
37755 }
37756
37757 SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37758 return SWIG_Python_InitShadowInstance(args);
37759 }
37760
37761 SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37762 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37763 return 1;
37764 }
37765
37766
37767 SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37768 PyObject *pyobj = 0;
37769
37770 {
37771 #if wxUSE_UNICODE
37772 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37773 #else
37774 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
37775 #endif
37776 }
37777 return pyobj;
37778 }
37779
37780
37781 SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37782 PyObject *resultobj = 0;
37783 wxWindow *arg1 = (wxWindow *) 0 ;
37784 int arg2 = (int) (int)-1 ;
37785 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37786 wxString *arg3 = (wxString *) &arg3_defvalue ;
37787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37789 wxSize const &arg5_defvalue = wxDefaultSize ;
37790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37791 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37792 wxString const &arg7_defvalue = wxPyEmptyString ;
37793 wxString *arg7 = (wxString *) &arg7_defvalue ;
37794 int arg8 = (int) 0 ;
37795 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37796 wxString *arg9 = (wxString *) &arg9_defvalue ;
37797 wxGenericDirCtrl *result = 0 ;
37798 void *argp1 = 0 ;
37799 int res1 = 0 ;
37800 int val2 ;
37801 int ecode2 = 0 ;
37802 bool temp3 = false ;
37803 wxPoint temp4 ;
37804 wxSize temp5 ;
37805 long val6 ;
37806 int ecode6 = 0 ;
37807 bool temp7 = false ;
37808 int val8 ;
37809 int ecode8 = 0 ;
37810 bool temp9 = false ;
37811 PyObject * obj0 = 0 ;
37812 PyObject * obj1 = 0 ;
37813 PyObject * obj2 = 0 ;
37814 PyObject * obj3 = 0 ;
37815 PyObject * obj4 = 0 ;
37816 PyObject * obj5 = 0 ;
37817 PyObject * obj6 = 0 ;
37818 PyObject * obj7 = 0 ;
37819 PyObject * obj8 = 0 ;
37820 char * kwnames[] = {
37821 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37822 };
37823
37824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37826 if (!SWIG_IsOK(res1)) {
37827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37828 }
37829 arg1 = reinterpret_cast< wxWindow * >(argp1);
37830 if (obj1) {
37831 ecode2 = SWIG_AsVal_int(obj1, &val2);
37832 if (!SWIG_IsOK(ecode2)) {
37833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37834 }
37835 arg2 = static_cast< int >(val2);
37836 }
37837 if (obj2) {
37838 {
37839 arg3 = wxString_in_helper(obj2);
37840 if (arg3 == NULL) SWIG_fail;
37841 temp3 = true;
37842 }
37843 }
37844 if (obj3) {
37845 {
37846 arg4 = &temp4;
37847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
37848 }
37849 }
37850 if (obj4) {
37851 {
37852 arg5 = &temp5;
37853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
37854 }
37855 }
37856 if (obj5) {
37857 ecode6 = SWIG_AsVal_long(obj5, &val6);
37858 if (!SWIG_IsOK(ecode6)) {
37859 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37860 }
37861 arg6 = static_cast< long >(val6);
37862 }
37863 if (obj6) {
37864 {
37865 arg7 = wxString_in_helper(obj6);
37866 if (arg7 == NULL) SWIG_fail;
37867 temp7 = true;
37868 }
37869 }
37870 if (obj7) {
37871 ecode8 = SWIG_AsVal_int(obj7, &val8);
37872 if (!SWIG_IsOK(ecode8)) {
37873 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37874 }
37875 arg8 = static_cast< int >(val8);
37876 }
37877 if (obj8) {
37878 {
37879 arg9 = wxString_in_helper(obj8);
37880 if (arg9 == NULL) SWIG_fail;
37881 temp9 = true;
37882 }
37883 }
37884 {
37885 if (!wxPyCheckForApp()) SWIG_fail;
37886 PyThreadState* __tstate = wxPyBeginAllowThreads();
37887 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37888 wxPyEndAllowThreads(__tstate);
37889 if (PyErr_Occurred()) SWIG_fail;
37890 }
37891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37892 {
37893 if (temp3)
37894 delete arg3;
37895 }
37896 {
37897 if (temp7)
37898 delete arg7;
37899 }
37900 {
37901 if (temp9)
37902 delete arg9;
37903 }
37904 return resultobj;
37905 fail:
37906 {
37907 if (temp3)
37908 delete arg3;
37909 }
37910 {
37911 if (temp7)
37912 delete arg7;
37913 }
37914 {
37915 if (temp9)
37916 delete arg9;
37917 }
37918 return NULL;
37919 }
37920
37921
37922 SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37923 PyObject *resultobj = 0;
37924 wxGenericDirCtrl *result = 0 ;
37925
37926 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37927 {
37928 if (!wxPyCheckForApp()) SWIG_fail;
37929 PyThreadState* __tstate = wxPyBeginAllowThreads();
37930 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37931 wxPyEndAllowThreads(__tstate);
37932 if (PyErr_Occurred()) SWIG_fail;
37933 }
37934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37935 return resultobj;
37936 fail:
37937 return NULL;
37938 }
37939
37940
37941 SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37942 PyObject *resultobj = 0;
37943 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37944 wxWindow *arg2 = (wxWindow *) 0 ;
37945 int arg3 = (int) (int)-1 ;
37946 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37947 wxString *arg4 = (wxString *) &arg4_defvalue ;
37948 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37949 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37950 wxSize const &arg6_defvalue = wxDefaultSize ;
37951 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37952 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37953 wxString const &arg8_defvalue = wxPyEmptyString ;
37954 wxString *arg8 = (wxString *) &arg8_defvalue ;
37955 int arg9 = (int) 0 ;
37956 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37957 wxString *arg10 = (wxString *) &arg10_defvalue ;
37958 bool result;
37959 void *argp1 = 0 ;
37960 int res1 = 0 ;
37961 void *argp2 = 0 ;
37962 int res2 = 0 ;
37963 int val3 ;
37964 int ecode3 = 0 ;
37965 bool temp4 = false ;
37966 wxPoint temp5 ;
37967 wxSize temp6 ;
37968 long val7 ;
37969 int ecode7 = 0 ;
37970 bool temp8 = false ;
37971 int val9 ;
37972 int ecode9 = 0 ;
37973 bool temp10 = false ;
37974 PyObject * obj0 = 0 ;
37975 PyObject * obj1 = 0 ;
37976 PyObject * obj2 = 0 ;
37977 PyObject * obj3 = 0 ;
37978 PyObject * obj4 = 0 ;
37979 PyObject * obj5 = 0 ;
37980 PyObject * obj6 = 0 ;
37981 PyObject * obj7 = 0 ;
37982 PyObject * obj8 = 0 ;
37983 PyObject * obj9 = 0 ;
37984 char * kwnames[] = {
37985 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37986 };
37987
37988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37990 if (!SWIG_IsOK(res1)) {
37991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37992 }
37993 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37995 if (!SWIG_IsOK(res2)) {
37996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37997 }
37998 arg2 = reinterpret_cast< wxWindow * >(argp2);
37999 if (obj2) {
38000 ecode3 = SWIG_AsVal_int(obj2, &val3);
38001 if (!SWIG_IsOK(ecode3)) {
38002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38003 }
38004 arg3 = static_cast< int >(val3);
38005 }
38006 if (obj3) {
38007 {
38008 arg4 = wxString_in_helper(obj3);
38009 if (arg4 == NULL) SWIG_fail;
38010 temp4 = true;
38011 }
38012 }
38013 if (obj4) {
38014 {
38015 arg5 = &temp5;
38016 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
38017 }
38018 }
38019 if (obj5) {
38020 {
38021 arg6 = &temp6;
38022 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
38023 }
38024 }
38025 if (obj6) {
38026 ecode7 = SWIG_AsVal_long(obj6, &val7);
38027 if (!SWIG_IsOK(ecode7)) {
38028 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38029 }
38030 arg7 = static_cast< long >(val7);
38031 }
38032 if (obj7) {
38033 {
38034 arg8 = wxString_in_helper(obj7);
38035 if (arg8 == NULL) SWIG_fail;
38036 temp8 = true;
38037 }
38038 }
38039 if (obj8) {
38040 ecode9 = SWIG_AsVal_int(obj8, &val9);
38041 if (!SWIG_IsOK(ecode9)) {
38042 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38043 }
38044 arg9 = static_cast< int >(val9);
38045 }
38046 if (obj9) {
38047 {
38048 arg10 = wxString_in_helper(obj9);
38049 if (arg10 == NULL) SWIG_fail;
38050 temp10 = true;
38051 }
38052 }
38053 {
38054 PyThreadState* __tstate = wxPyBeginAllowThreads();
38055 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
38056 wxPyEndAllowThreads(__tstate);
38057 if (PyErr_Occurred()) SWIG_fail;
38058 }
38059 {
38060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38061 }
38062 {
38063 if (temp4)
38064 delete arg4;
38065 }
38066 {
38067 if (temp8)
38068 delete arg8;
38069 }
38070 {
38071 if (temp10)
38072 delete arg10;
38073 }
38074 return resultobj;
38075 fail:
38076 {
38077 if (temp4)
38078 delete arg4;
38079 }
38080 {
38081 if (temp8)
38082 delete arg8;
38083 }
38084 {
38085 if (temp10)
38086 delete arg10;
38087 }
38088 return NULL;
38089 }
38090
38091
38092 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38093 PyObject *resultobj = 0;
38094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38095 wxString *arg2 = 0 ;
38096 bool result;
38097 void *argp1 = 0 ;
38098 int res1 = 0 ;
38099 bool temp2 = false ;
38100 PyObject * obj0 = 0 ;
38101 PyObject * obj1 = 0 ;
38102 char * kwnames[] = {
38103 (char *) "self",(char *) "path", NULL
38104 };
38105
38106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
38107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38108 if (!SWIG_IsOK(res1)) {
38109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38110 }
38111 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38112 {
38113 arg2 = wxString_in_helper(obj1);
38114 if (arg2 == NULL) SWIG_fail;
38115 temp2 = true;
38116 }
38117 {
38118 PyThreadState* __tstate = wxPyBeginAllowThreads();
38119 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
38120 wxPyEndAllowThreads(__tstate);
38121 if (PyErr_Occurred()) SWIG_fail;
38122 }
38123 {
38124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38125 }
38126 {
38127 if (temp2)
38128 delete arg2;
38129 }
38130 return resultobj;
38131 fail:
38132 {
38133 if (temp2)
38134 delete arg2;
38135 }
38136 return NULL;
38137 }
38138
38139
38140 SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38141 PyObject *resultobj = 0;
38142 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38143 wxString *arg2 = 0 ;
38144 bool result;
38145 void *argp1 = 0 ;
38146 int res1 = 0 ;
38147 bool temp2 = false ;
38148 PyObject * obj0 = 0 ;
38149 PyObject * obj1 = 0 ;
38150 char * kwnames[] = {
38151 (char *) "self",(char *) "path", NULL
38152 };
38153
38154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38156 if (!SWIG_IsOK(res1)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38158 }
38159 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38160 {
38161 arg2 = wxString_in_helper(obj1);
38162 if (arg2 == NULL) SWIG_fail;
38163 temp2 = true;
38164 }
38165 {
38166 PyThreadState* __tstate = wxPyBeginAllowThreads();
38167 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38168 wxPyEndAllowThreads(__tstate);
38169 if (PyErr_Occurred()) SWIG_fail;
38170 }
38171 {
38172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38173 }
38174 {
38175 if (temp2)
38176 delete arg2;
38177 }
38178 return resultobj;
38179 fail:
38180 {
38181 if (temp2)
38182 delete arg2;
38183 }
38184 return NULL;
38185 }
38186
38187
38188 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38189 PyObject *resultobj = 0;
38190 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38191 wxString result;
38192 void *argp1 = 0 ;
38193 int res1 = 0 ;
38194 PyObject *swig_obj[1] ;
38195
38196 if (!args) SWIG_fail;
38197 swig_obj[0] = args;
38198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38199 if (!SWIG_IsOK(res1)) {
38200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38201 }
38202 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38203 {
38204 PyThreadState* __tstate = wxPyBeginAllowThreads();
38205 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38206 wxPyEndAllowThreads(__tstate);
38207 if (PyErr_Occurred()) SWIG_fail;
38208 }
38209 {
38210 #if wxUSE_UNICODE
38211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38212 #else
38213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38214 #endif
38215 }
38216 return resultobj;
38217 fail:
38218 return NULL;
38219 }
38220
38221
38222 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38223 PyObject *resultobj = 0;
38224 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38225 wxString *arg2 = 0 ;
38226 void *argp1 = 0 ;
38227 int res1 = 0 ;
38228 bool temp2 = false ;
38229 PyObject * obj0 = 0 ;
38230 PyObject * obj1 = 0 ;
38231 char * kwnames[] = {
38232 (char *) "self",(char *) "path", NULL
38233 };
38234
38235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38237 if (!SWIG_IsOK(res1)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38239 }
38240 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38241 {
38242 arg2 = wxString_in_helper(obj1);
38243 if (arg2 == NULL) SWIG_fail;
38244 temp2 = true;
38245 }
38246 {
38247 PyThreadState* __tstate = wxPyBeginAllowThreads();
38248 (arg1)->SetDefaultPath((wxString const &)*arg2);
38249 wxPyEndAllowThreads(__tstate);
38250 if (PyErr_Occurred()) SWIG_fail;
38251 }
38252 resultobj = SWIG_Py_Void();
38253 {
38254 if (temp2)
38255 delete arg2;
38256 }
38257 return resultobj;
38258 fail:
38259 {
38260 if (temp2)
38261 delete arg2;
38262 }
38263 return NULL;
38264 }
38265
38266
38267 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38268 PyObject *resultobj = 0;
38269 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38270 wxString result;
38271 void *argp1 = 0 ;
38272 int res1 = 0 ;
38273 PyObject *swig_obj[1] ;
38274
38275 if (!args) SWIG_fail;
38276 swig_obj[0] = args;
38277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38278 if (!SWIG_IsOK(res1)) {
38279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38280 }
38281 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38282 {
38283 PyThreadState* __tstate = wxPyBeginAllowThreads();
38284 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38285 wxPyEndAllowThreads(__tstate);
38286 if (PyErr_Occurred()) SWIG_fail;
38287 }
38288 {
38289 #if wxUSE_UNICODE
38290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38291 #else
38292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38293 #endif
38294 }
38295 return resultobj;
38296 fail:
38297 return NULL;
38298 }
38299
38300
38301 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38302 PyObject *resultobj = 0;
38303 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38304 wxString result;
38305 void *argp1 = 0 ;
38306 int res1 = 0 ;
38307 PyObject *swig_obj[1] ;
38308
38309 if (!args) SWIG_fail;
38310 swig_obj[0] = args;
38311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38312 if (!SWIG_IsOK(res1)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38314 }
38315 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38316 {
38317 PyThreadState* __tstate = wxPyBeginAllowThreads();
38318 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38319 wxPyEndAllowThreads(__tstate);
38320 if (PyErr_Occurred()) SWIG_fail;
38321 }
38322 {
38323 #if wxUSE_UNICODE
38324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38325 #else
38326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38327 #endif
38328 }
38329 return resultobj;
38330 fail:
38331 return NULL;
38332 }
38333
38334
38335 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38336 PyObject *resultobj = 0;
38337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38338 wxString *arg2 = 0 ;
38339 void *argp1 = 0 ;
38340 int res1 = 0 ;
38341 bool temp2 = false ;
38342 PyObject * obj0 = 0 ;
38343 PyObject * obj1 = 0 ;
38344 char * kwnames[] = {
38345 (char *) "self",(char *) "path", NULL
38346 };
38347
38348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38350 if (!SWIG_IsOK(res1)) {
38351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38352 }
38353 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38354 {
38355 arg2 = wxString_in_helper(obj1);
38356 if (arg2 == NULL) SWIG_fail;
38357 temp2 = true;
38358 }
38359 {
38360 PyThreadState* __tstate = wxPyBeginAllowThreads();
38361 (arg1)->SetPath((wxString const &)*arg2);
38362 wxPyEndAllowThreads(__tstate);
38363 if (PyErr_Occurred()) SWIG_fail;
38364 }
38365 resultobj = SWIG_Py_Void();
38366 {
38367 if (temp2)
38368 delete arg2;
38369 }
38370 return resultobj;
38371 fail:
38372 {
38373 if (temp2)
38374 delete arg2;
38375 }
38376 return NULL;
38377 }
38378
38379
38380 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38381 PyObject *resultobj = 0;
38382 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38383 bool arg2 ;
38384 void *argp1 = 0 ;
38385 int res1 = 0 ;
38386 bool val2 ;
38387 int ecode2 = 0 ;
38388 PyObject * obj0 = 0 ;
38389 PyObject * obj1 = 0 ;
38390 char * kwnames[] = {
38391 (char *) "self",(char *) "show", NULL
38392 };
38393
38394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38396 if (!SWIG_IsOK(res1)) {
38397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38398 }
38399 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38400 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38401 if (!SWIG_IsOK(ecode2)) {
38402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38403 }
38404 arg2 = static_cast< bool >(val2);
38405 {
38406 PyThreadState* __tstate = wxPyBeginAllowThreads();
38407 (arg1)->ShowHidden(arg2);
38408 wxPyEndAllowThreads(__tstate);
38409 if (PyErr_Occurred()) SWIG_fail;
38410 }
38411 resultobj = SWIG_Py_Void();
38412 return resultobj;
38413 fail:
38414 return NULL;
38415 }
38416
38417
38418 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38419 PyObject *resultobj = 0;
38420 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38421 bool result;
38422 void *argp1 = 0 ;
38423 int res1 = 0 ;
38424 PyObject *swig_obj[1] ;
38425
38426 if (!args) SWIG_fail;
38427 swig_obj[0] = args;
38428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38429 if (!SWIG_IsOK(res1)) {
38430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38431 }
38432 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38433 {
38434 PyThreadState* __tstate = wxPyBeginAllowThreads();
38435 result = (bool)(arg1)->GetShowHidden();
38436 wxPyEndAllowThreads(__tstate);
38437 if (PyErr_Occurred()) SWIG_fail;
38438 }
38439 {
38440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38441 }
38442 return resultobj;
38443 fail:
38444 return NULL;
38445 }
38446
38447
38448 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38449 PyObject *resultobj = 0;
38450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38451 wxString result;
38452 void *argp1 = 0 ;
38453 int res1 = 0 ;
38454 PyObject *swig_obj[1] ;
38455
38456 if (!args) SWIG_fail;
38457 swig_obj[0] = args;
38458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38459 if (!SWIG_IsOK(res1)) {
38460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38461 }
38462 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38463 {
38464 PyThreadState* __tstate = wxPyBeginAllowThreads();
38465 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38466 wxPyEndAllowThreads(__tstate);
38467 if (PyErr_Occurred()) SWIG_fail;
38468 }
38469 {
38470 #if wxUSE_UNICODE
38471 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38472 #else
38473 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38474 #endif
38475 }
38476 return resultobj;
38477 fail:
38478 return NULL;
38479 }
38480
38481
38482 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38483 PyObject *resultobj = 0;
38484 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38485 wxString *arg2 = 0 ;
38486 void *argp1 = 0 ;
38487 int res1 = 0 ;
38488 bool temp2 = false ;
38489 PyObject * obj0 = 0 ;
38490 PyObject * obj1 = 0 ;
38491 char * kwnames[] = {
38492 (char *) "self",(char *) "filter", NULL
38493 };
38494
38495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38497 if (!SWIG_IsOK(res1)) {
38498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38499 }
38500 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38501 {
38502 arg2 = wxString_in_helper(obj1);
38503 if (arg2 == NULL) SWIG_fail;
38504 temp2 = true;
38505 }
38506 {
38507 PyThreadState* __tstate = wxPyBeginAllowThreads();
38508 (arg1)->SetFilter((wxString const &)*arg2);
38509 wxPyEndAllowThreads(__tstate);
38510 if (PyErr_Occurred()) SWIG_fail;
38511 }
38512 resultobj = SWIG_Py_Void();
38513 {
38514 if (temp2)
38515 delete arg2;
38516 }
38517 return resultobj;
38518 fail:
38519 {
38520 if (temp2)
38521 delete arg2;
38522 }
38523 return NULL;
38524 }
38525
38526
38527 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38528 PyObject *resultobj = 0;
38529 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38530 int result;
38531 void *argp1 = 0 ;
38532 int res1 = 0 ;
38533 PyObject *swig_obj[1] ;
38534
38535 if (!args) SWIG_fail;
38536 swig_obj[0] = args;
38537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38538 if (!SWIG_IsOK(res1)) {
38539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38540 }
38541 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38542 {
38543 PyThreadState* __tstate = wxPyBeginAllowThreads();
38544 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38545 wxPyEndAllowThreads(__tstate);
38546 if (PyErr_Occurred()) SWIG_fail;
38547 }
38548 resultobj = SWIG_From_int(static_cast< int >(result));
38549 return resultobj;
38550 fail:
38551 return NULL;
38552 }
38553
38554
38555 SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38556 PyObject *resultobj = 0;
38557 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38558 int arg2 ;
38559 void *argp1 = 0 ;
38560 int res1 = 0 ;
38561 int val2 ;
38562 int ecode2 = 0 ;
38563 PyObject * obj0 = 0 ;
38564 PyObject * obj1 = 0 ;
38565 char * kwnames[] = {
38566 (char *) "self",(char *) "n", NULL
38567 };
38568
38569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38571 if (!SWIG_IsOK(res1)) {
38572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38573 }
38574 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38575 ecode2 = SWIG_AsVal_int(obj1, &val2);
38576 if (!SWIG_IsOK(ecode2)) {
38577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38578 }
38579 arg2 = static_cast< int >(val2);
38580 {
38581 PyThreadState* __tstate = wxPyBeginAllowThreads();
38582 (arg1)->SetFilterIndex(arg2);
38583 wxPyEndAllowThreads(__tstate);
38584 if (PyErr_Occurred()) SWIG_fail;
38585 }
38586 resultobj = SWIG_Py_Void();
38587 return resultobj;
38588 fail:
38589 return NULL;
38590 }
38591
38592
38593 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38594 PyObject *resultobj = 0;
38595 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38596 wxTreeItemId result;
38597 void *argp1 = 0 ;
38598 int res1 = 0 ;
38599 PyObject *swig_obj[1] ;
38600
38601 if (!args) SWIG_fail;
38602 swig_obj[0] = args;
38603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38604 if (!SWIG_IsOK(res1)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38606 }
38607 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38608 {
38609 PyThreadState* __tstate = wxPyBeginAllowThreads();
38610 result = (arg1)->GetRootId();
38611 wxPyEndAllowThreads(__tstate);
38612 if (PyErr_Occurred()) SWIG_fail;
38613 }
38614 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38615 return resultobj;
38616 fail:
38617 return NULL;
38618 }
38619
38620
38621 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38622 PyObject *resultobj = 0;
38623 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38624 wxPyTreeCtrl *result = 0 ;
38625 void *argp1 = 0 ;
38626 int res1 = 0 ;
38627 PyObject *swig_obj[1] ;
38628
38629 if (!args) SWIG_fail;
38630 swig_obj[0] = args;
38631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38632 if (!SWIG_IsOK(res1)) {
38633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38634 }
38635 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38636 {
38637 PyThreadState* __tstate = wxPyBeginAllowThreads();
38638 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38639 wxPyEndAllowThreads(__tstate);
38640 if (PyErr_Occurred()) SWIG_fail;
38641 }
38642 {
38643 resultobj = wxPyMake_wxObject(result, 0);
38644 }
38645 return resultobj;
38646 fail:
38647 return NULL;
38648 }
38649
38650
38651 SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38652 PyObject *resultobj = 0;
38653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38654 wxDirFilterListCtrl *result = 0 ;
38655 void *argp1 = 0 ;
38656 int res1 = 0 ;
38657 PyObject *swig_obj[1] ;
38658
38659 if (!args) SWIG_fail;
38660 swig_obj[0] = args;
38661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38662 if (!SWIG_IsOK(res1)) {
38663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38664 }
38665 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38666 {
38667 PyThreadState* __tstate = wxPyBeginAllowThreads();
38668 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38669 wxPyEndAllowThreads(__tstate);
38670 if (PyErr_Occurred()) SWIG_fail;
38671 }
38672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38673 return resultobj;
38674 fail:
38675 return NULL;
38676 }
38677
38678
38679 SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38680 PyObject *resultobj = 0;
38681 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38682 wxTreeItemId arg2 ;
38683 wxString *arg3 = 0 ;
38684 bool *arg4 = 0 ;
38685 wxTreeItemId result;
38686 void *argp1 = 0 ;
38687 int res1 = 0 ;
38688 void *argp2 ;
38689 int res2 = 0 ;
38690 bool temp3 = false ;
38691 bool temp4 ;
38692 int res4 = SWIG_TMPOBJ ;
38693 PyObject * obj0 = 0 ;
38694 PyObject * obj1 = 0 ;
38695 PyObject * obj2 = 0 ;
38696 char * kwnames[] = {
38697 (char *) "self",(char *) "parentId",(char *) "path", NULL
38698 };
38699
38700 arg4 = &temp4;
38701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38703 if (!SWIG_IsOK(res1)) {
38704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38705 }
38706 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38707 {
38708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38709 if (!SWIG_IsOK(res2)) {
38710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38711 }
38712 if (!argp2) {
38713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38714 } else {
38715 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38716 arg2 = *temp;
38717 if (SWIG_IsNewObj(res2)) delete temp;
38718 }
38719 }
38720 {
38721 arg3 = wxString_in_helper(obj2);
38722 if (arg3 == NULL) SWIG_fail;
38723 temp3 = true;
38724 }
38725 {
38726 PyThreadState* __tstate = wxPyBeginAllowThreads();
38727 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38728 wxPyEndAllowThreads(__tstate);
38729 if (PyErr_Occurred()) SWIG_fail;
38730 }
38731 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38732 if (SWIG_IsTmpObj(res4)) {
38733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38734 } else {
38735 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38737 }
38738 {
38739 if (temp3)
38740 delete arg3;
38741 }
38742 return resultobj;
38743 fail:
38744 {
38745 if (temp3)
38746 delete arg3;
38747 }
38748 return NULL;
38749 }
38750
38751
38752 SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38753 PyObject *resultobj = 0;
38754 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38755 void *argp1 = 0 ;
38756 int res1 = 0 ;
38757 PyObject *swig_obj[1] ;
38758
38759 if (!args) SWIG_fail;
38760 swig_obj[0] = args;
38761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38762 if (!SWIG_IsOK(res1)) {
38763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38764 }
38765 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38766 {
38767 PyThreadState* __tstate = wxPyBeginAllowThreads();
38768 (arg1)->DoResize();
38769 wxPyEndAllowThreads(__tstate);
38770 if (PyErr_Occurred()) SWIG_fail;
38771 }
38772 resultobj = SWIG_Py_Void();
38773 return resultobj;
38774 fail:
38775 return NULL;
38776 }
38777
38778
38779 SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38780 PyObject *resultobj = 0;
38781 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38782 void *argp1 = 0 ;
38783 int res1 = 0 ;
38784 PyObject *swig_obj[1] ;
38785
38786 if (!args) SWIG_fail;
38787 swig_obj[0] = args;
38788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38789 if (!SWIG_IsOK(res1)) {
38790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38791 }
38792 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38793 {
38794 PyThreadState* __tstate = wxPyBeginAllowThreads();
38795 (arg1)->ReCreateTree();
38796 wxPyEndAllowThreads(__tstate);
38797 if (PyErr_Occurred()) SWIG_fail;
38798 }
38799 resultobj = SWIG_Py_Void();
38800 return resultobj;
38801 fail:
38802 return NULL;
38803 }
38804
38805
38806 SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38807 PyObject *obj;
38808 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38809 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38810 return SWIG_Py_Void();
38811 }
38812
38813 SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38814 return SWIG_Python_InitShadowInstance(args);
38815 }
38816
38817 SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38818 PyObject *resultobj = 0;
38819 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38820 int arg2 = (int) (int)-1 ;
38821 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38822 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38823 wxSize const &arg4_defvalue = wxDefaultSize ;
38824 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38825 long arg5 = (long) 0 ;
38826 wxDirFilterListCtrl *result = 0 ;
38827 void *argp1 = 0 ;
38828 int res1 = 0 ;
38829 int val2 ;
38830 int ecode2 = 0 ;
38831 wxPoint temp3 ;
38832 wxSize temp4 ;
38833 long val5 ;
38834 int ecode5 = 0 ;
38835 PyObject * obj0 = 0 ;
38836 PyObject * obj1 = 0 ;
38837 PyObject * obj2 = 0 ;
38838 PyObject * obj3 = 0 ;
38839 PyObject * obj4 = 0 ;
38840 char * kwnames[] = {
38841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38842 };
38843
38844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38846 if (!SWIG_IsOK(res1)) {
38847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38848 }
38849 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38850 if (obj1) {
38851 ecode2 = SWIG_AsVal_int(obj1, &val2);
38852 if (!SWIG_IsOK(ecode2)) {
38853 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38854 }
38855 arg2 = static_cast< int >(val2);
38856 }
38857 if (obj2) {
38858 {
38859 arg3 = &temp3;
38860 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
38861 }
38862 }
38863 if (obj3) {
38864 {
38865 arg4 = &temp4;
38866 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
38867 }
38868 }
38869 if (obj4) {
38870 ecode5 = SWIG_AsVal_long(obj4, &val5);
38871 if (!SWIG_IsOK(ecode5)) {
38872 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38873 }
38874 arg5 = static_cast< long >(val5);
38875 }
38876 {
38877 if (!wxPyCheckForApp()) SWIG_fail;
38878 PyThreadState* __tstate = wxPyBeginAllowThreads();
38879 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38880 wxPyEndAllowThreads(__tstate);
38881 if (PyErr_Occurred()) SWIG_fail;
38882 }
38883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38884 return resultobj;
38885 fail:
38886 return NULL;
38887 }
38888
38889
38890 SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38891 PyObject *resultobj = 0;
38892 wxDirFilterListCtrl *result = 0 ;
38893
38894 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38895 {
38896 if (!wxPyCheckForApp()) SWIG_fail;
38897 PyThreadState* __tstate = wxPyBeginAllowThreads();
38898 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38899 wxPyEndAllowThreads(__tstate);
38900 if (PyErr_Occurred()) SWIG_fail;
38901 }
38902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38903 return resultobj;
38904 fail:
38905 return NULL;
38906 }
38907
38908
38909 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38910 PyObject *resultobj = 0;
38911 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38912 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38913 int arg3 = (int) (int)-1 ;
38914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38916 wxSize const &arg5_defvalue = wxDefaultSize ;
38917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38918 long arg6 = (long) 0 ;
38919 bool result;
38920 void *argp1 = 0 ;
38921 int res1 = 0 ;
38922 void *argp2 = 0 ;
38923 int res2 = 0 ;
38924 int val3 ;
38925 int ecode3 = 0 ;
38926 wxPoint temp4 ;
38927 wxSize temp5 ;
38928 long val6 ;
38929 int ecode6 = 0 ;
38930 PyObject * obj0 = 0 ;
38931 PyObject * obj1 = 0 ;
38932 PyObject * obj2 = 0 ;
38933 PyObject * obj3 = 0 ;
38934 PyObject * obj4 = 0 ;
38935 PyObject * obj5 = 0 ;
38936 char * kwnames[] = {
38937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38938 };
38939
38940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38942 if (!SWIG_IsOK(res1)) {
38943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38944 }
38945 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38946 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38947 if (!SWIG_IsOK(res2)) {
38948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38949 }
38950 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38951 if (obj2) {
38952 ecode3 = SWIG_AsVal_int(obj2, &val3);
38953 if (!SWIG_IsOK(ecode3)) {
38954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38955 }
38956 arg3 = static_cast< int >(val3);
38957 }
38958 if (obj3) {
38959 {
38960 arg4 = &temp4;
38961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
38962 }
38963 }
38964 if (obj4) {
38965 {
38966 arg5 = &temp5;
38967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
38968 }
38969 }
38970 if (obj5) {
38971 ecode6 = SWIG_AsVal_long(obj5, &val6);
38972 if (!SWIG_IsOK(ecode6)) {
38973 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38974 }
38975 arg6 = static_cast< long >(val6);
38976 }
38977 {
38978 PyThreadState* __tstate = wxPyBeginAllowThreads();
38979 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38980 wxPyEndAllowThreads(__tstate);
38981 if (PyErr_Occurred()) SWIG_fail;
38982 }
38983 {
38984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38985 }
38986 return resultobj;
38987 fail:
38988 return NULL;
38989 }
38990
38991
38992 SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38993 PyObject *resultobj = 0;
38994 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38995 wxString *arg2 = 0 ;
38996 int arg3 ;
38997 void *argp1 = 0 ;
38998 int res1 = 0 ;
38999 bool temp2 = false ;
39000 int val3 ;
39001 int ecode3 = 0 ;
39002 PyObject * obj0 = 0 ;
39003 PyObject * obj1 = 0 ;
39004 PyObject * obj2 = 0 ;
39005 char * kwnames[] = {
39006 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39007 };
39008
39009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
39011 if (!SWIG_IsOK(res1)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39013 }
39014 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
39015 {
39016 arg2 = wxString_in_helper(obj1);
39017 if (arg2 == NULL) SWIG_fail;
39018 temp2 = true;
39019 }
39020 ecode3 = SWIG_AsVal_int(obj2, &val3);
39021 if (!SWIG_IsOK(ecode3)) {
39022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39023 }
39024 arg3 = static_cast< int >(val3);
39025 {
39026 PyThreadState* __tstate = wxPyBeginAllowThreads();
39027 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
39028 wxPyEndAllowThreads(__tstate);
39029 if (PyErr_Occurred()) SWIG_fail;
39030 }
39031 resultobj = SWIG_Py_Void();
39032 {
39033 if (temp2)
39034 delete arg2;
39035 }
39036 return resultobj;
39037 fail:
39038 {
39039 if (temp2)
39040 delete arg2;
39041 }
39042 return NULL;
39043 }
39044
39045
39046 SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39047 PyObject *obj;
39048 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39049 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
39050 return SWIG_Py_Void();
39051 }
39052
39053 SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39054 return SWIG_Python_InitShadowInstance(args);
39055 }
39056
39057 SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39058 PyObject *resultobj = 0;
39059 wxWindow *arg1 = (wxWindow *) 0 ;
39060 int arg2 = (int) (int)-1 ;
39061 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39062 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39063 wxSize const &arg4_defvalue = wxDefaultSize ;
39064 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39065 long arg5 = (long) 0 ;
39066 wxValidator const &arg6_defvalue = wxDefaultValidator ;
39067 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
39068 wxString const &arg7_defvalue = wxPyControlNameStr ;
39069 wxString *arg7 = (wxString *) &arg7_defvalue ;
39070 wxPyControl *result = 0 ;
39071 void *argp1 = 0 ;
39072 int res1 = 0 ;
39073 int val2 ;
39074 int ecode2 = 0 ;
39075 wxPoint temp3 ;
39076 wxSize temp4 ;
39077 long val5 ;
39078 int ecode5 = 0 ;
39079 void *argp6 = 0 ;
39080 int res6 = 0 ;
39081 bool temp7 = false ;
39082 PyObject * obj0 = 0 ;
39083 PyObject * obj1 = 0 ;
39084 PyObject * obj2 = 0 ;
39085 PyObject * obj3 = 0 ;
39086 PyObject * obj4 = 0 ;
39087 PyObject * obj5 = 0 ;
39088 PyObject * obj6 = 0 ;
39089 char * kwnames[] = {
39090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39091 };
39092
39093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
39094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39095 if (!SWIG_IsOK(res1)) {
39096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39097 }
39098 arg1 = reinterpret_cast< wxWindow * >(argp1);
39099 if (obj1) {
39100 ecode2 = SWIG_AsVal_int(obj1, &val2);
39101 if (!SWIG_IsOK(ecode2)) {
39102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39103 }
39104 arg2 = static_cast< int >(val2);
39105 }
39106 if (obj2) {
39107 {
39108 arg3 = &temp3;
39109 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39110 }
39111 }
39112 if (obj3) {
39113 {
39114 arg4 = &temp4;
39115 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
39116 }
39117 }
39118 if (obj4) {
39119 ecode5 = SWIG_AsVal_long(obj4, &val5);
39120 if (!SWIG_IsOK(ecode5)) {
39121 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39122 }
39123 arg5 = static_cast< long >(val5);
39124 }
39125 if (obj5) {
39126 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
39127 if (!SWIG_IsOK(res6)) {
39128 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39129 }
39130 if (!argp6) {
39131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39132 }
39133 arg6 = reinterpret_cast< wxValidator * >(argp6);
39134 }
39135 if (obj6) {
39136 {
39137 arg7 = wxString_in_helper(obj6);
39138 if (arg7 == NULL) SWIG_fail;
39139 temp7 = true;
39140 }
39141 }
39142 {
39143 if (!wxPyCheckForApp()) SWIG_fail;
39144 PyThreadState* __tstate = wxPyBeginAllowThreads();
39145 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39146 wxPyEndAllowThreads(__tstate);
39147 if (PyErr_Occurred()) SWIG_fail;
39148 }
39149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39150 {
39151 if (temp7)
39152 delete arg7;
39153 }
39154 return resultobj;
39155 fail:
39156 {
39157 if (temp7)
39158 delete arg7;
39159 }
39160 return NULL;
39161 }
39162
39163
39164 SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39165 PyObject *resultobj = 0;
39166 wxPyControl *result = 0 ;
39167
39168 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39169 {
39170 if (!wxPyCheckForApp()) SWIG_fail;
39171 PyThreadState* __tstate = wxPyBeginAllowThreads();
39172 result = (wxPyControl *)new wxPyControl();
39173 wxPyEndAllowThreads(__tstate);
39174 if (PyErr_Occurred()) SWIG_fail;
39175 }
39176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39177 return resultobj;
39178 fail:
39179 return NULL;
39180 }
39181
39182
39183 SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39184 PyObject *resultobj = 0;
39185 wxPyControl *arg1 = (wxPyControl *) 0 ;
39186 PyObject *arg2 = (PyObject *) 0 ;
39187 PyObject *arg3 = (PyObject *) 0 ;
39188 void *argp1 = 0 ;
39189 int res1 = 0 ;
39190 PyObject * obj0 = 0 ;
39191 PyObject * obj1 = 0 ;
39192 PyObject * obj2 = 0 ;
39193 char * kwnames[] = {
39194 (char *) "self",(char *) "self",(char *) "_class", NULL
39195 };
39196
39197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39199 if (!SWIG_IsOK(res1)) {
39200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39201 }
39202 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39203 arg2 = obj1;
39204 arg3 = obj2;
39205 {
39206 PyThreadState* __tstate = wxPyBeginAllowThreads();
39207 (arg1)->_setCallbackInfo(arg2,arg3);
39208 wxPyEndAllowThreads(__tstate);
39209 if (PyErr_Occurred()) SWIG_fail;
39210 }
39211 resultobj = SWIG_Py_Void();
39212 return resultobj;
39213 fail:
39214 return NULL;
39215 }
39216
39217
39218 SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39219 PyObject *resultobj = 0;
39220 wxPyControl *arg1 = (wxPyControl *) 0 ;
39221 wxDC *arg2 = (wxDC *) 0 ;
39222 bool result;
39223 void *argp1 = 0 ;
39224 int res1 = 0 ;
39225 void *argp2 = 0 ;
39226 int res2 = 0 ;
39227 PyObject * obj0 = 0 ;
39228 PyObject * obj1 = 0 ;
39229 char * kwnames[] = {
39230 (char *) "self",(char *) "dc", NULL
39231 };
39232
39233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39235 if (!SWIG_IsOK(res1)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39237 }
39238 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39240 if (!SWIG_IsOK(res2)) {
39241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39242 }
39243 arg2 = reinterpret_cast< wxDC * >(argp2);
39244 {
39245 PyThreadState* __tstate = wxPyBeginAllowThreads();
39246 result = (bool)(arg1)->DoEraseBackground(arg2);
39247 wxPyEndAllowThreads(__tstate);
39248 if (PyErr_Occurred()) SWIG_fail;
39249 }
39250 {
39251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39252 }
39253 return resultobj;
39254 fail:
39255 return NULL;
39256 }
39257
39258
39259 SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39260 PyObject *resultobj = 0;
39261 wxPyControl *arg1 = (wxPyControl *) 0 ;
39262 int arg2 ;
39263 int arg3 ;
39264 int arg4 ;
39265 int arg5 ;
39266 void *argp1 = 0 ;
39267 int res1 = 0 ;
39268 int val2 ;
39269 int ecode2 = 0 ;
39270 int val3 ;
39271 int ecode3 = 0 ;
39272 int val4 ;
39273 int ecode4 = 0 ;
39274 int val5 ;
39275 int ecode5 = 0 ;
39276 PyObject * obj0 = 0 ;
39277 PyObject * obj1 = 0 ;
39278 PyObject * obj2 = 0 ;
39279 PyObject * obj3 = 0 ;
39280 PyObject * obj4 = 0 ;
39281 char * kwnames[] = {
39282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39283 };
39284
39285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39287 if (!SWIG_IsOK(res1)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39289 }
39290 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39291 ecode2 = SWIG_AsVal_int(obj1, &val2);
39292 if (!SWIG_IsOK(ecode2)) {
39293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39294 }
39295 arg2 = static_cast< int >(val2);
39296 ecode3 = SWIG_AsVal_int(obj2, &val3);
39297 if (!SWIG_IsOK(ecode3)) {
39298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39299 }
39300 arg3 = static_cast< int >(val3);
39301 ecode4 = SWIG_AsVal_int(obj3, &val4);
39302 if (!SWIG_IsOK(ecode4)) {
39303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39304 }
39305 arg4 = static_cast< int >(val4);
39306 ecode5 = SWIG_AsVal_int(obj4, &val5);
39307 if (!SWIG_IsOK(ecode5)) {
39308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39309 }
39310 arg5 = static_cast< int >(val5);
39311 {
39312 PyThreadState* __tstate = wxPyBeginAllowThreads();
39313 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39314 wxPyEndAllowThreads(__tstate);
39315 if (PyErr_Occurred()) SWIG_fail;
39316 }
39317 resultobj = SWIG_Py_Void();
39318 return resultobj;
39319 fail:
39320 return NULL;
39321 }
39322
39323
39324 SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39325 PyObject *resultobj = 0;
39326 wxPyControl *arg1 = (wxPyControl *) 0 ;
39327 int arg2 ;
39328 int arg3 ;
39329 int arg4 ;
39330 int arg5 ;
39331 int arg6 = (int) wxSIZE_AUTO ;
39332 void *argp1 = 0 ;
39333 int res1 = 0 ;
39334 int val2 ;
39335 int ecode2 = 0 ;
39336 int val3 ;
39337 int ecode3 = 0 ;
39338 int val4 ;
39339 int ecode4 = 0 ;
39340 int val5 ;
39341 int ecode5 = 0 ;
39342 int val6 ;
39343 int ecode6 = 0 ;
39344 PyObject * obj0 = 0 ;
39345 PyObject * obj1 = 0 ;
39346 PyObject * obj2 = 0 ;
39347 PyObject * obj3 = 0 ;
39348 PyObject * obj4 = 0 ;
39349 PyObject * obj5 = 0 ;
39350 char * kwnames[] = {
39351 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39352 };
39353
39354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39356 if (!SWIG_IsOK(res1)) {
39357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39358 }
39359 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39360 ecode2 = SWIG_AsVal_int(obj1, &val2);
39361 if (!SWIG_IsOK(ecode2)) {
39362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39363 }
39364 arg2 = static_cast< int >(val2);
39365 ecode3 = SWIG_AsVal_int(obj2, &val3);
39366 if (!SWIG_IsOK(ecode3)) {
39367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39368 }
39369 arg3 = static_cast< int >(val3);
39370 ecode4 = SWIG_AsVal_int(obj3, &val4);
39371 if (!SWIG_IsOK(ecode4)) {
39372 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39373 }
39374 arg4 = static_cast< int >(val4);
39375 ecode5 = SWIG_AsVal_int(obj4, &val5);
39376 if (!SWIG_IsOK(ecode5)) {
39377 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39378 }
39379 arg5 = static_cast< int >(val5);
39380 if (obj5) {
39381 ecode6 = SWIG_AsVal_int(obj5, &val6);
39382 if (!SWIG_IsOK(ecode6)) {
39383 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39384 }
39385 arg6 = static_cast< int >(val6);
39386 }
39387 {
39388 PyThreadState* __tstate = wxPyBeginAllowThreads();
39389 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39390 wxPyEndAllowThreads(__tstate);
39391 if (PyErr_Occurred()) SWIG_fail;
39392 }
39393 resultobj = SWIG_Py_Void();
39394 return resultobj;
39395 fail:
39396 return NULL;
39397 }
39398
39399
39400 SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39401 PyObject *resultobj = 0;
39402 wxPyControl *arg1 = (wxPyControl *) 0 ;
39403 int arg2 ;
39404 int arg3 ;
39405 void *argp1 = 0 ;
39406 int res1 = 0 ;
39407 int val2 ;
39408 int ecode2 = 0 ;
39409 int val3 ;
39410 int ecode3 = 0 ;
39411 PyObject * obj0 = 0 ;
39412 PyObject * obj1 = 0 ;
39413 PyObject * obj2 = 0 ;
39414 char * kwnames[] = {
39415 (char *) "self",(char *) "width",(char *) "height", NULL
39416 };
39417
39418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39420 if (!SWIG_IsOK(res1)) {
39421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39422 }
39423 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39424 ecode2 = SWIG_AsVal_int(obj1, &val2);
39425 if (!SWIG_IsOK(ecode2)) {
39426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39427 }
39428 arg2 = static_cast< int >(val2);
39429 ecode3 = SWIG_AsVal_int(obj2, &val3);
39430 if (!SWIG_IsOK(ecode3)) {
39431 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39432 }
39433 arg3 = static_cast< int >(val3);
39434 {
39435 PyThreadState* __tstate = wxPyBeginAllowThreads();
39436 (arg1)->DoSetClientSize(arg2,arg3);
39437 wxPyEndAllowThreads(__tstate);
39438 if (PyErr_Occurred()) SWIG_fail;
39439 }
39440 resultobj = SWIG_Py_Void();
39441 return resultobj;
39442 fail:
39443 return NULL;
39444 }
39445
39446
39447 SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39448 PyObject *resultobj = 0;
39449 wxPyControl *arg1 = (wxPyControl *) 0 ;
39450 int arg2 ;
39451 int arg3 ;
39452 void *argp1 = 0 ;
39453 int res1 = 0 ;
39454 int val2 ;
39455 int ecode2 = 0 ;
39456 int val3 ;
39457 int ecode3 = 0 ;
39458 PyObject * obj0 = 0 ;
39459 PyObject * obj1 = 0 ;
39460 PyObject * obj2 = 0 ;
39461 char * kwnames[] = {
39462 (char *) "self",(char *) "x",(char *) "y", NULL
39463 };
39464
39465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39467 if (!SWIG_IsOK(res1)) {
39468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39469 }
39470 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39471 ecode2 = SWIG_AsVal_int(obj1, &val2);
39472 if (!SWIG_IsOK(ecode2)) {
39473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39474 }
39475 arg2 = static_cast< int >(val2);
39476 ecode3 = SWIG_AsVal_int(obj2, &val3);
39477 if (!SWIG_IsOK(ecode3)) {
39478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39479 }
39480 arg3 = static_cast< int >(val3);
39481 {
39482 PyThreadState* __tstate = wxPyBeginAllowThreads();
39483 (arg1)->DoSetVirtualSize(arg2,arg3);
39484 wxPyEndAllowThreads(__tstate);
39485 if (PyErr_Occurred()) SWIG_fail;
39486 }
39487 resultobj = SWIG_Py_Void();
39488 return resultobj;
39489 fail:
39490 return NULL;
39491 }
39492
39493
39494 SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39495 PyObject *resultobj = 0;
39496 wxPyControl *arg1 = (wxPyControl *) 0 ;
39497 int *arg2 = (int *) 0 ;
39498 int *arg3 = (int *) 0 ;
39499 void *argp1 = 0 ;
39500 int res1 = 0 ;
39501 int temp2 ;
39502 int res2 = SWIG_TMPOBJ ;
39503 int temp3 ;
39504 int res3 = SWIG_TMPOBJ ;
39505 PyObject *swig_obj[1] ;
39506
39507 arg2 = &temp2;
39508 arg3 = &temp3;
39509 if (!args) SWIG_fail;
39510 swig_obj[0] = args;
39511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39512 if (!SWIG_IsOK(res1)) {
39513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39514 }
39515 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39516 {
39517 PyThreadState* __tstate = wxPyBeginAllowThreads();
39518 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39519 wxPyEndAllowThreads(__tstate);
39520 if (PyErr_Occurred()) SWIG_fail;
39521 }
39522 resultobj = SWIG_Py_Void();
39523 if (SWIG_IsTmpObj(res2)) {
39524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39525 } else {
39526 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39527 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39528 }
39529 if (SWIG_IsTmpObj(res3)) {
39530 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39531 } else {
39532 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39534 }
39535 return resultobj;
39536 fail:
39537 return NULL;
39538 }
39539
39540
39541 SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39542 PyObject *resultobj = 0;
39543 wxPyControl *arg1 = (wxPyControl *) 0 ;
39544 int *arg2 = (int *) 0 ;
39545 int *arg3 = (int *) 0 ;
39546 void *argp1 = 0 ;
39547 int res1 = 0 ;
39548 int temp2 ;
39549 int res2 = SWIG_TMPOBJ ;
39550 int temp3 ;
39551 int res3 = SWIG_TMPOBJ ;
39552 PyObject *swig_obj[1] ;
39553
39554 arg2 = &temp2;
39555 arg3 = &temp3;
39556 if (!args) SWIG_fail;
39557 swig_obj[0] = args;
39558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39559 if (!SWIG_IsOK(res1)) {
39560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39561 }
39562 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39563 {
39564 PyThreadState* __tstate = wxPyBeginAllowThreads();
39565 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39566 wxPyEndAllowThreads(__tstate);
39567 if (PyErr_Occurred()) SWIG_fail;
39568 }
39569 resultobj = SWIG_Py_Void();
39570 if (SWIG_IsTmpObj(res2)) {
39571 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39572 } else {
39573 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39574 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39575 }
39576 if (SWIG_IsTmpObj(res3)) {
39577 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39578 } else {
39579 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39581 }
39582 return resultobj;
39583 fail:
39584 return NULL;
39585 }
39586
39587
39588 SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39589 PyObject *resultobj = 0;
39590 wxPyControl *arg1 = (wxPyControl *) 0 ;
39591 int *arg2 = (int *) 0 ;
39592 int *arg3 = (int *) 0 ;
39593 void *argp1 = 0 ;
39594 int res1 = 0 ;
39595 int temp2 ;
39596 int res2 = SWIG_TMPOBJ ;
39597 int temp3 ;
39598 int res3 = SWIG_TMPOBJ ;
39599 PyObject *swig_obj[1] ;
39600
39601 arg2 = &temp2;
39602 arg3 = &temp3;
39603 if (!args) SWIG_fail;
39604 swig_obj[0] = args;
39605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39606 if (!SWIG_IsOK(res1)) {
39607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39608 }
39609 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39610 {
39611 PyThreadState* __tstate = wxPyBeginAllowThreads();
39612 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39613 wxPyEndAllowThreads(__tstate);
39614 if (PyErr_Occurred()) SWIG_fail;
39615 }
39616 resultobj = SWIG_Py_Void();
39617 if (SWIG_IsTmpObj(res2)) {
39618 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39619 } else {
39620 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39621 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39622 }
39623 if (SWIG_IsTmpObj(res3)) {
39624 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39625 } else {
39626 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39627 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39628 }
39629 return resultobj;
39630 fail:
39631 return NULL;
39632 }
39633
39634
39635 SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39636 PyObject *resultobj = 0;
39637 wxPyControl *arg1 = (wxPyControl *) 0 ;
39638 wxSize result;
39639 void *argp1 = 0 ;
39640 int res1 = 0 ;
39641 PyObject *swig_obj[1] ;
39642
39643 if (!args) SWIG_fail;
39644 swig_obj[0] = args;
39645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39646 if (!SWIG_IsOK(res1)) {
39647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39648 }
39649 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39650 {
39651 PyThreadState* __tstate = wxPyBeginAllowThreads();
39652 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39653 wxPyEndAllowThreads(__tstate);
39654 if (PyErr_Occurred()) SWIG_fail;
39655 }
39656 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39657 return resultobj;
39658 fail:
39659 return NULL;
39660 }
39661
39662
39663 SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39664 PyObject *resultobj = 0;
39665 wxPyControl *arg1 = (wxPyControl *) 0 ;
39666 wxSize result;
39667 void *argp1 = 0 ;
39668 int res1 = 0 ;
39669 PyObject *swig_obj[1] ;
39670
39671 if (!args) SWIG_fail;
39672 swig_obj[0] = args;
39673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39674 if (!SWIG_IsOK(res1)) {
39675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39676 }
39677 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39678 {
39679 PyThreadState* __tstate = wxPyBeginAllowThreads();
39680 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39681 wxPyEndAllowThreads(__tstate);
39682 if (PyErr_Occurred()) SWIG_fail;
39683 }
39684 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39685 return resultobj;
39686 fail:
39687 return NULL;
39688 }
39689
39690
39691 SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39692 PyObject *resultobj = 0;
39693 wxPyControl *arg1 = (wxPyControl *) 0 ;
39694 SwigValueWrapper<wxVisualAttributes > result;
39695 void *argp1 = 0 ;
39696 int res1 = 0 ;
39697 PyObject *swig_obj[1] ;
39698
39699 if (!args) SWIG_fail;
39700 swig_obj[0] = args;
39701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39702 if (!SWIG_IsOK(res1)) {
39703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39704 }
39705 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39706 {
39707 PyThreadState* __tstate = wxPyBeginAllowThreads();
39708 result = (arg1)->GetDefaultAttributes();
39709 wxPyEndAllowThreads(__tstate);
39710 if (PyErr_Occurred()) SWIG_fail;
39711 }
39712 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39713 return resultobj;
39714 fail:
39715 return NULL;
39716 }
39717
39718
39719 SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39720 PyObject *resultobj = 0;
39721 wxPyControl *arg1 = (wxPyControl *) 0 ;
39722 void *argp1 = 0 ;
39723 int res1 = 0 ;
39724 PyObject *swig_obj[1] ;
39725
39726 if (!args) SWIG_fail;
39727 swig_obj[0] = args;
39728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39729 if (!SWIG_IsOK(res1)) {
39730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39731 }
39732 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39733 {
39734 PyThreadState* __tstate = wxPyBeginAllowThreads();
39735 (arg1)->OnInternalIdle();
39736 wxPyEndAllowThreads(__tstate);
39737 if (PyErr_Occurred()) SWIG_fail;
39738 }
39739 resultobj = SWIG_Py_Void();
39740 return resultobj;
39741 fail:
39742 return NULL;
39743 }
39744
39745
39746 SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39747 PyObject *obj;
39748 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39749 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39750 return SWIG_Py_Void();
39751 }
39752
39753 SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39754 return SWIG_Python_InitShadowInstance(args);
39755 }
39756
39757 SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39758 PyObject *resultobj = 0;
39759 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39760 int arg2 = (int) 0 ;
39761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39763 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
39764 wxHelpEvent *result = 0 ;
39765 int val1 ;
39766 int ecode1 = 0 ;
39767 int val2 ;
39768 int ecode2 = 0 ;
39769 wxPoint temp3 ;
39770 int val4 ;
39771 int ecode4 = 0 ;
39772 PyObject * obj0 = 0 ;
39773 PyObject * obj1 = 0 ;
39774 PyObject * obj2 = 0 ;
39775 PyObject * obj3 = 0 ;
39776 char * kwnames[] = {
39777 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39778 };
39779
39780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39781 if (obj0) {
39782 ecode1 = SWIG_AsVal_int(obj0, &val1);
39783 if (!SWIG_IsOK(ecode1)) {
39784 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39785 }
39786 arg1 = static_cast< wxEventType >(val1);
39787 }
39788 if (obj1) {
39789 ecode2 = SWIG_AsVal_int(obj1, &val2);
39790 if (!SWIG_IsOK(ecode2)) {
39791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39792 }
39793 arg2 = static_cast< int >(val2);
39794 }
39795 if (obj2) {
39796 {
39797 arg3 = &temp3;
39798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39799 }
39800 }
39801 if (obj3) {
39802 ecode4 = SWIG_AsVal_int(obj3, &val4);
39803 if (!SWIG_IsOK(ecode4)) {
39804 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39805 }
39806 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39807 }
39808 {
39809 PyThreadState* __tstate = wxPyBeginAllowThreads();
39810 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
39811 wxPyEndAllowThreads(__tstate);
39812 if (PyErr_Occurred()) SWIG_fail;
39813 }
39814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39815 return resultobj;
39816 fail:
39817 return NULL;
39818 }
39819
39820
39821 SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39822 PyObject *resultobj = 0;
39823 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39824 wxPoint result;
39825 void *argp1 = 0 ;
39826 int res1 = 0 ;
39827 PyObject *swig_obj[1] ;
39828
39829 if (!args) SWIG_fail;
39830 swig_obj[0] = args;
39831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39832 if (!SWIG_IsOK(res1)) {
39833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39834 }
39835 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39836 {
39837 PyThreadState* __tstate = wxPyBeginAllowThreads();
39838 result = ((wxHelpEvent const *)arg1)->GetPosition();
39839 wxPyEndAllowThreads(__tstate);
39840 if (PyErr_Occurred()) SWIG_fail;
39841 }
39842 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39843 return resultobj;
39844 fail:
39845 return NULL;
39846 }
39847
39848
39849 SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39850 PyObject *resultobj = 0;
39851 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39852 wxPoint *arg2 = 0 ;
39853 void *argp1 = 0 ;
39854 int res1 = 0 ;
39855 wxPoint temp2 ;
39856 PyObject * obj0 = 0 ;
39857 PyObject * obj1 = 0 ;
39858 char * kwnames[] = {
39859 (char *) "self",(char *) "pos", NULL
39860 };
39861
39862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39864 if (!SWIG_IsOK(res1)) {
39865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39866 }
39867 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39868 {
39869 arg2 = &temp2;
39870 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39871 }
39872 {
39873 PyThreadState* __tstate = wxPyBeginAllowThreads();
39874 (arg1)->SetPosition((wxPoint const &)*arg2);
39875 wxPyEndAllowThreads(__tstate);
39876 if (PyErr_Occurred()) SWIG_fail;
39877 }
39878 resultobj = SWIG_Py_Void();
39879 return resultobj;
39880 fail:
39881 return NULL;
39882 }
39883
39884
39885 SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39886 PyObject *resultobj = 0;
39887 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39888 wxString *result = 0 ;
39889 void *argp1 = 0 ;
39890 int res1 = 0 ;
39891 PyObject *swig_obj[1] ;
39892
39893 if (!args) SWIG_fail;
39894 swig_obj[0] = args;
39895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39896 if (!SWIG_IsOK(res1)) {
39897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39898 }
39899 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39900 {
39901 PyThreadState* __tstate = wxPyBeginAllowThreads();
39902 {
39903 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39904 result = (wxString *) &_result_ref;
39905 }
39906 wxPyEndAllowThreads(__tstate);
39907 if (PyErr_Occurred()) SWIG_fail;
39908 }
39909 {
39910 #if wxUSE_UNICODE
39911 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39912 #else
39913 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39914 #endif
39915 }
39916 return resultobj;
39917 fail:
39918 return NULL;
39919 }
39920
39921
39922 SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39923 PyObject *resultobj = 0;
39924 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39925 wxString *arg2 = 0 ;
39926 void *argp1 = 0 ;
39927 int res1 = 0 ;
39928 bool temp2 = false ;
39929 PyObject * obj0 = 0 ;
39930 PyObject * obj1 = 0 ;
39931 char * kwnames[] = {
39932 (char *) "self",(char *) "link", NULL
39933 };
39934
39935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39937 if (!SWIG_IsOK(res1)) {
39938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39939 }
39940 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39941 {
39942 arg2 = wxString_in_helper(obj1);
39943 if (arg2 == NULL) SWIG_fail;
39944 temp2 = true;
39945 }
39946 {
39947 PyThreadState* __tstate = wxPyBeginAllowThreads();
39948 (arg1)->SetLink((wxString const &)*arg2);
39949 wxPyEndAllowThreads(__tstate);
39950 if (PyErr_Occurred()) SWIG_fail;
39951 }
39952 resultobj = SWIG_Py_Void();
39953 {
39954 if (temp2)
39955 delete arg2;
39956 }
39957 return resultobj;
39958 fail:
39959 {
39960 if (temp2)
39961 delete arg2;
39962 }
39963 return NULL;
39964 }
39965
39966
39967 SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39968 PyObject *resultobj = 0;
39969 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39970 wxString *result = 0 ;
39971 void *argp1 = 0 ;
39972 int res1 = 0 ;
39973 PyObject *swig_obj[1] ;
39974
39975 if (!args) SWIG_fail;
39976 swig_obj[0] = args;
39977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39978 if (!SWIG_IsOK(res1)) {
39979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39980 }
39981 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39982 {
39983 PyThreadState* __tstate = wxPyBeginAllowThreads();
39984 {
39985 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39986 result = (wxString *) &_result_ref;
39987 }
39988 wxPyEndAllowThreads(__tstate);
39989 if (PyErr_Occurred()) SWIG_fail;
39990 }
39991 {
39992 #if wxUSE_UNICODE
39993 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39994 #else
39995 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39996 #endif
39997 }
39998 return resultobj;
39999 fail:
40000 return NULL;
40001 }
40002
40003
40004 SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40005 PyObject *resultobj = 0;
40006 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40007 wxString *arg2 = 0 ;
40008 void *argp1 = 0 ;
40009 int res1 = 0 ;
40010 bool temp2 = false ;
40011 PyObject * obj0 = 0 ;
40012 PyObject * obj1 = 0 ;
40013 char * kwnames[] = {
40014 (char *) "self",(char *) "target", NULL
40015 };
40016
40017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
40018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40019 if (!SWIG_IsOK(res1)) {
40020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40021 }
40022 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40023 {
40024 arg2 = wxString_in_helper(obj1);
40025 if (arg2 == NULL) SWIG_fail;
40026 temp2 = true;
40027 }
40028 {
40029 PyThreadState* __tstate = wxPyBeginAllowThreads();
40030 (arg1)->SetTarget((wxString const &)*arg2);
40031 wxPyEndAllowThreads(__tstate);
40032 if (PyErr_Occurred()) SWIG_fail;
40033 }
40034 resultobj = SWIG_Py_Void();
40035 {
40036 if (temp2)
40037 delete arg2;
40038 }
40039 return resultobj;
40040 fail:
40041 {
40042 if (temp2)
40043 delete arg2;
40044 }
40045 return NULL;
40046 }
40047
40048
40049 SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40050 PyObject *resultobj = 0;
40051 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40052 wxHelpEvent::Origin result;
40053 void *argp1 = 0 ;
40054 int res1 = 0 ;
40055 PyObject *swig_obj[1] ;
40056
40057 if (!args) SWIG_fail;
40058 swig_obj[0] = args;
40059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40060 if (!SWIG_IsOK(res1)) {
40061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40062 }
40063 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40064 {
40065 PyThreadState* __tstate = wxPyBeginAllowThreads();
40066 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
40067 wxPyEndAllowThreads(__tstate);
40068 if (PyErr_Occurred()) SWIG_fail;
40069 }
40070 resultobj = SWIG_From_int(static_cast< int >(result));
40071 return resultobj;
40072 fail:
40073 return NULL;
40074 }
40075
40076
40077 SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40078 PyObject *resultobj = 0;
40079 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
40080 wxHelpEvent::Origin arg2 ;
40081 void *argp1 = 0 ;
40082 int res1 = 0 ;
40083 int val2 ;
40084 int ecode2 = 0 ;
40085 PyObject * obj0 = 0 ;
40086 PyObject * obj1 = 0 ;
40087 char * kwnames[] = {
40088 (char *) "self",(char *) "origin", NULL
40089 };
40090
40091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
40092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
40093 if (!SWIG_IsOK(res1)) {
40094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40095 }
40096 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
40097 ecode2 = SWIG_AsVal_int(obj1, &val2);
40098 if (!SWIG_IsOK(ecode2)) {
40099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40100 }
40101 arg2 = static_cast< wxHelpEvent::Origin >(val2);
40102 {
40103 PyThreadState* __tstate = wxPyBeginAllowThreads();
40104 (arg1)->SetOrigin(arg2);
40105 wxPyEndAllowThreads(__tstate);
40106 if (PyErr_Occurred()) SWIG_fail;
40107 }
40108 resultobj = SWIG_Py_Void();
40109 return resultobj;
40110 fail:
40111 return NULL;
40112 }
40113
40114
40115 SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40116 PyObject *obj;
40117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40118 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
40119 return SWIG_Py_Void();
40120 }
40121
40122 SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40123 return SWIG_Python_InitShadowInstance(args);
40124 }
40125
40126 SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40127 PyObject *resultobj = 0;
40128 wxWindow *arg1 = (wxWindow *) NULL ;
40129 bool arg2 = (bool) true ;
40130 wxContextHelp *result = 0 ;
40131 void *argp1 = 0 ;
40132 int res1 = 0 ;
40133 bool val2 ;
40134 int ecode2 = 0 ;
40135 PyObject * obj0 = 0 ;
40136 PyObject * obj1 = 0 ;
40137 char * kwnames[] = {
40138 (char *) "window",(char *) "doNow", NULL
40139 };
40140
40141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40142 if (obj0) {
40143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40144 if (!SWIG_IsOK(res1)) {
40145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40146 }
40147 arg1 = reinterpret_cast< wxWindow * >(argp1);
40148 }
40149 if (obj1) {
40150 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40151 if (!SWIG_IsOK(ecode2)) {
40152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40153 }
40154 arg2 = static_cast< bool >(val2);
40155 }
40156 {
40157 if (!wxPyCheckForApp()) SWIG_fail;
40158 PyThreadState* __tstate = wxPyBeginAllowThreads();
40159 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40160 wxPyEndAllowThreads(__tstate);
40161 if (PyErr_Occurred()) SWIG_fail;
40162 }
40163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40164 return resultobj;
40165 fail:
40166 return NULL;
40167 }
40168
40169
40170 SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40171 PyObject *resultobj = 0;
40172 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40173 void *argp1 = 0 ;
40174 int res1 = 0 ;
40175 PyObject *swig_obj[1] ;
40176
40177 if (!args) SWIG_fail;
40178 swig_obj[0] = args;
40179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40180 if (!SWIG_IsOK(res1)) {
40181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40182 }
40183 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40184 {
40185 PyThreadState* __tstate = wxPyBeginAllowThreads();
40186 delete arg1;
40187
40188 wxPyEndAllowThreads(__tstate);
40189 if (PyErr_Occurred()) SWIG_fail;
40190 }
40191 resultobj = SWIG_Py_Void();
40192 return resultobj;
40193 fail:
40194 return NULL;
40195 }
40196
40197
40198 SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40199 PyObject *resultobj = 0;
40200 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40201 wxWindow *arg2 = (wxWindow *) NULL ;
40202 bool result;
40203 void *argp1 = 0 ;
40204 int res1 = 0 ;
40205 void *argp2 = 0 ;
40206 int res2 = 0 ;
40207 PyObject * obj0 = 0 ;
40208 PyObject * obj1 = 0 ;
40209 char * kwnames[] = {
40210 (char *) "self",(char *) "window", NULL
40211 };
40212
40213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40215 if (!SWIG_IsOK(res1)) {
40216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40217 }
40218 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40219 if (obj1) {
40220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40221 if (!SWIG_IsOK(res2)) {
40222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40223 }
40224 arg2 = reinterpret_cast< wxWindow * >(argp2);
40225 }
40226 {
40227 PyThreadState* __tstate = wxPyBeginAllowThreads();
40228 result = (bool)(arg1)->BeginContextHelp(arg2);
40229 wxPyEndAllowThreads(__tstate);
40230 if (PyErr_Occurred()) SWIG_fail;
40231 }
40232 {
40233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40234 }
40235 return resultobj;
40236 fail:
40237 return NULL;
40238 }
40239
40240
40241 SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40242 PyObject *resultobj = 0;
40243 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40244 bool result;
40245 void *argp1 = 0 ;
40246 int res1 = 0 ;
40247 PyObject *swig_obj[1] ;
40248
40249 if (!args) SWIG_fail;
40250 swig_obj[0] = args;
40251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40252 if (!SWIG_IsOK(res1)) {
40253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40254 }
40255 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40256 {
40257 PyThreadState* __tstate = wxPyBeginAllowThreads();
40258 result = (bool)(arg1)->EndContextHelp();
40259 wxPyEndAllowThreads(__tstate);
40260 if (PyErr_Occurred()) SWIG_fail;
40261 }
40262 {
40263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40264 }
40265 return resultobj;
40266 fail:
40267 return NULL;
40268 }
40269
40270
40271 SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40272 PyObject *obj;
40273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40274 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40275 return SWIG_Py_Void();
40276 }
40277
40278 SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40279 return SWIG_Python_InitShadowInstance(args);
40280 }
40281
40282 SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40283 PyObject *resultobj = 0;
40284 wxWindow *arg1 = (wxWindow *) 0 ;
40285 int arg2 = (int) wxID_CONTEXT_HELP ;
40286 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40287 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40288 wxSize const &arg4_defvalue = wxDefaultSize ;
40289 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40290 long arg5 = (long) wxBU_AUTODRAW ;
40291 wxContextHelpButton *result = 0 ;
40292 void *argp1 = 0 ;
40293 int res1 = 0 ;
40294 int val2 ;
40295 int ecode2 = 0 ;
40296 wxPoint temp3 ;
40297 wxSize temp4 ;
40298 long val5 ;
40299 int ecode5 = 0 ;
40300 PyObject * obj0 = 0 ;
40301 PyObject * obj1 = 0 ;
40302 PyObject * obj2 = 0 ;
40303 PyObject * obj3 = 0 ;
40304 PyObject * obj4 = 0 ;
40305 char * kwnames[] = {
40306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40307 };
40308
40309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40311 if (!SWIG_IsOK(res1)) {
40312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40313 }
40314 arg1 = reinterpret_cast< wxWindow * >(argp1);
40315 if (obj1) {
40316 ecode2 = SWIG_AsVal_int(obj1, &val2);
40317 if (!SWIG_IsOK(ecode2)) {
40318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40319 }
40320 arg2 = static_cast< int >(val2);
40321 }
40322 if (obj2) {
40323 {
40324 arg3 = &temp3;
40325 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40326 }
40327 }
40328 if (obj3) {
40329 {
40330 arg4 = &temp4;
40331 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
40332 }
40333 }
40334 if (obj4) {
40335 ecode5 = SWIG_AsVal_long(obj4, &val5);
40336 if (!SWIG_IsOK(ecode5)) {
40337 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40338 }
40339 arg5 = static_cast< long >(val5);
40340 }
40341 {
40342 if (!wxPyCheckForApp()) SWIG_fail;
40343 PyThreadState* __tstate = wxPyBeginAllowThreads();
40344 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40345 wxPyEndAllowThreads(__tstate);
40346 if (PyErr_Occurred()) SWIG_fail;
40347 }
40348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40349 return resultobj;
40350 fail:
40351 return NULL;
40352 }
40353
40354
40355 SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40356 PyObject *obj;
40357 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40358 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40359 return SWIG_Py_Void();
40360 }
40361
40362 SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40363 return SWIG_Python_InitShadowInstance(args);
40364 }
40365
40366 SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40367 PyObject *resultobj = 0;
40368 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40369 void *argp1 = 0 ;
40370 int res1 = 0 ;
40371 PyObject *swig_obj[1] ;
40372
40373 if (!args) SWIG_fail;
40374 swig_obj[0] = args;
40375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40376 if (!SWIG_IsOK(res1)) {
40377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40378 }
40379 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40380 {
40381 PyThreadState* __tstate = wxPyBeginAllowThreads();
40382 delete arg1;
40383
40384 wxPyEndAllowThreads(__tstate);
40385 if (PyErr_Occurred()) SWIG_fail;
40386 }
40387 resultobj = SWIG_Py_Void();
40388 return resultobj;
40389 fail:
40390 return NULL;
40391 }
40392
40393
40394 SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40395 PyObject *resultobj = 0;
40396 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40397 wxHelpProvider *result = 0 ;
40398 int res1 = 0 ;
40399 PyObject * obj0 = 0 ;
40400 char * kwnames[] = {
40401 (char *) "helpProvider", NULL
40402 };
40403
40404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40405 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40406 if (!SWIG_IsOK(res1)) {
40407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40408 }
40409 {
40410 PyThreadState* __tstate = wxPyBeginAllowThreads();
40411 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40412 wxPyEndAllowThreads(__tstate);
40413 if (PyErr_Occurred()) SWIG_fail;
40414 }
40415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40416 return resultobj;
40417 fail:
40418 return NULL;
40419 }
40420
40421
40422 SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40423 PyObject *resultobj = 0;
40424 wxHelpProvider *result = 0 ;
40425
40426 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40427 {
40428 PyThreadState* __tstate = wxPyBeginAllowThreads();
40429 result = (wxHelpProvider *)wxHelpProvider::Get();
40430 wxPyEndAllowThreads(__tstate);
40431 if (PyErr_Occurred()) SWIG_fail;
40432 }
40433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40434 return resultobj;
40435 fail:
40436 return NULL;
40437 }
40438
40439
40440 SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40441 PyObject *resultobj = 0;
40442 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40443 wxWindow *arg2 = (wxWindow *) 0 ;
40444 wxString result;
40445 void *argp1 = 0 ;
40446 int res1 = 0 ;
40447 void *argp2 = 0 ;
40448 int res2 = 0 ;
40449 PyObject * obj0 = 0 ;
40450 PyObject * obj1 = 0 ;
40451 char * kwnames[] = {
40452 (char *) "self",(char *) "window", NULL
40453 };
40454
40455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40457 if (!SWIG_IsOK(res1)) {
40458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40459 }
40460 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40461 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40462 if (!SWIG_IsOK(res2)) {
40463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40464 }
40465 arg2 = reinterpret_cast< wxWindow * >(argp2);
40466 {
40467 PyThreadState* __tstate = wxPyBeginAllowThreads();
40468 result = (arg1)->GetHelp((wxWindow const *)arg2);
40469 wxPyEndAllowThreads(__tstate);
40470 if (PyErr_Occurred()) SWIG_fail;
40471 }
40472 {
40473 #if wxUSE_UNICODE
40474 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40475 #else
40476 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40477 #endif
40478 }
40479 return resultobj;
40480 fail:
40481 return NULL;
40482 }
40483
40484
40485 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40486 PyObject *resultobj = 0;
40487 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40488 wxWindow *arg2 = (wxWindow *) 0 ;
40489 bool result;
40490 void *argp1 = 0 ;
40491 int res1 = 0 ;
40492 void *argp2 = 0 ;
40493 int res2 = 0 ;
40494 PyObject * obj0 = 0 ;
40495 PyObject * obj1 = 0 ;
40496 char * kwnames[] = {
40497 (char *) "self",(char *) "window", NULL
40498 };
40499
40500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40502 if (!SWIG_IsOK(res1)) {
40503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40504 }
40505 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40507 if (!SWIG_IsOK(res2)) {
40508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40509 }
40510 arg2 = reinterpret_cast< wxWindow * >(argp2);
40511 {
40512 PyThreadState* __tstate = wxPyBeginAllowThreads();
40513 result = (bool)(arg1)->ShowHelp(arg2);
40514 wxPyEndAllowThreads(__tstate);
40515 if (PyErr_Occurred()) SWIG_fail;
40516 }
40517 {
40518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40519 }
40520 return resultobj;
40521 fail:
40522 return NULL;
40523 }
40524
40525
40526 SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40527 PyObject *resultobj = 0;
40528 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40529 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40530 wxPoint *arg3 = 0 ;
40531 wxHelpEvent::Origin arg4 ;
40532 bool result;
40533 void *argp1 = 0 ;
40534 int res1 = 0 ;
40535 void *argp2 = 0 ;
40536 int res2 = 0 ;
40537 wxPoint temp3 ;
40538 int val4 ;
40539 int ecode4 = 0 ;
40540 PyObject * obj0 = 0 ;
40541 PyObject * obj1 = 0 ;
40542 PyObject * obj2 = 0 ;
40543 PyObject * obj3 = 0 ;
40544 char * kwnames[] = {
40545 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40546 };
40547
40548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40550 if (!SWIG_IsOK(res1)) {
40551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40552 }
40553 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40554 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40555 if (!SWIG_IsOK(res2)) {
40556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40557 }
40558 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40559 {
40560 arg3 = &temp3;
40561 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40562 }
40563 ecode4 = SWIG_AsVal_int(obj3, &val4);
40564 if (!SWIG_IsOK(ecode4)) {
40565 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40566 }
40567 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40568 {
40569 PyThreadState* __tstate = wxPyBeginAllowThreads();
40570 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40571 wxPyEndAllowThreads(__tstate);
40572 if (PyErr_Occurred()) SWIG_fail;
40573 }
40574 {
40575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40576 }
40577 return resultobj;
40578 fail:
40579 return NULL;
40580 }
40581
40582
40583 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40584 PyObject *resultobj = 0;
40585 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40586 wxWindow *arg2 = (wxWindow *) 0 ;
40587 wxString *arg3 = 0 ;
40588 void *argp1 = 0 ;
40589 int res1 = 0 ;
40590 void *argp2 = 0 ;
40591 int res2 = 0 ;
40592 bool temp3 = false ;
40593 PyObject * obj0 = 0 ;
40594 PyObject * obj1 = 0 ;
40595 PyObject * obj2 = 0 ;
40596 char * kwnames[] = {
40597 (char *) "self",(char *) "window",(char *) "text", NULL
40598 };
40599
40600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40602 if (!SWIG_IsOK(res1)) {
40603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40604 }
40605 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40606 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40607 if (!SWIG_IsOK(res2)) {
40608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40609 }
40610 arg2 = reinterpret_cast< wxWindow * >(argp2);
40611 {
40612 arg3 = wxString_in_helper(obj2);
40613 if (arg3 == NULL) SWIG_fail;
40614 temp3 = true;
40615 }
40616 {
40617 PyThreadState* __tstate = wxPyBeginAllowThreads();
40618 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40619 wxPyEndAllowThreads(__tstate);
40620 if (PyErr_Occurred()) SWIG_fail;
40621 }
40622 resultobj = SWIG_Py_Void();
40623 {
40624 if (temp3)
40625 delete arg3;
40626 }
40627 return resultobj;
40628 fail:
40629 {
40630 if (temp3)
40631 delete arg3;
40632 }
40633 return NULL;
40634 }
40635
40636
40637 SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40638 PyObject *resultobj = 0;
40639 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40640 int arg2 ;
40641 wxString *arg3 = 0 ;
40642 void *argp1 = 0 ;
40643 int res1 = 0 ;
40644 int val2 ;
40645 int ecode2 = 0 ;
40646 bool temp3 = false ;
40647 PyObject * obj0 = 0 ;
40648 PyObject * obj1 = 0 ;
40649 PyObject * obj2 = 0 ;
40650 char * kwnames[] = {
40651 (char *) "self",(char *) "id",(char *) "text", NULL
40652 };
40653
40654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40656 if (!SWIG_IsOK(res1)) {
40657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40658 }
40659 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40660 ecode2 = SWIG_AsVal_int(obj1, &val2);
40661 if (!SWIG_IsOK(ecode2)) {
40662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40663 }
40664 arg2 = static_cast< int >(val2);
40665 {
40666 arg3 = wxString_in_helper(obj2);
40667 if (arg3 == NULL) SWIG_fail;
40668 temp3 = true;
40669 }
40670 {
40671 PyThreadState* __tstate = wxPyBeginAllowThreads();
40672 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40673 wxPyEndAllowThreads(__tstate);
40674 if (PyErr_Occurred()) SWIG_fail;
40675 }
40676 resultobj = SWIG_Py_Void();
40677 {
40678 if (temp3)
40679 delete arg3;
40680 }
40681 return resultobj;
40682 fail:
40683 {
40684 if (temp3)
40685 delete arg3;
40686 }
40687 return NULL;
40688 }
40689
40690
40691 SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40692 PyObject *resultobj = 0;
40693 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40694 wxWindow *arg2 = (wxWindow *) 0 ;
40695 void *argp1 = 0 ;
40696 int res1 = 0 ;
40697 void *argp2 = 0 ;
40698 int res2 = 0 ;
40699 PyObject * obj0 = 0 ;
40700 PyObject * obj1 = 0 ;
40701 char * kwnames[] = {
40702 (char *) "self",(char *) "window", NULL
40703 };
40704
40705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40707 if (!SWIG_IsOK(res1)) {
40708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40709 }
40710 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40712 if (!SWIG_IsOK(res2)) {
40713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40714 }
40715 arg2 = reinterpret_cast< wxWindow * >(argp2);
40716 {
40717 PyThreadState* __tstate = wxPyBeginAllowThreads();
40718 (arg1)->RemoveHelp(arg2);
40719 wxPyEndAllowThreads(__tstate);
40720 if (PyErr_Occurred()) SWIG_fail;
40721 }
40722 resultobj = SWIG_Py_Void();
40723 return resultobj;
40724 fail:
40725 return NULL;
40726 }
40727
40728
40729 SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40730 PyObject *resultobj = 0;
40731 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40732 void *argp1 = 0 ;
40733 int res1 = 0 ;
40734 PyObject *swig_obj[1] ;
40735
40736 if (!args) SWIG_fail;
40737 swig_obj[0] = args;
40738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40739 if (!SWIG_IsOK(res1)) {
40740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40741 }
40742 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40743 {
40744 PyThreadState* __tstate = wxPyBeginAllowThreads();
40745 wxHelpProvider_Destroy(arg1);
40746 wxPyEndAllowThreads(__tstate);
40747 if (PyErr_Occurred()) SWIG_fail;
40748 }
40749 resultobj = SWIG_Py_Void();
40750 return resultobj;
40751 fail:
40752 return NULL;
40753 }
40754
40755
40756 SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40757 PyObject *obj;
40758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40759 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40760 return SWIG_Py_Void();
40761 }
40762
40763 SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40764 PyObject *resultobj = 0;
40765 wxSimpleHelpProvider *result = 0 ;
40766
40767 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40768 {
40769 PyThreadState* __tstate = wxPyBeginAllowThreads();
40770 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40771 wxPyEndAllowThreads(__tstate);
40772 if (PyErr_Occurred()) SWIG_fail;
40773 }
40774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40775 return resultobj;
40776 fail:
40777 return NULL;
40778 }
40779
40780
40781 SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40782 PyObject *obj;
40783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40784 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40785 return SWIG_Py_Void();
40786 }
40787
40788 SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40789 return SWIG_Python_InitShadowInstance(args);
40790 }
40791
40792 SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40793 PyObject *resultobj = 0;
40794 wxBitmap *arg1 = 0 ;
40795 wxCursor const &arg2_defvalue = wxNullCursor ;
40796 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40797 wxGenericDragImage *result = 0 ;
40798 void *argp1 = 0 ;
40799 int res1 = 0 ;
40800 void *argp2 = 0 ;
40801 int res2 = 0 ;
40802 PyObject * obj0 = 0 ;
40803 PyObject * obj1 = 0 ;
40804 char * kwnames[] = {
40805 (char *) "image",(char *) "cursor", NULL
40806 };
40807
40808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40809 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40810 if (!SWIG_IsOK(res1)) {
40811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40812 }
40813 if (!argp1) {
40814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40815 }
40816 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40817 if (obj1) {
40818 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40819 if (!SWIG_IsOK(res2)) {
40820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40821 }
40822 if (!argp2) {
40823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40824 }
40825 arg2 = reinterpret_cast< wxCursor * >(argp2);
40826 }
40827 {
40828 if (!wxPyCheckForApp()) SWIG_fail;
40829 PyThreadState* __tstate = wxPyBeginAllowThreads();
40830 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40831 wxPyEndAllowThreads(__tstate);
40832 if (PyErr_Occurred()) SWIG_fail;
40833 }
40834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40835 return resultobj;
40836 fail:
40837 return NULL;
40838 }
40839
40840
40841 SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40842 PyObject *resultobj = 0;
40843 wxIcon *arg1 = 0 ;
40844 wxCursor const &arg2_defvalue = wxNullCursor ;
40845 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40846 wxGenericDragImage *result = 0 ;
40847 void *argp1 = 0 ;
40848 int res1 = 0 ;
40849 void *argp2 = 0 ;
40850 int res2 = 0 ;
40851 PyObject * obj0 = 0 ;
40852 PyObject * obj1 = 0 ;
40853 char * kwnames[] = {
40854 (char *) "image",(char *) "cursor", NULL
40855 };
40856
40857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40858 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40859 if (!SWIG_IsOK(res1)) {
40860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40861 }
40862 if (!argp1) {
40863 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40864 }
40865 arg1 = reinterpret_cast< wxIcon * >(argp1);
40866 if (obj1) {
40867 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40868 if (!SWIG_IsOK(res2)) {
40869 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40870 }
40871 if (!argp2) {
40872 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40873 }
40874 arg2 = reinterpret_cast< wxCursor * >(argp2);
40875 }
40876 {
40877 if (!wxPyCheckForApp()) SWIG_fail;
40878 PyThreadState* __tstate = wxPyBeginAllowThreads();
40879 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40880 wxPyEndAllowThreads(__tstate);
40881 if (PyErr_Occurred()) SWIG_fail;
40882 }
40883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40884 return resultobj;
40885 fail:
40886 return NULL;
40887 }
40888
40889
40890 SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40891 PyObject *resultobj = 0;
40892 wxString *arg1 = 0 ;
40893 wxCursor const &arg2_defvalue = wxNullCursor ;
40894 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40895 wxGenericDragImage *result = 0 ;
40896 bool temp1 = false ;
40897 void *argp2 = 0 ;
40898 int res2 = 0 ;
40899 PyObject * obj0 = 0 ;
40900 PyObject * obj1 = 0 ;
40901 char * kwnames[] = {
40902 (char *) "str",(char *) "cursor", NULL
40903 };
40904
40905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40906 {
40907 arg1 = wxString_in_helper(obj0);
40908 if (arg1 == NULL) SWIG_fail;
40909 temp1 = true;
40910 }
40911 if (obj1) {
40912 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40913 if (!SWIG_IsOK(res2)) {
40914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40915 }
40916 if (!argp2) {
40917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40918 }
40919 arg2 = reinterpret_cast< wxCursor * >(argp2);
40920 }
40921 {
40922 if (!wxPyCheckForApp()) SWIG_fail;
40923 PyThreadState* __tstate = wxPyBeginAllowThreads();
40924 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40925 wxPyEndAllowThreads(__tstate);
40926 if (PyErr_Occurred()) SWIG_fail;
40927 }
40928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40929 {
40930 if (temp1)
40931 delete arg1;
40932 }
40933 return resultobj;
40934 fail:
40935 {
40936 if (temp1)
40937 delete arg1;
40938 }
40939 return NULL;
40940 }
40941
40942
40943 SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40944 PyObject *resultobj = 0;
40945 wxPyTreeCtrl *arg1 = 0 ;
40946 wxTreeItemId *arg2 = 0 ;
40947 wxGenericDragImage *result = 0 ;
40948 void *argp1 = 0 ;
40949 int res1 = 0 ;
40950 void *argp2 = 0 ;
40951 int res2 = 0 ;
40952 PyObject * obj0 = 0 ;
40953 PyObject * obj1 = 0 ;
40954 char * kwnames[] = {
40955 (char *) "treeCtrl",(char *) "id", NULL
40956 };
40957
40958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40959 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40960 if (!SWIG_IsOK(res1)) {
40961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40962 }
40963 if (!argp1) {
40964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40965 }
40966 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40967 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40968 if (!SWIG_IsOK(res2)) {
40969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40970 }
40971 if (!argp2) {
40972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40973 }
40974 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40975 {
40976 if (!wxPyCheckForApp()) SWIG_fail;
40977 PyThreadState* __tstate = wxPyBeginAllowThreads();
40978 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40979 wxPyEndAllowThreads(__tstate);
40980 if (PyErr_Occurred()) SWIG_fail;
40981 }
40982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40983 return resultobj;
40984 fail:
40985 return NULL;
40986 }
40987
40988
40989 SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40990 PyObject *resultobj = 0;
40991 wxPyListCtrl *arg1 = 0 ;
40992 long arg2 ;
40993 wxGenericDragImage *result = 0 ;
40994 void *argp1 = 0 ;
40995 int res1 = 0 ;
40996 long val2 ;
40997 int ecode2 = 0 ;
40998 PyObject * obj0 = 0 ;
40999 PyObject * obj1 = 0 ;
41000 char * kwnames[] = {
41001 (char *) "listCtrl",(char *) "id", NULL
41002 };
41003
41004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
41005 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
41006 if (!SWIG_IsOK(res1)) {
41007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41008 }
41009 if (!argp1) {
41010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41011 }
41012 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
41013 ecode2 = SWIG_AsVal_long(obj1, &val2);
41014 if (!SWIG_IsOK(ecode2)) {
41015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41016 }
41017 arg2 = static_cast< long >(val2);
41018 {
41019 if (!wxPyCheckForApp()) SWIG_fail;
41020 PyThreadState* __tstate = wxPyBeginAllowThreads();
41021 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
41022 wxPyEndAllowThreads(__tstate);
41023 if (PyErr_Occurred()) SWIG_fail;
41024 }
41025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
41026 return resultobj;
41027 fail:
41028 return NULL;
41029 }
41030
41031
41032 SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41033 PyObject *resultobj = 0;
41034 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41035 void *argp1 = 0 ;
41036 int res1 = 0 ;
41037 PyObject *swig_obj[1] ;
41038
41039 if (!args) SWIG_fail;
41040 swig_obj[0] = args;
41041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
41042 if (!SWIG_IsOK(res1)) {
41043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41044 }
41045 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41046 {
41047 PyThreadState* __tstate = wxPyBeginAllowThreads();
41048 delete arg1;
41049
41050 wxPyEndAllowThreads(__tstate);
41051 if (PyErr_Occurred()) SWIG_fail;
41052 }
41053 resultobj = SWIG_Py_Void();
41054 return resultobj;
41055 fail:
41056 return NULL;
41057 }
41058
41059
41060 SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41061 PyObject *resultobj = 0;
41062 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41063 wxBitmap *arg2 = (wxBitmap *) 0 ;
41064 void *argp1 = 0 ;
41065 int res1 = 0 ;
41066 void *argp2 = 0 ;
41067 int res2 = 0 ;
41068 PyObject * obj0 = 0 ;
41069 PyObject * obj1 = 0 ;
41070 char * kwnames[] = {
41071 (char *) "self",(char *) "bitmap", NULL
41072 };
41073
41074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
41075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41076 if (!SWIG_IsOK(res1)) {
41077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41078 }
41079 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
41081 if (!SWIG_IsOK(res2)) {
41082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41083 }
41084 arg2 = reinterpret_cast< wxBitmap * >(argp2);
41085 {
41086 PyThreadState* __tstate = wxPyBeginAllowThreads();
41087 (arg1)->SetBackingBitmap(arg2);
41088 wxPyEndAllowThreads(__tstate);
41089 if (PyErr_Occurred()) SWIG_fail;
41090 }
41091 resultobj = SWIG_Py_Void();
41092 return resultobj;
41093 fail:
41094 return NULL;
41095 }
41096
41097
41098 SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41099 PyObject *resultobj = 0;
41100 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41101 wxPoint *arg2 = 0 ;
41102 wxWindow *arg3 = (wxWindow *) 0 ;
41103 bool arg4 = (bool) false ;
41104 wxRect *arg5 = (wxRect *) NULL ;
41105 bool result;
41106 void *argp1 = 0 ;
41107 int res1 = 0 ;
41108 wxPoint temp2 ;
41109 void *argp3 = 0 ;
41110 int res3 = 0 ;
41111 bool val4 ;
41112 int ecode4 = 0 ;
41113 void *argp5 = 0 ;
41114 int res5 = 0 ;
41115 PyObject * obj0 = 0 ;
41116 PyObject * obj1 = 0 ;
41117 PyObject * obj2 = 0 ;
41118 PyObject * obj3 = 0 ;
41119 PyObject * obj4 = 0 ;
41120 char * kwnames[] = {
41121 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41122 };
41123
41124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41126 if (!SWIG_IsOK(res1)) {
41127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41128 }
41129 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41130 {
41131 arg2 = &temp2;
41132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41133 }
41134 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41135 if (!SWIG_IsOK(res3)) {
41136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41137 }
41138 arg3 = reinterpret_cast< wxWindow * >(argp3);
41139 if (obj3) {
41140 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41141 if (!SWIG_IsOK(ecode4)) {
41142 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41143 }
41144 arg4 = static_cast< bool >(val4);
41145 }
41146 if (obj4) {
41147 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41148 if (!SWIG_IsOK(res5)) {
41149 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41150 }
41151 arg5 = reinterpret_cast< wxRect * >(argp5);
41152 }
41153 {
41154 PyThreadState* __tstate = wxPyBeginAllowThreads();
41155 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41156 wxPyEndAllowThreads(__tstate);
41157 if (PyErr_Occurred()) SWIG_fail;
41158 }
41159 {
41160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41161 }
41162 return resultobj;
41163 fail:
41164 return NULL;
41165 }
41166
41167
41168 SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41169 PyObject *resultobj = 0;
41170 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41171 wxPoint *arg2 = 0 ;
41172 wxWindow *arg3 = (wxWindow *) 0 ;
41173 wxWindow *arg4 = (wxWindow *) 0 ;
41174 bool result;
41175 void *argp1 = 0 ;
41176 int res1 = 0 ;
41177 wxPoint temp2 ;
41178 void *argp3 = 0 ;
41179 int res3 = 0 ;
41180 void *argp4 = 0 ;
41181 int res4 = 0 ;
41182 PyObject * obj0 = 0 ;
41183 PyObject * obj1 = 0 ;
41184 PyObject * obj2 = 0 ;
41185 PyObject * obj3 = 0 ;
41186 char * kwnames[] = {
41187 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41188 };
41189
41190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41192 if (!SWIG_IsOK(res1)) {
41193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41194 }
41195 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41196 {
41197 arg2 = &temp2;
41198 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41199 }
41200 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41201 if (!SWIG_IsOK(res3)) {
41202 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41203 }
41204 arg3 = reinterpret_cast< wxWindow * >(argp3);
41205 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41206 if (!SWIG_IsOK(res4)) {
41207 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41208 }
41209 arg4 = reinterpret_cast< wxWindow * >(argp4);
41210 {
41211 PyThreadState* __tstate = wxPyBeginAllowThreads();
41212 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41213 wxPyEndAllowThreads(__tstate);
41214 if (PyErr_Occurred()) SWIG_fail;
41215 }
41216 {
41217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41218 }
41219 return resultobj;
41220 fail:
41221 return NULL;
41222 }
41223
41224
41225 SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41226 PyObject *resultobj = 0;
41227 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41228 bool result;
41229 void *argp1 = 0 ;
41230 int res1 = 0 ;
41231 PyObject *swig_obj[1] ;
41232
41233 if (!args) SWIG_fail;
41234 swig_obj[0] = args;
41235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41236 if (!SWIG_IsOK(res1)) {
41237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41238 }
41239 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41240 {
41241 PyThreadState* __tstate = wxPyBeginAllowThreads();
41242 result = (bool)(arg1)->EndDrag();
41243 wxPyEndAllowThreads(__tstate);
41244 if (PyErr_Occurred()) SWIG_fail;
41245 }
41246 {
41247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41248 }
41249 return resultobj;
41250 fail:
41251 return NULL;
41252 }
41253
41254
41255 SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41256 PyObject *resultobj = 0;
41257 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41258 wxPoint *arg2 = 0 ;
41259 bool result;
41260 void *argp1 = 0 ;
41261 int res1 = 0 ;
41262 wxPoint temp2 ;
41263 PyObject * obj0 = 0 ;
41264 PyObject * obj1 = 0 ;
41265 char * kwnames[] = {
41266 (char *) "self",(char *) "pt", NULL
41267 };
41268
41269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41271 if (!SWIG_IsOK(res1)) {
41272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41273 }
41274 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41275 {
41276 arg2 = &temp2;
41277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41278 }
41279 {
41280 PyThreadState* __tstate = wxPyBeginAllowThreads();
41281 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41282 wxPyEndAllowThreads(__tstate);
41283 if (PyErr_Occurred()) SWIG_fail;
41284 }
41285 {
41286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41287 }
41288 return resultobj;
41289 fail:
41290 return NULL;
41291 }
41292
41293
41294 SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41295 PyObject *resultobj = 0;
41296 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41297 bool result;
41298 void *argp1 = 0 ;
41299 int res1 = 0 ;
41300 PyObject *swig_obj[1] ;
41301
41302 if (!args) SWIG_fail;
41303 swig_obj[0] = args;
41304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41305 if (!SWIG_IsOK(res1)) {
41306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41307 }
41308 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41309 {
41310 PyThreadState* __tstate = wxPyBeginAllowThreads();
41311 result = (bool)(arg1)->Show();
41312 wxPyEndAllowThreads(__tstate);
41313 if (PyErr_Occurred()) SWIG_fail;
41314 }
41315 {
41316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41317 }
41318 return resultobj;
41319 fail:
41320 return NULL;
41321 }
41322
41323
41324 SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41325 PyObject *resultobj = 0;
41326 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41327 bool result;
41328 void *argp1 = 0 ;
41329 int res1 = 0 ;
41330 PyObject *swig_obj[1] ;
41331
41332 if (!args) SWIG_fail;
41333 swig_obj[0] = args;
41334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41335 if (!SWIG_IsOK(res1)) {
41336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41337 }
41338 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41339 {
41340 PyThreadState* __tstate = wxPyBeginAllowThreads();
41341 result = (bool)(arg1)->Hide();
41342 wxPyEndAllowThreads(__tstate);
41343 if (PyErr_Occurred()) SWIG_fail;
41344 }
41345 {
41346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41347 }
41348 return resultobj;
41349 fail:
41350 return NULL;
41351 }
41352
41353
41354 SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41355 PyObject *resultobj = 0;
41356 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41357 wxPoint *arg2 = 0 ;
41358 wxRect result;
41359 void *argp1 = 0 ;
41360 int res1 = 0 ;
41361 wxPoint temp2 ;
41362 PyObject * obj0 = 0 ;
41363 PyObject * obj1 = 0 ;
41364 char * kwnames[] = {
41365 (char *) "self",(char *) "pos", NULL
41366 };
41367
41368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41370 if (!SWIG_IsOK(res1)) {
41371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41372 }
41373 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41374 {
41375 arg2 = &temp2;
41376 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41377 }
41378 {
41379 PyThreadState* __tstate = wxPyBeginAllowThreads();
41380 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41381 wxPyEndAllowThreads(__tstate);
41382 if (PyErr_Occurred()) SWIG_fail;
41383 }
41384 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41385 return resultobj;
41386 fail:
41387 return NULL;
41388 }
41389
41390
41391 SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41392 PyObject *resultobj = 0;
41393 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41394 wxDC *arg2 = 0 ;
41395 wxPoint *arg3 = 0 ;
41396 bool result;
41397 void *argp1 = 0 ;
41398 int res1 = 0 ;
41399 void *argp2 = 0 ;
41400 int res2 = 0 ;
41401 wxPoint temp3 ;
41402 PyObject * obj0 = 0 ;
41403 PyObject * obj1 = 0 ;
41404 PyObject * obj2 = 0 ;
41405 char * kwnames[] = {
41406 (char *) "self",(char *) "dc",(char *) "pos", NULL
41407 };
41408
41409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41411 if (!SWIG_IsOK(res1)) {
41412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41413 }
41414 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41416 if (!SWIG_IsOK(res2)) {
41417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41418 }
41419 if (!argp2) {
41420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41421 }
41422 arg2 = reinterpret_cast< wxDC * >(argp2);
41423 {
41424 arg3 = &temp3;
41425 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41426 }
41427 {
41428 PyThreadState* __tstate = wxPyBeginAllowThreads();
41429 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41430 wxPyEndAllowThreads(__tstate);
41431 if (PyErr_Occurred()) SWIG_fail;
41432 }
41433 {
41434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41435 }
41436 return resultobj;
41437 fail:
41438 return NULL;
41439 }
41440
41441
41442 SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41443 PyObject *resultobj = 0;
41444 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41445 wxDC *arg2 = 0 ;
41446 wxMemoryDC *arg3 = 0 ;
41447 wxRect *arg4 = 0 ;
41448 wxRect *arg5 = 0 ;
41449 bool result;
41450 void *argp1 = 0 ;
41451 int res1 = 0 ;
41452 void *argp2 = 0 ;
41453 int res2 = 0 ;
41454 void *argp3 = 0 ;
41455 int res3 = 0 ;
41456 wxRect temp4 ;
41457 wxRect temp5 ;
41458 PyObject * obj0 = 0 ;
41459 PyObject * obj1 = 0 ;
41460 PyObject * obj2 = 0 ;
41461 PyObject * obj3 = 0 ;
41462 PyObject * obj4 = 0 ;
41463 char * kwnames[] = {
41464 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41465 };
41466
41467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41469 if (!SWIG_IsOK(res1)) {
41470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41471 }
41472 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41474 if (!SWIG_IsOK(res2)) {
41475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41476 }
41477 if (!argp2) {
41478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41479 }
41480 arg2 = reinterpret_cast< wxDC * >(argp2);
41481 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41482 if (!SWIG_IsOK(res3)) {
41483 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41484 }
41485 if (!argp3) {
41486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41487 }
41488 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41489 {
41490 arg4 = &temp4;
41491 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41492 }
41493 {
41494 arg5 = &temp5;
41495 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41496 }
41497 {
41498 PyThreadState* __tstate = wxPyBeginAllowThreads();
41499 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41500 wxPyEndAllowThreads(__tstate);
41501 if (PyErr_Occurred()) SWIG_fail;
41502 }
41503 {
41504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41505 }
41506 return resultobj;
41507 fail:
41508 return NULL;
41509 }
41510
41511
41512 SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41513 PyObject *resultobj = 0;
41514 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41515 wxPoint *arg2 = 0 ;
41516 wxPoint *arg3 = 0 ;
41517 bool arg4 ;
41518 bool arg5 ;
41519 bool result;
41520 void *argp1 = 0 ;
41521 int res1 = 0 ;
41522 wxPoint temp2 ;
41523 wxPoint temp3 ;
41524 bool val4 ;
41525 int ecode4 = 0 ;
41526 bool val5 ;
41527 int ecode5 = 0 ;
41528 PyObject * obj0 = 0 ;
41529 PyObject * obj1 = 0 ;
41530 PyObject * obj2 = 0 ;
41531 PyObject * obj3 = 0 ;
41532 PyObject * obj4 = 0 ;
41533 char * kwnames[] = {
41534 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41535 };
41536
41537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41539 if (!SWIG_IsOK(res1)) {
41540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41541 }
41542 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41543 {
41544 arg2 = &temp2;
41545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41546 }
41547 {
41548 arg3 = &temp3;
41549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41550 }
41551 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41552 if (!SWIG_IsOK(ecode4)) {
41553 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41554 }
41555 arg4 = static_cast< bool >(val4);
41556 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41557 if (!SWIG_IsOK(ecode5)) {
41558 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41559 }
41560 arg5 = static_cast< bool >(val5);
41561 {
41562 PyThreadState* __tstate = wxPyBeginAllowThreads();
41563 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41564 wxPyEndAllowThreads(__tstate);
41565 if (PyErr_Occurred()) SWIG_fail;
41566 }
41567 {
41568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41569 }
41570 return resultobj;
41571 fail:
41572 return NULL;
41573 }
41574
41575
41576 SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41577 PyObject *obj;
41578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41579 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41580 return SWIG_Py_Void();
41581 }
41582
41583 SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41584 return SWIG_Python_InitShadowInstance(args);
41585 }
41586
41587 SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41588 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41589 return 1;
41590 }
41591
41592
41593 SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41594 PyObject *pyobj = 0;
41595
41596 {
41597 #if wxUSE_UNICODE
41598 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41599 #else
41600 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41601 #endif
41602 }
41603 return pyobj;
41604 }
41605
41606
41607 SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41608 PyObject *resultobj = 0;
41609 wxWindow *arg1 = (wxWindow *) 0 ;
41610 int arg2 = (int) -1 ;
41611 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41612 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41615 wxSize const &arg5_defvalue = wxDefaultSize ;
41616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41617 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41618 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41619 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41620 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41621 wxString *arg8 = (wxString *) &arg8_defvalue ;
41622 wxDatePickerCtrl *result = 0 ;
41623 void *argp1 = 0 ;
41624 int res1 = 0 ;
41625 int val2 ;
41626 int ecode2 = 0 ;
41627 void *argp3 = 0 ;
41628 int res3 = 0 ;
41629 wxPoint temp4 ;
41630 wxSize temp5 ;
41631 long val6 ;
41632 int ecode6 = 0 ;
41633 void *argp7 = 0 ;
41634 int res7 = 0 ;
41635 bool temp8 = false ;
41636 PyObject * obj0 = 0 ;
41637 PyObject * obj1 = 0 ;
41638 PyObject * obj2 = 0 ;
41639 PyObject * obj3 = 0 ;
41640 PyObject * obj4 = 0 ;
41641 PyObject * obj5 = 0 ;
41642 PyObject * obj6 = 0 ;
41643 PyObject * obj7 = 0 ;
41644 char * kwnames[] = {
41645 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41646 };
41647
41648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41650 if (!SWIG_IsOK(res1)) {
41651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41652 }
41653 arg1 = reinterpret_cast< wxWindow * >(argp1);
41654 if (obj1) {
41655 ecode2 = SWIG_AsVal_int(obj1, &val2);
41656 if (!SWIG_IsOK(ecode2)) {
41657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41658 }
41659 arg2 = static_cast< int >(val2);
41660 }
41661 if (obj2) {
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 '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41665 }
41666 if (!argp3) {
41667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41668 }
41669 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41670 }
41671 if (obj3) {
41672 {
41673 arg4 = &temp4;
41674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
41675 }
41676 }
41677 if (obj4) {
41678 {
41679 arg5 = &temp5;
41680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
41681 }
41682 }
41683 if (obj5) {
41684 ecode6 = SWIG_AsVal_long(obj5, &val6);
41685 if (!SWIG_IsOK(ecode6)) {
41686 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41687 }
41688 arg6 = static_cast< long >(val6);
41689 }
41690 if (obj6) {
41691 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41692 if (!SWIG_IsOK(res7)) {
41693 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41694 }
41695 if (!argp7) {
41696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41697 }
41698 arg7 = reinterpret_cast< wxValidator * >(argp7);
41699 }
41700 if (obj7) {
41701 {
41702 arg8 = wxString_in_helper(obj7);
41703 if (arg8 == NULL) SWIG_fail;
41704 temp8 = true;
41705 }
41706 }
41707 {
41708 if (!wxPyCheckForApp()) SWIG_fail;
41709 PyThreadState* __tstate = wxPyBeginAllowThreads();
41710 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41711 wxPyEndAllowThreads(__tstate);
41712 if (PyErr_Occurred()) SWIG_fail;
41713 }
41714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41715 {
41716 if (temp8)
41717 delete arg8;
41718 }
41719 return resultobj;
41720 fail:
41721 {
41722 if (temp8)
41723 delete arg8;
41724 }
41725 return NULL;
41726 }
41727
41728
41729 SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41730 PyObject *resultobj = 0;
41731 wxDatePickerCtrl *result = 0 ;
41732
41733 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41734 {
41735 if (!wxPyCheckForApp()) SWIG_fail;
41736 PyThreadState* __tstate = wxPyBeginAllowThreads();
41737 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41738 wxPyEndAllowThreads(__tstate);
41739 if (PyErr_Occurred()) SWIG_fail;
41740 }
41741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41742 return resultobj;
41743 fail:
41744 return NULL;
41745 }
41746
41747
41748 SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41749 PyObject *resultobj = 0;
41750 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41751 wxWindow *arg2 = (wxWindow *) 0 ;
41752 int arg3 = (int) -1 ;
41753 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41754 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41757 wxSize const &arg6_defvalue = wxDefaultSize ;
41758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41759 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41760 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41761 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41762 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41763 wxString *arg9 = (wxString *) &arg9_defvalue ;
41764 bool result;
41765 void *argp1 = 0 ;
41766 int res1 = 0 ;
41767 void *argp2 = 0 ;
41768 int res2 = 0 ;
41769 int val3 ;
41770 int ecode3 = 0 ;
41771 void *argp4 = 0 ;
41772 int res4 = 0 ;
41773 wxPoint temp5 ;
41774 wxSize temp6 ;
41775 long val7 ;
41776 int ecode7 = 0 ;
41777 void *argp8 = 0 ;
41778 int res8 = 0 ;
41779 bool temp9 = false ;
41780 PyObject * obj0 = 0 ;
41781 PyObject * obj1 = 0 ;
41782 PyObject * obj2 = 0 ;
41783 PyObject * obj3 = 0 ;
41784 PyObject * obj4 = 0 ;
41785 PyObject * obj5 = 0 ;
41786 PyObject * obj6 = 0 ;
41787 PyObject * obj7 = 0 ;
41788 PyObject * obj8 = 0 ;
41789 char * kwnames[] = {
41790 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41791 };
41792
41793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41795 if (!SWIG_IsOK(res1)) {
41796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41797 }
41798 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41800 if (!SWIG_IsOK(res2)) {
41801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41802 }
41803 arg2 = reinterpret_cast< wxWindow * >(argp2);
41804 if (obj2) {
41805 ecode3 = SWIG_AsVal_int(obj2, &val3);
41806 if (!SWIG_IsOK(ecode3)) {
41807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41808 }
41809 arg3 = static_cast< int >(val3);
41810 }
41811 if (obj3) {
41812 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41813 if (!SWIG_IsOK(res4)) {
41814 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41815 }
41816 if (!argp4) {
41817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41818 }
41819 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41820 }
41821 if (obj4) {
41822 {
41823 arg5 = &temp5;
41824 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41825 }
41826 }
41827 if (obj5) {
41828 {
41829 arg6 = &temp6;
41830 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41831 }
41832 }
41833 if (obj6) {
41834 ecode7 = SWIG_AsVal_long(obj6, &val7);
41835 if (!SWIG_IsOK(ecode7)) {
41836 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41837 }
41838 arg7 = static_cast< long >(val7);
41839 }
41840 if (obj7) {
41841 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41842 if (!SWIG_IsOK(res8)) {
41843 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41844 }
41845 if (!argp8) {
41846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41847 }
41848 arg8 = reinterpret_cast< wxValidator * >(argp8);
41849 }
41850 if (obj8) {
41851 {
41852 arg9 = wxString_in_helper(obj8);
41853 if (arg9 == NULL) SWIG_fail;
41854 temp9 = true;
41855 }
41856 }
41857 {
41858 PyThreadState* __tstate = wxPyBeginAllowThreads();
41859 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41860 wxPyEndAllowThreads(__tstate);
41861 if (PyErr_Occurred()) SWIG_fail;
41862 }
41863 {
41864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41865 }
41866 {
41867 if (temp9)
41868 delete arg9;
41869 }
41870 return resultobj;
41871 fail:
41872 {
41873 if (temp9)
41874 delete arg9;
41875 }
41876 return NULL;
41877 }
41878
41879
41880 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41881 PyObject *resultobj = 0;
41882 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41883 wxDateTime *arg2 = 0 ;
41884 void *argp1 = 0 ;
41885 int res1 = 0 ;
41886 void *argp2 = 0 ;
41887 int res2 = 0 ;
41888 PyObject * obj0 = 0 ;
41889 PyObject * obj1 = 0 ;
41890 char * kwnames[] = {
41891 (char *) "self",(char *) "dt", NULL
41892 };
41893
41894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41896 if (!SWIG_IsOK(res1)) {
41897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41898 }
41899 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41900 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41901 if (!SWIG_IsOK(res2)) {
41902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41903 }
41904 if (!argp2) {
41905 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41906 }
41907 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41908 {
41909 PyThreadState* __tstate = wxPyBeginAllowThreads();
41910 (arg1)->SetValue((wxDateTime const &)*arg2);
41911 wxPyEndAllowThreads(__tstate);
41912 if (PyErr_Occurred()) SWIG_fail;
41913 }
41914 resultobj = SWIG_Py_Void();
41915 return resultobj;
41916 fail:
41917 return NULL;
41918 }
41919
41920
41921 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41922 PyObject *resultobj = 0;
41923 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41924 wxDateTime result;
41925 void *argp1 = 0 ;
41926 int res1 = 0 ;
41927 PyObject *swig_obj[1] ;
41928
41929 if (!args) SWIG_fail;
41930 swig_obj[0] = args;
41931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41932 if (!SWIG_IsOK(res1)) {
41933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41934 }
41935 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41936 {
41937 PyThreadState* __tstate = wxPyBeginAllowThreads();
41938 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41939 wxPyEndAllowThreads(__tstate);
41940 if (PyErr_Occurred()) SWIG_fail;
41941 }
41942 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41943 return resultobj;
41944 fail:
41945 return NULL;
41946 }
41947
41948
41949 SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41950 PyObject *resultobj = 0;
41951 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41952 wxDateTime *arg2 = 0 ;
41953 wxDateTime *arg3 = 0 ;
41954 void *argp1 = 0 ;
41955 int res1 = 0 ;
41956 void *argp2 = 0 ;
41957 int res2 = 0 ;
41958 void *argp3 = 0 ;
41959 int res3 = 0 ;
41960 PyObject * obj0 = 0 ;
41961 PyObject * obj1 = 0 ;
41962 PyObject * obj2 = 0 ;
41963 char * kwnames[] = {
41964 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41965 };
41966
41967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41969 if (!SWIG_IsOK(res1)) {
41970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41971 }
41972 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41973 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41974 if (!SWIG_IsOK(res2)) {
41975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41976 }
41977 if (!argp2) {
41978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41979 }
41980 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41981 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41982 if (!SWIG_IsOK(res3)) {
41983 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41984 }
41985 if (!argp3) {
41986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41987 }
41988 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41989 {
41990 PyThreadState* __tstate = wxPyBeginAllowThreads();
41991 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41992 wxPyEndAllowThreads(__tstate);
41993 if (PyErr_Occurred()) SWIG_fail;
41994 }
41995 resultobj = SWIG_Py_Void();
41996 return resultobj;
41997 fail:
41998 return NULL;
41999 }
42000
42001
42002 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42003 PyObject *resultobj = 0;
42004 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42005 wxDateTime result;
42006 void *argp1 = 0 ;
42007 int res1 = 0 ;
42008 PyObject *swig_obj[1] ;
42009
42010 if (!args) SWIG_fail;
42011 swig_obj[0] = args;
42012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42013 if (!SWIG_IsOK(res1)) {
42014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42015 }
42016 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42017 {
42018 PyThreadState* __tstate = wxPyBeginAllowThreads();
42019 result = wxDatePickerCtrl_GetLowerLimit(arg1);
42020 wxPyEndAllowThreads(__tstate);
42021 if (PyErr_Occurred()) SWIG_fail;
42022 }
42023 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
42024 return resultobj;
42025 fail:
42026 return NULL;
42027 }
42028
42029
42030 SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42031 PyObject *resultobj = 0;
42032 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
42033 wxDateTime result;
42034 void *argp1 = 0 ;
42035 int res1 = 0 ;
42036 PyObject *swig_obj[1] ;
42037
42038 if (!args) SWIG_fail;
42039 swig_obj[0] = args;
42040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
42041 if (!SWIG_IsOK(res1)) {
42042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42043 }
42044 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
42045 {
42046 PyThreadState* __tstate = wxPyBeginAllowThreads();
42047 result = wxDatePickerCtrl_GetUpperLimit(arg1);
42048 wxPyEndAllowThreads(__tstate);
42049 if (PyErr_Occurred()) SWIG_fail;
42050 }
42051 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
42052 return resultobj;
42053 fail:
42054 return NULL;
42055 }
42056
42057
42058 SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42059 PyObject *obj;
42060 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42061 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
42062 return SWIG_Py_Void();
42063 }
42064
42065 SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42066 return SWIG_Python_InitShadowInstance(args);
42067 }
42068
42069 SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
42070 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
42071 return 1;
42072 }
42073
42074
42075 SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
42076 PyObject *pyobj = 0;
42077
42078 {
42079 #if wxUSE_UNICODE
42080 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
42081 #else
42082 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
42083 #endif
42084 }
42085 return pyobj;
42086 }
42087
42088
42089 SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42090 PyObject *resultobj = 0;
42091 wxWindow *arg1 = (wxWindow *) 0 ;
42092 int arg2 ;
42093 wxString *arg3 = 0 ;
42094 wxString *arg4 = 0 ;
42095 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42096 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42097 wxSize const &arg6_defvalue = wxDefaultSize ;
42098 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42099 long arg7 = (long) wxHL_DEFAULT_STYLE ;
42100 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
42101 wxString *arg8 = (wxString *) &arg8_defvalue ;
42102 wxHyperlinkCtrl *result = 0 ;
42103 void *argp1 = 0 ;
42104 int res1 = 0 ;
42105 int val2 ;
42106 int ecode2 = 0 ;
42107 bool temp3 = false ;
42108 bool temp4 = false ;
42109 wxPoint temp5 ;
42110 wxSize temp6 ;
42111 long val7 ;
42112 int ecode7 = 0 ;
42113 bool temp8 = false ;
42114 PyObject * obj0 = 0 ;
42115 PyObject * obj1 = 0 ;
42116 PyObject * obj2 = 0 ;
42117 PyObject * obj3 = 0 ;
42118 PyObject * obj4 = 0 ;
42119 PyObject * obj5 = 0 ;
42120 PyObject * obj6 = 0 ;
42121 PyObject * obj7 = 0 ;
42122 char * kwnames[] = {
42123 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42124 };
42125
42126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42128 if (!SWIG_IsOK(res1)) {
42129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42130 }
42131 arg1 = reinterpret_cast< wxWindow * >(argp1);
42132 ecode2 = SWIG_AsVal_int(obj1, &val2);
42133 if (!SWIG_IsOK(ecode2)) {
42134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42135 }
42136 arg2 = static_cast< int >(val2);
42137 {
42138 arg3 = wxString_in_helper(obj2);
42139 if (arg3 == NULL) SWIG_fail;
42140 temp3 = true;
42141 }
42142 {
42143 arg4 = wxString_in_helper(obj3);
42144 if (arg4 == NULL) SWIG_fail;
42145 temp4 = true;
42146 }
42147 if (obj4) {
42148 {
42149 arg5 = &temp5;
42150 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42151 }
42152 }
42153 if (obj5) {
42154 {
42155 arg6 = &temp6;
42156 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42157 }
42158 }
42159 if (obj6) {
42160 ecode7 = SWIG_AsVal_long(obj6, &val7);
42161 if (!SWIG_IsOK(ecode7)) {
42162 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42163 }
42164 arg7 = static_cast< long >(val7);
42165 }
42166 if (obj7) {
42167 {
42168 arg8 = wxString_in_helper(obj7);
42169 if (arg8 == NULL) SWIG_fail;
42170 temp8 = true;
42171 }
42172 }
42173 {
42174 if (!wxPyCheckForApp()) SWIG_fail;
42175 PyThreadState* __tstate = wxPyBeginAllowThreads();
42176 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42177 wxPyEndAllowThreads(__tstate);
42178 if (PyErr_Occurred()) SWIG_fail;
42179 }
42180 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42181 {
42182 if (temp3)
42183 delete arg3;
42184 }
42185 {
42186 if (temp4)
42187 delete arg4;
42188 }
42189 {
42190 if (temp8)
42191 delete arg8;
42192 }
42193 return resultobj;
42194 fail:
42195 {
42196 if (temp3)
42197 delete arg3;
42198 }
42199 {
42200 if (temp4)
42201 delete arg4;
42202 }
42203 {
42204 if (temp8)
42205 delete arg8;
42206 }
42207 return NULL;
42208 }
42209
42210
42211 SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42212 PyObject *resultobj = 0;
42213 wxHyperlinkCtrl *result = 0 ;
42214
42215 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42216 {
42217 if (!wxPyCheckForApp()) SWIG_fail;
42218 PyThreadState* __tstate = wxPyBeginAllowThreads();
42219 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42220 wxPyEndAllowThreads(__tstate);
42221 if (PyErr_Occurred()) SWIG_fail;
42222 }
42223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42224 return resultobj;
42225 fail:
42226 return NULL;
42227 }
42228
42229
42230 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42231 PyObject *resultobj = 0;
42232 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42233 wxWindow *arg2 = (wxWindow *) 0 ;
42234 int arg3 ;
42235 wxString *arg4 = 0 ;
42236 wxString *arg5 = 0 ;
42237 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42238 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42239 wxSize const &arg7_defvalue = wxDefaultSize ;
42240 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42241 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42242 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42243 wxString *arg9 = (wxString *) &arg9_defvalue ;
42244 bool result;
42245 void *argp1 = 0 ;
42246 int res1 = 0 ;
42247 void *argp2 = 0 ;
42248 int res2 = 0 ;
42249 int val3 ;
42250 int ecode3 = 0 ;
42251 bool temp4 = false ;
42252 bool temp5 = false ;
42253 wxPoint temp6 ;
42254 wxSize temp7 ;
42255 long val8 ;
42256 int ecode8 = 0 ;
42257 bool temp9 = false ;
42258 PyObject * obj0 = 0 ;
42259 PyObject * obj1 = 0 ;
42260 PyObject * obj2 = 0 ;
42261 PyObject * obj3 = 0 ;
42262 PyObject * obj4 = 0 ;
42263 PyObject * obj5 = 0 ;
42264 PyObject * obj6 = 0 ;
42265 PyObject * obj7 = 0 ;
42266 PyObject * obj8 = 0 ;
42267 char * kwnames[] = {
42268 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42269 };
42270
42271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42273 if (!SWIG_IsOK(res1)) {
42274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42275 }
42276 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42277 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42278 if (!SWIG_IsOK(res2)) {
42279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42280 }
42281 arg2 = reinterpret_cast< wxWindow * >(argp2);
42282 ecode3 = SWIG_AsVal_int(obj2, &val3);
42283 if (!SWIG_IsOK(ecode3)) {
42284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42285 }
42286 arg3 = static_cast< int >(val3);
42287 {
42288 arg4 = wxString_in_helper(obj3);
42289 if (arg4 == NULL) SWIG_fail;
42290 temp4 = true;
42291 }
42292 {
42293 arg5 = wxString_in_helper(obj4);
42294 if (arg5 == NULL) SWIG_fail;
42295 temp5 = true;
42296 }
42297 if (obj5) {
42298 {
42299 arg6 = &temp6;
42300 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42301 }
42302 }
42303 if (obj6) {
42304 {
42305 arg7 = &temp7;
42306 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42307 }
42308 }
42309 if (obj7) {
42310 ecode8 = SWIG_AsVal_long(obj7, &val8);
42311 if (!SWIG_IsOK(ecode8)) {
42312 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42313 }
42314 arg8 = static_cast< long >(val8);
42315 }
42316 if (obj8) {
42317 {
42318 arg9 = wxString_in_helper(obj8);
42319 if (arg9 == NULL) SWIG_fail;
42320 temp9 = true;
42321 }
42322 }
42323 {
42324 PyThreadState* __tstate = wxPyBeginAllowThreads();
42325 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42326 wxPyEndAllowThreads(__tstate);
42327 if (PyErr_Occurred()) SWIG_fail;
42328 }
42329 {
42330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42331 }
42332 {
42333 if (temp4)
42334 delete arg4;
42335 }
42336 {
42337 if (temp5)
42338 delete arg5;
42339 }
42340 {
42341 if (temp9)
42342 delete arg9;
42343 }
42344 return resultobj;
42345 fail:
42346 {
42347 if (temp4)
42348 delete arg4;
42349 }
42350 {
42351 if (temp5)
42352 delete arg5;
42353 }
42354 {
42355 if (temp9)
42356 delete arg9;
42357 }
42358 return NULL;
42359 }
42360
42361
42362 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42363 PyObject *resultobj = 0;
42364 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42365 wxColour result;
42366 void *argp1 = 0 ;
42367 int res1 = 0 ;
42368 PyObject *swig_obj[1] ;
42369
42370 if (!args) SWIG_fail;
42371 swig_obj[0] = args;
42372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42373 if (!SWIG_IsOK(res1)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42375 }
42376 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42377 {
42378 PyThreadState* __tstate = wxPyBeginAllowThreads();
42379 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42380 wxPyEndAllowThreads(__tstate);
42381 if (PyErr_Occurred()) SWIG_fail;
42382 }
42383 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42384 return resultobj;
42385 fail:
42386 return NULL;
42387 }
42388
42389
42390 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42391 PyObject *resultobj = 0;
42392 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42393 wxColour *arg2 = 0 ;
42394 void *argp1 = 0 ;
42395 int res1 = 0 ;
42396 wxColour temp2 ;
42397 PyObject * obj0 = 0 ;
42398 PyObject * obj1 = 0 ;
42399 char * kwnames[] = {
42400 (char *) "self",(char *) "colour", NULL
42401 };
42402
42403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42405 if (!SWIG_IsOK(res1)) {
42406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42407 }
42408 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42409 {
42410 arg2 = &temp2;
42411 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42412 }
42413 {
42414 PyThreadState* __tstate = wxPyBeginAllowThreads();
42415 (arg1)->SetHoverColour((wxColour const &)*arg2);
42416 wxPyEndAllowThreads(__tstate);
42417 if (PyErr_Occurred()) SWIG_fail;
42418 }
42419 resultobj = SWIG_Py_Void();
42420 return resultobj;
42421 fail:
42422 return NULL;
42423 }
42424
42425
42426 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42427 PyObject *resultobj = 0;
42428 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42429 wxColour result;
42430 void *argp1 = 0 ;
42431 int res1 = 0 ;
42432 PyObject *swig_obj[1] ;
42433
42434 if (!args) SWIG_fail;
42435 swig_obj[0] = args;
42436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42437 if (!SWIG_IsOK(res1)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42439 }
42440 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42441 {
42442 PyThreadState* __tstate = wxPyBeginAllowThreads();
42443 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42444 wxPyEndAllowThreads(__tstate);
42445 if (PyErr_Occurred()) SWIG_fail;
42446 }
42447 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42448 return resultobj;
42449 fail:
42450 return NULL;
42451 }
42452
42453
42454 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42455 PyObject *resultobj = 0;
42456 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42457 wxColour *arg2 = 0 ;
42458 void *argp1 = 0 ;
42459 int res1 = 0 ;
42460 wxColour temp2 ;
42461 PyObject * obj0 = 0 ;
42462 PyObject * obj1 = 0 ;
42463 char * kwnames[] = {
42464 (char *) "self",(char *) "colour", NULL
42465 };
42466
42467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42469 if (!SWIG_IsOK(res1)) {
42470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42471 }
42472 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42473 {
42474 arg2 = &temp2;
42475 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42476 }
42477 {
42478 PyThreadState* __tstate = wxPyBeginAllowThreads();
42479 (arg1)->SetNormalColour((wxColour const &)*arg2);
42480 wxPyEndAllowThreads(__tstate);
42481 if (PyErr_Occurred()) SWIG_fail;
42482 }
42483 resultobj = SWIG_Py_Void();
42484 return resultobj;
42485 fail:
42486 return NULL;
42487 }
42488
42489
42490 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42491 PyObject *resultobj = 0;
42492 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42493 wxColour result;
42494 void *argp1 = 0 ;
42495 int res1 = 0 ;
42496 PyObject *swig_obj[1] ;
42497
42498 if (!args) SWIG_fail;
42499 swig_obj[0] = args;
42500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42501 if (!SWIG_IsOK(res1)) {
42502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42503 }
42504 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42505 {
42506 PyThreadState* __tstate = wxPyBeginAllowThreads();
42507 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42508 wxPyEndAllowThreads(__tstate);
42509 if (PyErr_Occurred()) SWIG_fail;
42510 }
42511 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42512 return resultobj;
42513 fail:
42514 return NULL;
42515 }
42516
42517
42518 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42519 PyObject *resultobj = 0;
42520 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42521 wxColour *arg2 = 0 ;
42522 void *argp1 = 0 ;
42523 int res1 = 0 ;
42524 wxColour temp2 ;
42525 PyObject * obj0 = 0 ;
42526 PyObject * obj1 = 0 ;
42527 char * kwnames[] = {
42528 (char *) "self",(char *) "colour", NULL
42529 };
42530
42531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42533 if (!SWIG_IsOK(res1)) {
42534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42535 }
42536 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42537 {
42538 arg2 = &temp2;
42539 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42540 }
42541 {
42542 PyThreadState* __tstate = wxPyBeginAllowThreads();
42543 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42544 wxPyEndAllowThreads(__tstate);
42545 if (PyErr_Occurred()) SWIG_fail;
42546 }
42547 resultobj = SWIG_Py_Void();
42548 return resultobj;
42549 fail:
42550 return NULL;
42551 }
42552
42553
42554 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42555 PyObject *resultobj = 0;
42556 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42557 wxString result;
42558 void *argp1 = 0 ;
42559 int res1 = 0 ;
42560 PyObject *swig_obj[1] ;
42561
42562 if (!args) SWIG_fail;
42563 swig_obj[0] = args;
42564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42565 if (!SWIG_IsOK(res1)) {
42566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42567 }
42568 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42569 {
42570 PyThreadState* __tstate = wxPyBeginAllowThreads();
42571 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42572 wxPyEndAllowThreads(__tstate);
42573 if (PyErr_Occurred()) SWIG_fail;
42574 }
42575 {
42576 #if wxUSE_UNICODE
42577 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42578 #else
42579 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42580 #endif
42581 }
42582 return resultobj;
42583 fail:
42584 return NULL;
42585 }
42586
42587
42588 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42589 PyObject *resultobj = 0;
42590 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42591 wxString *arg2 = 0 ;
42592 void *argp1 = 0 ;
42593 int res1 = 0 ;
42594 bool temp2 = false ;
42595 PyObject * obj0 = 0 ;
42596 PyObject * obj1 = 0 ;
42597 char * kwnames[] = {
42598 (char *) "self",(char *) "url", NULL
42599 };
42600
42601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42603 if (!SWIG_IsOK(res1)) {
42604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42605 }
42606 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42607 {
42608 arg2 = wxString_in_helper(obj1);
42609 if (arg2 == NULL) SWIG_fail;
42610 temp2 = true;
42611 }
42612 {
42613 PyThreadState* __tstate = wxPyBeginAllowThreads();
42614 (arg1)->SetURL((wxString const &)*arg2);
42615 wxPyEndAllowThreads(__tstate);
42616 if (PyErr_Occurred()) SWIG_fail;
42617 }
42618 resultobj = SWIG_Py_Void();
42619 {
42620 if (temp2)
42621 delete arg2;
42622 }
42623 return resultobj;
42624 fail:
42625 {
42626 if (temp2)
42627 delete arg2;
42628 }
42629 return NULL;
42630 }
42631
42632
42633 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42634 PyObject *resultobj = 0;
42635 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42636 bool arg2 = (bool) true ;
42637 void *argp1 = 0 ;
42638 int res1 = 0 ;
42639 bool val2 ;
42640 int ecode2 = 0 ;
42641 PyObject * obj0 = 0 ;
42642 PyObject * obj1 = 0 ;
42643 char * kwnames[] = {
42644 (char *) "self",(char *) "visited", NULL
42645 };
42646
42647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42649 if (!SWIG_IsOK(res1)) {
42650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42651 }
42652 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42653 if (obj1) {
42654 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42655 if (!SWIG_IsOK(ecode2)) {
42656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42657 }
42658 arg2 = static_cast< bool >(val2);
42659 }
42660 {
42661 PyThreadState* __tstate = wxPyBeginAllowThreads();
42662 (arg1)->SetVisited(arg2);
42663 wxPyEndAllowThreads(__tstate);
42664 if (PyErr_Occurred()) SWIG_fail;
42665 }
42666 resultobj = SWIG_Py_Void();
42667 return resultobj;
42668 fail:
42669 return NULL;
42670 }
42671
42672
42673 SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42674 PyObject *resultobj = 0;
42675 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42676 bool result;
42677 void *argp1 = 0 ;
42678 int res1 = 0 ;
42679 PyObject *swig_obj[1] ;
42680
42681 if (!args) SWIG_fail;
42682 swig_obj[0] = args;
42683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42684 if (!SWIG_IsOK(res1)) {
42685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42686 }
42687 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42688 {
42689 PyThreadState* __tstate = wxPyBeginAllowThreads();
42690 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42691 wxPyEndAllowThreads(__tstate);
42692 if (PyErr_Occurred()) SWIG_fail;
42693 }
42694 {
42695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42696 }
42697 return resultobj;
42698 fail:
42699 return NULL;
42700 }
42701
42702
42703 SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42704 PyObject *obj;
42705 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42706 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42707 return SWIG_Py_Void();
42708 }
42709
42710 SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42711 return SWIG_Python_InitShadowInstance(args);
42712 }
42713
42714 SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42715 PyObject *resultobj = 0;
42716 wxObject *arg1 = (wxObject *) 0 ;
42717 int arg2 ;
42718 wxString *arg3 = 0 ;
42719 wxHyperlinkEvent *result = 0 ;
42720 void *argp1 = 0 ;
42721 int res1 = 0 ;
42722 int val2 ;
42723 int ecode2 = 0 ;
42724 bool temp3 = false ;
42725 PyObject * obj0 = 0 ;
42726 PyObject * obj1 = 0 ;
42727 PyObject * obj2 = 0 ;
42728 char * kwnames[] = {
42729 (char *) "generator",(char *) "id",(char *) "url", NULL
42730 };
42731
42732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42734 if (!SWIG_IsOK(res1)) {
42735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42736 }
42737 arg1 = reinterpret_cast< wxObject * >(argp1);
42738 ecode2 = SWIG_AsVal_int(obj1, &val2);
42739 if (!SWIG_IsOK(ecode2)) {
42740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42741 }
42742 arg2 = static_cast< int >(val2);
42743 {
42744 arg3 = wxString_in_helper(obj2);
42745 if (arg3 == NULL) SWIG_fail;
42746 temp3 = true;
42747 }
42748 {
42749 PyThreadState* __tstate = wxPyBeginAllowThreads();
42750 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42751 wxPyEndAllowThreads(__tstate);
42752 if (PyErr_Occurred()) SWIG_fail;
42753 }
42754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42755 {
42756 if (temp3)
42757 delete arg3;
42758 }
42759 return resultobj;
42760 fail:
42761 {
42762 if (temp3)
42763 delete arg3;
42764 }
42765 return NULL;
42766 }
42767
42768
42769 SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42770 PyObject *resultobj = 0;
42771 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42772 wxString result;
42773 void *argp1 = 0 ;
42774 int res1 = 0 ;
42775 PyObject *swig_obj[1] ;
42776
42777 if (!args) SWIG_fail;
42778 swig_obj[0] = args;
42779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42780 if (!SWIG_IsOK(res1)) {
42781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42782 }
42783 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42784 {
42785 PyThreadState* __tstate = wxPyBeginAllowThreads();
42786 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42787 wxPyEndAllowThreads(__tstate);
42788 if (PyErr_Occurred()) SWIG_fail;
42789 }
42790 {
42791 #if wxUSE_UNICODE
42792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42793 #else
42794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42795 #endif
42796 }
42797 return resultobj;
42798 fail:
42799 return NULL;
42800 }
42801
42802
42803 SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42804 PyObject *resultobj = 0;
42805 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42806 wxString *arg2 = 0 ;
42807 void *argp1 = 0 ;
42808 int res1 = 0 ;
42809 bool temp2 = false ;
42810 PyObject * obj0 = 0 ;
42811 PyObject * obj1 = 0 ;
42812 char * kwnames[] = {
42813 (char *) "self",(char *) "url", NULL
42814 };
42815
42816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42818 if (!SWIG_IsOK(res1)) {
42819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42820 }
42821 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42822 {
42823 arg2 = wxString_in_helper(obj1);
42824 if (arg2 == NULL) SWIG_fail;
42825 temp2 = true;
42826 }
42827 {
42828 PyThreadState* __tstate = wxPyBeginAllowThreads();
42829 (arg1)->SetURL((wxString const &)*arg2);
42830 wxPyEndAllowThreads(__tstate);
42831 if (PyErr_Occurred()) SWIG_fail;
42832 }
42833 resultobj = SWIG_Py_Void();
42834 {
42835 if (temp2)
42836 delete arg2;
42837 }
42838 return resultobj;
42839 fail:
42840 {
42841 if (temp2)
42842 delete arg2;
42843 }
42844 return NULL;
42845 }
42846
42847
42848 SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42849 PyObject *obj;
42850 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42851 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42852 return SWIG_Py_Void();
42853 }
42854
42855 SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42856 return SWIG_Python_InitShadowInstance(args);
42857 }
42858
42859 SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42860 PyObject *resultobj = 0;
42861 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42862 wxWindow *arg2 = (wxWindow *) 0 ;
42863 int arg3 ;
42864 wxString const &arg4_defvalue = wxEmptyString ;
42865 wxString *arg4 = (wxString *) &arg4_defvalue ;
42866 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42867 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42868 wxSize const &arg6_defvalue = wxDefaultSize ;
42869 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42870 long arg7 = (long) 0 ;
42871 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42872 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42873 wxString const &arg9_defvalue = wxButtonNameStr ;
42874 wxString *arg9 = (wxString *) &arg9_defvalue ;
42875 bool result;
42876 void *argp1 = 0 ;
42877 int res1 = 0 ;
42878 void *argp2 = 0 ;
42879 int res2 = 0 ;
42880 int val3 ;
42881 int ecode3 = 0 ;
42882 bool temp4 = false ;
42883 wxPoint temp5 ;
42884 wxSize temp6 ;
42885 long val7 ;
42886 int ecode7 = 0 ;
42887 void *argp8 = 0 ;
42888 int res8 = 0 ;
42889 bool temp9 = false ;
42890 PyObject * obj0 = 0 ;
42891 PyObject * obj1 = 0 ;
42892 PyObject * obj2 = 0 ;
42893 PyObject * obj3 = 0 ;
42894 PyObject * obj4 = 0 ;
42895 PyObject * obj5 = 0 ;
42896 PyObject * obj6 = 0 ;
42897 PyObject * obj7 = 0 ;
42898 PyObject * obj8 = 0 ;
42899 char * kwnames[] = {
42900 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42901 };
42902
42903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42905 if (!SWIG_IsOK(res1)) {
42906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42907 }
42908 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42910 if (!SWIG_IsOK(res2)) {
42911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42912 }
42913 arg2 = reinterpret_cast< wxWindow * >(argp2);
42914 ecode3 = SWIG_AsVal_int(obj2, &val3);
42915 if (!SWIG_IsOK(ecode3)) {
42916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42917 }
42918 arg3 = static_cast< int >(val3);
42919 if (obj3) {
42920 {
42921 arg4 = wxString_in_helper(obj3);
42922 if (arg4 == NULL) SWIG_fail;
42923 temp4 = true;
42924 }
42925 }
42926 if (obj4) {
42927 {
42928 arg5 = &temp5;
42929 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42930 }
42931 }
42932 if (obj5) {
42933 {
42934 arg6 = &temp6;
42935 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42936 }
42937 }
42938 if (obj6) {
42939 ecode7 = SWIG_AsVal_long(obj6, &val7);
42940 if (!SWIG_IsOK(ecode7)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42942 }
42943 arg7 = static_cast< long >(val7);
42944 }
42945 if (obj7) {
42946 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42947 if (!SWIG_IsOK(res8)) {
42948 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42949 }
42950 if (!argp8) {
42951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42952 }
42953 arg8 = reinterpret_cast< wxValidator * >(argp8);
42954 }
42955 if (obj8) {
42956 {
42957 arg9 = wxString_in_helper(obj8);
42958 if (arg9 == NULL) SWIG_fail;
42959 temp9 = true;
42960 }
42961 }
42962 {
42963 PyThreadState* __tstate = wxPyBeginAllowThreads();
42964 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42965 wxPyEndAllowThreads(__tstate);
42966 if (PyErr_Occurred()) SWIG_fail;
42967 }
42968 {
42969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42970 }
42971 {
42972 if (temp4)
42973 delete arg4;
42974 }
42975 {
42976 if (temp9)
42977 delete arg9;
42978 }
42979 return resultobj;
42980 fail:
42981 {
42982 if (temp4)
42983 delete arg4;
42984 }
42985 {
42986 if (temp9)
42987 delete arg9;
42988 }
42989 return NULL;
42990 }
42991
42992
42993 SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42994 PyObject *resultobj = 0;
42995 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42996 int arg2 ;
42997 void *argp1 = 0 ;
42998 int res1 = 0 ;
42999 int val2 ;
43000 int ecode2 = 0 ;
43001 PyObject * obj0 = 0 ;
43002 PyObject * obj1 = 0 ;
43003 char * kwnames[] = {
43004 (char *) "self",(char *) "newmargin", NULL
43005 };
43006
43007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
43008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43009 if (!SWIG_IsOK(res1)) {
43010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43011 }
43012 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43013 ecode2 = SWIG_AsVal_int(obj1, &val2);
43014 if (!SWIG_IsOK(ecode2)) {
43015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43016 }
43017 arg2 = static_cast< int >(val2);
43018 {
43019 PyThreadState* __tstate = wxPyBeginAllowThreads();
43020 (arg1)->SetInternalMargin(arg2);
43021 wxPyEndAllowThreads(__tstate);
43022 if (PyErr_Occurred()) SWIG_fail;
43023 }
43024 resultobj = SWIG_Py_Void();
43025 return resultobj;
43026 fail:
43027 return NULL;
43028 }
43029
43030
43031 SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43032 PyObject *resultobj = 0;
43033 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43034 int result;
43035 void *argp1 = 0 ;
43036 int res1 = 0 ;
43037 PyObject *swig_obj[1] ;
43038
43039 if (!args) SWIG_fail;
43040 swig_obj[0] = args;
43041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43042 if (!SWIG_IsOK(res1)) {
43043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43044 }
43045 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43046 {
43047 PyThreadState* __tstate = wxPyBeginAllowThreads();
43048 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
43049 wxPyEndAllowThreads(__tstate);
43050 if (PyErr_Occurred()) SWIG_fail;
43051 }
43052 resultobj = SWIG_From_int(static_cast< int >(result));
43053 return resultobj;
43054 fail:
43055 return NULL;
43056 }
43057
43058
43059 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43060 PyObject *resultobj = 0;
43061 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43062 int arg2 ;
43063 void *argp1 = 0 ;
43064 int res1 = 0 ;
43065 int val2 ;
43066 int ecode2 = 0 ;
43067 PyObject * obj0 = 0 ;
43068 PyObject * obj1 = 0 ;
43069 char * kwnames[] = {
43070 (char *) "self",(char *) "prop", NULL
43071 };
43072
43073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43075 if (!SWIG_IsOK(res1)) {
43076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43077 }
43078 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43079 ecode2 = SWIG_AsVal_int(obj1, &val2);
43080 if (!SWIG_IsOK(ecode2)) {
43081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43082 }
43083 arg2 = static_cast< int >(val2);
43084 {
43085 PyThreadState* __tstate = wxPyBeginAllowThreads();
43086 (arg1)->SetTextCtrlProportion(arg2);
43087 wxPyEndAllowThreads(__tstate);
43088 if (PyErr_Occurred()) SWIG_fail;
43089 }
43090 resultobj = SWIG_Py_Void();
43091 return resultobj;
43092 fail:
43093 return NULL;
43094 }
43095
43096
43097 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43098 PyObject *resultobj = 0;
43099 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43100 int result;
43101 void *argp1 = 0 ;
43102 int res1 = 0 ;
43103 PyObject *swig_obj[1] ;
43104
43105 if (!args) SWIG_fail;
43106 swig_obj[0] = args;
43107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43108 if (!SWIG_IsOK(res1)) {
43109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43110 }
43111 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43112 {
43113 PyThreadState* __tstate = wxPyBeginAllowThreads();
43114 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
43115 wxPyEndAllowThreads(__tstate);
43116 if (PyErr_Occurred()) SWIG_fail;
43117 }
43118 resultobj = SWIG_From_int(static_cast< int >(result));
43119 return resultobj;
43120 fail:
43121 return NULL;
43122 }
43123
43124
43125 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43126 PyObject *resultobj = 0;
43127 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43128 int arg2 ;
43129 void *argp1 = 0 ;
43130 int res1 = 0 ;
43131 int val2 ;
43132 int ecode2 = 0 ;
43133 PyObject * obj0 = 0 ;
43134 PyObject * obj1 = 0 ;
43135 char * kwnames[] = {
43136 (char *) "self",(char *) "prop", NULL
43137 };
43138
43139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43141 if (!SWIG_IsOK(res1)) {
43142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43143 }
43144 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43145 ecode2 = SWIG_AsVal_int(obj1, &val2);
43146 if (!SWIG_IsOK(ecode2)) {
43147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43148 }
43149 arg2 = static_cast< int >(val2);
43150 {
43151 PyThreadState* __tstate = wxPyBeginAllowThreads();
43152 (arg1)->SetPickerCtrlProportion(arg2);
43153 wxPyEndAllowThreads(__tstate);
43154 if (PyErr_Occurred()) SWIG_fail;
43155 }
43156 resultobj = SWIG_Py_Void();
43157 return resultobj;
43158 fail:
43159 return NULL;
43160 }
43161
43162
43163 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43164 PyObject *resultobj = 0;
43165 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43166 int result;
43167 void *argp1 = 0 ;
43168 int res1 = 0 ;
43169 PyObject *swig_obj[1] ;
43170
43171 if (!args) SWIG_fail;
43172 swig_obj[0] = args;
43173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43174 if (!SWIG_IsOK(res1)) {
43175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43176 }
43177 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43178 {
43179 PyThreadState* __tstate = wxPyBeginAllowThreads();
43180 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43181 wxPyEndAllowThreads(__tstate);
43182 if (PyErr_Occurred()) SWIG_fail;
43183 }
43184 resultobj = SWIG_From_int(static_cast< int >(result));
43185 return resultobj;
43186 fail:
43187 return NULL;
43188 }
43189
43190
43191 SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43192 PyObject *resultobj = 0;
43193 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43194 bool result;
43195 void *argp1 = 0 ;
43196 int res1 = 0 ;
43197 PyObject *swig_obj[1] ;
43198
43199 if (!args) SWIG_fail;
43200 swig_obj[0] = args;
43201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43202 if (!SWIG_IsOK(res1)) {
43203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43204 }
43205 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43206 {
43207 PyThreadState* __tstate = wxPyBeginAllowThreads();
43208 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43209 wxPyEndAllowThreads(__tstate);
43210 if (PyErr_Occurred()) SWIG_fail;
43211 }
43212 {
43213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43214 }
43215 return resultobj;
43216 fail:
43217 return NULL;
43218 }
43219
43220
43221 SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43222 PyObject *resultobj = 0;
43223 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43224 bool arg2 = (bool) true ;
43225 void *argp1 = 0 ;
43226 int res1 = 0 ;
43227 bool val2 ;
43228 int ecode2 = 0 ;
43229 PyObject * obj0 = 0 ;
43230 PyObject * obj1 = 0 ;
43231 char * kwnames[] = {
43232 (char *) "self",(char *) "grow", NULL
43233 };
43234
43235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43237 if (!SWIG_IsOK(res1)) {
43238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43239 }
43240 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43241 if (obj1) {
43242 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43243 if (!SWIG_IsOK(ecode2)) {
43244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43245 }
43246 arg2 = static_cast< bool >(val2);
43247 }
43248 {
43249 PyThreadState* __tstate = wxPyBeginAllowThreads();
43250 (arg1)->SetTextCtrlGrowable(arg2);
43251 wxPyEndAllowThreads(__tstate);
43252 if (PyErr_Occurred()) SWIG_fail;
43253 }
43254 resultobj = SWIG_Py_Void();
43255 return resultobj;
43256 fail:
43257 return NULL;
43258 }
43259
43260
43261 SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43262 PyObject *resultobj = 0;
43263 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43264 bool result;
43265 void *argp1 = 0 ;
43266 int res1 = 0 ;
43267 PyObject *swig_obj[1] ;
43268
43269 if (!args) SWIG_fail;
43270 swig_obj[0] = args;
43271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43272 if (!SWIG_IsOK(res1)) {
43273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43274 }
43275 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43276 {
43277 PyThreadState* __tstate = wxPyBeginAllowThreads();
43278 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43279 wxPyEndAllowThreads(__tstate);
43280 if (PyErr_Occurred()) SWIG_fail;
43281 }
43282 {
43283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43284 }
43285 return resultobj;
43286 fail:
43287 return NULL;
43288 }
43289
43290
43291 SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43292 PyObject *resultobj = 0;
43293 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43294 bool arg2 = (bool) true ;
43295 void *argp1 = 0 ;
43296 int res1 = 0 ;
43297 bool val2 ;
43298 int ecode2 = 0 ;
43299 PyObject * obj0 = 0 ;
43300 PyObject * obj1 = 0 ;
43301 char * kwnames[] = {
43302 (char *) "self",(char *) "grow", NULL
43303 };
43304
43305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43307 if (!SWIG_IsOK(res1)) {
43308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43309 }
43310 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43311 if (obj1) {
43312 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43313 if (!SWIG_IsOK(ecode2)) {
43314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43315 }
43316 arg2 = static_cast< bool >(val2);
43317 }
43318 {
43319 PyThreadState* __tstate = wxPyBeginAllowThreads();
43320 (arg1)->SetPickerCtrlGrowable(arg2);
43321 wxPyEndAllowThreads(__tstate);
43322 if (PyErr_Occurred()) SWIG_fail;
43323 }
43324 resultobj = SWIG_Py_Void();
43325 return resultobj;
43326 fail:
43327 return NULL;
43328 }
43329
43330
43331 SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43332 PyObject *resultobj = 0;
43333 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43334 bool result;
43335 void *argp1 = 0 ;
43336 int res1 = 0 ;
43337 PyObject *swig_obj[1] ;
43338
43339 if (!args) SWIG_fail;
43340 swig_obj[0] = args;
43341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43342 if (!SWIG_IsOK(res1)) {
43343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43344 }
43345 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43346 {
43347 PyThreadState* __tstate = wxPyBeginAllowThreads();
43348 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43349 wxPyEndAllowThreads(__tstate);
43350 if (PyErr_Occurred()) SWIG_fail;
43351 }
43352 {
43353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43354 }
43355 return resultobj;
43356 fail:
43357 return NULL;
43358 }
43359
43360
43361 SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43362 PyObject *resultobj = 0;
43363 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43364 wxTextCtrl *result = 0 ;
43365 void *argp1 = 0 ;
43366 int res1 = 0 ;
43367 PyObject *swig_obj[1] ;
43368
43369 if (!args) SWIG_fail;
43370 swig_obj[0] = args;
43371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43372 if (!SWIG_IsOK(res1)) {
43373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43374 }
43375 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43376 {
43377 PyThreadState* __tstate = wxPyBeginAllowThreads();
43378 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43379 wxPyEndAllowThreads(__tstate);
43380 if (PyErr_Occurred()) SWIG_fail;
43381 }
43382 {
43383 resultobj = wxPyMake_wxObject(result, 0);
43384 }
43385 return resultobj;
43386 fail:
43387 return NULL;
43388 }
43389
43390
43391 SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43392 PyObject *resultobj = 0;
43393 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43394 wxControl *result = 0 ;
43395 void *argp1 = 0 ;
43396 int res1 = 0 ;
43397 PyObject *swig_obj[1] ;
43398
43399 if (!args) SWIG_fail;
43400 swig_obj[0] = args;
43401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43402 if (!SWIG_IsOK(res1)) {
43403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43404 }
43405 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43406 {
43407 PyThreadState* __tstate = wxPyBeginAllowThreads();
43408 result = (wxControl *)(arg1)->GetPickerCtrl();
43409 wxPyEndAllowThreads(__tstate);
43410 if (PyErr_Occurred()) SWIG_fail;
43411 }
43412 {
43413 resultobj = wxPyMake_wxObject(result, 0);
43414 }
43415 return resultobj;
43416 fail:
43417 return NULL;
43418 }
43419
43420
43421 SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43422 PyObject *obj;
43423 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43425 return SWIG_Py_Void();
43426 }
43427
43428 SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43429 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43430 return 1;
43431 }
43432
43433
43434 SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43435 PyObject *pyobj = 0;
43436
43437 {
43438 #if wxUSE_UNICODE
43439 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43440 #else
43441 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43442 #endif
43443 }
43444 return pyobj;
43445 }
43446
43447
43448 SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43449 PyObject *resultobj = 0;
43450 wxWindow *arg1 = (wxWindow *) 0 ;
43451 int arg2 = (int) -1 ;
43452 wxColour const &arg3_defvalue = *wxBLACK ;
43453 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43454 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43455 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43456 wxSize const &arg5_defvalue = wxDefaultSize ;
43457 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43458 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43459 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43460 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43461 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43462 wxString *arg8 = (wxString *) &arg8_defvalue ;
43463 wxColourPickerCtrl *result = 0 ;
43464 void *argp1 = 0 ;
43465 int res1 = 0 ;
43466 int val2 ;
43467 int ecode2 = 0 ;
43468 wxColour temp3 ;
43469 wxPoint temp4 ;
43470 wxSize temp5 ;
43471 long val6 ;
43472 int ecode6 = 0 ;
43473 void *argp7 = 0 ;
43474 int res7 = 0 ;
43475 bool temp8 = false ;
43476 PyObject * obj0 = 0 ;
43477 PyObject * obj1 = 0 ;
43478 PyObject * obj2 = 0 ;
43479 PyObject * obj3 = 0 ;
43480 PyObject * obj4 = 0 ;
43481 PyObject * obj5 = 0 ;
43482 PyObject * obj6 = 0 ;
43483 PyObject * obj7 = 0 ;
43484 char * kwnames[] = {
43485 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43486 };
43487
43488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43490 if (!SWIG_IsOK(res1)) {
43491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43492 }
43493 arg1 = reinterpret_cast< wxWindow * >(argp1);
43494 if (obj1) {
43495 ecode2 = SWIG_AsVal_int(obj1, &val2);
43496 if (!SWIG_IsOK(ecode2)) {
43497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43498 }
43499 arg2 = static_cast< int >(val2);
43500 }
43501 if (obj2) {
43502 {
43503 arg3 = &temp3;
43504 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43505 }
43506 }
43507 if (obj3) {
43508 {
43509 arg4 = &temp4;
43510 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43511 }
43512 }
43513 if (obj4) {
43514 {
43515 arg5 = &temp5;
43516 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43517 }
43518 }
43519 if (obj5) {
43520 ecode6 = SWIG_AsVal_long(obj5, &val6);
43521 if (!SWIG_IsOK(ecode6)) {
43522 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43523 }
43524 arg6 = static_cast< long >(val6);
43525 }
43526 if (obj6) {
43527 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43528 if (!SWIG_IsOK(res7)) {
43529 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43530 }
43531 if (!argp7) {
43532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43533 }
43534 arg7 = reinterpret_cast< wxValidator * >(argp7);
43535 }
43536 if (obj7) {
43537 {
43538 arg8 = wxString_in_helper(obj7);
43539 if (arg8 == NULL) SWIG_fail;
43540 temp8 = true;
43541 }
43542 }
43543 {
43544 if (!wxPyCheckForApp()) SWIG_fail;
43545 PyThreadState* __tstate = wxPyBeginAllowThreads();
43546 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43547 wxPyEndAllowThreads(__tstate);
43548 if (PyErr_Occurred()) SWIG_fail;
43549 }
43550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43551 {
43552 if (temp8)
43553 delete arg8;
43554 }
43555 return resultobj;
43556 fail:
43557 {
43558 if (temp8)
43559 delete arg8;
43560 }
43561 return NULL;
43562 }
43563
43564
43565 SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43566 PyObject *resultobj = 0;
43567 wxColourPickerCtrl *result = 0 ;
43568
43569 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43570 {
43571 if (!wxPyCheckForApp()) SWIG_fail;
43572 PyThreadState* __tstate = wxPyBeginAllowThreads();
43573 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43574 wxPyEndAllowThreads(__tstate);
43575 if (PyErr_Occurred()) SWIG_fail;
43576 }
43577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43578 return resultobj;
43579 fail:
43580 return NULL;
43581 }
43582
43583
43584 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43585 PyObject *resultobj = 0;
43586 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43587 wxWindow *arg2 = (wxWindow *) 0 ;
43588 int arg3 ;
43589 wxColour const &arg4_defvalue = *wxBLACK ;
43590 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43591 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43592 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43593 wxSize const &arg6_defvalue = wxDefaultSize ;
43594 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43595 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43596 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43597 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43598 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43599 wxString *arg9 = (wxString *) &arg9_defvalue ;
43600 bool result;
43601 void *argp1 = 0 ;
43602 int res1 = 0 ;
43603 void *argp2 = 0 ;
43604 int res2 = 0 ;
43605 int val3 ;
43606 int ecode3 = 0 ;
43607 wxColour temp4 ;
43608 wxPoint temp5 ;
43609 wxSize temp6 ;
43610 long val7 ;
43611 int ecode7 = 0 ;
43612 void *argp8 = 0 ;
43613 int res8 = 0 ;
43614 bool temp9 = false ;
43615 PyObject * obj0 = 0 ;
43616 PyObject * obj1 = 0 ;
43617 PyObject * obj2 = 0 ;
43618 PyObject * obj3 = 0 ;
43619 PyObject * obj4 = 0 ;
43620 PyObject * obj5 = 0 ;
43621 PyObject * obj6 = 0 ;
43622 PyObject * obj7 = 0 ;
43623 PyObject * obj8 = 0 ;
43624 char * kwnames[] = {
43625 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43626 };
43627
43628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43630 if (!SWIG_IsOK(res1)) {
43631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43632 }
43633 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43634 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43635 if (!SWIG_IsOK(res2)) {
43636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43637 }
43638 arg2 = reinterpret_cast< wxWindow * >(argp2);
43639 ecode3 = SWIG_AsVal_int(obj2, &val3);
43640 if (!SWIG_IsOK(ecode3)) {
43641 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43642 }
43643 arg3 = static_cast< int >(val3);
43644 if (obj3) {
43645 {
43646 arg4 = &temp4;
43647 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43648 }
43649 }
43650 if (obj4) {
43651 {
43652 arg5 = &temp5;
43653 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43654 }
43655 }
43656 if (obj5) {
43657 {
43658 arg6 = &temp6;
43659 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43660 }
43661 }
43662 if (obj6) {
43663 ecode7 = SWIG_AsVal_long(obj6, &val7);
43664 if (!SWIG_IsOK(ecode7)) {
43665 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43666 }
43667 arg7 = static_cast< long >(val7);
43668 }
43669 if (obj7) {
43670 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43671 if (!SWIG_IsOK(res8)) {
43672 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43673 }
43674 if (!argp8) {
43675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43676 }
43677 arg8 = reinterpret_cast< wxValidator * >(argp8);
43678 }
43679 if (obj8) {
43680 {
43681 arg9 = wxString_in_helper(obj8);
43682 if (arg9 == NULL) SWIG_fail;
43683 temp9 = true;
43684 }
43685 }
43686 {
43687 PyThreadState* __tstate = wxPyBeginAllowThreads();
43688 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43689 wxPyEndAllowThreads(__tstate);
43690 if (PyErr_Occurred()) SWIG_fail;
43691 }
43692 {
43693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43694 }
43695 {
43696 if (temp9)
43697 delete arg9;
43698 }
43699 return resultobj;
43700 fail:
43701 {
43702 if (temp9)
43703 delete arg9;
43704 }
43705 return NULL;
43706 }
43707
43708
43709 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43710 PyObject *resultobj = 0;
43711 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43712 wxColour result;
43713 void *argp1 = 0 ;
43714 int res1 = 0 ;
43715 PyObject *swig_obj[1] ;
43716
43717 if (!args) SWIG_fail;
43718 swig_obj[0] = args;
43719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43720 if (!SWIG_IsOK(res1)) {
43721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43722 }
43723 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43724 {
43725 PyThreadState* __tstate = wxPyBeginAllowThreads();
43726 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43727 wxPyEndAllowThreads(__tstate);
43728 if (PyErr_Occurred()) SWIG_fail;
43729 }
43730 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43731 return resultobj;
43732 fail:
43733 return NULL;
43734 }
43735
43736
43737 SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43738 PyObject *resultobj = 0;
43739 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43740 wxColour *arg2 = 0 ;
43741 void *argp1 = 0 ;
43742 int res1 = 0 ;
43743 wxColour temp2 ;
43744 PyObject * obj0 = 0 ;
43745 PyObject * obj1 = 0 ;
43746 char * kwnames[] = {
43747 (char *) "self",(char *) "col", NULL
43748 };
43749
43750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43752 if (!SWIG_IsOK(res1)) {
43753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43754 }
43755 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43756 {
43757 arg2 = &temp2;
43758 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43759 }
43760 {
43761 PyThreadState* __tstate = wxPyBeginAllowThreads();
43762 (arg1)->SetColour((wxColour const &)*arg2);
43763 wxPyEndAllowThreads(__tstate);
43764 if (PyErr_Occurred()) SWIG_fail;
43765 }
43766 resultobj = SWIG_Py_Void();
43767 return resultobj;
43768 fail:
43769 return NULL;
43770 }
43771
43772
43773 SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43774 PyObject *obj;
43775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43776 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43777 return SWIG_Py_Void();
43778 }
43779
43780 SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43781 return SWIG_Python_InitShadowInstance(args);
43782 }
43783
43784 SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43785 PyObject *resultobj = 0;
43786 wxObject *arg1 = (wxObject *) 0 ;
43787 int arg2 ;
43788 wxColour *arg3 = 0 ;
43789 wxColourPickerEvent *result = 0 ;
43790 void *argp1 = 0 ;
43791 int res1 = 0 ;
43792 int val2 ;
43793 int ecode2 = 0 ;
43794 wxColour temp3 ;
43795 PyObject * obj0 = 0 ;
43796 PyObject * obj1 = 0 ;
43797 PyObject * obj2 = 0 ;
43798 char * kwnames[] = {
43799 (char *) "generator",(char *) "id",(char *) "col", NULL
43800 };
43801
43802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43804 if (!SWIG_IsOK(res1)) {
43805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43806 }
43807 arg1 = reinterpret_cast< wxObject * >(argp1);
43808 ecode2 = SWIG_AsVal_int(obj1, &val2);
43809 if (!SWIG_IsOK(ecode2)) {
43810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43811 }
43812 arg2 = static_cast< int >(val2);
43813 {
43814 arg3 = &temp3;
43815 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43816 }
43817 {
43818 PyThreadState* __tstate = wxPyBeginAllowThreads();
43819 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43820 wxPyEndAllowThreads(__tstate);
43821 if (PyErr_Occurred()) SWIG_fail;
43822 }
43823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43824 return resultobj;
43825 fail:
43826 return NULL;
43827 }
43828
43829
43830 SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43831 PyObject *resultobj = 0;
43832 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43833 wxColour result;
43834 void *argp1 = 0 ;
43835 int res1 = 0 ;
43836 PyObject *swig_obj[1] ;
43837
43838 if (!args) SWIG_fail;
43839 swig_obj[0] = args;
43840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43841 if (!SWIG_IsOK(res1)) {
43842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43843 }
43844 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43845 {
43846 PyThreadState* __tstate = wxPyBeginAllowThreads();
43847 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43848 wxPyEndAllowThreads(__tstate);
43849 if (PyErr_Occurred()) SWIG_fail;
43850 }
43851 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43852 return resultobj;
43853 fail:
43854 return NULL;
43855 }
43856
43857
43858 SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43859 PyObject *resultobj = 0;
43860 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43861 wxColour *arg2 = 0 ;
43862 void *argp1 = 0 ;
43863 int res1 = 0 ;
43864 wxColour temp2 ;
43865 PyObject * obj0 = 0 ;
43866 PyObject * obj1 = 0 ;
43867 char * kwnames[] = {
43868 (char *) "self",(char *) "c", NULL
43869 };
43870
43871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43873 if (!SWIG_IsOK(res1)) {
43874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43875 }
43876 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43877 {
43878 arg2 = &temp2;
43879 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43880 }
43881 {
43882 PyThreadState* __tstate = wxPyBeginAllowThreads();
43883 (arg1)->SetColour((wxColour const &)*arg2);
43884 wxPyEndAllowThreads(__tstate);
43885 if (PyErr_Occurred()) SWIG_fail;
43886 }
43887 resultobj = SWIG_Py_Void();
43888 return resultobj;
43889 fail:
43890 return NULL;
43891 }
43892
43893
43894 SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43895 PyObject *obj;
43896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43897 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43898 return SWIG_Py_Void();
43899 }
43900
43901 SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43902 return SWIG_Python_InitShadowInstance(args);
43903 }
43904
43905 SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43906 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43907 return 1;
43908 }
43909
43910
43911 SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43912 PyObject *pyobj = 0;
43913
43914 {
43915 #if wxUSE_UNICODE
43916 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43917 #else
43918 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43919 #endif
43920 }
43921 return pyobj;
43922 }
43923
43924
43925 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43926 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43927 return 1;
43928 }
43929
43930
43931 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43932 PyObject *pyobj = 0;
43933
43934 {
43935 #if wxUSE_UNICODE
43936 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43937 #else
43938 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43939 #endif
43940 }
43941 return pyobj;
43942 }
43943
43944
43945 SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43946 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43947 return 1;
43948 }
43949
43950
43951 SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43952 PyObject *pyobj = 0;
43953
43954 {
43955 #if wxUSE_UNICODE
43956 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43957 #else
43958 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43959 #endif
43960 }
43961 return pyobj;
43962 }
43963
43964
43965 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43966 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43967 return 1;
43968 }
43969
43970
43971 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43972 PyObject *pyobj = 0;
43973
43974 {
43975 #if wxUSE_UNICODE
43976 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43977 #else
43978 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43979 #endif
43980 }
43981 return pyobj;
43982 }
43983
43984
43985 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43986 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43987 return 1;
43988 }
43989
43990
43991 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43992 PyObject *pyobj = 0;
43993
43994 {
43995 #if wxUSE_UNICODE
43996 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43997 #else
43998 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43999 #endif
44000 }
44001 return pyobj;
44002 }
44003
44004
44005 SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44006 PyObject *resultobj = 0;
44007 wxWindow *arg1 = (wxWindow *) 0 ;
44008 int arg2 = (int) -1 ;
44009 wxString const &arg3_defvalue = wxPyEmptyString ;
44010 wxString *arg3 = (wxString *) &arg3_defvalue ;
44011 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
44012 wxString *arg4 = (wxString *) &arg4_defvalue ;
44013 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44014 wxString *arg5 = (wxString *) &arg5_defvalue ;
44015 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44016 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44017 wxSize const &arg7_defvalue = wxDefaultSize ;
44018 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44019 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
44020 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44021 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44022 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
44023 wxString *arg10 = (wxString *) &arg10_defvalue ;
44024 wxFilePickerCtrl *result = 0 ;
44025 void *argp1 = 0 ;
44026 int res1 = 0 ;
44027 int val2 ;
44028 int ecode2 = 0 ;
44029 bool temp3 = false ;
44030 bool temp4 = false ;
44031 bool temp5 = false ;
44032 wxPoint temp6 ;
44033 wxSize temp7 ;
44034 long val8 ;
44035 int ecode8 = 0 ;
44036 void *argp9 = 0 ;
44037 int res9 = 0 ;
44038 bool temp10 = false ;
44039 PyObject * obj0 = 0 ;
44040 PyObject * obj1 = 0 ;
44041 PyObject * obj2 = 0 ;
44042 PyObject * obj3 = 0 ;
44043 PyObject * obj4 = 0 ;
44044 PyObject * obj5 = 0 ;
44045 PyObject * obj6 = 0 ;
44046 PyObject * obj7 = 0 ;
44047 PyObject * obj8 = 0 ;
44048 PyObject * obj9 = 0 ;
44049 char * kwnames[] = {
44050 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44051 };
44052
44053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44055 if (!SWIG_IsOK(res1)) {
44056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44057 }
44058 arg1 = reinterpret_cast< wxWindow * >(argp1);
44059 if (obj1) {
44060 ecode2 = SWIG_AsVal_int(obj1, &val2);
44061 if (!SWIG_IsOK(ecode2)) {
44062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44063 }
44064 arg2 = static_cast< int >(val2);
44065 }
44066 if (obj2) {
44067 {
44068 arg3 = wxString_in_helper(obj2);
44069 if (arg3 == NULL) SWIG_fail;
44070 temp3 = true;
44071 }
44072 }
44073 if (obj3) {
44074 {
44075 arg4 = wxString_in_helper(obj3);
44076 if (arg4 == NULL) SWIG_fail;
44077 temp4 = true;
44078 }
44079 }
44080 if (obj4) {
44081 {
44082 arg5 = wxString_in_helper(obj4);
44083 if (arg5 == NULL) SWIG_fail;
44084 temp5 = true;
44085 }
44086 }
44087 if (obj5) {
44088 {
44089 arg6 = &temp6;
44090 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44091 }
44092 }
44093 if (obj6) {
44094 {
44095 arg7 = &temp7;
44096 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44097 }
44098 }
44099 if (obj7) {
44100 ecode8 = SWIG_AsVal_long(obj7, &val8);
44101 if (!SWIG_IsOK(ecode8)) {
44102 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44103 }
44104 arg8 = static_cast< long >(val8);
44105 }
44106 if (obj8) {
44107 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44108 if (!SWIG_IsOK(res9)) {
44109 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44110 }
44111 if (!argp9) {
44112 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44113 }
44114 arg9 = reinterpret_cast< wxValidator * >(argp9);
44115 }
44116 if (obj9) {
44117 {
44118 arg10 = wxString_in_helper(obj9);
44119 if (arg10 == NULL) SWIG_fail;
44120 temp10 = true;
44121 }
44122 }
44123 {
44124 if (!wxPyCheckForApp()) SWIG_fail;
44125 PyThreadState* __tstate = wxPyBeginAllowThreads();
44126 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);
44127 wxPyEndAllowThreads(__tstate);
44128 if (PyErr_Occurred()) SWIG_fail;
44129 }
44130 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
44131 {
44132 if (temp3)
44133 delete arg3;
44134 }
44135 {
44136 if (temp4)
44137 delete arg4;
44138 }
44139 {
44140 if (temp5)
44141 delete arg5;
44142 }
44143 {
44144 if (temp10)
44145 delete arg10;
44146 }
44147 return resultobj;
44148 fail:
44149 {
44150 if (temp3)
44151 delete arg3;
44152 }
44153 {
44154 if (temp4)
44155 delete arg4;
44156 }
44157 {
44158 if (temp5)
44159 delete arg5;
44160 }
44161 {
44162 if (temp10)
44163 delete arg10;
44164 }
44165 return NULL;
44166 }
44167
44168
44169 SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44170 PyObject *resultobj = 0;
44171 wxFilePickerCtrl *result = 0 ;
44172
44173 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44174 {
44175 if (!wxPyCheckForApp()) SWIG_fail;
44176 PyThreadState* __tstate = wxPyBeginAllowThreads();
44177 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44178 wxPyEndAllowThreads(__tstate);
44179 if (PyErr_Occurred()) SWIG_fail;
44180 }
44181 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44182 return resultobj;
44183 fail:
44184 return NULL;
44185 }
44186
44187
44188 SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44189 PyObject *resultobj = 0;
44190 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44191 wxWindow *arg2 = (wxWindow *) 0 ;
44192 int arg3 = (int) -1 ;
44193 wxString const &arg4_defvalue = wxPyEmptyString ;
44194 wxString *arg4 = (wxString *) &arg4_defvalue ;
44195 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44196 wxString *arg5 = (wxString *) &arg5_defvalue ;
44197 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44198 wxString *arg6 = (wxString *) &arg6_defvalue ;
44199 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44200 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44201 wxSize const &arg8_defvalue = wxDefaultSize ;
44202 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44203 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44204 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44205 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44206 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44207 wxString *arg11 = (wxString *) &arg11_defvalue ;
44208 bool result;
44209 void *argp1 = 0 ;
44210 int res1 = 0 ;
44211 void *argp2 = 0 ;
44212 int res2 = 0 ;
44213 int val3 ;
44214 int ecode3 = 0 ;
44215 bool temp4 = false ;
44216 bool temp5 = false ;
44217 bool temp6 = false ;
44218 wxPoint temp7 ;
44219 wxSize temp8 ;
44220 long val9 ;
44221 int ecode9 = 0 ;
44222 void *argp10 = 0 ;
44223 int res10 = 0 ;
44224 bool temp11 = false ;
44225 PyObject * obj0 = 0 ;
44226 PyObject * obj1 = 0 ;
44227 PyObject * obj2 = 0 ;
44228 PyObject * obj3 = 0 ;
44229 PyObject * obj4 = 0 ;
44230 PyObject * obj5 = 0 ;
44231 PyObject * obj6 = 0 ;
44232 PyObject * obj7 = 0 ;
44233 PyObject * obj8 = 0 ;
44234 PyObject * obj9 = 0 ;
44235 PyObject * obj10 = 0 ;
44236 char * kwnames[] = {
44237 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44238 };
44239
44240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44242 if (!SWIG_IsOK(res1)) {
44243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44244 }
44245 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44247 if (!SWIG_IsOK(res2)) {
44248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44249 }
44250 arg2 = reinterpret_cast< wxWindow * >(argp2);
44251 if (obj2) {
44252 ecode3 = SWIG_AsVal_int(obj2, &val3);
44253 if (!SWIG_IsOK(ecode3)) {
44254 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44255 }
44256 arg3 = static_cast< int >(val3);
44257 }
44258 if (obj3) {
44259 {
44260 arg4 = wxString_in_helper(obj3);
44261 if (arg4 == NULL) SWIG_fail;
44262 temp4 = true;
44263 }
44264 }
44265 if (obj4) {
44266 {
44267 arg5 = wxString_in_helper(obj4);
44268 if (arg5 == NULL) SWIG_fail;
44269 temp5 = true;
44270 }
44271 }
44272 if (obj5) {
44273 {
44274 arg6 = wxString_in_helper(obj5);
44275 if (arg6 == NULL) SWIG_fail;
44276 temp6 = true;
44277 }
44278 }
44279 if (obj6) {
44280 {
44281 arg7 = &temp7;
44282 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44283 }
44284 }
44285 if (obj7) {
44286 {
44287 arg8 = &temp8;
44288 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44289 }
44290 }
44291 if (obj8) {
44292 ecode9 = SWIG_AsVal_long(obj8, &val9);
44293 if (!SWIG_IsOK(ecode9)) {
44294 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44295 }
44296 arg9 = static_cast< long >(val9);
44297 }
44298 if (obj9) {
44299 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44300 if (!SWIG_IsOK(res10)) {
44301 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44302 }
44303 if (!argp10) {
44304 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44305 }
44306 arg10 = reinterpret_cast< wxValidator * >(argp10);
44307 }
44308 if (obj10) {
44309 {
44310 arg11 = wxString_in_helper(obj10);
44311 if (arg11 == NULL) SWIG_fail;
44312 temp11 = true;
44313 }
44314 }
44315 {
44316 PyThreadState* __tstate = wxPyBeginAllowThreads();
44317 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);
44318 wxPyEndAllowThreads(__tstate);
44319 if (PyErr_Occurred()) SWIG_fail;
44320 }
44321 {
44322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44323 }
44324 {
44325 if (temp4)
44326 delete arg4;
44327 }
44328 {
44329 if (temp5)
44330 delete arg5;
44331 }
44332 {
44333 if (temp6)
44334 delete arg6;
44335 }
44336 {
44337 if (temp11)
44338 delete arg11;
44339 }
44340 return resultobj;
44341 fail:
44342 {
44343 if (temp4)
44344 delete arg4;
44345 }
44346 {
44347 if (temp5)
44348 delete arg5;
44349 }
44350 {
44351 if (temp6)
44352 delete arg6;
44353 }
44354 {
44355 if (temp11)
44356 delete arg11;
44357 }
44358 return NULL;
44359 }
44360
44361
44362 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44363 PyObject *resultobj = 0;
44364 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44365 wxString result;
44366 void *argp1 = 0 ;
44367 int res1 = 0 ;
44368 PyObject *swig_obj[1] ;
44369
44370 if (!args) SWIG_fail;
44371 swig_obj[0] = args;
44372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44373 if (!SWIG_IsOK(res1)) {
44374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44375 }
44376 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44377 {
44378 PyThreadState* __tstate = wxPyBeginAllowThreads();
44379 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44380 wxPyEndAllowThreads(__tstate);
44381 if (PyErr_Occurred()) SWIG_fail;
44382 }
44383 {
44384 #if wxUSE_UNICODE
44385 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44386 #else
44387 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44388 #endif
44389 }
44390 return resultobj;
44391 fail:
44392 return NULL;
44393 }
44394
44395
44396 SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44397 PyObject *resultobj = 0;
44398 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44399 wxString *arg2 = 0 ;
44400 void *argp1 = 0 ;
44401 int res1 = 0 ;
44402 bool temp2 = false ;
44403 PyObject * obj0 = 0 ;
44404 PyObject * obj1 = 0 ;
44405 char * kwnames[] = {
44406 (char *) "self",(char *) "str", NULL
44407 };
44408
44409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44411 if (!SWIG_IsOK(res1)) {
44412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44413 }
44414 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44415 {
44416 arg2 = wxString_in_helper(obj1);
44417 if (arg2 == NULL) SWIG_fail;
44418 temp2 = true;
44419 }
44420 {
44421 PyThreadState* __tstate = wxPyBeginAllowThreads();
44422 (arg1)->SetPath((wxString const &)*arg2);
44423 wxPyEndAllowThreads(__tstate);
44424 if (PyErr_Occurred()) SWIG_fail;
44425 }
44426 resultobj = SWIG_Py_Void();
44427 {
44428 if (temp2)
44429 delete arg2;
44430 }
44431 return resultobj;
44432 fail:
44433 {
44434 if (temp2)
44435 delete arg2;
44436 }
44437 return NULL;
44438 }
44439
44440
44441 SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44442 PyObject *resultobj = 0;
44443 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44444 wxString *arg2 = 0 ;
44445 bool result;
44446 void *argp1 = 0 ;
44447 int res1 = 0 ;
44448 bool temp2 = false ;
44449 PyObject * obj0 = 0 ;
44450 PyObject * obj1 = 0 ;
44451 char * kwnames[] = {
44452 (char *) "self",(char *) "path", NULL
44453 };
44454
44455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44457 if (!SWIG_IsOK(res1)) {
44458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44459 }
44460 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44461 {
44462 arg2 = wxString_in_helper(obj1);
44463 if (arg2 == NULL) SWIG_fail;
44464 temp2 = true;
44465 }
44466 {
44467 PyThreadState* __tstate = wxPyBeginAllowThreads();
44468 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44469 wxPyEndAllowThreads(__tstate);
44470 if (PyErr_Occurred()) SWIG_fail;
44471 }
44472 {
44473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44474 }
44475 {
44476 if (temp2)
44477 delete arg2;
44478 }
44479 return resultobj;
44480 fail:
44481 {
44482 if (temp2)
44483 delete arg2;
44484 }
44485 return NULL;
44486 }
44487
44488
44489 SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44490 PyObject *resultobj = 0;
44491 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44492 wxString result;
44493 void *argp1 = 0 ;
44494 int res1 = 0 ;
44495 PyObject *swig_obj[1] ;
44496
44497 if (!args) SWIG_fail;
44498 swig_obj[0] = args;
44499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44500 if (!SWIG_IsOK(res1)) {
44501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44502 }
44503 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44504 {
44505 PyThreadState* __tstate = wxPyBeginAllowThreads();
44506 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44507 wxPyEndAllowThreads(__tstate);
44508 if (PyErr_Occurred()) SWIG_fail;
44509 }
44510 {
44511 #if wxUSE_UNICODE
44512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44513 #else
44514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44515 #endif
44516 }
44517 return resultobj;
44518 fail:
44519 return NULL;
44520 }
44521
44522
44523 SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44524 PyObject *obj;
44525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44526 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44527 return SWIG_Py_Void();
44528 }
44529
44530 SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44531 return SWIG_Python_InitShadowInstance(args);
44532 }
44533
44534 SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44535 PyObject *resultobj = 0;
44536 wxWindow *arg1 = (wxWindow *) 0 ;
44537 int arg2 = (int) -1 ;
44538 wxString const &arg3_defvalue = wxPyEmptyString ;
44539 wxString *arg3 = (wxString *) &arg3_defvalue ;
44540 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44541 wxString *arg4 = (wxString *) &arg4_defvalue ;
44542 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44543 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44544 wxSize const &arg6_defvalue = wxDefaultSize ;
44545 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44546 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44547 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44548 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44549 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44550 wxString *arg9 = (wxString *) &arg9_defvalue ;
44551 wxDirPickerCtrl *result = 0 ;
44552 void *argp1 = 0 ;
44553 int res1 = 0 ;
44554 int val2 ;
44555 int ecode2 = 0 ;
44556 bool temp3 = false ;
44557 bool temp4 = false ;
44558 wxPoint temp5 ;
44559 wxSize temp6 ;
44560 long val7 ;
44561 int ecode7 = 0 ;
44562 void *argp8 = 0 ;
44563 int res8 = 0 ;
44564 bool temp9 = false ;
44565 PyObject * obj0 = 0 ;
44566 PyObject * obj1 = 0 ;
44567 PyObject * obj2 = 0 ;
44568 PyObject * obj3 = 0 ;
44569 PyObject * obj4 = 0 ;
44570 PyObject * obj5 = 0 ;
44571 PyObject * obj6 = 0 ;
44572 PyObject * obj7 = 0 ;
44573 PyObject * obj8 = 0 ;
44574 char * kwnames[] = {
44575 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44576 };
44577
44578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44580 if (!SWIG_IsOK(res1)) {
44581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44582 }
44583 arg1 = reinterpret_cast< wxWindow * >(argp1);
44584 if (obj1) {
44585 ecode2 = SWIG_AsVal_int(obj1, &val2);
44586 if (!SWIG_IsOK(ecode2)) {
44587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44588 }
44589 arg2 = static_cast< int >(val2);
44590 }
44591 if (obj2) {
44592 {
44593 arg3 = wxString_in_helper(obj2);
44594 if (arg3 == NULL) SWIG_fail;
44595 temp3 = true;
44596 }
44597 }
44598 if (obj3) {
44599 {
44600 arg4 = wxString_in_helper(obj3);
44601 if (arg4 == NULL) SWIG_fail;
44602 temp4 = true;
44603 }
44604 }
44605 if (obj4) {
44606 {
44607 arg5 = &temp5;
44608 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44609 }
44610 }
44611 if (obj5) {
44612 {
44613 arg6 = &temp6;
44614 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44615 }
44616 }
44617 if (obj6) {
44618 ecode7 = SWIG_AsVal_long(obj6, &val7);
44619 if (!SWIG_IsOK(ecode7)) {
44620 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44621 }
44622 arg7 = static_cast< long >(val7);
44623 }
44624 if (obj7) {
44625 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44626 if (!SWIG_IsOK(res8)) {
44627 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44628 }
44629 if (!argp8) {
44630 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44631 }
44632 arg8 = reinterpret_cast< wxValidator * >(argp8);
44633 }
44634 if (obj8) {
44635 {
44636 arg9 = wxString_in_helper(obj8);
44637 if (arg9 == NULL) SWIG_fail;
44638 temp9 = true;
44639 }
44640 }
44641 {
44642 if (!wxPyCheckForApp()) SWIG_fail;
44643 PyThreadState* __tstate = wxPyBeginAllowThreads();
44644 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);
44645 wxPyEndAllowThreads(__tstate);
44646 if (PyErr_Occurred()) SWIG_fail;
44647 }
44648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44649 {
44650 if (temp3)
44651 delete arg3;
44652 }
44653 {
44654 if (temp4)
44655 delete arg4;
44656 }
44657 {
44658 if (temp9)
44659 delete arg9;
44660 }
44661 return resultobj;
44662 fail:
44663 {
44664 if (temp3)
44665 delete arg3;
44666 }
44667 {
44668 if (temp4)
44669 delete arg4;
44670 }
44671 {
44672 if (temp9)
44673 delete arg9;
44674 }
44675 return NULL;
44676 }
44677
44678
44679 SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44680 PyObject *resultobj = 0;
44681 wxDirPickerCtrl *result = 0 ;
44682
44683 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44684 {
44685 if (!wxPyCheckForApp()) SWIG_fail;
44686 PyThreadState* __tstate = wxPyBeginAllowThreads();
44687 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44688 wxPyEndAllowThreads(__tstate);
44689 if (PyErr_Occurred()) SWIG_fail;
44690 }
44691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44692 return resultobj;
44693 fail:
44694 return NULL;
44695 }
44696
44697
44698 SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44699 PyObject *resultobj = 0;
44700 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44701 wxWindow *arg2 = (wxWindow *) 0 ;
44702 int arg3 = (int) -1 ;
44703 wxString const &arg4_defvalue = wxPyEmptyString ;
44704 wxString *arg4 = (wxString *) &arg4_defvalue ;
44705 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44706 wxString *arg5 = (wxString *) &arg5_defvalue ;
44707 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44708 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44709 wxSize const &arg7_defvalue = wxDefaultSize ;
44710 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44711 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44712 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44713 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44714 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44715 wxString *arg10 = (wxString *) &arg10_defvalue ;
44716 bool result;
44717 void *argp1 = 0 ;
44718 int res1 = 0 ;
44719 void *argp2 = 0 ;
44720 int res2 = 0 ;
44721 int val3 ;
44722 int ecode3 = 0 ;
44723 bool temp4 = false ;
44724 bool temp5 = false ;
44725 wxPoint temp6 ;
44726 wxSize temp7 ;
44727 long val8 ;
44728 int ecode8 = 0 ;
44729 void *argp9 = 0 ;
44730 int res9 = 0 ;
44731 bool temp10 = false ;
44732 PyObject * obj0 = 0 ;
44733 PyObject * obj1 = 0 ;
44734 PyObject * obj2 = 0 ;
44735 PyObject * obj3 = 0 ;
44736 PyObject * obj4 = 0 ;
44737 PyObject * obj5 = 0 ;
44738 PyObject * obj6 = 0 ;
44739 PyObject * obj7 = 0 ;
44740 PyObject * obj8 = 0 ;
44741 PyObject * obj9 = 0 ;
44742 char * kwnames[] = {
44743 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44744 };
44745
44746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44748 if (!SWIG_IsOK(res1)) {
44749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44750 }
44751 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44752 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44753 if (!SWIG_IsOK(res2)) {
44754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44755 }
44756 arg2 = reinterpret_cast< wxWindow * >(argp2);
44757 if (obj2) {
44758 ecode3 = SWIG_AsVal_int(obj2, &val3);
44759 if (!SWIG_IsOK(ecode3)) {
44760 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44761 }
44762 arg3 = static_cast< int >(val3);
44763 }
44764 if (obj3) {
44765 {
44766 arg4 = wxString_in_helper(obj3);
44767 if (arg4 == NULL) SWIG_fail;
44768 temp4 = true;
44769 }
44770 }
44771 if (obj4) {
44772 {
44773 arg5 = wxString_in_helper(obj4);
44774 if (arg5 == NULL) SWIG_fail;
44775 temp5 = true;
44776 }
44777 }
44778 if (obj5) {
44779 {
44780 arg6 = &temp6;
44781 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44782 }
44783 }
44784 if (obj6) {
44785 {
44786 arg7 = &temp7;
44787 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44788 }
44789 }
44790 if (obj7) {
44791 ecode8 = SWIG_AsVal_long(obj7, &val8);
44792 if (!SWIG_IsOK(ecode8)) {
44793 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44794 }
44795 arg8 = static_cast< long >(val8);
44796 }
44797 if (obj8) {
44798 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44799 if (!SWIG_IsOK(res9)) {
44800 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44801 }
44802 if (!argp9) {
44803 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44804 }
44805 arg9 = reinterpret_cast< wxValidator * >(argp9);
44806 }
44807 if (obj9) {
44808 {
44809 arg10 = wxString_in_helper(obj9);
44810 if (arg10 == NULL) SWIG_fail;
44811 temp10 = true;
44812 }
44813 }
44814 {
44815 PyThreadState* __tstate = wxPyBeginAllowThreads();
44816 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);
44817 wxPyEndAllowThreads(__tstate);
44818 if (PyErr_Occurred()) SWIG_fail;
44819 }
44820 {
44821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44822 }
44823 {
44824 if (temp4)
44825 delete arg4;
44826 }
44827 {
44828 if (temp5)
44829 delete arg5;
44830 }
44831 {
44832 if (temp10)
44833 delete arg10;
44834 }
44835 return resultobj;
44836 fail:
44837 {
44838 if (temp4)
44839 delete arg4;
44840 }
44841 {
44842 if (temp5)
44843 delete arg5;
44844 }
44845 {
44846 if (temp10)
44847 delete arg10;
44848 }
44849 return NULL;
44850 }
44851
44852
44853 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44854 PyObject *resultobj = 0;
44855 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44856 wxString result;
44857 void *argp1 = 0 ;
44858 int res1 = 0 ;
44859 PyObject *swig_obj[1] ;
44860
44861 if (!args) SWIG_fail;
44862 swig_obj[0] = args;
44863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44864 if (!SWIG_IsOK(res1)) {
44865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44866 }
44867 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44868 {
44869 PyThreadState* __tstate = wxPyBeginAllowThreads();
44870 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44871 wxPyEndAllowThreads(__tstate);
44872 if (PyErr_Occurred()) SWIG_fail;
44873 }
44874 {
44875 #if wxUSE_UNICODE
44876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44877 #else
44878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44879 #endif
44880 }
44881 return resultobj;
44882 fail:
44883 return NULL;
44884 }
44885
44886
44887 SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44888 PyObject *resultobj = 0;
44889 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44890 wxString *arg2 = 0 ;
44891 void *argp1 = 0 ;
44892 int res1 = 0 ;
44893 bool temp2 = false ;
44894 PyObject * obj0 = 0 ;
44895 PyObject * obj1 = 0 ;
44896 char * kwnames[] = {
44897 (char *) "self",(char *) "str", NULL
44898 };
44899
44900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44902 if (!SWIG_IsOK(res1)) {
44903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44904 }
44905 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44906 {
44907 arg2 = wxString_in_helper(obj1);
44908 if (arg2 == NULL) SWIG_fail;
44909 temp2 = true;
44910 }
44911 {
44912 PyThreadState* __tstate = wxPyBeginAllowThreads();
44913 (arg1)->SetPath((wxString const &)*arg2);
44914 wxPyEndAllowThreads(__tstate);
44915 if (PyErr_Occurred()) SWIG_fail;
44916 }
44917 resultobj = SWIG_Py_Void();
44918 {
44919 if (temp2)
44920 delete arg2;
44921 }
44922 return resultobj;
44923 fail:
44924 {
44925 if (temp2)
44926 delete arg2;
44927 }
44928 return NULL;
44929 }
44930
44931
44932 SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44933 PyObject *resultobj = 0;
44934 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44935 wxString *arg2 = 0 ;
44936 bool result;
44937 void *argp1 = 0 ;
44938 int res1 = 0 ;
44939 bool temp2 = false ;
44940 PyObject * obj0 = 0 ;
44941 PyObject * obj1 = 0 ;
44942 char * kwnames[] = {
44943 (char *) "self",(char *) "path", NULL
44944 };
44945
44946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44948 if (!SWIG_IsOK(res1)) {
44949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44950 }
44951 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44952 {
44953 arg2 = wxString_in_helper(obj1);
44954 if (arg2 == NULL) SWIG_fail;
44955 temp2 = true;
44956 }
44957 {
44958 PyThreadState* __tstate = wxPyBeginAllowThreads();
44959 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44960 wxPyEndAllowThreads(__tstate);
44961 if (PyErr_Occurred()) SWIG_fail;
44962 }
44963 {
44964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44965 }
44966 {
44967 if (temp2)
44968 delete arg2;
44969 }
44970 return resultobj;
44971 fail:
44972 {
44973 if (temp2)
44974 delete arg2;
44975 }
44976 return NULL;
44977 }
44978
44979
44980 SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44981 PyObject *resultobj = 0;
44982 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44983 wxString result;
44984 void *argp1 = 0 ;
44985 int res1 = 0 ;
44986 PyObject *swig_obj[1] ;
44987
44988 if (!args) SWIG_fail;
44989 swig_obj[0] = args;
44990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44991 if (!SWIG_IsOK(res1)) {
44992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44993 }
44994 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44995 {
44996 PyThreadState* __tstate = wxPyBeginAllowThreads();
44997 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44998 wxPyEndAllowThreads(__tstate);
44999 if (PyErr_Occurred()) SWIG_fail;
45000 }
45001 {
45002 #if wxUSE_UNICODE
45003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45004 #else
45005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45006 #endif
45007 }
45008 return resultobj;
45009 fail:
45010 return NULL;
45011 }
45012
45013
45014 SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45015 PyObject *obj;
45016 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45017 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
45018 return SWIG_Py_Void();
45019 }
45020
45021 SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45022 return SWIG_Python_InitShadowInstance(args);
45023 }
45024
45025 SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45026 PyObject *resultobj = 0;
45027 wxEventType arg1 ;
45028 wxObject *arg2 = (wxObject *) 0 ;
45029 int arg3 ;
45030 wxString *arg4 = 0 ;
45031 wxFileDirPickerEvent *result = 0 ;
45032 int val1 ;
45033 int ecode1 = 0 ;
45034 void *argp2 = 0 ;
45035 int res2 = 0 ;
45036 int val3 ;
45037 int ecode3 = 0 ;
45038 bool temp4 = false ;
45039 PyObject * obj0 = 0 ;
45040 PyObject * obj1 = 0 ;
45041 PyObject * obj2 = 0 ;
45042 PyObject * obj3 = 0 ;
45043 char * kwnames[] = {
45044 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45045 };
45046
45047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
45048 ecode1 = SWIG_AsVal_int(obj0, &val1);
45049 if (!SWIG_IsOK(ecode1)) {
45050 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45051 }
45052 arg1 = static_cast< wxEventType >(val1);
45053 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
45054 if (!SWIG_IsOK(res2)) {
45055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45056 }
45057 arg2 = reinterpret_cast< wxObject * >(argp2);
45058 ecode3 = SWIG_AsVal_int(obj2, &val3);
45059 if (!SWIG_IsOK(ecode3)) {
45060 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45061 }
45062 arg3 = static_cast< int >(val3);
45063 {
45064 arg4 = wxString_in_helper(obj3);
45065 if (arg4 == NULL) SWIG_fail;
45066 temp4 = true;
45067 }
45068 {
45069 PyThreadState* __tstate = wxPyBeginAllowThreads();
45070 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
45071 wxPyEndAllowThreads(__tstate);
45072 if (PyErr_Occurred()) SWIG_fail;
45073 }
45074 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
45075 {
45076 if (temp4)
45077 delete arg4;
45078 }
45079 return resultobj;
45080 fail:
45081 {
45082 if (temp4)
45083 delete arg4;
45084 }
45085 return NULL;
45086 }
45087
45088
45089 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45090 PyObject *resultobj = 0;
45091 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45092 wxString result;
45093 void *argp1 = 0 ;
45094 int res1 = 0 ;
45095 PyObject *swig_obj[1] ;
45096
45097 if (!args) SWIG_fail;
45098 swig_obj[0] = args;
45099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45100 if (!SWIG_IsOK(res1)) {
45101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45102 }
45103 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45104 {
45105 PyThreadState* __tstate = wxPyBeginAllowThreads();
45106 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
45107 wxPyEndAllowThreads(__tstate);
45108 if (PyErr_Occurred()) SWIG_fail;
45109 }
45110 {
45111 #if wxUSE_UNICODE
45112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
45113 #else
45114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
45115 #endif
45116 }
45117 return resultobj;
45118 fail:
45119 return NULL;
45120 }
45121
45122
45123 SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45124 PyObject *resultobj = 0;
45125 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
45126 wxString *arg2 = 0 ;
45127 void *argp1 = 0 ;
45128 int res1 = 0 ;
45129 bool temp2 = false ;
45130 PyObject * obj0 = 0 ;
45131 PyObject * obj1 = 0 ;
45132 char * kwnames[] = {
45133 (char *) "self",(char *) "p", NULL
45134 };
45135
45136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
45137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
45138 if (!SWIG_IsOK(res1)) {
45139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45140 }
45141 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45142 {
45143 arg2 = wxString_in_helper(obj1);
45144 if (arg2 == NULL) SWIG_fail;
45145 temp2 = true;
45146 }
45147 {
45148 PyThreadState* __tstate = wxPyBeginAllowThreads();
45149 (arg1)->SetPath((wxString const &)*arg2);
45150 wxPyEndAllowThreads(__tstate);
45151 if (PyErr_Occurred()) SWIG_fail;
45152 }
45153 resultobj = SWIG_Py_Void();
45154 {
45155 if (temp2)
45156 delete arg2;
45157 }
45158 return resultobj;
45159 fail:
45160 {
45161 if (temp2)
45162 delete arg2;
45163 }
45164 return NULL;
45165 }
45166
45167
45168 SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45169 PyObject *obj;
45170 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45171 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45172 return SWIG_Py_Void();
45173 }
45174
45175 SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45176 return SWIG_Python_InitShadowInstance(args);
45177 }
45178
45179 SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45180 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45181 return 1;
45182 }
45183
45184
45185 SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45186 PyObject *pyobj = 0;
45187
45188 {
45189 #if wxUSE_UNICODE
45190 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45191 #else
45192 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45193 #endif
45194 }
45195 return pyobj;
45196 }
45197
45198
45199 SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45200 PyObject *resultobj = 0;
45201 wxWindow *arg1 = (wxWindow *) 0 ;
45202 int arg2 = (int) -1 ;
45203 wxFont const &arg3_defvalue = wxNullFont ;
45204 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45207 wxSize const &arg5_defvalue = wxDefaultSize ;
45208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45209 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45210 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45211 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45212 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45213 wxString *arg8 = (wxString *) &arg8_defvalue ;
45214 wxFontPickerCtrl *result = 0 ;
45215 void *argp1 = 0 ;
45216 int res1 = 0 ;
45217 int val2 ;
45218 int ecode2 = 0 ;
45219 void *argp3 = 0 ;
45220 int res3 = 0 ;
45221 wxPoint temp4 ;
45222 wxSize temp5 ;
45223 long val6 ;
45224 int ecode6 = 0 ;
45225 void *argp7 = 0 ;
45226 int res7 = 0 ;
45227 bool temp8 = false ;
45228 PyObject * obj0 = 0 ;
45229 PyObject * obj1 = 0 ;
45230 PyObject * obj2 = 0 ;
45231 PyObject * obj3 = 0 ;
45232 PyObject * obj4 = 0 ;
45233 PyObject * obj5 = 0 ;
45234 PyObject * obj6 = 0 ;
45235 PyObject * obj7 = 0 ;
45236 char * kwnames[] = {
45237 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45238 };
45239
45240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45242 if (!SWIG_IsOK(res1)) {
45243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45244 }
45245 arg1 = reinterpret_cast< wxWindow * >(argp1);
45246 if (obj1) {
45247 ecode2 = SWIG_AsVal_int(obj1, &val2);
45248 if (!SWIG_IsOK(ecode2)) {
45249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45250 }
45251 arg2 = static_cast< int >(val2);
45252 }
45253 if (obj2) {
45254 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45255 if (!SWIG_IsOK(res3)) {
45256 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45257 }
45258 if (!argp3) {
45259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45260 }
45261 arg3 = reinterpret_cast< wxFont * >(argp3);
45262 }
45263 if (obj3) {
45264 {
45265 arg4 = &temp4;
45266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45267 }
45268 }
45269 if (obj4) {
45270 {
45271 arg5 = &temp5;
45272 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45273 }
45274 }
45275 if (obj5) {
45276 ecode6 = SWIG_AsVal_long(obj5, &val6);
45277 if (!SWIG_IsOK(ecode6)) {
45278 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45279 }
45280 arg6 = static_cast< long >(val6);
45281 }
45282 if (obj6) {
45283 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45284 if (!SWIG_IsOK(res7)) {
45285 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45286 }
45287 if (!argp7) {
45288 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45289 }
45290 arg7 = reinterpret_cast< wxValidator * >(argp7);
45291 }
45292 if (obj7) {
45293 {
45294 arg8 = wxString_in_helper(obj7);
45295 if (arg8 == NULL) SWIG_fail;
45296 temp8 = true;
45297 }
45298 }
45299 {
45300 if (!wxPyCheckForApp()) SWIG_fail;
45301 PyThreadState* __tstate = wxPyBeginAllowThreads();
45302 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45303 wxPyEndAllowThreads(__tstate);
45304 if (PyErr_Occurred()) SWIG_fail;
45305 }
45306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45307 {
45308 if (temp8)
45309 delete arg8;
45310 }
45311 return resultobj;
45312 fail:
45313 {
45314 if (temp8)
45315 delete arg8;
45316 }
45317 return NULL;
45318 }
45319
45320
45321 SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45322 PyObject *resultobj = 0;
45323 wxFontPickerCtrl *result = 0 ;
45324
45325 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45326 {
45327 if (!wxPyCheckForApp()) SWIG_fail;
45328 PyThreadState* __tstate = wxPyBeginAllowThreads();
45329 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45330 wxPyEndAllowThreads(__tstate);
45331 if (PyErr_Occurred()) SWIG_fail;
45332 }
45333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45334 return resultobj;
45335 fail:
45336 return NULL;
45337 }
45338
45339
45340 SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45341 PyObject *resultobj = 0;
45342 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45343 wxWindow *arg2 = (wxWindow *) 0 ;
45344 int arg3 = (int) -1 ;
45345 wxFont const &arg4_defvalue = wxNullFont ;
45346 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45347 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45348 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45349 wxSize const &arg6_defvalue = wxDefaultSize ;
45350 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45351 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45352 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45353 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45354 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45355 wxString *arg9 = (wxString *) &arg9_defvalue ;
45356 bool result;
45357 void *argp1 = 0 ;
45358 int res1 = 0 ;
45359 void *argp2 = 0 ;
45360 int res2 = 0 ;
45361 int val3 ;
45362 int ecode3 = 0 ;
45363 void *argp4 = 0 ;
45364 int res4 = 0 ;
45365 wxPoint temp5 ;
45366 wxSize temp6 ;
45367 long val7 ;
45368 int ecode7 = 0 ;
45369 void *argp8 = 0 ;
45370 int res8 = 0 ;
45371 bool temp9 = false ;
45372 PyObject * obj0 = 0 ;
45373 PyObject * obj1 = 0 ;
45374 PyObject * obj2 = 0 ;
45375 PyObject * obj3 = 0 ;
45376 PyObject * obj4 = 0 ;
45377 PyObject * obj5 = 0 ;
45378 PyObject * obj6 = 0 ;
45379 PyObject * obj7 = 0 ;
45380 PyObject * obj8 = 0 ;
45381 char * kwnames[] = {
45382 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45383 };
45384
45385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45387 if (!SWIG_IsOK(res1)) {
45388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45389 }
45390 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45391 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45392 if (!SWIG_IsOK(res2)) {
45393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45394 }
45395 arg2 = reinterpret_cast< wxWindow * >(argp2);
45396 if (obj2) {
45397 ecode3 = SWIG_AsVal_int(obj2, &val3);
45398 if (!SWIG_IsOK(ecode3)) {
45399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45400 }
45401 arg3 = static_cast< int >(val3);
45402 }
45403 if (obj3) {
45404 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45405 if (!SWIG_IsOK(res4)) {
45406 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45407 }
45408 if (!argp4) {
45409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45410 }
45411 arg4 = reinterpret_cast< wxFont * >(argp4);
45412 }
45413 if (obj4) {
45414 {
45415 arg5 = &temp5;
45416 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45417 }
45418 }
45419 if (obj5) {
45420 {
45421 arg6 = &temp6;
45422 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45423 }
45424 }
45425 if (obj6) {
45426 ecode7 = SWIG_AsVal_long(obj6, &val7);
45427 if (!SWIG_IsOK(ecode7)) {
45428 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45429 }
45430 arg7 = static_cast< long >(val7);
45431 }
45432 if (obj7) {
45433 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45434 if (!SWIG_IsOK(res8)) {
45435 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45436 }
45437 if (!argp8) {
45438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45439 }
45440 arg8 = reinterpret_cast< wxValidator * >(argp8);
45441 }
45442 if (obj8) {
45443 {
45444 arg9 = wxString_in_helper(obj8);
45445 if (arg9 == NULL) SWIG_fail;
45446 temp9 = true;
45447 }
45448 }
45449 {
45450 PyThreadState* __tstate = wxPyBeginAllowThreads();
45451 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45452 wxPyEndAllowThreads(__tstate);
45453 if (PyErr_Occurred()) SWIG_fail;
45454 }
45455 {
45456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45457 }
45458 {
45459 if (temp9)
45460 delete arg9;
45461 }
45462 return resultobj;
45463 fail:
45464 {
45465 if (temp9)
45466 delete arg9;
45467 }
45468 return NULL;
45469 }
45470
45471
45472 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45473 PyObject *resultobj = 0;
45474 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45475 wxFont result;
45476 void *argp1 = 0 ;
45477 int res1 = 0 ;
45478 PyObject *swig_obj[1] ;
45479
45480 if (!args) SWIG_fail;
45481 swig_obj[0] = args;
45482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45483 if (!SWIG_IsOK(res1)) {
45484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45485 }
45486 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45487 {
45488 PyThreadState* __tstate = wxPyBeginAllowThreads();
45489 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45490 wxPyEndAllowThreads(__tstate);
45491 if (PyErr_Occurred()) SWIG_fail;
45492 }
45493 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45494 return resultobj;
45495 fail:
45496 return NULL;
45497 }
45498
45499
45500 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45501 PyObject *resultobj = 0;
45502 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45503 wxFont *arg2 = 0 ;
45504 void *argp1 = 0 ;
45505 int res1 = 0 ;
45506 void *argp2 = 0 ;
45507 int res2 = 0 ;
45508 PyObject * obj0 = 0 ;
45509 PyObject * obj1 = 0 ;
45510 char * kwnames[] = {
45511 (char *) "self",(char *) "f", NULL
45512 };
45513
45514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45516 if (!SWIG_IsOK(res1)) {
45517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45518 }
45519 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45521 if (!SWIG_IsOK(res2)) {
45522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45523 }
45524 if (!argp2) {
45525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45526 }
45527 arg2 = reinterpret_cast< wxFont * >(argp2);
45528 {
45529 PyThreadState* __tstate = wxPyBeginAllowThreads();
45530 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45531 wxPyEndAllowThreads(__tstate);
45532 if (PyErr_Occurred()) SWIG_fail;
45533 }
45534 resultobj = SWIG_Py_Void();
45535 return resultobj;
45536 fail:
45537 return NULL;
45538 }
45539
45540
45541 SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45542 PyObject *resultobj = 0;
45543 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45544 unsigned int arg2 ;
45545 void *argp1 = 0 ;
45546 int res1 = 0 ;
45547 unsigned int val2 ;
45548 int ecode2 = 0 ;
45549 PyObject * obj0 = 0 ;
45550 PyObject * obj1 = 0 ;
45551 char * kwnames[] = {
45552 (char *) "self",(char *) "max", NULL
45553 };
45554
45555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45557 if (!SWIG_IsOK(res1)) {
45558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45559 }
45560 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45561 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45562 if (!SWIG_IsOK(ecode2)) {
45563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45564 }
45565 arg2 = static_cast< unsigned int >(val2);
45566 {
45567 PyThreadState* __tstate = wxPyBeginAllowThreads();
45568 (arg1)->SetMaxPointSize(arg2);
45569 wxPyEndAllowThreads(__tstate);
45570 if (PyErr_Occurred()) SWIG_fail;
45571 }
45572 resultobj = SWIG_Py_Void();
45573 return resultobj;
45574 fail:
45575 return NULL;
45576 }
45577
45578
45579 SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45580 PyObject *resultobj = 0;
45581 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45582 unsigned int result;
45583 void *argp1 = 0 ;
45584 int res1 = 0 ;
45585 PyObject *swig_obj[1] ;
45586
45587 if (!args) SWIG_fail;
45588 swig_obj[0] = args;
45589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45590 if (!SWIG_IsOK(res1)) {
45591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45592 }
45593 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45594 {
45595 PyThreadState* __tstate = wxPyBeginAllowThreads();
45596 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45597 wxPyEndAllowThreads(__tstate);
45598 if (PyErr_Occurred()) SWIG_fail;
45599 }
45600 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45601 return resultobj;
45602 fail:
45603 return NULL;
45604 }
45605
45606
45607 SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45608 PyObject *obj;
45609 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45610 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45611 return SWIG_Py_Void();
45612 }
45613
45614 SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45615 return SWIG_Python_InitShadowInstance(args);
45616 }
45617
45618 SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45619 PyObject *resultobj = 0;
45620 wxObject *arg1 = (wxObject *) 0 ;
45621 int arg2 ;
45622 wxFont *arg3 = 0 ;
45623 wxFontPickerEvent *result = 0 ;
45624 void *argp1 = 0 ;
45625 int res1 = 0 ;
45626 int val2 ;
45627 int ecode2 = 0 ;
45628 void *argp3 = 0 ;
45629 int res3 = 0 ;
45630 PyObject * obj0 = 0 ;
45631 PyObject * obj1 = 0 ;
45632 PyObject * obj2 = 0 ;
45633 char * kwnames[] = {
45634 (char *) "generator",(char *) "id",(char *) "f", NULL
45635 };
45636
45637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45639 if (!SWIG_IsOK(res1)) {
45640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45641 }
45642 arg1 = reinterpret_cast< wxObject * >(argp1);
45643 ecode2 = SWIG_AsVal_int(obj1, &val2);
45644 if (!SWIG_IsOK(ecode2)) {
45645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45646 }
45647 arg2 = static_cast< int >(val2);
45648 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45649 if (!SWIG_IsOK(res3)) {
45650 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45651 }
45652 if (!argp3) {
45653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45654 }
45655 arg3 = reinterpret_cast< wxFont * >(argp3);
45656 {
45657 PyThreadState* __tstate = wxPyBeginAllowThreads();
45658 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45659 wxPyEndAllowThreads(__tstate);
45660 if (PyErr_Occurred()) SWIG_fail;
45661 }
45662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45663 return resultobj;
45664 fail:
45665 return NULL;
45666 }
45667
45668
45669 SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45670 PyObject *resultobj = 0;
45671 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45672 wxFont result;
45673 void *argp1 = 0 ;
45674 int res1 = 0 ;
45675 PyObject *swig_obj[1] ;
45676
45677 if (!args) SWIG_fail;
45678 swig_obj[0] = args;
45679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45680 if (!SWIG_IsOK(res1)) {
45681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45682 }
45683 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45684 {
45685 PyThreadState* __tstate = wxPyBeginAllowThreads();
45686 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45687 wxPyEndAllowThreads(__tstate);
45688 if (PyErr_Occurred()) SWIG_fail;
45689 }
45690 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45691 return resultobj;
45692 fail:
45693 return NULL;
45694 }
45695
45696
45697 SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45698 PyObject *resultobj = 0;
45699 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45700 wxFont *arg2 = 0 ;
45701 void *argp1 = 0 ;
45702 int res1 = 0 ;
45703 void *argp2 = 0 ;
45704 int res2 = 0 ;
45705 PyObject * obj0 = 0 ;
45706 PyObject * obj1 = 0 ;
45707 char * kwnames[] = {
45708 (char *) "self",(char *) "c", NULL
45709 };
45710
45711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45713 if (!SWIG_IsOK(res1)) {
45714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45715 }
45716 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45717 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45718 if (!SWIG_IsOK(res2)) {
45719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45720 }
45721 if (!argp2) {
45722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45723 }
45724 arg2 = reinterpret_cast< wxFont * >(argp2);
45725 {
45726 PyThreadState* __tstate = wxPyBeginAllowThreads();
45727 (arg1)->SetFont((wxFont const &)*arg2);
45728 wxPyEndAllowThreads(__tstate);
45729 if (PyErr_Occurred()) SWIG_fail;
45730 }
45731 resultobj = SWIG_Py_Void();
45732 return resultobj;
45733 fail:
45734 return NULL;
45735 }
45736
45737
45738 SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45739 PyObject *obj;
45740 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45741 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45742 return SWIG_Py_Void();
45743 }
45744
45745 SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45746 return SWIG_Python_InitShadowInstance(args);
45747 }
45748
45749 SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45750 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45751 return 1;
45752 }
45753
45754
45755 SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45756 PyObject *pyobj = 0;
45757
45758 {
45759 #if wxUSE_UNICODE
45760 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45761 #else
45762 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45763 #endif
45764 }
45765 return pyobj;
45766 }
45767
45768
45769 SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45770 PyObject *resultobj = 0;
45771 wxWindow *arg1 = (wxWindow *) 0 ;
45772 int arg2 = (int) -1 ;
45773 wxString const &arg3_defvalue = wxPyEmptyString ;
45774 wxString *arg3 = (wxString *) &arg3_defvalue ;
45775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45777 wxSize const &arg5_defvalue = wxDefaultSize ;
45778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45779 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45780 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45781 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45782 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45783 wxString *arg8 = (wxString *) &arg8_defvalue ;
45784 wxCollapsiblePane *result = 0 ;
45785 void *argp1 = 0 ;
45786 int res1 = 0 ;
45787 int val2 ;
45788 int ecode2 = 0 ;
45789 bool temp3 = false ;
45790 wxPoint temp4 ;
45791 wxSize temp5 ;
45792 long val6 ;
45793 int ecode6 = 0 ;
45794 void *argp7 = 0 ;
45795 int res7 = 0 ;
45796 bool temp8 = false ;
45797 PyObject * obj0 = 0 ;
45798 PyObject * obj1 = 0 ;
45799 PyObject * obj2 = 0 ;
45800 PyObject * obj3 = 0 ;
45801 PyObject * obj4 = 0 ;
45802 PyObject * obj5 = 0 ;
45803 PyObject * obj6 = 0 ;
45804 PyObject * obj7 = 0 ;
45805 char * kwnames[] = {
45806 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45807 };
45808
45809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45811 if (!SWIG_IsOK(res1)) {
45812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45813 }
45814 arg1 = reinterpret_cast< wxWindow * >(argp1);
45815 if (obj1) {
45816 ecode2 = SWIG_AsVal_int(obj1, &val2);
45817 if (!SWIG_IsOK(ecode2)) {
45818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45819 }
45820 arg2 = static_cast< int >(val2);
45821 }
45822 if (obj2) {
45823 {
45824 arg3 = wxString_in_helper(obj2);
45825 if (arg3 == NULL) SWIG_fail;
45826 temp3 = true;
45827 }
45828 }
45829 if (obj3) {
45830 {
45831 arg4 = &temp4;
45832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45833 }
45834 }
45835 if (obj4) {
45836 {
45837 arg5 = &temp5;
45838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45839 }
45840 }
45841 if (obj5) {
45842 ecode6 = SWIG_AsVal_long(obj5, &val6);
45843 if (!SWIG_IsOK(ecode6)) {
45844 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45845 }
45846 arg6 = static_cast< long >(val6);
45847 }
45848 if (obj6) {
45849 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45850 if (!SWIG_IsOK(res7)) {
45851 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45852 }
45853 if (!argp7) {
45854 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45855 }
45856 arg7 = reinterpret_cast< wxValidator * >(argp7);
45857 }
45858 if (obj7) {
45859 {
45860 arg8 = wxString_in_helper(obj7);
45861 if (arg8 == NULL) SWIG_fail;
45862 temp8 = true;
45863 }
45864 }
45865 {
45866 if (!wxPyCheckForApp()) SWIG_fail;
45867 PyThreadState* __tstate = wxPyBeginAllowThreads();
45868 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45869 wxPyEndAllowThreads(__tstate);
45870 if (PyErr_Occurred()) SWIG_fail;
45871 }
45872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45873 {
45874 if (temp3)
45875 delete arg3;
45876 }
45877 {
45878 if (temp8)
45879 delete arg8;
45880 }
45881 return resultobj;
45882 fail:
45883 {
45884 if (temp3)
45885 delete arg3;
45886 }
45887 {
45888 if (temp8)
45889 delete arg8;
45890 }
45891 return NULL;
45892 }
45893
45894
45895 SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45896 PyObject *resultobj = 0;
45897 wxCollapsiblePane *result = 0 ;
45898
45899 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45900 {
45901 if (!wxPyCheckForApp()) SWIG_fail;
45902 PyThreadState* __tstate = wxPyBeginAllowThreads();
45903 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45904 wxPyEndAllowThreads(__tstate);
45905 if (PyErr_Occurred()) SWIG_fail;
45906 }
45907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45908 return resultobj;
45909 fail:
45910 return NULL;
45911 }
45912
45913
45914 SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45915 PyObject *resultobj = 0;
45916 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45917 wxWindow *arg2 = (wxWindow *) 0 ;
45918 int arg3 = (int) -1 ;
45919 wxString const &arg4_defvalue = wxPyEmptyString ;
45920 wxString *arg4 = (wxString *) &arg4_defvalue ;
45921 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45922 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45923 wxSize const &arg6_defvalue = wxDefaultSize ;
45924 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45925 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45926 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45927 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45928 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45929 wxString *arg9 = (wxString *) &arg9_defvalue ;
45930 bool result;
45931 void *argp1 = 0 ;
45932 int res1 = 0 ;
45933 void *argp2 = 0 ;
45934 int res2 = 0 ;
45935 int val3 ;
45936 int ecode3 = 0 ;
45937 bool temp4 = false ;
45938 wxPoint temp5 ;
45939 wxSize temp6 ;
45940 long val7 ;
45941 int ecode7 = 0 ;
45942 void *argp8 = 0 ;
45943 int res8 = 0 ;
45944 bool temp9 = false ;
45945 PyObject * obj0 = 0 ;
45946 PyObject * obj1 = 0 ;
45947 PyObject * obj2 = 0 ;
45948 PyObject * obj3 = 0 ;
45949 PyObject * obj4 = 0 ;
45950 PyObject * obj5 = 0 ;
45951 PyObject * obj6 = 0 ;
45952 PyObject * obj7 = 0 ;
45953 PyObject * obj8 = 0 ;
45954 char * kwnames[] = {
45955 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45956 };
45957
45958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45960 if (!SWIG_IsOK(res1)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45962 }
45963 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45964 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45965 if (!SWIG_IsOK(res2)) {
45966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45967 }
45968 arg2 = reinterpret_cast< wxWindow * >(argp2);
45969 if (obj2) {
45970 ecode3 = SWIG_AsVal_int(obj2, &val3);
45971 if (!SWIG_IsOK(ecode3)) {
45972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45973 }
45974 arg3 = static_cast< int >(val3);
45975 }
45976 if (obj3) {
45977 {
45978 arg4 = wxString_in_helper(obj3);
45979 if (arg4 == NULL) SWIG_fail;
45980 temp4 = true;
45981 }
45982 }
45983 if (obj4) {
45984 {
45985 arg5 = &temp5;
45986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45987 }
45988 }
45989 if (obj5) {
45990 {
45991 arg6 = &temp6;
45992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45993 }
45994 }
45995 if (obj6) {
45996 ecode7 = SWIG_AsVal_long(obj6, &val7);
45997 if (!SWIG_IsOK(ecode7)) {
45998 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45999 }
46000 arg7 = static_cast< long >(val7);
46001 }
46002 if (obj7) {
46003 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46004 if (!SWIG_IsOK(res8)) {
46005 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46006 }
46007 if (!argp8) {
46008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46009 }
46010 arg8 = reinterpret_cast< wxValidator * >(argp8);
46011 }
46012 if (obj8) {
46013 {
46014 arg9 = wxString_in_helper(obj8);
46015 if (arg9 == NULL) SWIG_fail;
46016 temp9 = true;
46017 }
46018 }
46019 {
46020 PyThreadState* __tstate = wxPyBeginAllowThreads();
46021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46022 wxPyEndAllowThreads(__tstate);
46023 if (PyErr_Occurred()) SWIG_fail;
46024 }
46025 {
46026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46027 }
46028 {
46029 if (temp4)
46030 delete arg4;
46031 }
46032 {
46033 if (temp9)
46034 delete arg9;
46035 }
46036 return resultobj;
46037 fail:
46038 {
46039 if (temp4)
46040 delete arg4;
46041 }
46042 {
46043 if (temp9)
46044 delete arg9;
46045 }
46046 return NULL;
46047 }
46048
46049
46050 SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46051 PyObject *resultobj = 0;
46052 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46053 bool arg2 = (bool) true ;
46054 void *argp1 = 0 ;
46055 int res1 = 0 ;
46056 bool val2 ;
46057 int ecode2 = 0 ;
46058 PyObject * obj0 = 0 ;
46059 PyObject * obj1 = 0 ;
46060 char * kwnames[] = {
46061 (char *) "self",(char *) "collapse", NULL
46062 };
46063
46064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
46065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46066 if (!SWIG_IsOK(res1)) {
46067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46068 }
46069 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46070 if (obj1) {
46071 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46072 if (!SWIG_IsOK(ecode2)) {
46073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46074 }
46075 arg2 = static_cast< bool >(val2);
46076 }
46077 {
46078 PyThreadState* __tstate = wxPyBeginAllowThreads();
46079 (arg1)->Collapse(arg2);
46080 wxPyEndAllowThreads(__tstate);
46081 if (PyErr_Occurred()) SWIG_fail;
46082 }
46083 resultobj = SWIG_Py_Void();
46084 return resultobj;
46085 fail:
46086 return NULL;
46087 }
46088
46089
46090 SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46091 PyObject *resultobj = 0;
46092 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46093 void *argp1 = 0 ;
46094 int res1 = 0 ;
46095 PyObject *swig_obj[1] ;
46096
46097 if (!args) SWIG_fail;
46098 swig_obj[0] = args;
46099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46100 if (!SWIG_IsOK(res1)) {
46101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46102 }
46103 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46104 {
46105 PyThreadState* __tstate = wxPyBeginAllowThreads();
46106 (arg1)->Expand();
46107 wxPyEndAllowThreads(__tstate);
46108 if (PyErr_Occurred()) SWIG_fail;
46109 }
46110 resultobj = SWIG_Py_Void();
46111 return resultobj;
46112 fail:
46113 return NULL;
46114 }
46115
46116
46117 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46118 PyObject *resultobj = 0;
46119 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46120 bool result;
46121 void *argp1 = 0 ;
46122 int res1 = 0 ;
46123 PyObject *swig_obj[1] ;
46124
46125 if (!args) SWIG_fail;
46126 swig_obj[0] = args;
46127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46128 if (!SWIG_IsOK(res1)) {
46129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46130 }
46131 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46132 {
46133 PyThreadState* __tstate = wxPyBeginAllowThreads();
46134 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
46135 wxPyEndAllowThreads(__tstate);
46136 if (PyErr_Occurred()) SWIG_fail;
46137 }
46138 {
46139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46140 }
46141 return resultobj;
46142 fail:
46143 return NULL;
46144 }
46145
46146
46147 SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46148 PyObject *resultobj = 0;
46149 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46150 bool result;
46151 void *argp1 = 0 ;
46152 int res1 = 0 ;
46153 PyObject *swig_obj[1] ;
46154
46155 if (!args) SWIG_fail;
46156 swig_obj[0] = args;
46157 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46158 if (!SWIG_IsOK(res1)) {
46159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46160 }
46161 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46162 {
46163 PyThreadState* __tstate = wxPyBeginAllowThreads();
46164 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
46165 wxPyEndAllowThreads(__tstate);
46166 if (PyErr_Occurred()) SWIG_fail;
46167 }
46168 {
46169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46170 }
46171 return resultobj;
46172 fail:
46173 return NULL;
46174 }
46175
46176
46177 SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46178 PyObject *resultobj = 0;
46179 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46180 wxWindow *result = 0 ;
46181 void *argp1 = 0 ;
46182 int res1 = 0 ;
46183 PyObject *swig_obj[1] ;
46184
46185 if (!args) SWIG_fail;
46186 swig_obj[0] = args;
46187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46188 if (!SWIG_IsOK(res1)) {
46189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46190 }
46191 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46192 {
46193 PyThreadState* __tstate = wxPyBeginAllowThreads();
46194 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46195 wxPyEndAllowThreads(__tstate);
46196 if (PyErr_Occurred()) SWIG_fail;
46197 }
46198 {
46199 resultobj = wxPyMake_wxObject(result, 0);
46200 }
46201 return resultobj;
46202 fail:
46203 return NULL;
46204 }
46205
46206
46207 SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46208 PyObject *obj;
46209 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46210 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46211 return SWIG_Py_Void();
46212 }
46213
46214 SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46215 return SWIG_Python_InitShadowInstance(args);
46216 }
46217
46218 SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46219 PyObject *resultobj = 0;
46220 wxObject *arg1 = (wxObject *) 0 ;
46221 int arg2 ;
46222 bool arg3 ;
46223 wxCollapsiblePaneEvent *result = 0 ;
46224 void *argp1 = 0 ;
46225 int res1 = 0 ;
46226 int val2 ;
46227 int ecode2 = 0 ;
46228 bool val3 ;
46229 int ecode3 = 0 ;
46230 PyObject * obj0 = 0 ;
46231 PyObject * obj1 = 0 ;
46232 PyObject * obj2 = 0 ;
46233 char * kwnames[] = {
46234 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46235 };
46236
46237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46239 if (!SWIG_IsOK(res1)) {
46240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46241 }
46242 arg1 = reinterpret_cast< wxObject * >(argp1);
46243 ecode2 = SWIG_AsVal_int(obj1, &val2);
46244 if (!SWIG_IsOK(ecode2)) {
46245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46246 }
46247 arg2 = static_cast< int >(val2);
46248 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46249 if (!SWIG_IsOK(ecode3)) {
46250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46251 }
46252 arg3 = static_cast< bool >(val3);
46253 {
46254 PyThreadState* __tstate = wxPyBeginAllowThreads();
46255 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46256 wxPyEndAllowThreads(__tstate);
46257 if (PyErr_Occurred()) SWIG_fail;
46258 }
46259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46260 return resultobj;
46261 fail:
46262 return NULL;
46263 }
46264
46265
46266 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46267 PyObject *resultobj = 0;
46268 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46269 bool result;
46270 void *argp1 = 0 ;
46271 int res1 = 0 ;
46272 PyObject *swig_obj[1] ;
46273
46274 if (!args) SWIG_fail;
46275 swig_obj[0] = args;
46276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46277 if (!SWIG_IsOK(res1)) {
46278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46279 }
46280 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46281 {
46282 PyThreadState* __tstate = wxPyBeginAllowThreads();
46283 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46284 wxPyEndAllowThreads(__tstate);
46285 if (PyErr_Occurred()) SWIG_fail;
46286 }
46287 {
46288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46289 }
46290 return resultobj;
46291 fail:
46292 return NULL;
46293 }
46294
46295
46296 SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46297 PyObject *resultobj = 0;
46298 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46299 bool arg2 ;
46300 void *argp1 = 0 ;
46301 int res1 = 0 ;
46302 bool val2 ;
46303 int ecode2 = 0 ;
46304 PyObject * obj0 = 0 ;
46305 PyObject * obj1 = 0 ;
46306 char * kwnames[] = {
46307 (char *) "self",(char *) "c", NULL
46308 };
46309
46310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46312 if (!SWIG_IsOK(res1)) {
46313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46314 }
46315 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46316 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46317 if (!SWIG_IsOK(ecode2)) {
46318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46319 }
46320 arg2 = static_cast< bool >(val2);
46321 {
46322 PyThreadState* __tstate = wxPyBeginAllowThreads();
46323 (arg1)->SetCollapsed(arg2);
46324 wxPyEndAllowThreads(__tstate);
46325 if (PyErr_Occurred()) SWIG_fail;
46326 }
46327 resultobj = SWIG_Py_Void();
46328 return resultobj;
46329 fail:
46330 return NULL;
46331 }
46332
46333
46334 SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46335 PyObject *obj;
46336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46337 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46338 return SWIG_Py_Void();
46339 }
46340
46341 SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46342 return SWIG_Python_InitShadowInstance(args);
46343 }
46344
46345 SWIGINTERN int SearchCtrlNameStr_set(PyObject *) {
46346 SWIG_Error(SWIG_AttributeError,"Variable SearchCtrlNameStr is read-only.");
46347 return 1;
46348 }
46349
46350
46351 SWIGINTERN PyObject *SearchCtrlNameStr_get(void) {
46352 PyObject *pyobj = 0;
46353
46354 {
46355 #if wxUSE_UNICODE
46356 pyobj = PyUnicode_FromWideChar((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46357 #else
46358 pyobj = PyString_FromStringAndSize((&wxPySearchCtrlNameStr)->c_str(), (&wxPySearchCtrlNameStr)->Len());
46359 #endif
46360 }
46361 return pyobj;
46362 }
46363
46364
46365 SWIGINTERN PyObject *_wrap_new_SearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46366 PyObject *resultobj = 0;
46367 wxWindow *arg1 = (wxWindow *) 0 ;
46368 int arg2 = (int) -1 ;
46369 wxString const &arg3_defvalue = wxEmptyString ;
46370 wxString *arg3 = (wxString *) &arg3_defvalue ;
46371 wxPoint const &arg4_defvalue = wxDefaultPosition ;
46372 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
46373 wxSize const &arg5_defvalue = wxDefaultSize ;
46374 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
46375 long arg6 = (long) 0 ;
46376 wxValidator const &arg7_defvalue = wxDefaultValidator ;
46377 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
46378 wxString const &arg8_defvalue = wxPySearchCtrlNameStr ;
46379 wxString *arg8 = (wxString *) &arg8_defvalue ;
46380 wxSearchCtrl *result = 0 ;
46381 void *argp1 = 0 ;
46382 int res1 = 0 ;
46383 int val2 ;
46384 int ecode2 = 0 ;
46385 bool temp3 = false ;
46386 wxPoint temp4 ;
46387 wxSize temp5 ;
46388 long val6 ;
46389 int ecode6 = 0 ;
46390 void *argp7 = 0 ;
46391 int res7 = 0 ;
46392 bool temp8 = false ;
46393 PyObject * obj0 = 0 ;
46394 PyObject * obj1 = 0 ;
46395 PyObject * obj2 = 0 ;
46396 PyObject * obj3 = 0 ;
46397 PyObject * obj4 = 0 ;
46398 PyObject * obj5 = 0 ;
46399 PyObject * obj6 = 0 ;
46400 PyObject * obj7 = 0 ;
46401 char * kwnames[] = {
46402 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46403 };
46404
46405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
46406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
46407 if (!SWIG_IsOK(res1)) {
46408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46409 }
46410 arg1 = reinterpret_cast< wxWindow * >(argp1);
46411 if (obj1) {
46412 ecode2 = SWIG_AsVal_int(obj1, &val2);
46413 if (!SWIG_IsOK(ecode2)) {
46414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46415 }
46416 arg2 = static_cast< int >(val2);
46417 }
46418 if (obj2) {
46419 {
46420 arg3 = wxString_in_helper(obj2);
46421 if (arg3 == NULL) SWIG_fail;
46422 temp3 = true;
46423 }
46424 }
46425 if (obj3) {
46426 {
46427 arg4 = &temp4;
46428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
46429 }
46430 }
46431 if (obj4) {
46432 {
46433 arg5 = &temp5;
46434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
46435 }
46436 }
46437 if (obj5) {
46438 ecode6 = SWIG_AsVal_long(obj5, &val6);
46439 if (!SWIG_IsOK(ecode6)) {
46440 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46441 }
46442 arg6 = static_cast< long >(val6);
46443 }
46444 if (obj6) {
46445 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
46446 if (!SWIG_IsOK(res7)) {
46447 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46448 }
46449 if (!argp7) {
46450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46451 }
46452 arg7 = reinterpret_cast< wxValidator * >(argp7);
46453 }
46454 if (obj7) {
46455 {
46456 arg8 = wxString_in_helper(obj7);
46457 if (arg8 == NULL) SWIG_fail;
46458 temp8 = true;
46459 }
46460 }
46461 {
46462 if (!wxPyCheckForApp()) SWIG_fail;
46463 PyThreadState* __tstate = wxPyBeginAllowThreads();
46464 result = (wxSearchCtrl *)new wxSearchCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
46465 wxPyEndAllowThreads(__tstate);
46466 if (PyErr_Occurred()) SWIG_fail;
46467 }
46468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_NEW | 0 );
46469 {
46470 if (temp3)
46471 delete arg3;
46472 }
46473 {
46474 if (temp8)
46475 delete arg8;
46476 }
46477 return resultobj;
46478 fail:
46479 {
46480 if (temp3)
46481 delete arg3;
46482 }
46483 {
46484 if (temp8)
46485 delete arg8;
46486 }
46487 return NULL;
46488 }
46489
46490
46491 SWIGINTERN PyObject *_wrap_new_PreSearchCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46492 PyObject *resultobj = 0;
46493 wxSearchCtrl *result = 0 ;
46494
46495 if (!SWIG_Python_UnpackTuple(args,"new_PreSearchCtrl",0,0,0)) SWIG_fail;
46496 {
46497 if (!wxPyCheckForApp()) SWIG_fail;
46498 PyThreadState* __tstate = wxPyBeginAllowThreads();
46499 result = (wxSearchCtrl *)new wxSearchCtrl();
46500 wxPyEndAllowThreads(__tstate);
46501 if (PyErr_Occurred()) SWIG_fail;
46502 }
46503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSearchCtrl, SWIG_POINTER_OWN | 0 );
46504 return resultobj;
46505 fail:
46506 return NULL;
46507 }
46508
46509
46510 SWIGINTERN PyObject *_wrap_SearchCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46511 PyObject *resultobj = 0;
46512 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46513 wxWindow *arg2 = (wxWindow *) 0 ;
46514 int arg3 = (int) -1 ;
46515 wxString const &arg4_defvalue = wxEmptyString ;
46516 wxString *arg4 = (wxString *) &arg4_defvalue ;
46517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
46518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
46519 wxSize const &arg6_defvalue = wxDefaultSize ;
46520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
46521 long arg7 = (long) 0 ;
46522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
46523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
46524 wxString const &arg9_defvalue = wxPySearchCtrlNameStr ;
46525 wxString *arg9 = (wxString *) &arg9_defvalue ;
46526 bool result;
46527 void *argp1 = 0 ;
46528 int res1 = 0 ;
46529 void *argp2 = 0 ;
46530 int res2 = 0 ;
46531 int val3 ;
46532 int ecode3 = 0 ;
46533 bool temp4 = false ;
46534 wxPoint temp5 ;
46535 wxSize temp6 ;
46536 long val7 ;
46537 int ecode7 = 0 ;
46538 void *argp8 = 0 ;
46539 int res8 = 0 ;
46540 bool temp9 = false ;
46541 PyObject * obj0 = 0 ;
46542 PyObject * obj1 = 0 ;
46543 PyObject * obj2 = 0 ;
46544 PyObject * obj3 = 0 ;
46545 PyObject * obj4 = 0 ;
46546 PyObject * obj5 = 0 ;
46547 PyObject * obj6 = 0 ;
46548 PyObject * obj7 = 0 ;
46549 PyObject * obj8 = 0 ;
46550 char * kwnames[] = {
46551 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46552 };
46553
46554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
46555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46556 if (!SWIG_IsOK(res1)) {
46557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46558 }
46559 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46560 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
46561 if (!SWIG_IsOK(res2)) {
46562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46563 }
46564 arg2 = reinterpret_cast< wxWindow * >(argp2);
46565 if (obj2) {
46566 ecode3 = SWIG_AsVal_int(obj2, &val3);
46567 if (!SWIG_IsOK(ecode3)) {
46568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46569 }
46570 arg3 = static_cast< int >(val3);
46571 }
46572 if (obj3) {
46573 {
46574 arg4 = wxString_in_helper(obj3);
46575 if (arg4 == NULL) SWIG_fail;
46576 temp4 = true;
46577 }
46578 }
46579 if (obj4) {
46580 {
46581 arg5 = &temp5;
46582 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
46583 }
46584 }
46585 if (obj5) {
46586 {
46587 arg6 = &temp6;
46588 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
46589 }
46590 }
46591 if (obj6) {
46592 ecode7 = SWIG_AsVal_long(obj6, &val7);
46593 if (!SWIG_IsOK(ecode7)) {
46594 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46595 }
46596 arg7 = static_cast< long >(val7);
46597 }
46598 if (obj7) {
46599 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
46600 if (!SWIG_IsOK(res8)) {
46601 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46602 }
46603 if (!argp8) {
46604 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46605 }
46606 arg8 = reinterpret_cast< wxValidator * >(argp8);
46607 }
46608 if (obj8) {
46609 {
46610 arg9 = wxString_in_helper(obj8);
46611 if (arg9 == NULL) SWIG_fail;
46612 temp9 = true;
46613 }
46614 }
46615 {
46616 PyThreadState* __tstate = wxPyBeginAllowThreads();
46617 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
46618 wxPyEndAllowThreads(__tstate);
46619 if (PyErr_Occurred()) SWIG_fail;
46620 }
46621 {
46622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46623 }
46624 {
46625 if (temp4)
46626 delete arg4;
46627 }
46628 {
46629 if (temp9)
46630 delete arg9;
46631 }
46632 return resultobj;
46633 fail:
46634 {
46635 if (temp4)
46636 delete arg4;
46637 }
46638 {
46639 if (temp9)
46640 delete arg9;
46641 }
46642 return NULL;
46643 }
46644
46645
46646 SWIGINTERN PyObject *_wrap_SearchCtrl_SetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46647 PyObject *resultobj = 0;
46648 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46649 wxMenu *arg2 = (wxMenu *) 0 ;
46650 void *argp1 = 0 ;
46651 int res1 = 0 ;
46652 void *argp2 = 0 ;
46653 int res2 = 0 ;
46654 PyObject * obj0 = 0 ;
46655 PyObject * obj1 = 0 ;
46656 char * kwnames[] = {
46657 (char *) "self",(char *) "menu", NULL
46658 };
46659
46660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetMenu",kwnames,&obj0,&obj1)) SWIG_fail;
46661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46662 if (!SWIG_IsOK(res1)) {
46663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46664 }
46665 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
46667 if (!SWIG_IsOK(res2)) {
46668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46669 }
46670 arg2 = reinterpret_cast< wxMenu * >(argp2);
46671 {
46672 PyThreadState* __tstate = wxPyBeginAllowThreads();
46673 (arg1)->SetMenu(arg2);
46674 wxPyEndAllowThreads(__tstate);
46675 if (PyErr_Occurred()) SWIG_fail;
46676 }
46677 resultobj = SWIG_Py_Void();
46678 return resultobj;
46679 fail:
46680 return NULL;
46681 }
46682
46683
46684 SWIGINTERN PyObject *_wrap_SearchCtrl_GetMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46685 PyObject *resultobj = 0;
46686 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46687 wxMenu *result = 0 ;
46688 void *argp1 = 0 ;
46689 int res1 = 0 ;
46690 PyObject *swig_obj[1] ;
46691
46692 if (!args) SWIG_fail;
46693 swig_obj[0] = args;
46694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46695 if (!SWIG_IsOK(res1)) {
46696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46697 }
46698 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46699 {
46700 PyThreadState* __tstate = wxPyBeginAllowThreads();
46701 result = (wxMenu *)(arg1)->GetMenu();
46702 wxPyEndAllowThreads(__tstate);
46703 if (PyErr_Occurred()) SWIG_fail;
46704 }
46705 {
46706 resultobj = wxPyMake_wxObject(result, 0);
46707 }
46708 return resultobj;
46709 fail:
46710 return NULL;
46711 }
46712
46713
46714 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowSearchButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46715 PyObject *resultobj = 0;
46716 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46717 bool arg2 ;
46718 void *argp1 = 0 ;
46719 int res1 = 0 ;
46720 bool val2 ;
46721 int ecode2 = 0 ;
46722 PyObject * obj0 = 0 ;
46723 PyObject * obj1 = 0 ;
46724 char * kwnames[] = {
46725 (char *) "self",(char *) "show", NULL
46726 };
46727
46728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames,&obj0,&obj1)) SWIG_fail;
46729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46730 if (!SWIG_IsOK(res1)) {
46731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46732 }
46733 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46734 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46735 if (!SWIG_IsOK(ecode2)) {
46736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46737 }
46738 arg2 = static_cast< bool >(val2);
46739 {
46740 PyThreadState* __tstate = wxPyBeginAllowThreads();
46741 (arg1)->ShowSearchButton(arg2);
46742 wxPyEndAllowThreads(__tstate);
46743 if (PyErr_Occurred()) SWIG_fail;
46744 }
46745 resultobj = SWIG_Py_Void();
46746 return resultobj;
46747 fail:
46748 return NULL;
46749 }
46750
46751
46752 SWIGINTERN PyObject *_wrap_SearchCtrl_IsSearchButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46753 PyObject *resultobj = 0;
46754 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46755 bool result;
46756 void *argp1 = 0 ;
46757 int res1 = 0 ;
46758 PyObject *swig_obj[1] ;
46759
46760 if (!args) SWIG_fail;
46761 swig_obj[0] = args;
46762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46763 if (!SWIG_IsOK(res1)) {
46764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46765 }
46766 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46767 {
46768 PyThreadState* __tstate = wxPyBeginAllowThreads();
46769 result = (bool)((wxSearchCtrl const *)arg1)->IsSearchButtonVisible();
46770 wxPyEndAllowThreads(__tstate);
46771 if (PyErr_Occurred()) SWIG_fail;
46772 }
46773 {
46774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46775 }
46776 return resultobj;
46777 fail:
46778 return NULL;
46779 }
46780
46781
46782 SWIGINTERN PyObject *_wrap_SearchCtrl_ShowCancelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46783 PyObject *resultobj = 0;
46784 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46785 bool arg2 ;
46786 void *argp1 = 0 ;
46787 int res1 = 0 ;
46788 bool val2 ;
46789 int ecode2 = 0 ;
46790 PyObject * obj0 = 0 ;
46791 PyObject * obj1 = 0 ;
46792 char * kwnames[] = {
46793 (char *) "self",(char *) "show", NULL
46794 };
46795
46796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames,&obj0,&obj1)) SWIG_fail;
46797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46798 if (!SWIG_IsOK(res1)) {
46799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46800 }
46801 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46802 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46803 if (!SWIG_IsOK(ecode2)) {
46804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46805 }
46806 arg2 = static_cast< bool >(val2);
46807 {
46808 PyThreadState* __tstate = wxPyBeginAllowThreads();
46809 (arg1)->ShowCancelButton(arg2);
46810 wxPyEndAllowThreads(__tstate);
46811 if (PyErr_Occurred()) SWIG_fail;
46812 }
46813 resultobj = SWIG_Py_Void();
46814 return resultobj;
46815 fail:
46816 return NULL;
46817 }
46818
46819
46820 SWIGINTERN PyObject *_wrap_SearchCtrl_IsCancelButtonVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46821 PyObject *resultobj = 0;
46822 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46823 bool result;
46824 void *argp1 = 0 ;
46825 int res1 = 0 ;
46826 PyObject *swig_obj[1] ;
46827
46828 if (!args) SWIG_fail;
46829 swig_obj[0] = args;
46830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46831 if (!SWIG_IsOK(res1)) {
46832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46833 }
46834 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46835 {
46836 PyThreadState* __tstate = wxPyBeginAllowThreads();
46837 result = (bool)((wxSearchCtrl const *)arg1)->IsCancelButtonVisible();
46838 wxPyEndAllowThreads(__tstate);
46839 if (PyErr_Occurred()) SWIG_fail;
46840 }
46841 {
46842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46843 }
46844 return resultobj;
46845 fail:
46846 return NULL;
46847 }
46848
46849
46850 SWIGINTERN PyObject *_wrap_SearchCtrl_SetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46851 PyObject *resultobj = 0;
46852 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46853 wxString *arg2 = 0 ;
46854 void *argp1 = 0 ;
46855 int res1 = 0 ;
46856 bool temp2 = false ;
46857 PyObject * obj0 = 0 ;
46858 PyObject * obj1 = 0 ;
46859 char * kwnames[] = {
46860 (char *) "self",(char *) "text", NULL
46861 };
46862
46863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames,&obj0,&obj1)) SWIG_fail;
46864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46865 if (!SWIG_IsOK(res1)) {
46866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46867 }
46868 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46869 {
46870 arg2 = wxString_in_helper(obj1);
46871 if (arg2 == NULL) SWIG_fail;
46872 temp2 = true;
46873 }
46874 {
46875 PyThreadState* __tstate = wxPyBeginAllowThreads();
46876 (arg1)->SetDescriptiveText((wxString const &)*arg2);
46877 wxPyEndAllowThreads(__tstate);
46878 if (PyErr_Occurred()) SWIG_fail;
46879 }
46880 resultobj = SWIG_Py_Void();
46881 {
46882 if (temp2)
46883 delete arg2;
46884 }
46885 return resultobj;
46886 fail:
46887 {
46888 if (temp2)
46889 delete arg2;
46890 }
46891 return NULL;
46892 }
46893
46894
46895 SWIGINTERN PyObject *_wrap_SearchCtrl_GetDescriptiveText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46896 PyObject *resultobj = 0;
46897 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46898 wxString result;
46899 void *argp1 = 0 ;
46900 int res1 = 0 ;
46901 PyObject *swig_obj[1] ;
46902
46903 if (!args) SWIG_fail;
46904 swig_obj[0] = args;
46905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46906 if (!SWIG_IsOK(res1)) {
46907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46908 }
46909 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46910 {
46911 PyThreadState* __tstate = wxPyBeginAllowThreads();
46912 result = ((wxSearchCtrl const *)arg1)->GetDescriptiveText();
46913 wxPyEndAllowThreads(__tstate);
46914 if (PyErr_Occurred()) SWIG_fail;
46915 }
46916 {
46917 #if wxUSE_UNICODE
46918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
46919 #else
46920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
46921 #endif
46922 }
46923 return resultobj;
46924 fail:
46925 return NULL;
46926 }
46927
46928
46929 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46930 PyObject *resultobj = 0;
46931 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46932 wxBitmap *arg2 = 0 ;
46933 void *argp1 = 0 ;
46934 int res1 = 0 ;
46935 void *argp2 = 0 ;
46936 int res2 = 0 ;
46937 PyObject * obj0 = 0 ;
46938 PyObject * obj1 = 0 ;
46939 char * kwnames[] = {
46940 (char *) "self",(char *)"arg2", NULL
46941 };
46942
46943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46945 if (!SWIG_IsOK(res1)) {
46946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46947 }
46948 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46949 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46950 if (!SWIG_IsOK(res2)) {
46951 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46952 }
46953 if (!argp2) {
46954 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46955 }
46956 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46957 {
46958 PyThreadState* __tstate = wxPyBeginAllowThreads();
46959 wxSearchCtrl_SetSearchBitmap(arg1,(wxBitmap const &)*arg2);
46960 wxPyEndAllowThreads(__tstate);
46961 if (PyErr_Occurred()) SWIG_fail;
46962 }
46963 resultobj = SWIG_Py_Void();
46964 return resultobj;
46965 fail:
46966 return NULL;
46967 }
46968
46969
46970 SWIGINTERN PyObject *_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46971 PyObject *resultobj = 0;
46972 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
46973 wxBitmap *arg2 = 0 ;
46974 void *argp1 = 0 ;
46975 int res1 = 0 ;
46976 void *argp2 = 0 ;
46977 int res2 = 0 ;
46978 PyObject * obj0 = 0 ;
46979 PyObject * obj1 = 0 ;
46980 char * kwnames[] = {
46981 (char *) "self",(char *)"arg2", NULL
46982 };
46983
46984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
46985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
46986 if (!SWIG_IsOK(res1)) {
46987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46988 }
46989 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
46990 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
46991 if (!SWIG_IsOK(res2)) {
46992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46993 }
46994 if (!argp2) {
46995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46996 }
46997 arg2 = reinterpret_cast< wxBitmap * >(argp2);
46998 {
46999 PyThreadState* __tstate = wxPyBeginAllowThreads();
47000 wxSearchCtrl_SetSearchMenuBitmap(arg1,(wxBitmap const &)*arg2);
47001 wxPyEndAllowThreads(__tstate);
47002 if (PyErr_Occurred()) SWIG_fail;
47003 }
47004 resultobj = SWIG_Py_Void();
47005 return resultobj;
47006 fail:
47007 return NULL;
47008 }
47009
47010
47011 SWIGINTERN PyObject *_wrap_SearchCtrl_SetCancelBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
47012 PyObject *resultobj = 0;
47013 wxSearchCtrl *arg1 = (wxSearchCtrl *) 0 ;
47014 wxBitmap *arg2 = 0 ;
47015 void *argp1 = 0 ;
47016 int res1 = 0 ;
47017 void *argp2 = 0 ;
47018 int res2 = 0 ;
47019 PyObject * obj0 = 0 ;
47020 PyObject * obj1 = 0 ;
47021 char * kwnames[] = {
47022 (char *) "self",(char *)"arg2", NULL
47023 };
47024
47025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
47026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSearchCtrl, 0 | 0 );
47027 if (!SWIG_IsOK(res1)) {
47028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47029 }
47030 arg1 = reinterpret_cast< wxSearchCtrl * >(argp1);
47031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
47032 if (!SWIG_IsOK(res2)) {
47033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47034 }
47035 if (!argp2) {
47036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47037 }
47038 arg2 = reinterpret_cast< wxBitmap * >(argp2);
47039 {
47040 PyThreadState* __tstate = wxPyBeginAllowThreads();
47041 wxSearchCtrl_SetCancelBitmap(arg1,(wxBitmap const &)*arg2);
47042 wxPyEndAllowThreads(__tstate);
47043 if (PyErr_Occurred()) SWIG_fail;
47044 }
47045 resultobj = SWIG_Py_Void();
47046 return resultobj;
47047 fail:
47048 return NULL;
47049 }
47050
47051
47052 SWIGINTERN PyObject *SearchCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47053 PyObject *obj;
47054 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
47055 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl, SWIG_NewClientData(obj));
47056 return SWIG_Py_Void();
47057 }
47058
47059 SWIGINTERN PyObject *SearchCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
47060 return SWIG_Python_InitShadowInstance(args);
47061 }
47062
47063 static PyMethodDef SwigMethods[] = {
47064 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
47065 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
47066 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47067 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
47068 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
47069 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
47071 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
47072 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
47073 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
47074 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47075 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
47076 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
47077 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
47078 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
47079 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
47080 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
47081 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
47082 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47083 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47084 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
47085 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
47087 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
47088 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
47089 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
47090 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
47091 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
47092 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47093 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
47094 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
47095 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47096 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
47097 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
47098 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
47099 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
47100 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47101 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
47102 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
47103 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
47104 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
47105 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47106 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
47107 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47108 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
47109 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
47110 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
47111 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
47112 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47113 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
47114 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47115 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
47116 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
47117 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
47118 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47119 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
47120 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
47121 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47122 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
47123 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
47124 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47125 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
47126 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
47127 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
47129 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
47130 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
47131 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
47132 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
47133 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
47134 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
47135 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
47136 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
47137 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47138 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
47139 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
47140 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
47141 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
47142 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47144 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
47145 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47146 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
47147 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
47148 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
47149 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47150 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
47151 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
47152 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
47153 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
47155 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
47156 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
47157 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
47158 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47159 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47160 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
47161 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
47162 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
47164 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47165 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
47166 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
47167 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47168 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
47169 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
47170 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
47171 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
47172 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47173 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
47174 { (char *)"StaticText_IsEllipsized", (PyCFunction)_wrap_StaticText_IsEllipsized, METH_O, NULL},
47175 { (char *)"StaticText_RemoveMarkup", (PyCFunction) _wrap_StaticText_RemoveMarkup, METH_VARARGS | METH_KEYWORDS, NULL},
47176 { (char *)"StaticText_EscapeMarkup", (PyCFunction) _wrap_StaticText_EscapeMarkup, METH_VARARGS | METH_KEYWORDS, NULL},
47177 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
47179 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
47180 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
47182 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47183 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
47184 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47186 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
47188 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
47189 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47190 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
47191 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47192 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
47194 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47196 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47197 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47198 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
47199 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
47200 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47201 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
47202 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
47203 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
47204 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47206 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
47207 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47208 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47209 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47210 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47211 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47212 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
47213 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
47214 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
47215 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
47216 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47217 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
47218 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
47220 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
47221 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47222 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
47223 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
47224 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
47225 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47226 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47227 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
47229 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
47230 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47231 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47232 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
47233 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
47234 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
47235 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
47236 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
47237 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
47238 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
47239 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
47240 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
47241 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
47242 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
47243 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
47244 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
47245 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
47246 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
47247 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
47248 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
47249 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
47250 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
47251 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
47252 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
47253 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
47254 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47255 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
47256 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47257 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
47258 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47259 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
47260 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
47261 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47262 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
47263 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
47264 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
47265 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
47266 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
47267 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
47268 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
47269 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
47270 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
47271 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
47272 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
47273 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
47274 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
47275 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
47276 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
47277 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
47278 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
47279 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
47280 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
47281 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
47282 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
47283 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47284 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47285 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47286 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
47287 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47288 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
47289 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47290 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47291 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
47292 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
47293 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
47294 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
47295 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
47296 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
47297 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
47298 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
47299 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
47300 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
47301 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
47302 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47303 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
47304 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
47305 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
47306 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47307 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
47308 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
47309 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
47310 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
47311 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
47312 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47313 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47314 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
47315 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
47316 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47317 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
47318 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
47319 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
47320 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
47321 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
47322 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
47323 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
47324 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47325 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
47326 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
47327 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
47328 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
47329 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
47330 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47331 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47332 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
47333 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
47334 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
47335 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
47336 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47337 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
47338 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
47339 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
47340 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47341 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47342 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47343 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47344 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
47345 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47346 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
47347 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
47348 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47349 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
47350 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47351 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
47352 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47353 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
47354 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47355 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
47356 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
47357 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47358 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47359 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
47360 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
47361 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47362 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
47363 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47364 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
47365 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
47366 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
47367 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
47368 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47369 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47370 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
47371 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
47372 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47373 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
47374 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
47375 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
47376 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
47377 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
47378 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
47379 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47380 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
47381 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
47382 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
47383 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47384 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47385 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47386 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47387 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
47388 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47389 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
47390 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
47391 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
47392 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
47393 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47394 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
47395 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47396 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47397 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
47398 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
47399 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
47400 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
47401 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47402 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
47403 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47404 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47405 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
47406 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
47407 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
47408 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
47409 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
47410 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47411 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
47412 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
47413 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
47414 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
47415 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
47416 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
47417 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
47418 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
47419 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
47420 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
47421 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
47422 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47423 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47424 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
47425 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
47426 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
47427 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
47428 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47429 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47430 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
47431 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47432 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
47433 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
47434 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
47435 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
47436 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
47437 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
47438 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47439 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
47440 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47441 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47442 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
47443 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47444 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
47445 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
47446 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
47447 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
47448 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
47449 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
47450 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47451 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
47452 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
47453 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
47454 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
47455 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
47456 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
47457 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
47458 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
47459 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
47460 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47461 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47462 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47463 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47464 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47465 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
47466 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47467 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
47468 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47469 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
47470 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47471 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
47472 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
47473 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
47474 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
47475 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47476 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
47477 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
47478 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
47479 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
47480 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47481 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47482 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47483 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
47484 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
47485 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47486 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
47487 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
47488 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
47489 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
47490 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47491 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
47492 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
47493 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
47494 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47495 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
47496 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
47497 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
47498 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
47499 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47500 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
47501 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
47502 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
47503 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47504 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
47505 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
47506 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
47507 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
47508 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47509 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47510 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
47511 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47512 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
47513 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
47514 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
47515 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
47516 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
47517 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
47518 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47519 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
47520 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
47521 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
47522 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
47523 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47524 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
47525 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
47526 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
47527 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
47528 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47529 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
47530 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
47531 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
47532 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
47533 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
47534 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
47535 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
47536 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
47537 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
47538 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
47539 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
47540 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
47541 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
47542 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
47543 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
47544 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
47545 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
47546 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
47547 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
47548 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
47549 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
47550 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47551 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47552 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47553 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47554 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47555 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47556 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
47557 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
47558 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
47559 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47560 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
47561 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
47562 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
47563 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47564 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
47565 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
47566 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
47567 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
47568 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
47569 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
47570 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
47571 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
47572 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
47573 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
47574 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
47575 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
47576 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
47577 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
47578 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47579 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
47580 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
47581 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
47582 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
47583 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47584 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47585 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47586 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47587 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
47588 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
47589 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
47590 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
47591 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
47592 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
47593 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
47594 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
47595 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
47596 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
47597 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
47598 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
47599 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
47600 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
47601 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
47602 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47603 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
47604 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
47605 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
47606 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
47607 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
47608 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
47609 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47610 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction) _wrap_ToolBar_SetToolNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47611 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction) _wrap_ToolBar_SetToolDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47612 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47613 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
47614 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
47615 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
47616 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
47617 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47618 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47619 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47620 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
47621 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
47622 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
47623 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
47624 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
47625 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
47626 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
47627 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
47628 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
47629 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
47630 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
47631 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
47632 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
47633 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
47634 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
47635 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47636 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47637 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47638 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
47639 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
47640 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
47641 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47642 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47643 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
47644 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47645 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47646 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47647 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
47648 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
47649 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
47650 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
47651 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
47652 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
47653 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
47654 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
47655 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
47656 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
47657 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
47658 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
47659 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
47660 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
47661 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
47662 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
47663 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
47664 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
47665 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
47666 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
47667 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
47668 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
47669 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
47670 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
47671 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
47672 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
47673 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
47674 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
47675 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
47676 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
47677 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
47678 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
47679 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
47680 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
47681 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
47682 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
47683 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47684 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
47685 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
47686 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
47687 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
47688 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
47689 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
47690 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
47691 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
47692 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
47693 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
47694 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
47695 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
47696 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
47697 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
47698 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
47699 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
47700 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
47701 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
47702 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
47703 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
47704 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
47705 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
47706 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
47707 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
47708 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47709 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
47710 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
47711 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47712 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
47713 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47714 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47715 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47716 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47717 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47718 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
47719 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
47720 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
47721 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
47722 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47723 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47724 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47725 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47726 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
47727 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47728 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47729 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47730 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47731 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47732 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47733 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47734 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
47735 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47736 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
47737 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
47738 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
47739 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47740 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
47741 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
47742 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47743 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
47744 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
47745 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
47746 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47747 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47748 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47749 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
47750 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
47751 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
47752 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
47753 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
47754 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
47755 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
47756 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47757 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
47758 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
47759 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47760 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47761 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
47762 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47763 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
47764 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47765 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
47766 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47767 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47768 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
47769 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
47770 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
47771 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
47772 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
47773 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
47774 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47775 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47776 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47777 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47778 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47779 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47780 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
47781 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
47782 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47783 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
47784 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
47785 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
47786 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
47787 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47788 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
47789 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
47790 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
47791 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47792 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
47793 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47794 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47795 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
47796 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
47797 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
47798 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
47799 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
47800 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
47801 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
47802 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
47803 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
47804 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
47805 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
47806 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
47807 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47808 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
47809 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
47810 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
47811 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
47812 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
47813 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
47814 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
47815 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
47816 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
47817 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
47818 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
47819 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
47820 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
47821 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
47822 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47823 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
47824 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
47825 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47826 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
47827 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47828 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
47829 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
47830 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
47831 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
47832 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
47833 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
47834 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47835 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
47836 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47837 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47838 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
47839 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
47840 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
47841 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
47842 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
47843 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
47844 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
47845 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47846 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47847 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47848 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
47849 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47850 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47851 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47852 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47853 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47854 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47855 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47856 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
47857 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
47858 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47859 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47860 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47861 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47862 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47863 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47864 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47865 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47866 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47867 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47868 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47869 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47870 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
47871 { (char *)"TreeCtrl_IsEmpty", (PyCFunction)_wrap_TreeCtrl_IsEmpty, METH_O, NULL},
47872 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47873 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47874 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47875 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47876 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47877 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47878 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47879 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47880 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47881 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47882 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47883 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47884 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47885 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47886 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47887 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47888 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47889 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47890 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47891 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47892 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47893 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
47894 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47895 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
47896 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47897 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction) _wrap_TreeCtrl_CollapseAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47898 { (char *)"TreeCtrl_CollapseAll", (PyCFunction)_wrap_TreeCtrl_CollapseAll, METH_O, NULL},
47899 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47900 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47901 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47902 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47903 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47904 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47905 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47906 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47907 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47908 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47909 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47910 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47911 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47912 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47913 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
47914 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47915 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
47916 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47917 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47918 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47919 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47920 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47921 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
47922 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
47923 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47924 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47925 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47926 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47927 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47928 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47929 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47930 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47931 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47932 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47933 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47934 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47935 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47936 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47937 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47938 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47939 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47940 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47941 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47942 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47943 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47944 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47945 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47946 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47947 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47948 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47949 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47950 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
47951 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47952 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47953 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47954 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47955 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47956 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47957 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47958 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47959 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47960 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47961 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47962 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47963 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47964 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47965 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47966 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47967 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47968 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47969 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47970 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47971 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
47972 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47973 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
47974 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47975 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47976 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47977 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47978 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47979 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47980 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47981 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47982 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47983 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47984 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
47985 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
47986 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47987 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47988 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47989 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47990 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
47991 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47992 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47993 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47994 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47995 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47996 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47997 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47998 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47999 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
48000 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
48001 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
48002 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
48003 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
48004 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
48005 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48006 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
48007 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
48008 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
48009 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
48010 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
48011 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
48012 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
48013 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
48014 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
48015 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
48016 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
48017 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
48018 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48019 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
48020 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48021 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
48022 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
48023 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
48024 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
48025 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
48026 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
48027 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
48028 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48029 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
48030 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48031 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
48032 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
48033 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
48034 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
48035 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
48036 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
48037 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
48038 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
48039 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
48040 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
48041 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
48042 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
48043 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48044 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
48045 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
48046 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
48047 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
48048 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
48049 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
48050 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
48051 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
48052 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
48053 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
48054 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
48055 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
48056 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
48057 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
48058 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
48059 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
48060 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
48061 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
48062 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
48063 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48064 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
48065 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48066 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
48067 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
48068 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
48069 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
48070 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48071 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
48072 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
48073 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
48074 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
48075 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48076 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
48077 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48078 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
48079 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48080 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
48081 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
48082 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
48083 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
48084 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48085 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
48086 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48087 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
48088 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48089 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
48090 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
48091 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
48092 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
48093 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48094 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
48095 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
48096 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
48097 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
48098 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48099 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
48100 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48101 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
48102 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
48103 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
48104 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
48105 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
48106 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
48107 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48108 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
48109 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
48110 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
48111 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
48112 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
48113 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
48114 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48115 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
48116 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
48117 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
48118 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
48119 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
48120 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
48121 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
48122 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
48123 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
48124 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
48125 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
48126 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
48127 { (char *)"new_SearchCtrl", (PyCFunction) _wrap_new_SearchCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
48128 { (char *)"new_PreSearchCtrl", (PyCFunction)_wrap_new_PreSearchCtrl, METH_NOARGS, NULL},
48129 { (char *)"SearchCtrl_Create", (PyCFunction) _wrap_SearchCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
48130 { (char *)"SearchCtrl_SetMenu", (PyCFunction) _wrap_SearchCtrl_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL},
48131 { (char *)"SearchCtrl_GetMenu", (PyCFunction)_wrap_SearchCtrl_GetMenu, METH_O, NULL},
48132 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction) _wrap_SearchCtrl_ShowSearchButton, METH_VARARGS | METH_KEYWORDS, NULL},
48133 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsSearchButtonVisible, METH_O, NULL},
48134 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction) _wrap_SearchCtrl_ShowCancelButton, METH_VARARGS | METH_KEYWORDS, NULL},
48135 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction)_wrap_SearchCtrl_IsCancelButtonVisible, METH_O, NULL},
48136 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction) _wrap_SearchCtrl_SetDescriptiveText, METH_VARARGS | METH_KEYWORDS, NULL},
48137 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction)_wrap_SearchCtrl_GetDescriptiveText, METH_O, NULL},
48138 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48139 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction) _wrap_SearchCtrl_SetSearchMenuBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48140 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction) _wrap_SearchCtrl_SetCancelBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
48141 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister, METH_VARARGS, NULL},
48142 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit, METH_VARARGS, NULL},
48143 { NULL, NULL, 0, NULL }
48144 };
48145
48146
48147 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48148
48149 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
48150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
48151 }
48152 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
48153 return (void *)((wxEvent *) ((wxMenuEvent *) x));
48154 }
48155 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
48156 return (void *)((wxEvent *) ((wxCloseEvent *) x));
48157 }
48158 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
48159 return (void *)((wxEvent *) ((wxMouseEvent *) x));
48160 }
48161 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
48162 return (void *)((wxEvent *) ((wxEraseEvent *) x));
48163 }
48164 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
48165 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48166 }
48167 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
48168 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48169 }
48170 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
48171 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
48172 }
48173 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
48174 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
48175 }
48176 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
48177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48178 }
48179 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
48180 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
48181 }
48182 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
48183 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
48184 }
48185 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
48186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
48187 }
48188 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
48189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
48190 }
48191 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
48192 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
48193 }
48194 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
48195 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
48196 }
48197 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
48198 return (void *)((wxEvent *) ((wxPyEvent *) x));
48199 }
48200 static void *_p_wxListEventTo_p_wxEvent(void *x) {
48201 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48202 }
48203 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
48204 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48205 }
48206 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
48207 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48208 }
48209 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
48210 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48211 }
48212 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
48213 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48214 }
48215 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
48216 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48217 }
48218 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
48219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
48220 }
48221 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
48222 return (void *)((wxEvent *) ((wxIdleEvent *) x));
48223 }
48224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
48225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
48226 }
48227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
48228 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
48229 }
48230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
48231 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
48232 }
48233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
48234 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
48235 }
48236 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
48237 return (void *)((wxEvent *) ((wxActivateEvent *) x));
48238 }
48239 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
48240 return (void *)((wxEvent *) ((wxSizeEvent *) x));
48241 }
48242 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
48243 return (void *)((wxEvent *) ((wxMoveEvent *) x));
48244 }
48245 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
48246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
48247 }
48248 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
48249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48250 }
48251 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
48252 return (void *)((wxEvent *) ((wxPaintEvent *) x));
48253 }
48254 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
48255 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
48256 }
48257 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
48258 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
48259 }
48260 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
48261 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
48262 }
48263 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
48264 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
48265 }
48266 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
48267 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
48268 }
48269 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
48270 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48271 }
48272 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
48273 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
48274 }
48275 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
48276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
48277 }
48278 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
48279 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
48280 }
48281 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
48282 return (void *)((wxEvent *) ((wxFocusEvent *) x));
48283 }
48284 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
48285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
48286 }
48287 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
48288 return (void *)((wxEvent *) ((wxShowEvent *) x));
48289 }
48290 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
48291 return (void *)((wxEvent *) ((wxCommandEvent *) x));
48292 }
48293 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
48294 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
48295 }
48296 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
48297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48298 }
48299 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
48300 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
48301 }
48302 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
48303 return (void *)((wxEvent *) ((wxKeyEvent *) x));
48304 }
48305 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
48306 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
48307 }
48308 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
48309 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48310 }
48311 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
48312 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
48313 }
48314 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
48315 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
48316 }
48317 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
48318 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
48319 }
48320 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
48321 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
48322 }
48323 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
48324 return (void *)((wxItemContainer *) ((wxComboBox *) x));
48325 }
48326 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
48327 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48328 }
48329 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
48330 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
48331 }
48332 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
48333 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
48334 }
48335 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
48336 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
48337 }
48338 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
48339 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48340 }
48341 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
48342 return (void *)((wxPyListCtrl *) ((wxListView *) x));
48343 }
48344 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
48345 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
48346 }
48347 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
48348 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
48349 }
48350 static void *_p_wxToolBarTo_p_wxControl(void *x) {
48351 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
48352 }
48353 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
48354 return (void *)((wxControl *) ((wxPickerBase *) x));
48355 }
48356 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
48357 return (void *)((wxControl *) ((wxToggleButton *) x));
48358 }
48359 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
48360 return (void *)((wxControl *) ((wxRadioButton *) x));
48361 }
48362 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
48363 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
48364 }
48365 static void *_p_wxToolbookTo_p_wxControl(void *x) {
48366 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
48367 }
48368 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
48369 return (void *)((wxControl *) ((wxToolBarBase *) x));
48370 }
48371 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
48372 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48373 }
48374 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
48375 return (void *)((wxControl *) ((wxPyListCtrl *) x));
48376 }
48377 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
48378 return (void *)((wxControl *) ((wxComboBox *) x));
48379 }
48380 static void *_p_wxPyControlTo_p_wxControl(void *x) {
48381 return (void *)((wxControl *) ((wxPyControl *) x));
48382 }
48383 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
48384 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
48385 }
48386 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
48387 return (void *)((wxControl *) ((wxScrollBar *) x));
48388 }
48389 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
48390 return (void *)((wxControl *) ((wxControlWithItems *) x));
48391 }
48392 static void *_p_wxGaugeTo_p_wxControl(void *x) {
48393 return (void *)((wxControl *) ((wxGauge *) x));
48394 }
48395 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
48396 return (void *)((wxControl *) ((wxStaticLine *) x));
48397 }
48398 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
48399 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
48400 }
48401 static void *_p_wxListbookTo_p_wxControl(void *x) {
48402 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
48403 }
48404 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
48405 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
48406 }
48407 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
48408 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
48409 }
48410 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
48411 return (void *)((wxControl *) ((wxCheckBox *) x));
48412 }
48413 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
48414 return (void *)((wxControl *) ((wxRadioBox *) x));
48415 }
48416 static void *_p_wxChoiceTo_p_wxControl(void *x) {
48417 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
48418 }
48419 static void *_p_wxListBoxTo_p_wxControl(void *x) {
48420 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
48421 }
48422 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
48423 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48424 }
48425 static void *_p_wxListViewTo_p_wxControl(void *x) {
48426 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
48427 }
48428 static void *_p_wxNotebookTo_p_wxControl(void *x) {
48429 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
48430 }
48431 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
48432 return (void *)((wxControl *) ((wxStaticBitmap *) x));
48433 }
48434 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
48435 return (void *)((wxControl *) ((wxSpinCtrl *) x));
48436 }
48437 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
48438 return (void *)((wxControl *) ((wxStaticText *) x));
48439 }
48440 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
48441 return (void *)((wxControl *) ((wxStaticBox *) x));
48442 }
48443 static void *_p_wxSliderTo_p_wxControl(void *x) {
48444 return (void *)((wxControl *) ((wxSlider *) x));
48445 }
48446 static void *_p_wxTreebookTo_p_wxControl(void *x) {
48447 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
48448 }
48449 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
48450 return (void *)((wxControl *) ((wxSpinButton *) x));
48451 }
48452 static void *_p_wxButtonTo_p_wxControl(void *x) {
48453 return (void *)((wxControl *) ((wxButton *) x));
48454 }
48455 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
48456 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
48457 }
48458 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
48459 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48460 }
48461 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
48462 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
48463 }
48464 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
48465 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
48466 }
48467 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
48468 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
48469 }
48470 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
48471 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
48472 }
48473 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
48474 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
48475 }
48476 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
48477 return (void *)((wxControl *) ((wxTextCtrl *) x));
48478 }
48479 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
48480 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
48481 }
48482 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
48483 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
48484 }
48485 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x) {
48486 return (void *)((wxTextCtrl *) ((wxSearchCtrl *) x));
48487 }
48488 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
48489 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48490 }
48491 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
48492 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
48493 }
48494 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
48495 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
48496 }
48497 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
48498 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
48499 }
48500 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
48501 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48502 }
48503 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
48504 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48505 }
48506 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
48507 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48508 }
48509 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
48510 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48511 }
48512 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
48513 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48514 }
48515 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
48516 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
48517 }
48518 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
48519 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
48520 }
48521 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
48522 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
48523 }
48524 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
48525 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
48526 }
48527 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
48528 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
48529 }
48530 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
48531 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48532 }
48533 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
48534 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
48535 }
48536 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
48537 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
48538 }
48539 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
48540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48541 }
48542 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
48543 return (void *)((wxEvtHandler *) ((wxValidator *) x));
48544 }
48545 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
48546 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
48547 }
48548 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
48549 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48550 }
48551 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
48552 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
48553 }
48554 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
48555 return (void *)((wxEvtHandler *) ((wxMenu *) x));
48556 }
48557 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
48558 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
48559 }
48560 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
48561 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
48562 }
48563 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
48564 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48565 }
48566 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
48567 return (void *)((wxEvtHandler *) ((wxWindow *) x));
48568 }
48569 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
48570 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48571 }
48572 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
48573 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
48574 }
48575 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
48576 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
48577 }
48578 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
48579 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48580 }
48581 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
48582 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48583 }
48584 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
48585 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48586 }
48587 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
48588 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
48589 }
48590 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
48591 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
48592 }
48593 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
48594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48595 }
48596 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
48597 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
48598 }
48599 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
48600 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48601 }
48602 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
48603 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
48604 }
48605 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
48606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
48607 }
48608 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
48609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48610 }
48611 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
48612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48613 }
48614 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
48615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48616 }
48617 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
48618 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48619 }
48620 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
48621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
48622 }
48623 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
48624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
48625 }
48626 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
48627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48628 }
48629 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
48630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48631 }
48632 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
48633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48634 }
48635 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
48636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48637 }
48638 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
48639 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48640 }
48641 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
48642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48643 }
48644 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
48645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48646 }
48647 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
48648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
48649 }
48650 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
48651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
48652 }
48653 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
48654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
48655 }
48656 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
48657 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48658 }
48659 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
48660 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
48661 }
48662 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
48663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
48664 }
48665 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
48666 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48667 }
48668 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
48669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48670 }
48671 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
48672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48673 }
48674 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
48675 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48676 }
48677 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
48678 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48679 }
48680 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
48681 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48682 }
48683 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
48684 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48685 }
48686 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
48687 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48688 }
48689 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
48690 return (void *)((wxListBox *) ((wxCheckListBox *) x));
48691 }
48692 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
48693 return (void *)((wxButton *) ((wxBitmapButton *) x));
48694 }
48695 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
48696 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
48697 }
48698 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
48699 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
48700 }
48701 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
48702 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
48703 }
48704 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
48705 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
48706 }
48707 static void *_p_wxToolbookTo_p_wxObject(void *x) {
48708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48709 }
48710 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
48711 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
48712 }
48713 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
48714 return (void *)((wxObject *) ((wxSizerItem *) x));
48715 }
48716 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
48717 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
48718 }
48719 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
48720 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
48721 }
48722 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
48723 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
48724 }
48725 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
48726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
48727 }
48728 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
48729 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
48730 }
48731 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
48732 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
48733 }
48734 static void *_p_wxSizerTo_p_wxObject(void *x) {
48735 return (void *)((wxObject *) ((wxSizer *) x));
48736 }
48737 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
48738 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
48739 }
48740 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
48741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
48742 }
48743 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
48744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
48745 }
48746 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
48747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
48748 }
48749 static void *_p_wxEventTo_p_wxObject(void *x) {
48750 return (void *)((wxObject *) ((wxEvent *) x));
48751 }
48752 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
48753 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
48754 }
48755 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
48756 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
48757 }
48758 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
48759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
48760 }
48761 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
48762 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
48763 }
48764 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
48765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
48766 }
48767 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
48768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
48769 }
48770 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
48771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
48772 }
48773 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
48774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48775 }
48776 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
48777 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
48778 }
48779 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
48780 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
48781 }
48782 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
48783 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
48784 }
48785 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
48786 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
48787 }
48788 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
48789 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
48790 }
48791 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
48792 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
48793 }
48794 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
48795 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
48796 }
48797 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
48798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
48799 }
48800 static void *_p_wxControlTo_p_wxObject(void *x) {
48801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
48802 }
48803 static void *_p_wxPyControlTo_p_wxObject(void *x) {
48804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
48805 }
48806 static void *_p_wxGaugeTo_p_wxObject(void *x) {
48807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
48808 }
48809 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
48810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
48811 }
48812 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
48813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
48814 }
48815 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
48816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
48817 }
48818 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
48819 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
48820 }
48821 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
48822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
48823 }
48824 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
48825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48826 }
48827 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
48828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
48829 }
48830 static void *_p_wxChoiceTo_p_wxObject(void *x) {
48831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48832 }
48833 static void *_p_wxFSFileTo_p_wxObject(void *x) {
48834 return (void *)((wxObject *) ((wxFSFile *) x));
48835 }
48836 static void *_p_wxPySizerTo_p_wxObject(void *x) {
48837 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
48838 }
48839 static void *_p_wxTreebookTo_p_wxObject(void *x) {
48840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48841 }
48842 static void *_p_wxListViewTo_p_wxObject(void *x) {
48843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48844 }
48845 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
48846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
48847 }
48848 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
48849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
48850 }
48851 static void *_p_wxNotebookTo_p_wxObject(void *x) {
48852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48853 }
48854 static void *_p_wxPyEventTo_p_wxObject(void *x) {
48855 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
48856 }
48857 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
48858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
48859 }
48860 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
48861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48862 }
48863 static void *_p_wxListbookTo_p_wxObject(void *x) {
48864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48865 }
48866 static void *_p_wxShowEventTo_p_wxObject(void *x) {
48867 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
48868 }
48869 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
48870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
48871 }
48872 static void *_p_wxSliderTo_p_wxObject(void *x) {
48873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
48874 }
48875 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
48876 return (void *)((wxObject *) ((wxMenuItem *) x));
48877 }
48878 static void *_p_wxDateEventTo_p_wxObject(void *x) {
48879 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
48880 }
48881 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
48882 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
48883 }
48884 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
48885 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
48886 }
48887 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
48888 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
48889 }
48890 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48891 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48892 }
48893 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48894 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48895 }
48896 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48897 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48898 }
48899 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48900 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48901 }
48902 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48903 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48904 }
48905 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48907 }
48908 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48909 return (void *)((wxObject *) ((wxContextHelp *) x));
48910 }
48911 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48912 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48913 }
48914 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48916 }
48917 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48918 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48919 }
48920 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48921 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48922 }
48923 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48924 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48925 }
48926 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48927 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48928 }
48929 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48930 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48931 }
48932 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48933 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48934 }
48935 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48936 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48937 }
48938 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48939 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48940 }
48941 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48942 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48943 }
48944 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48945 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48946 }
48947 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48948 return (void *)((wxObject *) ((wxImageHandler *) x));
48949 }
48950 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48951 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48952 }
48953 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48954 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48955 }
48956 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48957 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48958 }
48959 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48960 return (void *)((wxObject *) ((wxEvtHandler *) x));
48961 }
48962 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48963 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48964 }
48965 static void *_p_wxListEventTo_p_wxObject(void *x) {
48966 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48967 }
48968 static void *_p_wxListBoxTo_p_wxObject(void *x) {
48969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48970 }
48971 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48973 }
48974 static void *_p_wxButtonTo_p_wxObject(void *x) {
48975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48976 }
48977 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48979 }
48980 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48982 }
48983 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48985 }
48986 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48987 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48988 }
48989 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48990 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48991 }
48992 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48994 }
48995 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48997 }
48998 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
49000 }
49001 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
49002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
49003 }
49004 static void *_p_wxListItemTo_p_wxObject(void *x) {
49005 return (void *)((wxObject *) ((wxListItem *) x));
49006 }
49007 static void *_p_wxImageTo_p_wxObject(void *x) {
49008 return (void *)((wxObject *) ((wxImage *) x));
49009 }
49010 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
49011 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
49012 }
49013 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
49014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
49015 }
49016 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
49017 return (void *)((wxObject *) ((wxGenericDragImage *) x));
49018 }
49019 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
49020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
49021 }
49022 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
49023 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49024 }
49025 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
49026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49027 }
49028 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
49029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49030 }
49031 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
49032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49033 }
49034 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
49035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49036 }
49037 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
49038 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49039 }
49040 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
49041 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
49042 }
49043 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
49044 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
49045 }
49046 static void *_p_wxWindowTo_p_wxObject(void *x) {
49047 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
49048 }
49049 static void *_p_wxMenuTo_p_wxObject(void *x) {
49050 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
49051 }
49052 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
49053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
49054 }
49055 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
49056 return (void *)((wxObject *) ((wxFileSystem *) x));
49057 }
49058 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
49059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
49060 }
49061 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
49062 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
49063 }
49064 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
49065 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
49066 }
49067 static void *_p_wxPyAppTo_p_wxObject(void *x) {
49068 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
49069 }
49070 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
49071 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
49072 }
49073 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
49074 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
49075 }
49076 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
49077 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
49078 }
49079 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
49080 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49081 }
49082 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
49083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
49084 }
49085 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
49086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
49087 }
49088 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
49089 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
49090 }
49091 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
49092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
49093 }
49094 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
49095 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
49096 }
49097 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
49098 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
49099 }
49100 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
49101 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
49102 }
49103 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
49104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
49105 }
49106 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
49107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49108 }
49109 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
49110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49111 }
49112 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
49113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49114 }
49115 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
49116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49117 }
49118 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
49119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
49120 }
49121 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
49122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
49123 }
49124 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
49125 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
49126 }
49127 static void *_p_wxToolBarTo_p_wxObject(void *x) {
49128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
49129 }
49130 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
49131 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
49132 }
49133 static void *_p_wxValidatorTo_p_wxObject(void *x) {
49134 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
49135 }
49136 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
49137 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
49138 }
49139 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
49140 return (void *)((wxWindow *) ((wxMenuBar *) x));
49141 }
49142 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
49143 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
49144 }
49145 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
49146 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
49147 }
49148 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
49149 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
49150 }
49151 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
49152 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
49153 }
49154 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
49155 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
49156 }
49157 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
49158 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
49159 }
49160 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
49161 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
49162 }
49163 static void *_p_wxControlTo_p_wxWindow(void *x) {
49164 return (void *)((wxWindow *) ((wxControl *) x));
49165 }
49166 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
49167 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
49168 }
49169 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
49170 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
49171 }
49172 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
49173 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
49174 }
49175 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
49176 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
49177 }
49178 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
49179 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
49180 }
49181 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
49182 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
49183 }
49184 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
49185 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
49186 }
49187 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
49188 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
49189 }
49190 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
49191 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
49192 }
49193 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
49194 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
49195 }
49196 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
49197 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
49198 }
49199 static void *_p_wxListbookTo_p_wxWindow(void *x) {
49200 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
49201 }
49202 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
49203 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
49204 }
49205 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
49206 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
49207 }
49208 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
49209 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
49210 }
49211 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
49212 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
49213 }
49214 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
49215 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
49216 }
49217 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
49218 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
49219 }
49220 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
49221 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
49222 }
49223 static void *_p_wxListViewTo_p_wxWindow(void *x) {
49224 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
49225 }
49226 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
49227 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
49228 }
49229 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
49230 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
49231 }
49232 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
49233 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
49234 }
49235 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
49236 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
49237 }
49238 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
49239 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
49240 }
49241 static void *_p_wxSliderTo_p_wxWindow(void *x) {
49242 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
49243 }
49244 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
49245 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
49246 }
49247 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
49248 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
49249 }
49250 static void *_p_wxButtonTo_p_wxWindow(void *x) {
49251 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
49252 }
49253 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
49254 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
49255 }
49256 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
49257 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
49258 }
49259 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
49260 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
49261 }
49262 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
49263 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
49264 }
49265 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
49266 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
49267 }
49268 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
49269 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
49270 }
49271 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
49272 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
49273 }
49274 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
49275 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
49276 }
49277 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49278 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49279 }
49280 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49281 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49282 }
49283 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49284 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49285 }
49286 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49287 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49288 }
49289 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
49290 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49291 }
49292 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
49293 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
49294 }
49295 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
49296 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
49297 }
49298 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
49299 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
49300 }
49301 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
49302 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
49303 }
49304 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
49305 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
49306 }
49307 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
49308 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
49309 }
49310 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
49311 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
49312 }
49313 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
49314 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
49315 }
49316 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
49317 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
49318 }
49319 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
49320 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
49321 }
49322 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
49323 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
49324 }
49325 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
49326 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
49327 }
49328 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
49329 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
49330 }
49331 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
49332 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
49333 }
49334 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
49335 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
49336 }
49337 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
49338 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
49339 }
49340 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
49341 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
49342 }
49343 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
49344 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
49345 }
49346 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
49347 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
49348 }
49349 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
49350 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
49351 }
49352 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
49353 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
49354 }
49355 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
49356 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
49357 }
49358 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
49359 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
49360 }
49361 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
49362 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
49363 }
49364 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
49365 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
49366 }
49367 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
49368 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
49369 }
49370 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
49371 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
49372 }
49373 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
49374 return (void *)((wxControlWithItems *) ((wxChoice *) x));
49375 }
49376 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
49377 return (void *)((wxControlWithItems *) ((wxListBox *) x));
49378 }
49379 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
49380 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
49381 }
49382 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
49383 return (void *)((wxValidator *) ((wxPyValidator *) x));
49384 }
49385 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49386 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
49387 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};
49388 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
49389 static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
49390 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49391 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49392 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49393 static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
49394 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49395 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49396 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49397 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49398 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49399 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49400 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49401 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49402 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49403 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49404 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49405 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49406 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49407 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49408 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49409 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49410 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49411 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49412 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49413 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49414 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49415 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49416 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49417 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49418 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49419 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49420 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49421 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49422 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49423 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49424 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49425 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49426 static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49427 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49428 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49429 static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49430 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49431 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49432 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49433 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49434 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49435 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49436 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49437 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49438 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49439 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49440 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49441 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49442 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49443 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49444 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49445 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49446 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49447 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49448 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49449 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49450 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49451 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49452 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49453 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49454 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49455 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49456 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49457 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49458 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49459 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49460 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49461 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49462 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49463 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
49464 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49465 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49466 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49467 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49468 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49469 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49470 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49471 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49472 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49473 static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49474 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49475 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49476 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49477 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49478 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49486 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49487 static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49488 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49489 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49490 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49491 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49492 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49493 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49494 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49495 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49496 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49497 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49498 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49499 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49500 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
49501 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49502 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49503 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49504 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
49505 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
49506 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49507 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49508 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49509 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49510 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49511 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49512 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49513 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49514 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49515 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49516 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49517 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49518 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49519 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49520 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49521 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49522 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49523 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
49524 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49525 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49526 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49527 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49528 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49529 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49530 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49531 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49532 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49533 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49534 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49535 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49536 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49537 static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49538 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49539 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49540 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49541 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49542 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49543 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49544 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49545 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49546 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49547 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49548 static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49549 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49550 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49551 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49552 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49553 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49563 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49564 static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49565
49566 static swig_type_info *swig_type_initial[] = {
49567 &_swigt__p_bool,
49568 &_swigt__p_char,
49569 &_swigt__p_form_ops_t,
49570 &_swigt__p_int,
49571 &_swigt__p_long,
49572 &_swigt__p_unsigned_char,
49573 &_swigt__p_unsigned_int,
49574 &_swigt__p_unsigned_long,
49575 &_swigt__p_void,
49576 &_swigt__p_wxANIHandler,
49577 &_swigt__p_wxAcceleratorTable,
49578 &_swigt__p_wxActivateEvent,
49579 &_swigt__p_wxArrayInt,
49580 &_swigt__p_wxArrayString,
49581 &_swigt__p_wxBMPHandler,
49582 &_swigt__p_wxBitmap,
49583 &_swigt__p_wxBitmapButton,
49584 &_swigt__p_wxBookCtrlBase,
49585 &_swigt__p_wxBookCtrlBaseEvent,
49586 &_swigt__p_wxBoxSizer,
49587 &_swigt__p_wxButton,
49588 &_swigt__p_wxCURHandler,
49589 &_swigt__p_wxCheckBox,
49590 &_swigt__p_wxCheckListBox,
49591 &_swigt__p_wxChildFocusEvent,
49592 &_swigt__p_wxChoice,
49593 &_swigt__p_wxChoicebook,
49594 &_swigt__p_wxChoicebookEvent,
49595 &_swigt__p_wxClipboardTextEvent,
49596 &_swigt__p_wxCloseEvent,
49597 &_swigt__p_wxCollapsiblePane,
49598 &_swigt__p_wxCollapsiblePaneEvent,
49599 &_swigt__p_wxColour,
49600 &_swigt__p_wxColourPickerCtrl,
49601 &_swigt__p_wxColourPickerEvent,
49602 &_swigt__p_wxComboBox,
49603 &_swigt__p_wxCommandEvent,
49604 &_swigt__p_wxContextHelp,
49605 &_swigt__p_wxContextHelpButton,
49606 &_swigt__p_wxContextMenuEvent,
49607 &_swigt__p_wxControl,
49608 &_swigt__p_wxControlWithItems,
49609 &_swigt__p_wxCursor,
49610 &_swigt__p_wxDC,
49611 &_swigt__p_wxDateEvent,
49612 &_swigt__p_wxDatePickerCtrl,
49613 &_swigt__p_wxDateTime,
49614 &_swigt__p_wxDirFilterListCtrl,
49615 &_swigt__p_wxDirPickerCtrl,
49616 &_swigt__p_wxDisplayChangedEvent,
49617 &_swigt__p_wxDropFilesEvent,
49618 &_swigt__p_wxDuplexMode,
49619 &_swigt__p_wxEraseEvent,
49620 &_swigt__p_wxEvent,
49621 &_swigt__p_wxEventBlocker,
49622 &_swigt__p_wxEvtHandler,
49623 &_swigt__p_wxFSFile,
49624 &_swigt__p_wxFileDirPickerEvent,
49625 &_swigt__p_wxFilePickerCtrl,
49626 &_swigt__p_wxFileSystem,
49627 &_swigt__p_wxFlexGridSizer,
49628 &_swigt__p_wxFocusEvent,
49629 &_swigt__p_wxFont,
49630 &_swigt__p_wxFontPickerCtrl,
49631 &_swigt__p_wxFontPickerEvent,
49632 &_swigt__p_wxGBSizerItem,
49633 &_swigt__p_wxGIFHandler,
49634 &_swigt__p_wxGauge,
49635 &_swigt__p_wxGenericDirCtrl,
49636 &_swigt__p_wxGenericDragImage,
49637 &_swigt__p_wxGridBagSizer,
49638 &_swigt__p_wxGridSizer,
49639 &_swigt__p_wxHelpEvent,
49640 &_swigt__p_wxHelpProvider,
49641 &_swigt__p_wxHyperlinkCtrl,
49642 &_swigt__p_wxHyperlinkEvent,
49643 &_swigt__p_wxICOHandler,
49644 &_swigt__p_wxIcon,
49645 &_swigt__p_wxIconizeEvent,
49646 &_swigt__p_wxIdleEvent,
49647 &_swigt__p_wxImage,
49648 &_swigt__p_wxImageHandler,
49649 &_swigt__p_wxImageList,
49650 &_swigt__p_wxIndividualLayoutConstraint,
49651 &_swigt__p_wxInitDialogEvent,
49652 &_swigt__p_wxItemContainer,
49653 &_swigt__p_wxJPEGHandler,
49654 &_swigt__p_wxKeyEvent,
49655 &_swigt__p_wxLayoutConstraints,
49656 &_swigt__p_wxListBox,
49657 &_swigt__p_wxListEvent,
49658 &_swigt__p_wxListItem,
49659 &_swigt__p_wxListItemAttr,
49660 &_swigt__p_wxListView,
49661 &_swigt__p_wxListbook,
49662 &_swigt__p_wxListbookEvent,
49663 &_swigt__p_wxMaximizeEvent,
49664 &_swigt__p_wxMemoryDC,
49665 &_swigt__p_wxMenu,
49666 &_swigt__p_wxMenuBar,
49667 &_swigt__p_wxMenuEvent,
49668 &_swigt__p_wxMenuItem,
49669 &_swigt__p_wxMouseCaptureChangedEvent,
49670 &_swigt__p_wxMouseCaptureLostEvent,
49671 &_swigt__p_wxMouseEvent,
49672 &_swigt__p_wxMoveEvent,
49673 &_swigt__p_wxNavigationKeyEvent,
49674 &_swigt__p_wxNcPaintEvent,
49675 &_swigt__p_wxNotebook,
49676 &_swigt__p_wxNotebookEvent,
49677 &_swigt__p_wxNotifyEvent,
49678 &_swigt__p_wxObject,
49679 &_swigt__p_wxPCXHandler,
49680 &_swigt__p_wxPNGHandler,
49681 &_swigt__p_wxPNMHandler,
49682 &_swigt__p_wxPaintEvent,
49683 &_swigt__p_wxPaletteChangedEvent,
49684 &_swigt__p_wxPaperSize,
49685 &_swigt__p_wxPickerBase,
49686 &_swigt__p_wxPoint,
49687 &_swigt__p_wxPyApp,
49688 &_swigt__p_wxPyCommandEvent,
49689 &_swigt__p_wxPyControl,
49690 &_swigt__p_wxPyEvent,
49691 &_swigt__p_wxPyImageHandler,
49692 &_swigt__p_wxPyListCtrl,
49693 &_swigt__p_wxPySizer,
49694 &_swigt__p_wxPyTreeCtrl,
49695 &_swigt__p_wxPyTreeItemData,
49696 &_swigt__p_wxPyValidator,
49697 &_swigt__p_wxQueryNewPaletteEvent,
49698 &_swigt__p_wxRadioBox,
49699 &_swigt__p_wxRadioButton,
49700 &_swigt__p_wxRect,
49701 &_swigt__p_wxScrollBar,
49702 &_swigt__p_wxScrollEvent,
49703 &_swigt__p_wxScrollWinEvent,
49704 &_swigt__p_wxSearchCtrl,
49705 &_swigt__p_wxSetCursorEvent,
49706 &_swigt__p_wxShowEvent,
49707 &_swigt__p_wxSimpleHelpProvider,
49708 &_swigt__p_wxSize,
49709 &_swigt__p_wxSizeEvent,
49710 &_swigt__p_wxSizer,
49711 &_swigt__p_wxSizerItem,
49712 &_swigt__p_wxSlider,
49713 &_swigt__p_wxSpinButton,
49714 &_swigt__p_wxSpinCtrl,
49715 &_swigt__p_wxSpinEvent,
49716 &_swigt__p_wxStaticBitmap,
49717 &_swigt__p_wxStaticBox,
49718 &_swigt__p_wxStaticBoxSizer,
49719 &_swigt__p_wxStaticLine,
49720 &_swigt__p_wxStaticText,
49721 &_swigt__p_wxStdDialogButtonSizer,
49722 &_swigt__p_wxString,
49723 &_swigt__p_wxSysColourChangedEvent,
49724 &_swigt__p_wxTGAHandler,
49725 &_swigt__p_wxTIFFHandler,
49726 &_swigt__p_wxTextAttr,
49727 &_swigt__p_wxTextCtrl,
49728 &_swigt__p_wxTextUrlEvent,
49729 &_swigt__p_wxToggleButton,
49730 &_swigt__p_wxToolBar,
49731 &_swigt__p_wxToolBarBase,
49732 &_swigt__p_wxToolBarToolBase,
49733 &_swigt__p_wxToolbook,
49734 &_swigt__p_wxToolbookEvent,
49735 &_swigt__p_wxTreeEvent,
49736 &_swigt__p_wxTreeItemId,
49737 &_swigt__p_wxTreebook,
49738 &_swigt__p_wxTreebookEvent,
49739 &_swigt__p_wxUpdateUIEvent,
49740 &_swigt__p_wxValidator,
49741 &_swigt__p_wxVisualAttributes,
49742 &_swigt__p_wxWindow,
49743 &_swigt__p_wxWindowBase,
49744 &_swigt__p_wxWindowCreateEvent,
49745 &_swigt__p_wxWindowDestroyEvent,
49746 &_swigt__p_wxXPMHandler,
49747 };
49748
49749 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
49750 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
49751 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
49752 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
49753 static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
49754 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
49755 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
49756 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
49757 static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
49758 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
49759 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
49760 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
49761 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}};
49762 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}};
49763 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}};
49764 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}};
49765 static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
49766 static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
49767 static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
49768 static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
49769 static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49770 static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
49771 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
49772 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
49773 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49774 static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49775 static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
49776 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
49777 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
49778 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
49779 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
49780 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49781 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49782 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
49783 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
49784 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
49785 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
49786 static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
49787 static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
49788 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
49789 static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
49790 static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
49791 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
49792 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49793 static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
49794 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
49795 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49796 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
49797 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
49798 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
49799 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
49800 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
49801 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
49802 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
49803 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
49804 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
49805 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49806 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49807 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
49808 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
49809 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
49810 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
49811 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49812 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
49813 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49814 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49815 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49816 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
49817 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
49818 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
49819 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
49820 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49821 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
49822 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
49823 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
49824 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
49834 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
49835 static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
49836 static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
49837 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}};
49838 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
49839 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
49840 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
49841 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
49842 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}};
49843 static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
49844 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}};
49845 static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49856 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}};
49857 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
49860 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
49861 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
49863 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
49864 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
49865 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
49870 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
49871 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
49882 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
49887 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
49888 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
49889 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
49890 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}};
49891 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
49893 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}};
49894 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49897 static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49898 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxSearchCtrl[] = { {&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49903 static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49909 static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49910 static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49912 static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
49913 static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxTextCtrl, 0, 0},{0, 0, 0, 0}};
49914 static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49915 static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49916 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49917 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}};
49918 static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49919 static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49920 static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49922 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49923 static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49925 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}};
49926 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
49928 static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
49929
49930 static swig_cast_info *swig_cast_initial[] = {
49931 _swigc__p_bool,
49932 _swigc__p_char,
49933 _swigc__p_form_ops_t,
49934 _swigc__p_int,
49935 _swigc__p_long,
49936 _swigc__p_unsigned_char,
49937 _swigc__p_unsigned_int,
49938 _swigc__p_unsigned_long,
49939 _swigc__p_void,
49940 _swigc__p_wxANIHandler,
49941 _swigc__p_wxAcceleratorTable,
49942 _swigc__p_wxActivateEvent,
49943 _swigc__p_wxArrayInt,
49944 _swigc__p_wxArrayString,
49945 _swigc__p_wxBMPHandler,
49946 _swigc__p_wxBitmap,
49947 _swigc__p_wxBitmapButton,
49948 _swigc__p_wxBookCtrlBase,
49949 _swigc__p_wxBookCtrlBaseEvent,
49950 _swigc__p_wxBoxSizer,
49951 _swigc__p_wxButton,
49952 _swigc__p_wxCURHandler,
49953 _swigc__p_wxCheckBox,
49954 _swigc__p_wxCheckListBox,
49955 _swigc__p_wxChildFocusEvent,
49956 _swigc__p_wxChoice,
49957 _swigc__p_wxChoicebook,
49958 _swigc__p_wxChoicebookEvent,
49959 _swigc__p_wxClipboardTextEvent,
49960 _swigc__p_wxCloseEvent,
49961 _swigc__p_wxCollapsiblePane,
49962 _swigc__p_wxCollapsiblePaneEvent,
49963 _swigc__p_wxColour,
49964 _swigc__p_wxColourPickerCtrl,
49965 _swigc__p_wxColourPickerEvent,
49966 _swigc__p_wxComboBox,
49967 _swigc__p_wxCommandEvent,
49968 _swigc__p_wxContextHelp,
49969 _swigc__p_wxContextHelpButton,
49970 _swigc__p_wxContextMenuEvent,
49971 _swigc__p_wxControl,
49972 _swigc__p_wxControlWithItems,
49973 _swigc__p_wxCursor,
49974 _swigc__p_wxDC,
49975 _swigc__p_wxDateEvent,
49976 _swigc__p_wxDatePickerCtrl,
49977 _swigc__p_wxDateTime,
49978 _swigc__p_wxDirFilterListCtrl,
49979 _swigc__p_wxDirPickerCtrl,
49980 _swigc__p_wxDisplayChangedEvent,
49981 _swigc__p_wxDropFilesEvent,
49982 _swigc__p_wxDuplexMode,
49983 _swigc__p_wxEraseEvent,
49984 _swigc__p_wxEvent,
49985 _swigc__p_wxEventBlocker,
49986 _swigc__p_wxEvtHandler,
49987 _swigc__p_wxFSFile,
49988 _swigc__p_wxFileDirPickerEvent,
49989 _swigc__p_wxFilePickerCtrl,
49990 _swigc__p_wxFileSystem,
49991 _swigc__p_wxFlexGridSizer,
49992 _swigc__p_wxFocusEvent,
49993 _swigc__p_wxFont,
49994 _swigc__p_wxFontPickerCtrl,
49995 _swigc__p_wxFontPickerEvent,
49996 _swigc__p_wxGBSizerItem,
49997 _swigc__p_wxGIFHandler,
49998 _swigc__p_wxGauge,
49999 _swigc__p_wxGenericDirCtrl,
50000 _swigc__p_wxGenericDragImage,
50001 _swigc__p_wxGridBagSizer,
50002 _swigc__p_wxGridSizer,
50003 _swigc__p_wxHelpEvent,
50004 _swigc__p_wxHelpProvider,
50005 _swigc__p_wxHyperlinkCtrl,
50006 _swigc__p_wxHyperlinkEvent,
50007 _swigc__p_wxICOHandler,
50008 _swigc__p_wxIcon,
50009 _swigc__p_wxIconizeEvent,
50010 _swigc__p_wxIdleEvent,
50011 _swigc__p_wxImage,
50012 _swigc__p_wxImageHandler,
50013 _swigc__p_wxImageList,
50014 _swigc__p_wxIndividualLayoutConstraint,
50015 _swigc__p_wxInitDialogEvent,
50016 _swigc__p_wxItemContainer,
50017 _swigc__p_wxJPEGHandler,
50018 _swigc__p_wxKeyEvent,
50019 _swigc__p_wxLayoutConstraints,
50020 _swigc__p_wxListBox,
50021 _swigc__p_wxListEvent,
50022 _swigc__p_wxListItem,
50023 _swigc__p_wxListItemAttr,
50024 _swigc__p_wxListView,
50025 _swigc__p_wxListbook,
50026 _swigc__p_wxListbookEvent,
50027 _swigc__p_wxMaximizeEvent,
50028 _swigc__p_wxMemoryDC,
50029 _swigc__p_wxMenu,
50030 _swigc__p_wxMenuBar,
50031 _swigc__p_wxMenuEvent,
50032 _swigc__p_wxMenuItem,
50033 _swigc__p_wxMouseCaptureChangedEvent,
50034 _swigc__p_wxMouseCaptureLostEvent,
50035 _swigc__p_wxMouseEvent,
50036 _swigc__p_wxMoveEvent,
50037 _swigc__p_wxNavigationKeyEvent,
50038 _swigc__p_wxNcPaintEvent,
50039 _swigc__p_wxNotebook,
50040 _swigc__p_wxNotebookEvent,
50041 _swigc__p_wxNotifyEvent,
50042 _swigc__p_wxObject,
50043 _swigc__p_wxPCXHandler,
50044 _swigc__p_wxPNGHandler,
50045 _swigc__p_wxPNMHandler,
50046 _swigc__p_wxPaintEvent,
50047 _swigc__p_wxPaletteChangedEvent,
50048 _swigc__p_wxPaperSize,
50049 _swigc__p_wxPickerBase,
50050 _swigc__p_wxPoint,
50051 _swigc__p_wxPyApp,
50052 _swigc__p_wxPyCommandEvent,
50053 _swigc__p_wxPyControl,
50054 _swigc__p_wxPyEvent,
50055 _swigc__p_wxPyImageHandler,
50056 _swigc__p_wxPyListCtrl,
50057 _swigc__p_wxPySizer,
50058 _swigc__p_wxPyTreeCtrl,
50059 _swigc__p_wxPyTreeItemData,
50060 _swigc__p_wxPyValidator,
50061 _swigc__p_wxQueryNewPaletteEvent,
50062 _swigc__p_wxRadioBox,
50063 _swigc__p_wxRadioButton,
50064 _swigc__p_wxRect,
50065 _swigc__p_wxScrollBar,
50066 _swigc__p_wxScrollEvent,
50067 _swigc__p_wxScrollWinEvent,
50068 _swigc__p_wxSearchCtrl,
50069 _swigc__p_wxSetCursorEvent,
50070 _swigc__p_wxShowEvent,
50071 _swigc__p_wxSimpleHelpProvider,
50072 _swigc__p_wxSize,
50073 _swigc__p_wxSizeEvent,
50074 _swigc__p_wxSizer,
50075 _swigc__p_wxSizerItem,
50076 _swigc__p_wxSlider,
50077 _swigc__p_wxSpinButton,
50078 _swigc__p_wxSpinCtrl,
50079 _swigc__p_wxSpinEvent,
50080 _swigc__p_wxStaticBitmap,
50081 _swigc__p_wxStaticBox,
50082 _swigc__p_wxStaticBoxSizer,
50083 _swigc__p_wxStaticLine,
50084 _swigc__p_wxStaticText,
50085 _swigc__p_wxStdDialogButtonSizer,
50086 _swigc__p_wxString,
50087 _swigc__p_wxSysColourChangedEvent,
50088 _swigc__p_wxTGAHandler,
50089 _swigc__p_wxTIFFHandler,
50090 _swigc__p_wxTextAttr,
50091 _swigc__p_wxTextCtrl,
50092 _swigc__p_wxTextUrlEvent,
50093 _swigc__p_wxToggleButton,
50094 _swigc__p_wxToolBar,
50095 _swigc__p_wxToolBarBase,
50096 _swigc__p_wxToolBarToolBase,
50097 _swigc__p_wxToolbook,
50098 _swigc__p_wxToolbookEvent,
50099 _swigc__p_wxTreeEvent,
50100 _swigc__p_wxTreeItemId,
50101 _swigc__p_wxTreebook,
50102 _swigc__p_wxTreebookEvent,
50103 _swigc__p_wxUpdateUIEvent,
50104 _swigc__p_wxValidator,
50105 _swigc__p_wxVisualAttributes,
50106 _swigc__p_wxWindow,
50107 _swigc__p_wxWindowBase,
50108 _swigc__p_wxWindowCreateEvent,
50109 _swigc__p_wxWindowDestroyEvent,
50110 _swigc__p_wxXPMHandler,
50111 };
50112
50113
50114 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50115
50116 static swig_const_info swig_const_table[] = {
50117 {0, 0, 0, 0.0, 0, 0}};
50118
50119 #ifdef __cplusplus
50120 }
50121 #endif
50122 /* -----------------------------------------------------------------------------
50123 * Type initialization:
50124 * This problem is tough by the requirement that no dynamic
50125 * memory is used. Also, since swig_type_info structures store pointers to
50126 * swig_cast_info structures and swig_cast_info structures store pointers back
50127 * to swig_type_info structures, we need some lookup code at initialization.
50128 * The idea is that swig generates all the structures that are needed.
50129 * The runtime then collects these partially filled structures.
50130 * The SWIG_InitializeModule function takes these initial arrays out of
50131 * swig_module, and does all the lookup, filling in the swig_module.types
50132 * array with the correct data and linking the correct swig_cast_info
50133 * structures together.
50134 *
50135 * The generated swig_type_info structures are assigned staticly to an initial
50136 * array. We just loop though that array, and handle each type individually.
50137 * First we lookup if this type has been already loaded, and if so, use the
50138 * loaded structure instead of the generated one. Then we have to fill in the
50139 * cast linked list. The cast data is initially stored in something like a
50140 * two-dimensional array. Each row corresponds to a type (there are the same
50141 * number of rows as there are in the swig_type_initial array). Each entry in
50142 * a column is one of the swig_cast_info structures for that type.
50143 * The cast_initial array is actually an array of arrays, because each row has
50144 * a variable number of columns. So to actually build the cast linked list,
50145 * we find the array of casts associated with the type, and loop through it
50146 * adding the casts to the list. The one last trick we need to do is making
50147 * sure the type pointer in the swig_cast_info struct is correct.
50148 *
50149 * First off, we lookup the cast->type name to see if it is already loaded.
50150 * There are three cases to handle:
50151 * 1) If the cast->type has already been loaded AND the type we are adding
50152 * casting info to has not been loaded (it is in this module), THEN we
50153 * replace the cast->type pointer with the type pointer that has already
50154 * been loaded.
50155 * 2) If BOTH types (the one we are adding casting info to, and the
50156 * cast->type) are loaded, THEN the cast info has already been loaded by
50157 * the previous module so we just ignore it.
50158 * 3) Finally, if cast->type has not already been loaded, then we add that
50159 * swig_cast_info to the linked list (because the cast->type) pointer will
50160 * be correct.
50161 * ----------------------------------------------------------------------------- */
50162
50163 #ifdef __cplusplus
50164 extern "C" {
50165 #if 0
50166 } /* c-mode */
50167 #endif
50168 #endif
50169
50170 #if 0
50171 #define SWIGRUNTIME_DEBUG
50172 #endif
50173
50174 SWIGRUNTIME void
50175 SWIG_InitializeModule(void *clientdata) {
50176 size_t i;
50177 swig_module_info *module_head;
50178 static int init_run = 0;
50179
50180 clientdata = clientdata;
50181
50182 if (init_run) return;
50183 init_run = 1;
50184
50185 /* Initialize the swig_module */
50186 swig_module.type_initial = swig_type_initial;
50187 swig_module.cast_initial = swig_cast_initial;
50188
50189 /* Try and load any already created modules */
50190 module_head = SWIG_GetModule(clientdata);
50191 if (module_head) {
50192 swig_module.next = module_head->next;
50193 module_head->next = &swig_module;
50194 } else {
50195 /* This is the first module loaded */
50196 swig_module.next = &swig_module;
50197 SWIG_SetModule(clientdata, &swig_module);
50198 }
50199
50200 /* Now work on filling in swig_module.types */
50201 #ifdef SWIGRUNTIME_DEBUG
50202 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
50203 #endif
50204 for (i = 0; i < swig_module.size; ++i) {
50205 swig_type_info *type = 0;
50206 swig_type_info *ret;
50207 swig_cast_info *cast;
50208
50209 #ifdef SWIGRUNTIME_DEBUG
50210 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50211 #endif
50212
50213 /* if there is another module already loaded */
50214 if (swig_module.next != &swig_module) {
50215 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
50216 }
50217 if (type) {
50218 /* Overwrite clientdata field */
50219 #ifdef SWIGRUNTIME_DEBUG
50220 printf("SWIG_InitializeModule: found type %s\n", type->name);
50221 #endif
50222 if (swig_module.type_initial[i]->clientdata) {
50223 type->clientdata = swig_module.type_initial[i]->clientdata;
50224 #ifdef SWIGRUNTIME_DEBUG
50225 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
50226 #endif
50227 }
50228 } else {
50229 type = swig_module.type_initial[i];
50230 }
50231
50232 /* Insert casting types */
50233 cast = swig_module.cast_initial[i];
50234 while (cast->type) {
50235 /* Don't need to add information already in the list */
50236 ret = 0;
50237 #ifdef SWIGRUNTIME_DEBUG
50238 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
50239 #endif
50240 if (swig_module.next != &swig_module) {
50241 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
50242 #ifdef SWIGRUNTIME_DEBUG
50243 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
50244 #endif
50245 }
50246 if (ret) {
50247 if (type == swig_module.type_initial[i]) {
50248 #ifdef SWIGRUNTIME_DEBUG
50249 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
50250 #endif
50251 cast->type = ret;
50252 ret = 0;
50253 } else {
50254 /* Check for casting already in the list */
50255 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
50256 #ifdef SWIGRUNTIME_DEBUG
50257 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
50258 #endif
50259 if (!ocast) ret = 0;
50260 }
50261 }
50262
50263 if (!ret) {
50264 #ifdef SWIGRUNTIME_DEBUG
50265 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
50266 #endif
50267 if (type->cast) {
50268 type->cast->prev = cast;
50269 cast->next = type->cast;
50270 }
50271 type->cast = cast;
50272 }
50273 cast++;
50274 }
50275 /* Set entry in modules->types array equal to the type */
50276 swig_module.types[i] = type;
50277 }
50278 swig_module.types[i] = 0;
50279
50280 #ifdef SWIGRUNTIME_DEBUG
50281 printf("**** SWIG_InitializeModule: Cast List ******\n");
50282 for (i = 0; i < swig_module.size; ++i) {
50283 int j = 0;
50284 swig_cast_info *cast = swig_module.cast_initial[i];
50285 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
50286 while (cast->type) {
50287 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
50288 cast++;
50289 ++j;
50290 }
50291 printf("---- Total casts: %d\n",j);
50292 }
50293 printf("**** SWIG_InitializeModule: Cast List ******\n");
50294 #endif
50295 }
50296
50297 /* This function will propagate the clientdata field of type to
50298 * any new swig_type_info structures that have been added into the list
50299 * of equivalent types. It is like calling
50300 * SWIG_TypeClientData(type, clientdata) a second time.
50301 */
50302 SWIGRUNTIME void
50303 SWIG_PropagateClientData(void) {
50304 size_t i;
50305 swig_cast_info *equiv;
50306 static int init_run = 0;
50307
50308 if (init_run) return;
50309 init_run = 1;
50310
50311 for (i = 0; i < swig_module.size; i++) {
50312 if (swig_module.types[i]->clientdata) {
50313 equiv = swig_module.types[i]->cast;
50314 while (equiv) {
50315 if (!equiv->converter) {
50316 if (equiv->type && !equiv->type->clientdata)
50317 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
50318 }
50319 equiv = equiv->next;
50320 }
50321 }
50322 }
50323 }
50324
50325 #ifdef __cplusplus
50326 #if 0
50327 {
50328 /* c-mode */
50329 #endif
50330 }
50331 #endif
50332
50333
50334
50335 #ifdef __cplusplus
50336 extern "C" {
50337 #endif
50338
50339 /* Python-specific SWIG API */
50340 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50341 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50342 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50343
50344 /* -----------------------------------------------------------------------------
50345 * global variable support code.
50346 * ----------------------------------------------------------------------------- */
50347
50348 typedef struct swig_globalvar {
50349 char *name; /* Name of global variable */
50350 PyObject *(*get_attr)(void); /* Return the current value */
50351 int (*set_attr)(PyObject *); /* Set the value */
50352 struct swig_globalvar *next;
50353 } swig_globalvar;
50354
50355 typedef struct swig_varlinkobject {
50356 PyObject_HEAD
50357 swig_globalvar *vars;
50358 } swig_varlinkobject;
50359
50360 SWIGINTERN PyObject *
50361 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
50362 return PyString_FromString("<Swig global variables>");
50363 }
50364
50365 SWIGINTERN PyObject *
50366 swig_varlink_str(swig_varlinkobject *v) {
50367 PyObject *str = PyString_FromString("(");
50368 swig_globalvar *var;
50369 for (var = v->vars; var; var=var->next) {
50370 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
50371 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
50372 }
50373 PyString_ConcatAndDel(&str,PyString_FromString(")"));
50374 return str;
50375 }
50376
50377 SWIGINTERN int
50378 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
50379 PyObject *str = swig_varlink_str(v);
50380 fprintf(fp,"Swig global variables ");
50381 fprintf(fp,"%s\n", PyString_AsString(str));
50382 Py_DECREF(str);
50383 return 0;
50384 }
50385
50386 SWIGINTERN void
50387 swig_varlink_dealloc(swig_varlinkobject *v) {
50388 swig_globalvar *var = v->vars;
50389 while (var) {
50390 swig_globalvar *n = var->next;
50391 free(var->name);
50392 free(var);
50393 var = n;
50394 }
50395 }
50396
50397 SWIGINTERN PyObject *
50398 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
50399 PyObject *res = NULL;
50400 swig_globalvar *var = v->vars;
50401 while (var) {
50402 if (strcmp(var->name,n) == 0) {
50403 res = (*var->get_attr)();
50404 break;
50405 }
50406 var = var->next;
50407 }
50408 if (res == NULL && !PyErr_Occurred()) {
50409 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50410 }
50411 return res;
50412 }
50413
50414 SWIGINTERN int
50415 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
50416 int res = 1;
50417 swig_globalvar *var = v->vars;
50418 while (var) {
50419 if (strcmp(var->name,n) == 0) {
50420 res = (*var->set_attr)(p);
50421 break;
50422 }
50423 var = var->next;
50424 }
50425 if (res == 1 && !PyErr_Occurred()) {
50426 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
50427 }
50428 return res;
50429 }
50430
50431 SWIGINTERN PyTypeObject*
50432 swig_varlink_type(void) {
50433 static char varlink__doc__[] = "Swig var link object";
50434 static PyTypeObject varlink_type;
50435 static int type_init = 0;
50436 if (!type_init) {
50437 const PyTypeObject tmp
50438 = {
50439 PyObject_HEAD_INIT(NULL)
50440 0, /* Number of items in variable part (ob_size) */
50441 (char *)"swigvarlink", /* Type name (tp_name) */
50442 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
50443 0, /* Itemsize (tp_itemsize) */
50444 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
50445 (printfunc) swig_varlink_print, /* Print (tp_print) */
50446 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
50447 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
50448 0, /* tp_compare */
50449 (reprfunc) swig_varlink_repr, /* tp_repr */
50450 0, /* tp_as_number */
50451 0, /* tp_as_sequence */
50452 0, /* tp_as_mapping */
50453 0, /* tp_hash */
50454 0, /* tp_call */
50455 (reprfunc)swig_varlink_str, /* tp_str */
50456 0, /* tp_getattro */
50457 0, /* tp_setattro */
50458 0, /* tp_as_buffer */
50459 0, /* tp_flags */
50460 varlink__doc__, /* tp_doc */
50461 0, /* tp_traverse */
50462 0, /* tp_clear */
50463 0, /* tp_richcompare */
50464 0, /* tp_weaklistoffset */
50465 #if PY_VERSION_HEX >= 0x02020000
50466 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50467 #endif
50468 #if PY_VERSION_HEX >= 0x02030000
50469 0, /* tp_del */
50470 #endif
50471 #ifdef COUNT_ALLOCS
50472 0,0,0,0 /* tp_alloc -> tp_next */
50473 #endif
50474 };
50475 varlink_type = tmp;
50476 varlink_type.ob_type = &PyType_Type;
50477 type_init = 1;
50478 }
50479 return &varlink_type;
50480 }
50481
50482 /* Create a variable linking object for use later */
50483 SWIGINTERN PyObject *
50484 SWIG_Python_newvarlink(void) {
50485 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
50486 if (result) {
50487 result->vars = 0;
50488 }
50489 return ((PyObject*) result);
50490 }
50491
50492 SWIGINTERN void
50493 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
50494 swig_varlinkobject *v = (swig_varlinkobject *) p;
50495 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
50496 if (gv) {
50497 size_t size = strlen(name)+1;
50498 gv->name = (char *)malloc(size);
50499 if (gv->name) {
50500 strncpy(gv->name,name,size);
50501 gv->get_attr = get_attr;
50502 gv->set_attr = set_attr;
50503 gv->next = v->vars;
50504 }
50505 }
50506 v->vars = gv;
50507 }
50508
50509 SWIGINTERN PyObject *
50510 SWIG_globals() {
50511 static PyObject *_SWIG_globals = 0;
50512 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
50513 return _SWIG_globals;
50514 }
50515
50516 /* -----------------------------------------------------------------------------
50517 * constants/methods manipulation
50518 * ----------------------------------------------------------------------------- */
50519
50520 /* Install Constants */
50521 SWIGINTERN void
50522 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
50523 PyObject *obj = 0;
50524 size_t i;
50525 for (i = 0; constants[i].type; ++i) {
50526 switch(constants[i].type) {
50527 case SWIG_PY_POINTER:
50528 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
50529 break;
50530 case SWIG_PY_BINARY:
50531 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
50532 break;
50533 default:
50534 obj = 0;
50535 break;
50536 }
50537 if (obj) {
50538 PyDict_SetItemString(d, constants[i].name, obj);
50539 Py_DECREF(obj);
50540 }
50541 }
50542 }
50543
50544 /* -----------------------------------------------------------------------------*/
50545 /* Fix SwigMethods to carry the callback ptrs when needed */
50546 /* -----------------------------------------------------------------------------*/
50547
50548 SWIGINTERN void
50549 SWIG_Python_FixMethods(PyMethodDef *methods,
50550 swig_const_info *const_table,
50551 swig_type_info **types,
50552 swig_type_info **types_initial) {
50553 size_t i;
50554 for (i = 0; methods[i].ml_name; ++i) {
50555 const char *c = methods[i].ml_doc;
50556 if (c && (c = strstr(c, "swig_ptr: "))) {
50557 int j;
50558 swig_const_info *ci = 0;
50559 const char *name = c + 10;
50560 for (j = 0; const_table[j].type; ++j) {
50561 if (strncmp(const_table[j].name, name,
50562 strlen(const_table[j].name)) == 0) {
50563 ci = &(const_table[j]);
50564 break;
50565 }
50566 }
50567 if (ci) {
50568 size_t shift = (ci->ptype) - types;
50569 swig_type_info *ty = types_initial[shift];
50570 size_t ldoc = (c - methods[i].ml_doc);
50571 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
50572 char *ndoc = (char*)malloc(ldoc + lptr + 10);
50573 if (ndoc) {
50574 char *buff = ndoc;
50575 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
50576 if (ptr) {
50577 strncpy(buff, methods[i].ml_doc, ldoc);
50578 buff += ldoc;
50579 strncpy(buff, "swig_ptr: ", 10);
50580 buff += 10;
50581 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
50582 methods[i].ml_doc = ndoc;
50583 }
50584 }
50585 }
50586 }
50587 }
50588 }
50589
50590 #ifdef __cplusplus
50591 }
50592 #endif
50593
50594 /* -----------------------------------------------------------------------------*
50595 * Partial Init method
50596 * -----------------------------------------------------------------------------*/
50597
50598 #ifdef __cplusplus
50599 extern "C"
50600 #endif
50601 SWIGEXPORT void SWIG_init(void) {
50602 PyObject *m, *d;
50603
50604 /* Fix SwigMethods to carry the callback ptrs when needed */
50605 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
50606
50607 m = Py_InitModule((char *) SWIG_name, SwigMethods);
50608 d = PyModule_GetDict(m);
50609
50610 SWIG_InitializeModule(0);
50611 SWIG_InstallConstants(d,swig_const_table);
50612
50613
50614 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
50615 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
50616 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
50617 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
50618 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
50619 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
50620 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
50621 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
50622 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
50623 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
50624 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
50625 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
50626 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
50627 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
50628 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
50629 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
50630 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
50631 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
50632 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
50633 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
50634 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
50635 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
50636 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
50637 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
50638 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
50639 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get, StaticLineNameStr_set);
50640 SWIG_Python_SetConstant(d, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE)));
50641 SWIG_Python_SetConstant(d, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP)));
50642 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START)));
50643 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE)));
50644 SWIG_Python_SetConstant(d, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END)));
50645 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
50646 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
50647 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
50648 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
50649 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
50650 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
50651 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
50652 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
50653 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
50654 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
50655 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
50656 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
50657 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
50658 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
50659 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
50660 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
50661 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
50662 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
50663 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
50664 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
50665 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
50666 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
50667 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
50668 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
50669 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
50670 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
50671 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
50672 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
50673 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
50674 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
50675 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
50676 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
50677 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
50678 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
50679 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
50680 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
50681 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
50682 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
50683 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
50684 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
50685 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
50686 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
50687 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
50688 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
50689 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
50690 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
50691 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
50692 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
50693 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
50694 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
50695 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
50696 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
50697 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
50698 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
50699 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
50700 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
50701 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
50702 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
50703 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
50704 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
50705 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
50706 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
50707 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
50708 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
50709 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
50710 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
50711 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
50712 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
50713 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
50714 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
50715 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
50716 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
50717 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
50718 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
50719 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
50720 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
50721 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
50722 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
50723 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
50724 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
50725 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
50726 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
50727 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
50728 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
50729 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
50730 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
50731 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
50732 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
50733 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
50734 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
50735 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
50736 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
50737 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
50738 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
50739 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
50740 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
50741 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
50742 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
50743 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
50744 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
50745 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
50746 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
50747 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
50748 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
50749 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
50750 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
50751 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
50752 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
50753 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
50754 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
50755 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
50756 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
50757 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
50758 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
50759 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
50760 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
50761 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
50762 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
50763 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
50764 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
50765 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
50766 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
50767 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
50768 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
50769 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
50770 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
50771 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
50772 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
50773 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
50774 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
50775 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
50776 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
50777 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
50778 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
50779 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
50780 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
50781 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
50782 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
50783 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
50784 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
50785 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
50786 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
50787 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
50788 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
50789 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
50790 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
50791 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
50792 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
50793 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
50794 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
50795 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
50796 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
50797 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
50798 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
50799 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
50800 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
50801 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
50802 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
50803 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
50804 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
50805 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
50806 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
50807 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
50808 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
50809 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
50810 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
50811 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
50812 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
50813 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
50814 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
50815 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
50816 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
50817 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
50818 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
50819 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
50820 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
50821 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
50822 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
50823 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
50824 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
50825 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
50826 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
50827 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
50828 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
50829 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
50830 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
50831 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
50832 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
50833 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
50834 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
50835 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
50836 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
50837 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
50838 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
50839 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
50840 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
50841 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
50842 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
50843 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
50844 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
50845 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
50846 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
50847 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
50848 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
50849 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
50850 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
50851 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
50852 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
50853 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
50854 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
50855 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
50856 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
50857 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
50858 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
50859 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
50860 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
50861 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
50862 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
50863 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
50864 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
50865 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
50866 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
50867 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
50868 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
50869 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
50870 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
50871 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
50872 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
50873 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
50874 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
50875 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
50876 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
50877 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
50878 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
50879 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
50880
50881 // Map renamed classes back to their common name for OOR
50882 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50883
50884 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
50885 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
50886 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
50887 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
50888 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
50889 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
50890 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
50891 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
50892 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
50893 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
50894 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
50895 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
50896 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
50897 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
50898 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
50899 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
50900 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
50901 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
50902 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
50903 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50904 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50905 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50906 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50907 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50908 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50909 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50910 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50911 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50912 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50913 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50914 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50915 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50916 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50917 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50918 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50919 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50920 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50921 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50922 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50923 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50924 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50925 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50926 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50927 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50928 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50929 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50930 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50931 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50932 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50933 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50934 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50935 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50936 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50937 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50938 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
50939 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
50940
50941 // Map renamed classes back to their common name for OOR
50942 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50943 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50944
50945 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50946 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50947 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50948 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50949 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50950 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
50951 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50952 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
50953 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50954 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50955 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
50956
50957 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50958
50959 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50960 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50961 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50962 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50963 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50964 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
50965 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50966 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
50967 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50968 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50969 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
50970 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50971 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
50972 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50973 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50974 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50975 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50976 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50977 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50978 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50979 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50980 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50981 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50982 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50983 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50984 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50985 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50986 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50987 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50988 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50989 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50990 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50991 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50992 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50993 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50994 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50995 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50996 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50997 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50998 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50999 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
51000 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
51001 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
51002 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
51003 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
51004 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
51005 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
51006 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get, SearchCtrlNameStr_set);
51007 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN));
51008 PyDict_SetItemString(d, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN));
51009 }
51010