]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/aui_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / aui_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_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[3]
2470 #define SWIGTYPE_p_p_wxAuiNotebook swig_types[4]
2471 #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[5]
2472 #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[6]
2473 #define SWIGTYPE_p_p_wxColourDialog swig_types[7]
2474 #define SWIGTYPE_p_p_wxControl swig_types[8]
2475 #define SWIGTYPE_p_p_wxControlWithItems swig_types[9]
2476 #define SWIGTYPE_p_p_wxDialog swig_types[10]
2477 #define SWIGTYPE_p_p_wxDirDialog swig_types[11]
2478 #define SWIGTYPE_p_p_wxFileDialog swig_types[12]
2479 #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[13]
2480 #define SWIGTYPE_p_p_wxFontDialog swig_types[14]
2481 #define SWIGTYPE_p_p_wxFrame swig_types[15]
2482 #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16]
2483 #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17]
2484 #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18]
2485 #define SWIGTYPE_p_p_wxMenuBar swig_types[19]
2486 #define SWIGTYPE_p_p_wxMessageDialog swig_types[20]
2487 #define SWIGTYPE_p_p_wxMiniFrame swig_types[21]
2488 #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22]
2489 #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23]
2490 #define SWIGTYPE_p_p_wxPanel swig_types[24]
2491 #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25]
2492 #define SWIGTYPE_p_p_wxPopupWindow swig_types[26]
2493 #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27]
2494 #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28]
2495 #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29]
2496 #define SWIGTYPE_p_p_wxProgressDialog swig_types[30]
2497 #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31]
2498 #define SWIGTYPE_p_p_wxPyPanel swig_types[32]
2499 #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33]
2500 #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34]
2501 #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35]
2502 #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36]
2503 #define SWIGTYPE_p_p_wxPyVListBox swig_types[37]
2504 #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38]
2505 #define SWIGTYPE_p_p_wxPyWindow swig_types[39]
2506 #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40]
2507 #define SWIGTYPE_p_p_wxSashWindow swig_types[41]
2508 #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42]
2509 #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[43]
2510 #define SWIGTYPE_p_p_wxSplashScreen swig_types[44]
2511 #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[45]
2512 #define SWIGTYPE_p_p_wxSplitterWindow swig_types[46]
2513 #define SWIGTYPE_p_p_wxStatusBar swig_types[47]
2514 #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[48]
2515 #define SWIGTYPE_p_p_wxTipWindow swig_types[49]
2516 #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[50]
2517 #define SWIGTYPE_p_p_wxWindow swig_types[51]
2518 #define SWIGTYPE_p_unsigned_char swig_types[52]
2519 #define SWIGTYPE_p_unsigned_int swig_types[53]
2520 #define SWIGTYPE_p_unsigned_long swig_types[54]
2521 #define SWIGTYPE_p_wxANIHandler swig_types[55]
2522 #define SWIGTYPE_p_wxAcceleratorTable swig_types[56]
2523 #define SWIGTYPE_p_wxActivateEvent swig_types[57]
2524 #define SWIGTYPE_p_wxArrayString swig_types[58]
2525 #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[59]
2526 #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[60]
2527 #define SWIGTYPE_p_wxAuiDockArt swig_types[61]
2528 #define SWIGTYPE_p_wxAuiDockInfo swig_types[62]
2529 #define SWIGTYPE_p_wxAuiDockUIPart swig_types[63]
2530 #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[64]
2531 #define SWIGTYPE_p_wxAuiManager swig_types[65]
2532 #define SWIGTYPE_p_wxAuiManagerEvent swig_types[66]
2533 #define SWIGTYPE_p_wxAuiNotebook swig_types[67]
2534 #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[68]
2535 #define SWIGTYPE_p_wxAuiNotebookPage swig_types[69]
2536 #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[70]
2537 #define SWIGTYPE_p_wxAuiPaneButton swig_types[71]
2538 #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[72]
2539 #define SWIGTYPE_p_wxAuiPaneInfo swig_types[73]
2540 #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[74]
2541 #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[75]
2542 #define SWIGTYPE_p_wxAuiTabArt swig_types[76]
2543 #define SWIGTYPE_p_wxAuiTabContainer swig_types[77]
2544 #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[78]
2545 #define SWIGTYPE_p_wxAuiTabCtrl swig_types[79]
2546 #define SWIGTYPE_p_wxBMPHandler swig_types[80]
2547 #define SWIGTYPE_p_wxBitmap swig_types[81]
2548 #define SWIGTYPE_p_wxBoxSizer swig_types[82]
2549 #define SWIGTYPE_p_wxCURHandler swig_types[83]
2550 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[84]
2551 #define SWIGTYPE_p_wxChildFocusEvent swig_types[85]
2552 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[86]
2553 #define SWIGTYPE_p_wxCloseEvent swig_types[87]
2554 #define SWIGTYPE_p_wxColor swig_types[88]
2555 #define SWIGTYPE_p_wxColour swig_types[89]
2556 #define SWIGTYPE_p_wxColourData swig_types[90]
2557 #define SWIGTYPE_p_wxColourDialog swig_types[91]
2558 #define SWIGTYPE_p_wxCommandEvent swig_types[92]
2559 #define SWIGTYPE_p_wxContextMenuEvent swig_types[93]
2560 #define SWIGTYPE_p_wxControl swig_types[94]
2561 #define SWIGTYPE_p_wxControlWithItems swig_types[95]
2562 #define SWIGTYPE_p_wxDC swig_types[96]
2563 #define SWIGTYPE_p_wxDateEvent swig_types[97]
2564 #define SWIGTYPE_p_wxDialog swig_types[98]
2565 #define SWIGTYPE_p_wxDirDialog swig_types[99]
2566 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxDropFilesEvent swig_types[101]
2568 #define SWIGTYPE_p_wxDuplexMode swig_types[102]
2569 #define SWIGTYPE_p_wxEraseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxEvent swig_types[104]
2571 #define SWIGTYPE_p_wxEvtHandler swig_types[105]
2572 #define SWIGTYPE_p_wxFSFile swig_types[106]
2573 #define SWIGTYPE_p_wxFileDialog swig_types[107]
2574 #define SWIGTYPE_p_wxFileSystem swig_types[108]
2575 #define SWIGTYPE_p_wxFindDialogEvent swig_types[109]
2576 #define SWIGTYPE_p_wxFindReplaceData swig_types[110]
2577 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[111]
2578 #define SWIGTYPE_p_wxFlexGridSizer swig_types[112]
2579 #define SWIGTYPE_p_wxFocusEvent swig_types[113]
2580 #define SWIGTYPE_p_wxFont swig_types[114]
2581 #define SWIGTYPE_p_wxFontData swig_types[115]
2582 #define SWIGTYPE_p_wxFontDialog swig_types[116]
2583 #define SWIGTYPE_p_wxFrame swig_types[117]
2584 #define SWIGTYPE_p_wxGBSizerItem swig_types[118]
2585 #define SWIGTYPE_p_wxGIFHandler swig_types[119]
2586 #define SWIGTYPE_p_wxGridBagSizer swig_types[120]
2587 #define SWIGTYPE_p_wxGridSizer swig_types[121]
2588 #define SWIGTYPE_p_wxICOHandler swig_types[122]
2589 #define SWIGTYPE_p_wxIconizeEvent swig_types[123]
2590 #define SWIGTYPE_p_wxIdleEvent swig_types[124]
2591 #define SWIGTYPE_p_wxImage swig_types[125]
2592 #define SWIGTYPE_p_wxImageHandler swig_types[126]
2593 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[127]
2594 #define SWIGTYPE_p_wxInitDialogEvent swig_types[128]
2595 #define SWIGTYPE_p_wxJPEGHandler swig_types[129]
2596 #define SWIGTYPE_p_wxKeyEvent swig_types[130]
2597 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[131]
2598 #define SWIGTYPE_p_wxLayoutConstraints swig_types[132]
2599 #define SWIGTYPE_p_wxMDIChildFrame swig_types[133]
2600 #define SWIGTYPE_p_wxMDIClientWindow swig_types[134]
2601 #define SWIGTYPE_p_wxMDIParentFrame swig_types[135]
2602 #define SWIGTYPE_p_wxMaximizeEvent swig_types[136]
2603 #define SWIGTYPE_p_wxMenu swig_types[137]
2604 #define SWIGTYPE_p_wxMenuBar swig_types[138]
2605 #define SWIGTYPE_p_wxMenuEvent swig_types[139]
2606 #define SWIGTYPE_p_wxMenuItem swig_types[140]
2607 #define SWIGTYPE_p_wxMessageDialog swig_types[141]
2608 #define SWIGTYPE_p_wxMiniFrame swig_types[142]
2609 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[143]
2610 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[144]
2611 #define SWIGTYPE_p_wxMouseEvent swig_types[145]
2612 #define SWIGTYPE_p_wxMoveEvent swig_types[146]
2613 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[147]
2614 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[148]
2615 #define SWIGTYPE_p_wxNcPaintEvent swig_types[149]
2616 #define SWIGTYPE_p_wxNotifyEvent swig_types[150]
2617 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[151]
2618 #define SWIGTYPE_p_wxObject swig_types[152]
2619 #define SWIGTYPE_p_wxPCXHandler swig_types[153]
2620 #define SWIGTYPE_p_wxPNGHandler swig_types[154]
2621 #define SWIGTYPE_p_wxPNMHandler swig_types[155]
2622 #define SWIGTYPE_p_wxPageSetupDialog swig_types[156]
2623 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[157]
2624 #define SWIGTYPE_p_wxPaintEvent swig_types[158]
2625 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxPanel swig_types[160]
2627 #define SWIGTYPE_p_wxPaperSize swig_types[161]
2628 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxPoint swig_types[163]
2630 #define SWIGTYPE_p_wxPopupWindow swig_types[164]
2631 #define SWIGTYPE_p_wxPreviewCanvas swig_types[165]
2632 #define SWIGTYPE_p_wxPreviewControlBar swig_types[166]
2633 #define SWIGTYPE_p_wxPreviewFrame swig_types[167]
2634 #define SWIGTYPE_p_wxPrintData swig_types[168]
2635 #define SWIGTYPE_p_wxPrintDialog swig_types[169]
2636 #define SWIGTYPE_p_wxPrintDialogData swig_types[170]
2637 #define SWIGTYPE_p_wxPrintPreview swig_types[171]
2638 #define SWIGTYPE_p_wxPrinter swig_types[172]
2639 #define SWIGTYPE_p_wxProgressDialog swig_types[173]
2640 #define SWIGTYPE_p_wxPyApp swig_types[174]
2641 #define SWIGTYPE_p_wxPyAuiDockArt swig_types[175]
2642 #define SWIGTYPE_p_wxPyAuiTabArt swig_types[176]
2643 #define SWIGTYPE_p_wxPyCommandEvent swig_types[177]
2644 #define SWIGTYPE_p_wxPyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[179]
2646 #define SWIGTYPE_p_wxPyImageHandler swig_types[180]
2647 #define SWIGTYPE_p_wxPyPanel swig_types[181]
2648 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[182]
2649 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[183]
2650 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[184]
2651 #define SWIGTYPE_p_wxPyPrintPreview swig_types[185]
2652 #define SWIGTYPE_p_wxPyPrintout swig_types[186]
2653 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[187]
2654 #define SWIGTYPE_p_wxPySizer swig_types[188]
2655 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[189]
2656 #define SWIGTYPE_p_wxPyVListBox swig_types[190]
2657 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[191]
2658 #define SWIGTYPE_p_wxPyValidator swig_types[192]
2659 #define SWIGTYPE_p_wxPyWindow swig_types[193]
2660 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[194]
2661 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[195]
2662 #define SWIGTYPE_p_wxRect swig_types[196]
2663 #define SWIGTYPE_p_wxSashEvent swig_types[197]
2664 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[198]
2665 #define SWIGTYPE_p_wxSashWindow swig_types[199]
2666 #define SWIGTYPE_p_wxScrollEvent swig_types[200]
2667 #define SWIGTYPE_p_wxScrollWinEvent swig_types[201]
2668 #define SWIGTYPE_p_wxScrolledWindow swig_types[202]
2669 #define SWIGTYPE_p_wxSetCursorEvent swig_types[203]
2670 #define SWIGTYPE_p_wxShowEvent swig_types[204]
2671 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[205]
2672 #define SWIGTYPE_p_wxSize swig_types[206]
2673 #define SWIGTYPE_p_wxSizeEvent swig_types[207]
2674 #define SWIGTYPE_p_wxSizer swig_types[208]
2675 #define SWIGTYPE_p_wxSizerItem swig_types[209]
2676 #define SWIGTYPE_p_wxSplashScreen swig_types[210]
2677 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[211]
2678 #define SWIGTYPE_p_wxSplitterEvent swig_types[212]
2679 #define SWIGTYPE_p_wxSplitterWindow swig_types[213]
2680 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[214]
2681 #define SWIGTYPE_p_wxStatusBar swig_types[215]
2682 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[216]
2683 #define SWIGTYPE_p_wxString swig_types[217]
2684 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[218]
2685 #define SWIGTYPE_p_wxTGAHandler swig_types[219]
2686 #define SWIGTYPE_p_wxTIFFHandler swig_types[220]
2687 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[221]
2688 #define SWIGTYPE_p_wxTextEntryDialog swig_types[222]
2689 #define SWIGTYPE_p_wxTipWindow swig_types[223]
2690 #define SWIGTYPE_p_wxTopLevelWindow swig_types[224]
2691 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[225]
2692 #define SWIGTYPE_p_wxValidator swig_types[226]
2693 #define SWIGTYPE_p_wxWindow swig_types[227]
2694 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[228]
2695 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[229]
2696 #define SWIGTYPE_p_wxXPMHandler swig_types[230]
2697 static swig_type_info *swig_types[232];
2698 static swig_module_info swig_module = {swig_types, 231, 0, 0, 0, 0};
2699 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2700 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2701
2702 /* -------- TYPES TABLE (END) -------- */
2703
2704 #if (PY_VERSION_HEX <= 0x02000000)
2705 # if !defined(SWIG_PYTHON_CLASSIC)
2706 # error "This python version requires to use swig with the '-classic' option"
2707 # endif
2708 #endif
2709 #if (PY_VERSION_HEX <= 0x02020000)
2710 # error "This python version requires to use swig with the '-nomodern' option"
2711 #endif
2712 #if (PY_VERSION_HEX <= 0x02020000)
2713 # error "This python version requires to use swig with the '-nomodernargs' option"
2714 #endif
2715 #ifndef METH_O
2716 # error "This python version requires to use swig with the '-nofastunpack' option"
2717 #endif
2718
2719 /*-----------------------------------------------
2720 @(target):= _aui.so
2721 ------------------------------------------------*/
2722 #define SWIG_init init_aui
2723
2724 #define SWIG_name "_aui"
2725
2726 #define SWIGVERSION 0x010329
2727
2728
2729 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2730 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2731
2732
2733 #include <stdexcept>
2734
2735
2736 namespace swig {
2737 class PyObject_ptr {
2738 protected:
2739 PyObject *_obj;
2740
2741 public:
2742 PyObject_ptr() :_obj(0)
2743 {
2744 }
2745
2746 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2747 {
2748 Py_XINCREF(_obj);
2749 }
2750
2751 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2752 {
2753 if (initial_ref) Py_XINCREF(_obj);
2754 }
2755
2756 PyObject_ptr & operator=(const PyObject_ptr& item)
2757 {
2758 Py_XINCREF(item._obj);
2759 Py_XDECREF(_obj);
2760 _obj = item._obj;
2761 return *this;
2762 }
2763
2764 ~PyObject_ptr()
2765 {
2766 Py_XDECREF(_obj);
2767 }
2768
2769 operator PyObject *() const
2770 {
2771 return _obj;
2772 }
2773
2774 PyObject *operator->() const
2775 {
2776 return _obj;
2777 }
2778 };
2779 }
2780
2781
2782 namespace swig {
2783 struct PyObject_var : PyObject_ptr {
2784 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2785
2786 PyObject_var & operator = (PyObject* obj)
2787 {
2788 Py_XDECREF(_obj);
2789 _obj = obj;
2790 return *this;
2791 }
2792 };
2793 }
2794
2795
2796 #include "wx/wxPython/wxPython.h"
2797 #include "wx/wxPython/pyclasses.h"
2798 #include <wx/aui/aui.h>
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 #include <limits.h>
2812 #ifndef LLONG_MIN
2813 # define LLONG_MIN LONG_LONG_MIN
2814 #endif
2815 #ifndef LLONG_MAX
2816 # define LLONG_MAX LONG_LONG_MAX
2817 #endif
2818 #ifndef ULLONG_MAX
2819 # define ULLONG_MAX ULONG_LONG_MAX
2820 #endif
2821
2822
2823 SWIGINTERN int
2824 SWIG_AsVal_long (PyObject* obj, long* val)
2825 {
2826 if (PyNumber_Check(obj)) {
2827 if (val) *val = PyInt_AsLong(obj);
2828 return SWIG_OK;
2829 }
2830 return SWIG_TypeError;
2831 }
2832
2833
2834 SWIGINTERN int
2835 SWIG_AsVal_int (PyObject * obj, int *val)
2836 {
2837 long v;
2838 int res = SWIG_AsVal_long (obj, &v);
2839 if (SWIG_IsOK(res)) {
2840 if ((v < INT_MIN || v > INT_MAX)) {
2841 return SWIG_OverflowError;
2842 } else {
2843 if (val) *val = static_cast< int >(v);
2844 }
2845 }
2846 return res;
2847 }
2848
2849
2850 SWIGINTERN int
2851 SWIG_AsVal_bool (PyObject *obj, bool *val)
2852 {
2853 if (obj == Py_True) {
2854 if (val) *val = true;
2855 return SWIG_OK;
2856 } else if (obj == Py_False) {
2857 if (val) *val = false;
2858 return SWIG_OK;
2859 } else {
2860 long v = 0;
2861 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2862 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2863 return res;
2864 }
2865 }
2866
2867 SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){}
2868 SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){}
2869 SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){}
2870
2871 SWIGINTERN int
2872 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2873 {
2874 long v = 0;
2875 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2876 return SWIG_TypeError;
2877 }
2878 else if (val)
2879 *val = (unsigned long)v;
2880 return SWIG_OK;
2881 }
2882
2883
2884 SWIGINTERNINLINE int
2885 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2886 {
2887 unsigned long v;
2888 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2889 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2890 return res;
2891 }
2892
2893
2894 SWIGINTERNINLINE PyObject*
2895 SWIG_From_unsigned_SS_long (unsigned long value)
2896 {
2897 return (value > LONG_MAX) ?
2898 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2899 }
2900
2901
2902 SWIGINTERNINLINE PyObject *
2903 SWIG_From_size_t (size_t value)
2904 {
2905 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2906 }
2907
2908
2909 // A wxDocArt class that knows how to forward virtuals to Python methods
2910 class wxPyAuiDockArt : public wxAuiDefaultDockArt
2911 {
2912 wxPyAuiDockArt() : wxAuiDefaultDockArt() {}
2913
2914 DEC_PYCALLBACK_INT_INT(GetMetric);
2915 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2916 DEC_PYCALLBACK__INTFONT(SetFont);
2917 DEC_PYCALLBACK_FONT_INT(GetFont);
2918 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2919 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2920
2921 virtual void DrawSash(wxDC& dc,
2922 wxWindow* window,
2923 int orientation,
2924 const wxRect& rect)
2925 {
2926 bool found;
2927 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2928 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2929 PyObject* odc = wxPyMake_wxObject(&dc, false);
2930 PyObject* owin = wxPyMake_wxObject(window, false);
2931 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2932 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2933 odc, owin, orientation, orect));
2934 Py_DECREF(odc);
2935 Py_DECREF(owin);
2936 Py_DECREF(orect);
2937 }
2938 wxPyEndBlockThreads(blocked);
2939 if (! found)
2940 wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect);
2941 }
2942
2943 virtual void DrawBackground(wxDC& dc,
2944 wxWindow* window,
2945 int orientation,
2946 const wxRect& rect)
2947 {
2948 bool found;
2949 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2950 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2951 PyObject* odc = wxPyMake_wxObject(&dc, false);
2952 PyObject* owin = wxPyMake_wxObject(window, false);
2953 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2954 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2955 odc, owin, orientation, orect));
2956 Py_DECREF(odc);
2957 Py_DECREF(owin);
2958 Py_DECREF(orect);
2959 }
2960 wxPyEndBlockThreads(blocked);
2961 if (! found)
2962 wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2963 }
2964
2965 virtual void DrawCaption(wxDC& dc,
2966 wxWindow* window,
2967 const wxString& text,
2968 const wxRect& rect,
2969 wxAuiPaneInfo& pane)
2970 {
2971 bool found;
2972 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2973 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2974 PyObject* odc = wxPyMake_wxObject(&dc, false);
2975 PyObject* owin = wxPyMake_wxObject(window, false);
2976 PyObject* otext = wx2PyString(text);
2977 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2978 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
2979 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2980 odc, owin, otext, orect, opane));
2981 Py_DECREF(odc);
2982 Py_DECREF(owin);
2983 Py_DECREF(otext);
2984 Py_DECREF(orect);
2985 Py_DECREF(opane);
2986 }
2987 wxPyEndBlockThreads(blocked);
2988 if (! found)
2989 wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
2990 }
2991
2992 virtual void DrawGripper(wxDC& dc,
2993 wxWindow* window,
2994 const wxRect& rect,
2995 wxAuiPaneInfo& pane)
2996 {
2997 bool found;
2998 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2999 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
3000 PyObject* odc = wxPyMake_wxObject(&dc, false);
3001 PyObject* owin = wxPyMake_wxObject(window, false);
3002 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3003 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3004 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
3005 Py_DECREF(odc);
3006 Py_DECREF(orect);
3007 Py_DECREF(opane);
3008 }
3009 wxPyEndBlockThreads(blocked);
3010 if (! found)
3011 wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane);
3012 }
3013
3014 virtual void DrawBorder(wxDC& dc,
3015 wxWindow* window,
3016 const wxRect& rect,
3017 wxAuiPaneInfo& pane)
3018 {
3019 bool found;
3020 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3021 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3022 PyObject* odc = wxPyMake_wxObject(&dc, false);
3023 PyObject* owin = wxPyMake_wxObject(window, false);
3024 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3025 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3026 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3027 Py_DECREF(odc);
3028 Py_DECREF(owin);
3029 Py_DECREF(orect);
3030 Py_DECREF(opane);
3031 }
3032 wxPyEndBlockThreads(blocked);
3033 if (! found)
3034 wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane);
3035 }
3036
3037 virtual void DrawPaneButton(wxDC& dc,
3038 wxWindow* window,
3039 int button,
3040 int button_state,
3041 const wxRect& rect,
3042 wxAuiPaneInfo& pane)
3043 {
3044 bool found;
3045 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3046 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3047 PyObject* odc = wxPyMake_wxObject(&dc, false);
3048 PyObject* owin = wxPyMake_wxObject(window, false);
3049 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3050 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3051 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3052 odc, owin, button, button_state,
3053 orect, opane));
3054 Py_DECREF(odc);
3055 Py_DECREF(owin);
3056 Py_DECREF(orect);
3057 Py_DECREF(opane);
3058 }
3059 wxPyEndBlockThreads(blocked);
3060 if (! found)
3061 wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3062 }
3063
3064 PYPRIVATE;
3065
3066 };
3067
3068 IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric);
3069 IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric);
3070 IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont);
3071 IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont);
3072 IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour);
3073 IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour);
3074
3075
3076
3077 // A wxTabArt class that knows how to forward virtuals to Python methods
3078 class wxPyAuiTabArt : public wxAuiDefaultTabArt
3079 {
3080 wxPyAuiTabArt() : wxAuiDefaultTabArt() {}
3081
3082
3083 virtual void DrawBackground( wxDC& dc,
3084 wxWindow* wnd,
3085 const wxRect& rect )
3086 {
3087 bool found;
3088 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3089 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
3090 PyObject* odc = wxPyMake_wxObject(&dc, false);
3091 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3092 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3093 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect));
3094 Py_DECREF(odc);
3095 Py_DECREF(ownd);
3096 Py_DECREF(orect);
3097 }
3098 wxPyEndBlockThreads(blocked);
3099 if (!found)
3100 wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect);
3101 }
3102
3103 virtual void DrawTab( wxDC& dc,
3104 wxWindow* wnd,
3105 const wxRect& in_rect,
3106 const wxString& caption,
3107 const wxBitmap& bitmap,
3108 bool active,
3109 int close_button_state,
3110 wxRect* out_tab_rect,
3111 wxRect* out_button_rect,
3112 int* x_extent)
3113 {
3114 bool found;
3115 const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)";
3116 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3117 if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) {
3118 PyObject* odc = wxPyMake_wxObject(&dc, false);
3119 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3120 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3121 PyObject* otext = wx2PyString(caption);
3122 PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false);
3123 PyObject* ro;
3124 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue(
3125 "(OOOOOii)",
3126 odc, ownd, orect, otext, obmp,
3127 (int)active, close_button_state));
3128 if (ro) {
3129 if (PySequence_Check(ro) && PyObject_Length(ro) == 3) {
3130 PyObject* o1 = PySequence_GetItem(ro, 0);
3131 PyObject* o2 = PySequence_GetItem(ro, 1);
3132 PyObject* o3 = PySequence_GetItem(ro, 2);
3133 if (!wxRect_helper(o1, &out_tab_rect))
3134 PyErr_SetString(PyExc_TypeError, errmsg);
3135 else if (!wxRect_helper(o2, &out_button_rect))
3136 PyErr_SetString(PyExc_TypeError, errmsg);
3137 else if (!PyInt_Check(o3))
3138 PyErr_SetString(PyExc_TypeError, errmsg);
3139 else
3140 *x_extent = PyInt_AsLong(o3);
3141
3142 Py_DECREF(o1);
3143 Py_DECREF(o2);
3144 Py_DECREF(o3);
3145 }
3146 else {
3147 PyErr_SetString(PyExc_TypeError, errmsg);
3148 }
3149 Py_DECREF(ro);
3150 }
3151
3152 Py_DECREF(odc);
3153 Py_DECREF(ownd);
3154 Py_DECREF(orect);
3155 Py_DECREF(otext);
3156 Py_DECREF(obmp);
3157 }
3158 wxPyEndBlockThreads(blocked);
3159 if (!found)
3160 wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent);
3161 }
3162
3163
3164 virtual void DrawButton( wxDC& dc,
3165 wxWindow* wnd,
3166 const wxRect& in_rect,
3167 int bitmap_id,
3168 int button_state,
3169 int orientation,
3170 const wxBitmap& bitmap_override,
3171 wxRect* out_rect)
3172 {
3173 bool found;
3174 const char* errmsg = "DrawButton should return a wxRect";
3175 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3176 if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) {
3177 PyObject* odc = wxPyMake_wxObject(&dc, false);
3178 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3179 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3180 PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0);
3181 PyObject* ro;
3182 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect,
3183 bitmap_id, button_state, orientation,
3184 obmp));
3185 if (ro) {
3186 if (!wxRect_helper(ro, &out_rect))
3187 PyErr_SetString(PyExc_TypeError, errmsg);
3188 Py_DECREF(ro);
3189 }
3190
3191 Py_DECREF(odc);
3192 Py_DECREF(ownd);
3193 Py_DECREF(orect);
3194 Py_DECREF(obmp);
3195 }
3196 wxPyEndBlockThreads(blocked);
3197 if (!found)
3198 wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect);
3199 }
3200
3201
3202 virtual wxSize GetTabSize( wxDC& dc,
3203 wxWindow* wnd,
3204 const wxString& caption,
3205 const wxBitmap& bitmap,
3206 bool active,
3207 int close_button_state,
3208 int* x_extent)
3209 {
3210 bool found;
3211 wxSize rv, *prv = &rv;
3212 const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)";
3213 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3214 if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) {
3215 PyObject* odc = wxPyMake_wxObject(&dc, false);
3216 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3217 PyObject* otext = wx2PyString(caption);
3218 PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false);
3219 PyObject* ro;
3220 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue(
3221 "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state));
3222 if (ro) {
3223 if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
3224 PyObject* o1 = PySequence_GetItem(ro, 0);
3225 PyObject* o2 = PySequence_GetItem(ro, 1);
3226 if (!wxSize_helper(o1, &prv))
3227 PyErr_SetString(PyExc_TypeError, errmsg);
3228 else if (!PyInt_Check(o2))
3229 PyErr_SetString(PyExc_TypeError, errmsg);
3230 else
3231 *x_extent = PyInt_AsLong(o2);
3232
3233 Py_DECREF(o1);
3234 Py_DECREF(o2);
3235 }
3236 else {
3237 PyErr_SetString(PyExc_TypeError, errmsg);
3238 }
3239 Py_DECREF(ro);
3240 }
3241
3242 Py_DECREF(odc);
3243 Py_DECREF(ownd);
3244 Py_DECREF(otext);
3245 Py_DECREF(obmp);
3246 }
3247 wxPyEndBlockThreads(blocked);
3248 if (!found)
3249 rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent);
3250 return rv;
3251 }
3252
3253 // TODO
3254 // virtual int ShowWindowList(
3255 // wxWindow* wnd,
3256 // const wxArrayString& items,
3257 // int active_idx);
3258 //
3259 // virtual int GetBestTabCtrlSize(wxWindow* wnd,
3260 // wxAuiNotebookPageArray& pages);
3261 // virtual wxAuiTabArt* Clone();
3262 // virtual void SetFlags(unsigned int flags);
3263 // virtual void SetSizingInfo(const wxSize& tab_ctrl_size,
3264 // size_t tab_count);
3265 // virtual int GetIndentSize();
3266
3267
3268
3269 DEC_PYCALLBACK__FONT(SetNormalFont);
3270 DEC_PYCALLBACK__FONT(SetSelectedFont);
3271 DEC_PYCALLBACK__FONT(SetMeasuringFont);
3272 // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize);
3273
3274 PYPRIVATE;
3275 };
3276
3277
3278 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont);
3279 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont);
3280 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont);
3281 //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize);
3282
3283 #ifdef __cplusplus
3284 extern "C" {
3285 #endif
3286 SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) {
3287 {
3288 void *argp = 0;
3289 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0);
3290 if (!SWIG_IsOK(res)) {
3291 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'");
3292 }
3293 if (!argp) {
3294 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'");
3295 } else {
3296 wxAuiDockInfo * temp;
3297 temp = reinterpret_cast< wxAuiDockInfo * >(argp);
3298 wxAuiNullDockInfo = *temp;
3299 if (SWIG_IsNewObj(res)) delete temp;
3300 }
3301 }
3302 return 0;
3303 fail:
3304 return 1;
3305 }
3306
3307
3308 SWIGINTERN PyObject *AuiNullDockInfo_get(void) {
3309 PyObject *pyobj = 0;
3310
3311 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 );
3312 return pyobj;
3313 }
3314
3315
3316 SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) {
3317 {
3318 void *argp = 0;
3319 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
3320 if (!SWIG_IsOK(res)) {
3321 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'");
3322 }
3323 if (!argp) {
3324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'");
3325 } else {
3326 wxAuiPaneInfo * temp;
3327 temp = reinterpret_cast< wxAuiPaneInfo * >(argp);
3328 wxAuiNullPaneInfo = *temp;
3329 if (SWIG_IsNewObj(res)) delete temp;
3330 }
3331 }
3332 return 0;
3333 fail:
3334 return 1;
3335 }
3336
3337
3338 SWIGINTERN PyObject *AuiNullPaneInfo_get(void) {
3339 PyObject *pyobj = 0;
3340
3341 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 );
3342 return pyobj;
3343 }
3344
3345
3346 SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3347 PyObject *resultobj = 0;
3348 wxAuiPaneInfo *result = 0 ;
3349
3350 if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (wxAuiPaneInfo *)new wxAuiPaneInfo();
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 );
3358 return resultobj;
3359 fail:
3360 return NULL;
3361 }
3362
3363
3364 SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3365 PyObject *resultobj = 0;
3366 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3367 void *argp1 = 0 ;
3368 int res1 = 0 ;
3369 PyObject *swig_obj[1] ;
3370
3371 if (!args) SWIG_fail;
3372 swig_obj[0] = args;
3373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
3374 if (!SWIG_IsOK(res1)) {
3375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
3376 }
3377 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 delete arg1;
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 resultobj = SWIG_Py_Void();
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj = 0;
3394 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3395 wxAuiPaneInfo arg2 ;
3396 void *argp1 = 0 ;
3397 int res1 = 0 ;
3398 void *argp2 ;
3399 int res2 = 0 ;
3400 PyObject * obj0 = 0 ;
3401 PyObject * obj1 = 0 ;
3402 char * kwnames[] = {
3403 (char *) "self",(char *) "source", NULL
3404 };
3405
3406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3408 if (!SWIG_IsOK(res1)) {
3409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
3410 }
3411 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3412 {
3413 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
3414 if (!SWIG_IsOK(res2)) {
3415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'");
3416 }
3417 if (!argp2) {
3418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'");
3419 } else {
3420 wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2);
3421 arg2 = *temp;
3422 if (SWIG_IsNewObj(res2)) delete temp;
3423 }
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 (arg1)->SafeSet(arg2);
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 resultobj = SWIG_Py_Void();
3432 return resultobj;
3433 fail:
3434 return NULL;
3435 }
3436
3437
3438 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3439 PyObject *resultobj = 0;
3440 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3441 bool result;
3442 void *argp1 = 0 ;
3443 int res1 = 0 ;
3444 PyObject *swig_obj[1] ;
3445
3446 if (!args) SWIG_fail;
3447 swig_obj[0] = args;
3448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3449 if (!SWIG_IsOK(res1)) {
3450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3451 }
3452 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk();
3456 wxPyEndAllowThreads(__tstate);
3457 if (PyErr_Occurred()) SWIG_fail;
3458 }
3459 {
3460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3461 }
3462 return resultobj;
3463 fail:
3464 return NULL;
3465 }
3466
3467
3468 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3469 PyObject *resultobj = 0;
3470 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3471 bool result;
3472 void *argp1 = 0 ;
3473 int res1 = 0 ;
3474 PyObject *swig_obj[1] ;
3475
3476 if (!args) SWIG_fail;
3477 swig_obj[0] = args;
3478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3479 if (!SWIG_IsOK(res1)) {
3480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3481 }
3482 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed();
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 {
3490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3491 }
3492 return resultobj;
3493 fail:
3494 return NULL;
3495 }
3496
3497
3498 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3499 PyObject *resultobj = 0;
3500 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3501 bool result;
3502 void *argp1 = 0 ;
3503 int res1 = 0 ;
3504 PyObject *swig_obj[1] ;
3505
3506 if (!args) SWIG_fail;
3507 swig_obj[0] = args;
3508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3509 if (!SWIG_IsOK(res1)) {
3510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3511 }
3512 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable();
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 {
3520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3521 }
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3529 PyObject *resultobj = 0;
3530 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3531 bool result;
3532 void *argp1 = 0 ;
3533 int res1 = 0 ;
3534 PyObject *swig_obj[1] ;
3535
3536 if (!args) SWIG_fail;
3537 swig_obj[0] = args;
3538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3539 if (!SWIG_IsOK(res1)) {
3540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3541 }
3542 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown();
3546 wxPyEndAllowThreads(__tstate);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 {
3550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3551 }
3552 return resultobj;
3553 fail:
3554 return NULL;
3555 }
3556
3557
3558 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3559 PyObject *resultobj = 0;
3560 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3561 bool result;
3562 void *argp1 = 0 ;
3563 int res1 = 0 ;
3564 PyObject *swig_obj[1] ;
3565
3566 if (!args) SWIG_fail;
3567 swig_obj[0] = args;
3568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3569 if (!SWIG_IsOK(res1)) {
3570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3571 }
3572 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating();
3576 wxPyEndAllowThreads(__tstate);
3577 if (PyErr_Occurred()) SWIG_fail;
3578 }
3579 {
3580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3581 }
3582 return resultobj;
3583 fail:
3584 return NULL;
3585 }
3586
3587
3588 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3589 PyObject *resultobj = 0;
3590 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3591 bool result;
3592 void *argp1 = 0 ;
3593 int res1 = 0 ;
3594 PyObject *swig_obj[1] ;
3595
3596 if (!args) SWIG_fail;
3597 swig_obj[0] = args;
3598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3599 if (!SWIG_IsOK(res1)) {
3600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3601 }
3602 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
3605 result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked();
3606 wxPyEndAllowThreads(__tstate);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 {
3610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3611 }
3612 return resultobj;
3613 fail:
3614 return NULL;
3615 }
3616
3617
3618 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3619 PyObject *resultobj = 0;
3620 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3621 bool result;
3622 void *argp1 = 0 ;
3623 int res1 = 0 ;
3624 PyObject *swig_obj[1] ;
3625
3626 if (!args) SWIG_fail;
3627 swig_obj[0] = args;
3628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3629 if (!SWIG_IsOK(res1)) {
3630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3631 }
3632 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
3635 result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar();
3636 wxPyEndAllowThreads(__tstate);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3649 PyObject *resultobj = 0;
3650 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3651 bool result;
3652 void *argp1 = 0 ;
3653 int res1 = 0 ;
3654 PyObject *swig_obj[1] ;
3655
3656 if (!args) SWIG_fail;
3657 swig_obj[0] = args;
3658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3659 if (!SWIG_IsOK(res1)) {
3660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3661 }
3662 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable();
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 {
3670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3671 }
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3679 PyObject *resultobj = 0;
3680 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3681 bool result;
3682 void *argp1 = 0 ;
3683 int res1 = 0 ;
3684 PyObject *swig_obj[1] ;
3685
3686 if (!args) SWIG_fail;
3687 swig_obj[0] = args;
3688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3691 }
3692 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
3695 result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable();
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 {
3700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3701 }
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3709 PyObject *resultobj = 0;
3710 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3711 bool result;
3712 void *argp1 = 0 ;
3713 int res1 = 0 ;
3714 PyObject *swig_obj[1] ;
3715
3716 if (!args) SWIG_fail;
3717 swig_obj[0] = args;
3718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3719 if (!SWIG_IsOK(res1)) {
3720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3721 }
3722 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable();
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 {
3730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3731 }
3732 return resultobj;
3733 fail:
3734 return NULL;
3735 }
3736
3737
3738 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3739 PyObject *resultobj = 0;
3740 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3741 bool result;
3742 void *argp1 = 0 ;
3743 int res1 = 0 ;
3744 PyObject *swig_obj[1] ;
3745
3746 if (!args) SWIG_fail;
3747 swig_obj[0] = args;
3748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3749 if (!SWIG_IsOK(res1)) {
3750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3751 }
3752 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable();
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 {
3760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3761 }
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3769 PyObject *resultobj = 0;
3770 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3771 bool result;
3772 void *argp1 = 0 ;
3773 int res1 = 0 ;
3774 PyObject *swig_obj[1] ;
3775
3776 if (!args) SWIG_fail;
3777 swig_obj[0] = args;
3778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3779 if (!SWIG_IsOK(res1)) {
3780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3781 }
3782 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable();
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 {
3790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3791 }
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3799 PyObject *resultobj = 0;
3800 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3801 bool result;
3802 void *argp1 = 0 ;
3803 int res1 = 0 ;
3804 PyObject *swig_obj[1] ;
3805
3806 if (!args) SWIG_fail;
3807 swig_obj[0] = args;
3808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3809 if (!SWIG_IsOK(res1)) {
3810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3811 }
3812 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable();
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 {
3820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3821 }
3822 return resultobj;
3823 fail:
3824 return NULL;
3825 }
3826
3827
3828 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3829 PyObject *resultobj = 0;
3830 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3831 bool result;
3832 void *argp1 = 0 ;
3833 int res1 = 0 ;
3834 PyObject *swig_obj[1] ;
3835
3836 if (!args) SWIG_fail;
3837 swig_obj[0] = args;
3838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3839 if (!SWIG_IsOK(res1)) {
3840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3841 }
3842 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3843 {
3844 PyThreadState* __tstate = wxPyBeginAllowThreads();
3845 result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose();
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 {
3850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3851 }
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3859 PyObject *resultobj = 0;
3860 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3861 bool result;
3862 void *argp1 = 0 ;
3863 int res1 = 0 ;
3864 PyObject *swig_obj[1] ;
3865
3866 if (!args) SWIG_fail;
3867 swig_obj[0] = args;
3868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3871 }
3872 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized();
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 {
3880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3881 }
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3889 PyObject *resultobj = 0;
3890 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3891 bool result;
3892 void *argp1 = 0 ;
3893 int res1 = 0 ;
3894 PyObject *swig_obj[1] ;
3895
3896 if (!args) SWIG_fail;
3897 swig_obj[0] = args;
3898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3901 }
3902 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption();
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 {
3910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3919 PyObject *resultobj = 0;
3920 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3921 bool result;
3922 void *argp1 = 0 ;
3923 int res1 = 0 ;
3924 PyObject *swig_obj[1] ;
3925
3926 if (!args) SWIG_fail;
3927 swig_obj[0] = args;
3928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3929 if (!SWIG_IsOK(res1)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3931 }
3932 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper();
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 {
3940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3941 }
3942 return resultobj;
3943 fail:
3944 return NULL;
3945 }
3946
3947
3948 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3949 PyObject *resultobj = 0;
3950 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3951 bool result;
3952 void *argp1 = 0 ;
3953 int res1 = 0 ;
3954 PyObject *swig_obj[1] ;
3955
3956 if (!args) SWIG_fail;
3957 swig_obj[0] = args;
3958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3959 if (!SWIG_IsOK(res1)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3961 }
3962 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder();
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 {
3970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3971 }
3972 return resultobj;
3973 fail:
3974 return NULL;
3975 }
3976
3977
3978 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3979 PyObject *resultobj = 0;
3980 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3981 bool result;
3982 void *argp1 = 0 ;
3983 int res1 = 0 ;
3984 PyObject *swig_obj[1] ;
3985
3986 if (!args) SWIG_fail;
3987 swig_obj[0] = args;
3988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3989 if (!SWIG_IsOK(res1)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3991 }
3992 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton();
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 {
4000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4001 }
4002 return resultobj;
4003 fail:
4004 return NULL;
4005 }
4006
4007
4008 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4009 PyObject *resultobj = 0;
4010 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4011 bool result;
4012 void *argp1 = 0 ;
4013 int res1 = 0 ;
4014 PyObject *swig_obj[1] ;
4015
4016 if (!args) SWIG_fail;
4017 swig_obj[0] = args;
4018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4019 if (!SWIG_IsOK(res1)) {
4020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4021 }
4022 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton();
4026 wxPyEndAllowThreads(__tstate);
4027 if (PyErr_Occurred()) SWIG_fail;
4028 }
4029 {
4030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4031 }
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4039 PyObject *resultobj = 0;
4040 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4041 bool result;
4042 void *argp1 = 0 ;
4043 int res1 = 0 ;
4044 PyObject *swig_obj[1] ;
4045
4046 if (!args) SWIG_fail;
4047 swig_obj[0] = args;
4048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4049 if (!SWIG_IsOK(res1)) {
4050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4051 }
4052 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton();
4056 wxPyEndAllowThreads(__tstate);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 {
4060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4061 }
4062 return resultobj;
4063 fail:
4064 return NULL;
4065 }
4066
4067
4068 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4069 PyObject *resultobj = 0;
4070 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4071 bool result;
4072 void *argp1 = 0 ;
4073 int res1 = 0 ;
4074 PyObject *swig_obj[1] ;
4075
4076 if (!args) SWIG_fail;
4077 swig_obj[0] = args;
4078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4079 if (!SWIG_IsOK(res1)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4081 }
4082 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton();
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 {
4090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4091 }
4092 return resultobj;
4093 fail:
4094 return NULL;
4095 }
4096
4097
4098 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4099 PyObject *resultobj = 0;
4100 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4101 bool result;
4102 void *argp1 = 0 ;
4103 int res1 = 0 ;
4104 PyObject *swig_obj[1] ;
4105
4106 if (!args) SWIG_fail;
4107 swig_obj[0] = args;
4108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4109 if (!SWIG_IsOK(res1)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4111 }
4112 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop();
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4121 }
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj = 0;
4130 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4131 wxWindow *arg2 = (wxWindow *) 0 ;
4132 wxAuiPaneInfo *result = 0 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 void *argp2 = 0 ;
4136 int res2 = 0 ;
4137 PyObject * obj0 = 0 ;
4138 PyObject * obj1 = 0 ;
4139 char * kwnames[] = {
4140 (char *) "self",(char *) "w", NULL
4141 };
4142
4143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
4144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4145 if (!SWIG_IsOK(res1)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4147 }
4148 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4150 if (!SWIG_IsOK(res2)) {
4151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
4152 }
4153 arg2 = reinterpret_cast< wxWindow * >(argp2);
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
4156 {
4157 wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2);
4158 result = (wxAuiPaneInfo *) &_result_ref;
4159 }
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164 resultobj = obj0; Py_INCREF(resultobj);
4165 }
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj = 0;
4174 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4175 wxString *arg2 = 0 ;
4176 wxAuiPaneInfo *result = 0 ;
4177 void *argp1 = 0 ;
4178 int res1 = 0 ;
4179 bool temp2 = false ;
4180 PyObject * obj0 = 0 ;
4181 PyObject * obj1 = 0 ;
4182 char * kwnames[] = {
4183 (char *) "self",(char *) "n", NULL
4184 };
4185
4186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
4187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4188 if (!SWIG_IsOK(res1)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4190 }
4191 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4192 {
4193 arg2 = wxString_in_helper(obj1);
4194 if (arg2 == NULL) SWIG_fail;
4195 temp2 = true;
4196 }
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 {
4200 wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
4201 result = (wxAuiPaneInfo *) &_result_ref;
4202 }
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = obj0; Py_INCREF(resultobj);
4208 }
4209 {
4210 if (temp2)
4211 delete arg2;
4212 }
4213 return resultobj;
4214 fail:
4215 {
4216 if (temp2)
4217 delete arg2;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj = 0;
4225 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4226 wxString *arg2 = 0 ;
4227 wxAuiPaneInfo *result = 0 ;
4228 void *argp1 = 0 ;
4229 int res1 = 0 ;
4230 bool temp2 = false ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 char * kwnames[] = {
4234 (char *) "self",(char *) "c", NULL
4235 };
4236
4237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
4238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4239 if (!SWIG_IsOK(res1)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4241 }
4242 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4243 {
4244 arg2 = wxString_in_helper(obj1);
4245 if (arg2 == NULL) SWIG_fail;
4246 temp2 = true;
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 {
4251 wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
4252 result = (wxAuiPaneInfo *) &_result_ref;
4253 }
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 {
4258 resultobj = obj0; Py_INCREF(resultobj);
4259 }
4260 {
4261 if (temp2)
4262 delete arg2;
4263 }
4264 return resultobj;
4265 fail:
4266 {
4267 if (temp2)
4268 delete arg2;
4269 }
4270 return NULL;
4271 }
4272
4273
4274 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4275 PyObject *resultobj = 0;
4276 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4277 wxAuiPaneInfo *result = 0 ;
4278 void *argp1 = 0 ;
4279 int res1 = 0 ;
4280 PyObject *swig_obj[1] ;
4281
4282 if (!args) SWIG_fail;
4283 swig_obj[0] = args;
4284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4285 if (!SWIG_IsOK(res1)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4287 }
4288 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 {
4292 wxAuiPaneInfo &_result_ref = (arg1)->Left();
4293 result = (wxAuiPaneInfo *) &_result_ref;
4294 }
4295 wxPyEndAllowThreads(__tstate);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 }
4298 {
4299 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4300 }
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4308 PyObject *resultobj = 0;
4309 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4310 wxAuiPaneInfo *result = 0 ;
4311 void *argp1 = 0 ;
4312 int res1 = 0 ;
4313 PyObject *swig_obj[1] ;
4314
4315 if (!args) SWIG_fail;
4316 swig_obj[0] = args;
4317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4318 if (!SWIG_IsOK(res1)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4320 }
4321 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 {
4325 wxAuiPaneInfo &_result_ref = (arg1)->Right();
4326 result = (wxAuiPaneInfo *) &_result_ref;
4327 }
4328 wxPyEndAllowThreads(__tstate);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 }
4331 {
4332 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4333 }
4334 return resultobj;
4335 fail:
4336 return NULL;
4337 }
4338
4339
4340 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4341 PyObject *resultobj = 0;
4342 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4343 wxAuiPaneInfo *result = 0 ;
4344 void *argp1 = 0 ;
4345 int res1 = 0 ;
4346 PyObject *swig_obj[1] ;
4347
4348 if (!args) SWIG_fail;
4349 swig_obj[0] = args;
4350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4351 if (!SWIG_IsOK(res1)) {
4352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4353 }
4354 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 {
4358 wxAuiPaneInfo &_result_ref = (arg1)->Top();
4359 result = (wxAuiPaneInfo *) &_result_ref;
4360 }
4361 wxPyEndAllowThreads(__tstate);
4362 if (PyErr_Occurred()) SWIG_fail;
4363 }
4364 {
4365 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4366 }
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4374 PyObject *resultobj = 0;
4375 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4376 wxAuiPaneInfo *result = 0 ;
4377 void *argp1 = 0 ;
4378 int res1 = 0 ;
4379 PyObject *swig_obj[1] ;
4380
4381 if (!args) SWIG_fail;
4382 swig_obj[0] = args;
4383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4384 if (!SWIG_IsOK(res1)) {
4385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4386 }
4387 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 {
4391 wxAuiPaneInfo &_result_ref = (arg1)->Bottom();
4392 result = (wxAuiPaneInfo *) &_result_ref;
4393 }
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4399 }
4400 return resultobj;
4401 fail:
4402 return NULL;
4403 }
4404
4405
4406 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4407 PyObject *resultobj = 0;
4408 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4409 wxAuiPaneInfo *result = 0 ;
4410 void *argp1 = 0 ;
4411 int res1 = 0 ;
4412 PyObject *swig_obj[1] ;
4413
4414 if (!args) SWIG_fail;
4415 swig_obj[0] = args;
4416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4417 if (!SWIG_IsOK(res1)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4419 }
4420 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4421 {
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 {
4424 wxAuiPaneInfo &_result_ref = (arg1)->Center();
4425 result = (wxAuiPaneInfo *) &_result_ref;
4426 }
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 {
4431 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4432 }
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4440 PyObject *resultobj = 0;
4441 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4442 wxAuiPaneInfo *result = 0 ;
4443 void *argp1 = 0 ;
4444 int res1 = 0 ;
4445 PyObject *swig_obj[1] ;
4446
4447 if (!args) SWIG_fail;
4448 swig_obj[0] = args;
4449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4452 }
4453 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 {
4457 wxAuiPaneInfo &_result_ref = (arg1)->Centre();
4458 result = (wxAuiPaneInfo *) &_result_ref;
4459 }
4460 wxPyEndAllowThreads(__tstate);
4461 if (PyErr_Occurred()) SWIG_fail;
4462 }
4463 {
4464 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4465 }
4466 return resultobj;
4467 fail:
4468 return NULL;
4469 }
4470
4471
4472 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj = 0;
4474 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4475 int arg2 ;
4476 wxAuiPaneInfo *result = 0 ;
4477 void *argp1 = 0 ;
4478 int res1 = 0 ;
4479 int val2 ;
4480 int ecode2 = 0 ;
4481 PyObject * obj0 = 0 ;
4482 PyObject * obj1 = 0 ;
4483 char * kwnames[] = {
4484 (char *) "self",(char *) "direction", NULL
4485 };
4486
4487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4489 if (!SWIG_IsOK(res1)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4491 }
4492 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4493 ecode2 = SWIG_AsVal_int(obj1, &val2);
4494 if (!SWIG_IsOK(ecode2)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4496 }
4497 arg2 = static_cast< int >(val2);
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 {
4501 wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2);
4502 result = (wxAuiPaneInfo *) &_result_ref;
4503 }
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = obj0; Py_INCREF(resultobj);
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj = 0;
4518 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4519 int arg2 ;
4520 wxAuiPaneInfo *result = 0 ;
4521 void *argp1 = 0 ;
4522 int res1 = 0 ;
4523 int val2 ;
4524 int ecode2 = 0 ;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 char * kwnames[] = {
4528 (char *) "self",(char *) "layer", NULL
4529 };
4530
4531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4533 if (!SWIG_IsOK(res1)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4535 }
4536 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4537 ecode2 = SWIG_AsVal_int(obj1, &val2);
4538 if (!SWIG_IsOK(ecode2)) {
4539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4540 }
4541 arg2 = static_cast< int >(val2);
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 {
4545 wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2);
4546 result = (wxAuiPaneInfo *) &_result_ref;
4547 }
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 {
4552 resultobj = obj0; Py_INCREF(resultobj);
4553 }
4554 return resultobj;
4555 fail:
4556 return NULL;
4557 }
4558
4559
4560 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4561 PyObject *resultobj = 0;
4562 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4563 int arg2 ;
4564 wxAuiPaneInfo *result = 0 ;
4565 void *argp1 = 0 ;
4566 int res1 = 0 ;
4567 int val2 ;
4568 int ecode2 = 0 ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj1 = 0 ;
4571 char * kwnames[] = {
4572 (char *) "self",(char *) "row", NULL
4573 };
4574
4575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4577 if (!SWIG_IsOK(res1)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4579 }
4580 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4581 ecode2 = SWIG_AsVal_int(obj1, &val2);
4582 if (!SWIG_IsOK(ecode2)) {
4583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4584 }
4585 arg2 = static_cast< int >(val2);
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 {
4589 wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2);
4590 result = (wxAuiPaneInfo *) &_result_ref;
4591 }
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
4596 resultobj = obj0; Py_INCREF(resultobj);
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj = 0;
4606 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4607 int arg2 ;
4608 wxAuiPaneInfo *result = 0 ;
4609 void *argp1 = 0 ;
4610 int res1 = 0 ;
4611 int val2 ;
4612 int ecode2 = 0 ;
4613 PyObject * obj0 = 0 ;
4614 PyObject * obj1 = 0 ;
4615 char * kwnames[] = {
4616 (char *) "self",(char *) "pos", NULL
4617 };
4618
4619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4621 if (!SWIG_IsOK(res1)) {
4622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4623 }
4624 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4625 ecode2 = SWIG_AsVal_int(obj1, &val2);
4626 if (!SWIG_IsOK(ecode2)) {
4627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4628 }
4629 arg2 = static_cast< int >(val2);
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 {
4633 wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2);
4634 result = (wxAuiPaneInfo *) &_result_ref;
4635 }
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 {
4640 resultobj = obj0; Py_INCREF(resultobj);
4641 }
4642 return resultobj;
4643 fail:
4644 return NULL;
4645 }
4646
4647
4648 SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4649 PyObject *resultobj = 0;
4650 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4651 wxSize *arg2 = 0 ;
4652 wxAuiPaneInfo *result = 0 ;
4653 void *argp1 = 0 ;
4654 int res1 = 0 ;
4655 wxSize temp2 ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 char * kwnames[] = {
4659 (char *) "self",(char *) "size", NULL
4660 };
4661
4662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4664 if (!SWIG_IsOK(res1)) {
4665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4666 }
4667 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4668 {
4669 arg2 = &temp2;
4670 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4671 }
4672 {
4673 PyThreadState* __tstate = wxPyBeginAllowThreads();
4674 {
4675 wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4676 result = (wxAuiPaneInfo *) &_result_ref;
4677 }
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 {
4682 resultobj = obj0; Py_INCREF(resultobj);
4683 }
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj = 0;
4692 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4693 wxSize *arg2 = 0 ;
4694 wxAuiPaneInfo *result = 0 ;
4695 void *argp1 = 0 ;
4696 int res1 = 0 ;
4697 wxSize temp2 ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 char * kwnames[] = {
4701 (char *) "self",(char *) "size", NULL
4702 };
4703
4704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4706 if (!SWIG_IsOK(res1)) {
4707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4708 }
4709 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4710 {
4711 arg2 = &temp2;
4712 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4713 }
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 {
4717 wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4718 result = (wxAuiPaneInfo *) &_result_ref;
4719 }
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 {
4724 resultobj = obj0; Py_INCREF(resultobj);
4725 }
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj = 0;
4734 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4735 wxSize *arg2 = 0 ;
4736 wxAuiPaneInfo *result = 0 ;
4737 void *argp1 = 0 ;
4738 int res1 = 0 ;
4739 wxSize temp2 ;
4740 PyObject * obj0 = 0 ;
4741 PyObject * obj1 = 0 ;
4742 char * kwnames[] = {
4743 (char *) "self",(char *) "size", NULL
4744 };
4745
4746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4748 if (!SWIG_IsOK(res1)) {
4749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4750 }
4751 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4752 {
4753 arg2 = &temp2;
4754 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4755 }
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 {
4759 wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4760 result = (wxAuiPaneInfo *) &_result_ref;
4761 }
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 }
4765 {
4766 resultobj = obj0; Py_INCREF(resultobj);
4767 }
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj = 0;
4776 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4777 wxPoint *arg2 = 0 ;
4778 wxAuiPaneInfo *result = 0 ;
4779 void *argp1 = 0 ;
4780 int res1 = 0 ;
4781 wxPoint temp2 ;
4782 PyObject * obj0 = 0 ;
4783 PyObject * obj1 = 0 ;
4784 char * kwnames[] = {
4785 (char *) "self",(char *) "pos", NULL
4786 };
4787
4788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4790 if (!SWIG_IsOK(res1)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4792 }
4793 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4794 {
4795 arg2 = &temp2;
4796 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4797 }
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 {
4801 wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4802 result = (wxAuiPaneInfo *) &_result_ref;
4803 }
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 {
4808 resultobj = obj0; Py_INCREF(resultobj);
4809 }
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj = 0;
4818 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4819 wxSize *arg2 = 0 ;
4820 wxAuiPaneInfo *result = 0 ;
4821 void *argp1 = 0 ;
4822 int res1 = 0 ;
4823 wxSize temp2 ;
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
4826 char * kwnames[] = {
4827 (char *) "self",(char *) "size", NULL
4828 };
4829
4830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4834 }
4835 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4836 {
4837 arg2 = &temp2;
4838 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4839 }
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 {
4843 wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4844 result = (wxAuiPaneInfo *) &_result_ref;
4845 }
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 {
4850 resultobj = obj0; Py_INCREF(resultobj);
4851 }
4852 return resultobj;
4853 fail:
4854 return NULL;
4855 }
4856
4857
4858 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4859 PyObject *resultobj = 0;
4860 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4861 wxAuiPaneInfo *result = 0 ;
4862 void *argp1 = 0 ;
4863 int res1 = 0 ;
4864 PyObject *swig_obj[1] ;
4865
4866 if (!args) SWIG_fail;
4867 swig_obj[0] = args;
4868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4869 if (!SWIG_IsOK(res1)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4871 }
4872 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 {
4876 wxAuiPaneInfo &_result_ref = (arg1)->Fixed();
4877 result = (wxAuiPaneInfo *) &_result_ref;
4878 }
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 }
4882 {
4883 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj = 0;
4893 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4894 bool arg2 = (bool) true ;
4895 wxAuiPaneInfo *result = 0 ;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 bool val2 ;
4899 int ecode2 = 0 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char * kwnames[] = {
4903 (char *) "self",(char *) "resizable", NULL
4904 };
4905
4906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4910 }
4911 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4912 if (obj1) {
4913 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4916 }
4917 arg2 = static_cast< bool >(val2);
4918 }
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 {
4922 wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4923 result = (wxAuiPaneInfo *) &_result_ref;
4924 }
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 resultobj = obj0; Py_INCREF(resultobj);
4930 }
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4938 PyObject *resultobj = 0;
4939 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4940 wxAuiPaneInfo *result = 0 ;
4941 void *argp1 = 0 ;
4942 int res1 = 0 ;
4943 PyObject *swig_obj[1] ;
4944
4945 if (!args) SWIG_fail;
4946 swig_obj[0] = args;
4947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4948 if (!SWIG_IsOK(res1)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4950 }
4951 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4952 {
4953 PyThreadState* __tstate = wxPyBeginAllowThreads();
4954 {
4955 wxAuiPaneInfo &_result_ref = (arg1)->Dock();
4956 result = (wxAuiPaneInfo *) &_result_ref;
4957 }
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 {
4962 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4963 }
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4971 PyObject *resultobj = 0;
4972 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4973 wxAuiPaneInfo *result = 0 ;
4974 void *argp1 = 0 ;
4975 int res1 = 0 ;
4976 PyObject *swig_obj[1] ;
4977
4978 if (!args) SWIG_fail;
4979 swig_obj[0] = args;
4980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4981 if (!SWIG_IsOK(res1)) {
4982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4983 }
4984 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 {
4988 wxAuiPaneInfo &_result_ref = (arg1)->Float();
4989 result = (wxAuiPaneInfo *) &_result_ref;
4990 }
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 {
4995 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4996 }
4997 return resultobj;
4998 fail:
4999 return NULL;
5000 }
5001
5002
5003 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5004 PyObject *resultobj = 0;
5005 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5006 wxAuiPaneInfo *result = 0 ;
5007 void *argp1 = 0 ;
5008 int res1 = 0 ;
5009 PyObject *swig_obj[1] ;
5010
5011 if (!args) SWIG_fail;
5012 swig_obj[0] = args;
5013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5014 if (!SWIG_IsOK(res1)) {
5015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5016 }
5017 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 {
5021 wxAuiPaneInfo &_result_ref = (arg1)->Hide();
5022 result = (wxAuiPaneInfo *) &_result_ref;
5023 }
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 {
5028 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5029 }
5030 return resultobj;
5031 fail:
5032 return NULL;
5033 }
5034
5035
5036 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj = 0;
5038 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5039 bool arg2 = (bool) true ;
5040 wxAuiPaneInfo *result = 0 ;
5041 void *argp1 = 0 ;
5042 int res1 = 0 ;
5043 bool val2 ;
5044 int ecode2 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "show", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5055 }
5056 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5057 if (obj1) {
5058 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5059 if (!SWIG_IsOK(ecode2)) {
5060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
5061 }
5062 arg2 = static_cast< bool >(val2);
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 {
5067 wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2);
5068 result = (wxAuiPaneInfo *) &_result_ref;
5069 }
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 resultobj = obj0; Py_INCREF(resultobj);
5075 }
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj = 0;
5084 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5085 bool arg2 = (bool) true ;
5086 wxAuiPaneInfo *result = 0 ;
5087 void *argp1 = 0 ;
5088 int res1 = 0 ;
5089 bool val2 ;
5090 int ecode2 = 0 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 char * kwnames[] = {
5094 (char *) "self",(char *) "visible", NULL
5095 };
5096
5097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
5098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5099 if (!SWIG_IsOK(res1)) {
5100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5101 }
5102 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5103 if (obj1) {
5104 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5105 if (!SWIG_IsOK(ecode2)) {
5106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
5107 }
5108 arg2 = static_cast< bool >(val2);
5109 }
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 {
5113 wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
5114 result = (wxAuiPaneInfo *) &_result_ref;
5115 }
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 {
5120 resultobj = obj0; Py_INCREF(resultobj);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5129 PyObject *resultobj = 0;
5130 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5131 wxAuiPaneInfo *result = 0 ;
5132 void *argp1 = 0 ;
5133 int res1 = 0 ;
5134 PyObject *swig_obj[1] ;
5135
5136 if (!args) SWIG_fail;
5137 swig_obj[0] = args;
5138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5139 if (!SWIG_IsOK(res1)) {
5140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5141 }
5142 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 {
5146 wxAuiPaneInfo &_result_ref = (arg1)->Maximize();
5147 result = (wxAuiPaneInfo *) &_result_ref;
5148 }
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 {
5153 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5154 }
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5162 PyObject *resultobj = 0;
5163 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5164 wxAuiPaneInfo *result = 0 ;
5165 void *argp1 = 0 ;
5166 int res1 = 0 ;
5167 PyObject *swig_obj[1] ;
5168
5169 if (!args) SWIG_fail;
5170 swig_obj[0] = args;
5171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5172 if (!SWIG_IsOK(res1)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5174 }
5175 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 {
5179 wxAuiPaneInfo &_result_ref = (arg1)->Restore();
5180 result = (wxAuiPaneInfo *) &_result_ref;
5181 }
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 {
5186 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5187 }
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj = 0;
5196 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5197 bool arg2 = (bool) true ;
5198 wxAuiPaneInfo *result = 0 ;
5199 void *argp1 = 0 ;
5200 int res1 = 0 ;
5201 bool val2 ;
5202 int ecode2 = 0 ;
5203 PyObject * obj0 = 0 ;
5204 PyObject * obj1 = 0 ;
5205 char * kwnames[] = {
5206 (char *) "self",(char *) "visible", NULL
5207 };
5208
5209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
5210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5211 if (!SWIG_IsOK(res1)) {
5212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5213 }
5214 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5215 if (obj1) {
5216 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5217 if (!SWIG_IsOK(ecode2)) {
5218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
5219 }
5220 arg2 = static_cast< bool >(val2);
5221 }
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 {
5225 wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
5226 result = (wxAuiPaneInfo *) &_result_ref;
5227 }
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 {
5232 resultobj = obj0; Py_INCREF(resultobj);
5233 }
5234 return resultobj;
5235 fail:
5236 return NULL;
5237 }
5238
5239
5240 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj = 0;
5242 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5243 bool arg2 = (bool) true ;
5244 wxAuiPaneInfo *result = 0 ;
5245 void *argp1 = 0 ;
5246 int res1 = 0 ;
5247 bool val2 ;
5248 int ecode2 = 0 ;
5249 PyObject * obj0 = 0 ;
5250 PyObject * obj1 = 0 ;
5251 char * kwnames[] = {
5252 (char *) "self",(char *) "visible", NULL
5253 };
5254
5255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
5256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5257 if (!SWIG_IsOK(res1)) {
5258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5259 }
5260 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5261 if (obj1) {
5262 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5263 if (!SWIG_IsOK(ecode2)) {
5264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
5265 }
5266 arg2 = static_cast< bool >(val2);
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 {
5271 wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2);
5272 result = (wxAuiPaneInfo *) &_result_ref;
5273 }
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 resultobj = obj0; Py_INCREF(resultobj);
5279 }
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj = 0;
5288 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5289 bool arg2 = (bool) true ;
5290 wxAuiPaneInfo *result = 0 ;
5291 void *argp1 = 0 ;
5292 int res1 = 0 ;
5293 bool val2 ;
5294 int ecode2 = 0 ;
5295 PyObject * obj0 = 0 ;
5296 PyObject * obj1 = 0 ;
5297 char * kwnames[] = {
5298 (char *) "self",(char *) "attop", NULL
5299 };
5300
5301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
5302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5303 if (!SWIG_IsOK(res1)) {
5304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5305 }
5306 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5307 if (obj1) {
5308 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5309 if (!SWIG_IsOK(ecode2)) {
5310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
5311 }
5312 arg2 = static_cast< bool >(val2);
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 {
5317 wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
5318 result = (wxAuiPaneInfo *) &_result_ref;
5319 }
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 {
5324 resultobj = obj0; Py_INCREF(resultobj);
5325 }
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj = 0;
5334 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5335 bool arg2 = (bool) true ;
5336 wxAuiPaneInfo *result = 0 ;
5337 void *argp1 = 0 ;
5338 int res1 = 0 ;
5339 bool val2 ;
5340 int ecode2 = 0 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 char * kwnames[] = {
5344 (char *) "self",(char *) "visible", NULL
5345 };
5346
5347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5349 if (!SWIG_IsOK(res1)) {
5350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5351 }
5352 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5353 if (obj1) {
5354 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5355 if (!SWIG_IsOK(ecode2)) {
5356 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5357 }
5358 arg2 = static_cast< bool >(val2);
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 {
5363 wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5364 result = (wxAuiPaneInfo *) &_result_ref;
5365 }
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 {
5370 resultobj = obj0; Py_INCREF(resultobj);
5371 }
5372 return resultobj;
5373 fail:
5374 return NULL;
5375 }
5376
5377
5378 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj = 0;
5380 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5381 bool arg2 = (bool) true ;
5382 wxAuiPaneInfo *result = 0 ;
5383 void *argp1 = 0 ;
5384 int res1 = 0 ;
5385 bool val2 ;
5386 int ecode2 = 0 ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj1 = 0 ;
5389 char * kwnames[] = {
5390 (char *) "self",(char *) "visible", NULL
5391 };
5392
5393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5395 if (!SWIG_IsOK(res1)) {
5396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5397 }
5398 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5399 if (obj1) {
5400 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5401 if (!SWIG_IsOK(ecode2)) {
5402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5403 }
5404 arg2 = static_cast< bool >(val2);
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 {
5409 wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5410 result = (wxAuiPaneInfo *) &_result_ref;
5411 }
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 resultobj = obj0; Py_INCREF(resultobj);
5417 }
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj = 0;
5426 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5427 bool arg2 = (bool) true ;
5428 wxAuiPaneInfo *result = 0 ;
5429 void *argp1 = 0 ;
5430 int res1 = 0 ;
5431 bool val2 ;
5432 int ecode2 = 0 ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char * kwnames[] = {
5436 (char *) "self",(char *) "visible", NULL
5437 };
5438
5439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5443 }
5444 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5445 if (obj1) {
5446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5447 if (!SWIG_IsOK(ecode2)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5449 }
5450 arg2 = static_cast< bool >(val2);
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 {
5455 wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5456 result = (wxAuiPaneInfo *) &_result_ref;
5457 }
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 {
5462 resultobj = obj0; Py_INCREF(resultobj);
5463 }
5464 return resultobj;
5465 fail:
5466 return NULL;
5467 }
5468
5469
5470 SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj = 0;
5472 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5473 bool arg2 = (bool) true ;
5474 wxAuiPaneInfo *result = 0 ;
5475 void *argp1 = 0 ;
5476 int res1 = 0 ;
5477 bool val2 ;
5478 int ecode2 = 0 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char * kwnames[] = {
5482 (char *) "self",(char *) "visible", NULL
5483 };
5484
5485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5487 if (!SWIG_IsOK(res1)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5489 }
5490 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5491 if (obj1) {
5492 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5493 if (!SWIG_IsOK(ecode2)) {
5494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5495 }
5496 arg2 = static_cast< bool >(val2);
5497 }
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 {
5501 wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5502 result = (wxAuiPaneInfo *) &_result_ref;
5503 }
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 resultobj = obj0; Py_INCREF(resultobj);
5509 }
5510 return resultobj;
5511 fail:
5512 return NULL;
5513 }
5514
5515
5516 SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj = 0;
5518 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5519 bool arg2 = (bool) true ;
5520 wxAuiPaneInfo *result = 0 ;
5521 void *argp1 = 0 ;
5522 int res1 = 0 ;
5523 bool val2 ;
5524 int ecode2 = 0 ;
5525 PyObject * obj0 = 0 ;
5526 PyObject * obj1 = 0 ;
5527 char * kwnames[] = {
5528 (char *) "self",(char *) "b", NULL
5529 };
5530
5531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5533 if (!SWIG_IsOK(res1)) {
5534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5535 }
5536 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5537 if (obj1) {
5538 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5539 if (!SWIG_IsOK(ecode2)) {
5540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5541 }
5542 arg2 = static_cast< bool >(val2);
5543 }
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 {
5547 wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5548 result = (wxAuiPaneInfo *) &_result_ref;
5549 }
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 resultobj = obj0; Py_INCREF(resultobj);
5555 }
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj = 0;
5564 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5565 bool arg2 = (bool) true ;
5566 wxAuiPaneInfo *result = 0 ;
5567 void *argp1 = 0 ;
5568 int res1 = 0 ;
5569 bool val2 ;
5570 int ecode2 = 0 ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj1 = 0 ;
5573 char * kwnames[] = {
5574 (char *) "self",(char *) "b", NULL
5575 };
5576
5577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5579 if (!SWIG_IsOK(res1)) {
5580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5581 }
5582 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5583 if (obj1) {
5584 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5585 if (!SWIG_IsOK(ecode2)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5587 }
5588 arg2 = static_cast< bool >(val2);
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 {
5593 wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5594 result = (wxAuiPaneInfo *) &_result_ref;
5595 }
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 {
5600 resultobj = obj0; Py_INCREF(resultobj);
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj = 0;
5610 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5611 bool arg2 = (bool) true ;
5612 wxAuiPaneInfo *result = 0 ;
5613 void *argp1 = 0 ;
5614 int res1 = 0 ;
5615 bool val2 ;
5616 int ecode2 = 0 ;
5617 PyObject * obj0 = 0 ;
5618 PyObject * obj1 = 0 ;
5619 char * kwnames[] = {
5620 (char *) "self",(char *) "b", NULL
5621 };
5622
5623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5625 if (!SWIG_IsOK(res1)) {
5626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5627 }
5628 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5629 if (obj1) {
5630 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5631 if (!SWIG_IsOK(ecode2)) {
5632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5633 }
5634 arg2 = static_cast< bool >(val2);
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 {
5639 wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5640 result = (wxAuiPaneInfo *) &_result_ref;
5641 }
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 {
5646 resultobj = obj0; Py_INCREF(resultobj);
5647 }
5648 return resultobj;
5649 fail:
5650 return NULL;
5651 }
5652
5653
5654 SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj = 0;
5656 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5657 bool arg2 = (bool) true ;
5658 wxAuiPaneInfo *result = 0 ;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 bool val2 ;
5662 int ecode2 = 0 ;
5663 PyObject * obj0 = 0 ;
5664 PyObject * obj1 = 0 ;
5665 char * kwnames[] = {
5666 (char *) "self",(char *) "b", NULL
5667 };
5668
5669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5671 if (!SWIG_IsOK(res1)) {
5672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5673 }
5674 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5675 if (obj1) {
5676 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5677 if (!SWIG_IsOK(ecode2)) {
5678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5679 }
5680 arg2 = static_cast< bool >(val2);
5681 }
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 {
5685 wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5686 result = (wxAuiPaneInfo *) &_result_ref;
5687 }
5688 wxPyEndAllowThreads(__tstate);
5689 if (PyErr_Occurred()) SWIG_fail;
5690 }
5691 {
5692 resultobj = obj0; Py_INCREF(resultobj);
5693 }
5694 return resultobj;
5695 fail:
5696 return NULL;
5697 }
5698
5699
5700 SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj = 0;
5702 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5703 bool arg2 = (bool) true ;
5704 wxAuiPaneInfo *result = 0 ;
5705 void *argp1 = 0 ;
5706 int res1 = 0 ;
5707 bool val2 ;
5708 int ecode2 = 0 ;
5709 PyObject * obj0 = 0 ;
5710 PyObject * obj1 = 0 ;
5711 char * kwnames[] = {
5712 (char *) "self",(char *) "b", NULL
5713 };
5714
5715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5717 if (!SWIG_IsOK(res1)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5719 }
5720 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5721 if (obj1) {
5722 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5723 if (!SWIG_IsOK(ecode2)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5725 }
5726 arg2 = static_cast< bool >(val2);
5727 }
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 {
5731 wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5732 result = (wxAuiPaneInfo *) &_result_ref;
5733 }
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 resultobj = obj0; Py_INCREF(resultobj);
5739 }
5740 return resultobj;
5741 fail:
5742 return NULL;
5743 }
5744
5745
5746 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5747 PyObject *resultobj = 0;
5748 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5749 bool arg2 = (bool) true ;
5750 wxAuiPaneInfo *result = 0 ;
5751 void *argp1 = 0 ;
5752 int res1 = 0 ;
5753 bool val2 ;
5754 int ecode2 = 0 ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "b", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5765 }
5766 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5767 if (obj1) {
5768 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5769 if (!SWIG_IsOK(ecode2)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5771 }
5772 arg2 = static_cast< bool >(val2);
5773 }
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 {
5777 wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5778 result = (wxAuiPaneInfo *) &_result_ref;
5779 }
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 {
5784 resultobj = obj0; Py_INCREF(resultobj);
5785 }
5786 return resultobj;
5787 fail:
5788 return NULL;
5789 }
5790
5791
5792 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5793 PyObject *resultobj = 0;
5794 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5795 bool arg2 = (bool) true ;
5796 wxAuiPaneInfo *result = 0 ;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 bool val2 ;
5800 int ecode2 = 0 ;
5801 PyObject * obj0 = 0 ;
5802 PyObject * obj1 = 0 ;
5803 char * kwnames[] = {
5804 (char *) "self",(char *) "b", NULL
5805 };
5806
5807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5809 if (!SWIG_IsOK(res1)) {
5810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5811 }
5812 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5813 if (obj1) {
5814 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5815 if (!SWIG_IsOK(ecode2)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5817 }
5818 arg2 = static_cast< bool >(val2);
5819 }
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 {
5823 wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2);
5824 result = (wxAuiPaneInfo *) &_result_ref;
5825 }
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 resultobj = obj0; Py_INCREF(resultobj);
5831 }
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 SWIGINTERN PyObject *_wrap_AuiPaneInfo_SaveHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5839 PyObject *resultobj = 0;
5840 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5841 wxAuiPaneInfo *result = 0 ;
5842 void *argp1 = 0 ;
5843 int res1 = 0 ;
5844 PyObject *swig_obj[1] ;
5845
5846 if (!args) SWIG_fail;
5847 swig_obj[0] = args;
5848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5849 if (!SWIG_IsOK(res1)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SaveHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5851 }
5852 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 {
5856 wxAuiPaneInfo &_result_ref = (arg1)->SaveHidden();
5857 result = (wxAuiPaneInfo *) &_result_ref;
5858 }
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5864 }
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 SWIGINTERN PyObject *_wrap_AuiPaneInfo_RestoreHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5872 PyObject *resultobj = 0;
5873 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5874 wxAuiPaneInfo *result = 0 ;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 PyObject *swig_obj[1] ;
5878
5879 if (!args) SWIG_fail;
5880 swig_obj[0] = args;
5881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5882 if (!SWIG_IsOK(res1)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RestoreHidden" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5884 }
5885 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 {
5889 wxAuiPaneInfo &_result_ref = (arg1)->RestoreHidden();
5890 result = (wxAuiPaneInfo *) &_result_ref;
5891 }
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 {
5896 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5897 }
5898 return resultobj;
5899 fail:
5900 return NULL;
5901 }
5902
5903
5904 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj = 0;
5906 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5907 bool arg2 = (bool) true ;
5908 wxAuiPaneInfo *result = 0 ;
5909 void *argp1 = 0 ;
5910 int res1 = 0 ;
5911 bool val2 ;
5912 int ecode2 = 0 ;
5913 PyObject * obj0 = 0 ;
5914 PyObject * obj1 = 0 ;
5915 char * kwnames[] = {
5916 (char *) "self",(char *) "b", NULL
5917 };
5918
5919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5921 if (!SWIG_IsOK(res1)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5923 }
5924 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5925 if (obj1) {
5926 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5927 if (!SWIG_IsOK(ecode2)) {
5928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5929 }
5930 arg2 = static_cast< bool >(val2);
5931 }
5932 {
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 {
5935 wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5936 result = (wxAuiPaneInfo *) &_result_ref;
5937 }
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 {
5942 resultobj = obj0; Py_INCREF(resultobj);
5943 }
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5951 PyObject *resultobj = 0;
5952 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5953 wxAuiPaneInfo *result = 0 ;
5954 void *argp1 = 0 ;
5955 int res1 = 0 ;
5956 PyObject *swig_obj[1] ;
5957
5958 if (!args) SWIG_fail;
5959 swig_obj[0] = args;
5960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5961 if (!SWIG_IsOK(res1)) {
5962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5963 }
5964 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 {
5968 wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane();
5969 result = (wxAuiPaneInfo *) &_result_ref;
5970 }
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5976 }
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5984 PyObject *resultobj = 0;
5985 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5986 wxAuiPaneInfo *result = 0 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 PyObject *swig_obj[1] ;
5990
5991 if (!args) SWIG_fail;
5992 swig_obj[0] = args;
5993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5994 if (!SWIG_IsOK(res1)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5996 }
5997 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 {
6001 wxAuiPaneInfo &_result_ref = (arg1)->CentrePane();
6002 result = (wxAuiPaneInfo *) &_result_ref;
6003 }
6004 wxPyEndAllowThreads(__tstate);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 {
6008 resultobj = swig_obj[0]; Py_INCREF(resultobj);
6009 }
6010 return resultobj;
6011 fail:
6012 return NULL;
6013 }
6014
6015
6016 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6017 PyObject *resultobj = 0;
6018 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6019 wxAuiPaneInfo *result = 0 ;
6020 void *argp1 = 0 ;
6021 int res1 = 0 ;
6022 PyObject *swig_obj[1] ;
6023
6024 if (!args) SWIG_fail;
6025 swig_obj[0] = args;
6026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6029 }
6030 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 {
6034 wxAuiPaneInfo &_result_ref = (arg1)->CenterPane();
6035 result = (wxAuiPaneInfo *) &_result_ref;
6036 }
6037 wxPyEndAllowThreads(__tstate);
6038 if (PyErr_Occurred()) SWIG_fail;
6039 }
6040 {
6041 resultobj = swig_obj[0]; Py_INCREF(resultobj);
6042 }
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6050 PyObject *resultobj = 0;
6051 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6052 wxAuiPaneInfo *result = 0 ;
6053 void *argp1 = 0 ;
6054 int res1 = 0 ;
6055 PyObject *swig_obj[1] ;
6056
6057 if (!args) SWIG_fail;
6058 swig_obj[0] = args;
6059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6060 if (!SWIG_IsOK(res1)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6062 }
6063 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 {
6067 wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane();
6068 result = (wxAuiPaneInfo *) &_result_ref;
6069 }
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 {
6074 resultobj = swig_obj[0]; Py_INCREF(resultobj);
6075 }
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj = 0;
6084 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6085 int arg2 ;
6086 bool arg3 ;
6087 wxAuiPaneInfo *result = 0 ;
6088 void *argp1 = 0 ;
6089 int res1 = 0 ;
6090 int val2 ;
6091 int ecode2 = 0 ;
6092 bool val3 ;
6093 int ecode3 = 0 ;
6094 PyObject * obj0 = 0 ;
6095 PyObject * obj1 = 0 ;
6096 PyObject * obj2 = 0 ;
6097 char * kwnames[] = {
6098 (char *) "self",(char *) "flag",(char *) "option_state", NULL
6099 };
6100
6101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6103 if (!SWIG_IsOK(res1)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6105 }
6106 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6107 ecode2 = SWIG_AsVal_int(obj1, &val2);
6108 if (!SWIG_IsOK(ecode2)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
6110 }
6111 arg2 = static_cast< int >(val2);
6112 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6113 if (!SWIG_IsOK(ecode3)) {
6114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
6115 }
6116 arg3 = static_cast< bool >(val3);
6117 {
6118 PyThreadState* __tstate = wxPyBeginAllowThreads();
6119 {
6120 wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
6121 result = (wxAuiPaneInfo *) &_result_ref;
6122 }
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 {
6127 resultobj = obj0; Py_INCREF(resultobj);
6128 }
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj = 0;
6137 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6138 int arg2 ;
6139 bool result;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 int val2 ;
6143 int ecode2 = 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char * kwnames[] = {
6147 (char *) "self",(char *) "flag", NULL
6148 };
6149
6150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
6151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
6154 }
6155 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6156 ecode2 = SWIG_AsVal_int(obj1, &val2);
6157 if (!SWIG_IsOK(ecode2)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
6159 }
6160 arg2 = static_cast< int >(val2);
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2);
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 {
6168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6169 }
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6177 PyObject *resultobj = 0;
6178 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6179 wxString *arg2 = (wxString *) 0 ;
6180 void *argp1 = 0 ;
6181 int res1 = 0 ;
6182 bool temp2 = false ;
6183 PyObject *swig_obj[2] ;
6184
6185 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
6186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6189 }
6190 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6191 {
6192 arg2 = wxString_in_helper(swig_obj[1]);
6193 if (arg2 == NULL) SWIG_fail;
6194 temp2 = true;
6195 }
6196 if (arg1) (arg1)->name = *arg2;
6197
6198 resultobj = SWIG_Py_Void();
6199 {
6200 if (temp2)
6201 delete arg2;
6202 }
6203 return resultobj;
6204 fail:
6205 {
6206 if (temp2)
6207 delete arg2;
6208 }
6209 return NULL;
6210 }
6211
6212
6213 SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6214 PyObject *resultobj = 0;
6215 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6216 wxString *result = 0 ;
6217 void *argp1 = 0 ;
6218 int res1 = 0 ;
6219 PyObject *swig_obj[1] ;
6220
6221 if (!args) SWIG_fail;
6222 swig_obj[0] = args;
6223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6224 if (!SWIG_IsOK(res1)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6226 }
6227 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6228 result = (wxString *)& ((arg1)->name);
6229 {
6230 #if wxUSE_UNICODE
6231 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6232 #else
6233 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6234 #endif
6235 }
6236 return resultobj;
6237 fail:
6238 return NULL;
6239 }
6240
6241
6242 SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6243 PyObject *resultobj = 0;
6244 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6245 wxString *arg2 = (wxString *) 0 ;
6246 void *argp1 = 0 ;
6247 int res1 = 0 ;
6248 bool temp2 = false ;
6249 PyObject *swig_obj[2] ;
6250
6251 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
6252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6253 if (!SWIG_IsOK(res1)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6255 }
6256 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6257 {
6258 arg2 = wxString_in_helper(swig_obj[1]);
6259 if (arg2 == NULL) SWIG_fail;
6260 temp2 = true;
6261 }
6262 if (arg1) (arg1)->caption = *arg2;
6263
6264 resultobj = SWIG_Py_Void();
6265 {
6266 if (temp2)
6267 delete arg2;
6268 }
6269 return resultobj;
6270 fail:
6271 {
6272 if (temp2)
6273 delete arg2;
6274 }
6275 return NULL;
6276 }
6277
6278
6279 SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6280 PyObject *resultobj = 0;
6281 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6282 wxString *result = 0 ;
6283 void *argp1 = 0 ;
6284 int res1 = 0 ;
6285 PyObject *swig_obj[1] ;
6286
6287 if (!args) SWIG_fail;
6288 swig_obj[0] = args;
6289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6290 if (!SWIG_IsOK(res1)) {
6291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6292 }
6293 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6294 result = (wxString *)& ((arg1)->caption);
6295 {
6296 #if wxUSE_UNICODE
6297 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6298 #else
6299 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6300 #endif
6301 }
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6309 PyObject *resultobj = 0;
6310 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6311 wxWindow *arg2 = (wxWindow *) 0 ;
6312 void *argp1 = 0 ;
6313 int res1 = 0 ;
6314 void *argp2 = 0 ;
6315 int res2 = 0 ;
6316 PyObject *swig_obj[2] ;
6317
6318 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
6319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6320 if (!SWIG_IsOK(res1)) {
6321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6322 }
6323 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6324 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
6325 if (!SWIG_IsOK(res2)) {
6326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
6327 }
6328 arg2 = reinterpret_cast< wxWindow * >(argp2);
6329 if (arg1) (arg1)->window = arg2;
6330
6331 resultobj = SWIG_Py_Void();
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6339 PyObject *resultobj = 0;
6340 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6341 wxWindow *result = 0 ;
6342 void *argp1 = 0 ;
6343 int res1 = 0 ;
6344 PyObject *swig_obj[1] ;
6345
6346 if (!args) SWIG_fail;
6347 swig_obj[0] = args;
6348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6349 if (!SWIG_IsOK(res1)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6351 }
6352 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6353 result = (wxWindow *) ((arg1)->window);
6354 {
6355 resultobj = wxPyMake_wxObject(result, 0);
6356 }
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6364 PyObject *resultobj = 0;
6365 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6366 wxFrame *arg2 = (wxFrame *) 0 ;
6367 void *argp1 = 0 ;
6368 int res1 = 0 ;
6369 void *argp2 = 0 ;
6370 int res2 = 0 ;
6371 PyObject *swig_obj[2] ;
6372
6373 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
6374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6375 if (!SWIG_IsOK(res1)) {
6376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6377 }
6378 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6379 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
6380 if (!SWIG_IsOK(res2)) {
6381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
6382 }
6383 arg2 = reinterpret_cast< wxFrame * >(argp2);
6384 if (arg1) (arg1)->frame = arg2;
6385
6386 resultobj = SWIG_Py_Void();
6387 return resultobj;
6388 fail:
6389 return NULL;
6390 }
6391
6392
6393 SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6394 PyObject *resultobj = 0;
6395 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6396 wxFrame *result = 0 ;
6397 void *argp1 = 0 ;
6398 int res1 = 0 ;
6399 PyObject *swig_obj[1] ;
6400
6401 if (!args) SWIG_fail;
6402 swig_obj[0] = args;
6403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6404 if (!SWIG_IsOK(res1)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6406 }
6407 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6408 result = (wxFrame *) ((arg1)->frame);
6409 {
6410 resultobj = wxPyMake_wxObject(result, 0);
6411 }
6412 return resultobj;
6413 fail:
6414 return NULL;
6415 }
6416
6417
6418 SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6419 PyObject *resultobj = 0;
6420 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6421 int arg2 ;
6422 void *argp1 = 0 ;
6423 int res1 = 0 ;
6424 int val2 ;
6425 int ecode2 = 0 ;
6426 PyObject *swig_obj[2] ;
6427
6428 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6430 if (!SWIG_IsOK(res1)) {
6431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6432 }
6433 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6434 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6435 if (!SWIG_IsOK(ecode2)) {
6436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6437 }
6438 arg2 = static_cast< int >(val2);
6439 if (arg1) (arg1)->state = arg2;
6440
6441 resultobj = SWIG_Py_Void();
6442 return resultobj;
6443 fail:
6444 return NULL;
6445 }
6446
6447
6448 SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6449 PyObject *resultobj = 0;
6450 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6451 int result;
6452 void *argp1 = 0 ;
6453 int res1 = 0 ;
6454 PyObject *swig_obj[1] ;
6455
6456 if (!args) SWIG_fail;
6457 swig_obj[0] = args;
6458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6459 if (!SWIG_IsOK(res1)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6461 }
6462 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6463 result = (int) ((arg1)->state);
6464 resultobj = SWIG_From_int(static_cast< int >(result));
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6472 PyObject *resultobj = 0;
6473 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6474 int arg2 ;
6475 void *argp1 = 0 ;
6476 int res1 = 0 ;
6477 int val2 ;
6478 int ecode2 = 0 ;
6479 PyObject *swig_obj[2] ;
6480
6481 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6483 if (!SWIG_IsOK(res1)) {
6484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6485 }
6486 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6487 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6488 if (!SWIG_IsOK(ecode2)) {
6489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6490 }
6491 arg2 = static_cast< int >(val2);
6492 if (arg1) (arg1)->dock_direction = arg2;
6493
6494 resultobj = SWIG_Py_Void();
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6502 PyObject *resultobj = 0;
6503 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6504 int result;
6505 void *argp1 = 0 ;
6506 int res1 = 0 ;
6507 PyObject *swig_obj[1] ;
6508
6509 if (!args) SWIG_fail;
6510 swig_obj[0] = args;
6511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6512 if (!SWIG_IsOK(res1)) {
6513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6514 }
6515 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6516 result = (int) ((arg1)->dock_direction);
6517 resultobj = SWIG_From_int(static_cast< int >(result));
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6525 PyObject *resultobj = 0;
6526 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6527 int arg2 ;
6528 void *argp1 = 0 ;
6529 int res1 = 0 ;
6530 int val2 ;
6531 int ecode2 = 0 ;
6532 PyObject *swig_obj[2] ;
6533
6534 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6536 if (!SWIG_IsOK(res1)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6538 }
6539 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6540 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6541 if (!SWIG_IsOK(ecode2)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6543 }
6544 arg2 = static_cast< int >(val2);
6545 if (arg1) (arg1)->dock_layer = arg2;
6546
6547 resultobj = SWIG_Py_Void();
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6555 PyObject *resultobj = 0;
6556 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6557 int result;
6558 void *argp1 = 0 ;
6559 int res1 = 0 ;
6560 PyObject *swig_obj[1] ;
6561
6562 if (!args) SWIG_fail;
6563 swig_obj[0] = args;
6564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6565 if (!SWIG_IsOK(res1)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6567 }
6568 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6569 result = (int) ((arg1)->dock_layer);
6570 resultobj = SWIG_From_int(static_cast< int >(result));
6571 return resultobj;
6572 fail:
6573 return NULL;
6574 }
6575
6576
6577 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6578 PyObject *resultobj = 0;
6579 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6580 int arg2 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 int val2 ;
6584 int ecode2 = 0 ;
6585 PyObject *swig_obj[2] ;
6586
6587 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6589 if (!SWIG_IsOK(res1)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6591 }
6592 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6593 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6594 if (!SWIG_IsOK(ecode2)) {
6595 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6596 }
6597 arg2 = static_cast< int >(val2);
6598 if (arg1) (arg1)->dock_row = arg2;
6599
6600 resultobj = SWIG_Py_Void();
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6608 PyObject *resultobj = 0;
6609 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6610 int result;
6611 void *argp1 = 0 ;
6612 int res1 = 0 ;
6613 PyObject *swig_obj[1] ;
6614
6615 if (!args) SWIG_fail;
6616 swig_obj[0] = args;
6617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6618 if (!SWIG_IsOK(res1)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6620 }
6621 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6622 result = (int) ((arg1)->dock_row);
6623 resultobj = SWIG_From_int(static_cast< int >(result));
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6631 PyObject *resultobj = 0;
6632 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6633 int arg2 ;
6634 void *argp1 = 0 ;
6635 int res1 = 0 ;
6636 int val2 ;
6637 int ecode2 = 0 ;
6638 PyObject *swig_obj[2] ;
6639
6640 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6642 if (!SWIG_IsOK(res1)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6644 }
6645 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6646 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6647 if (!SWIG_IsOK(ecode2)) {
6648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6649 }
6650 arg2 = static_cast< int >(val2);
6651 if (arg1) (arg1)->dock_pos = arg2;
6652
6653 resultobj = SWIG_Py_Void();
6654 return resultobj;
6655 fail:
6656 return NULL;
6657 }
6658
6659
6660 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6661 PyObject *resultobj = 0;
6662 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6663 int result;
6664 void *argp1 = 0 ;
6665 int res1 = 0 ;
6666 PyObject *swig_obj[1] ;
6667
6668 if (!args) SWIG_fail;
6669 swig_obj[0] = args;
6670 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6671 if (!SWIG_IsOK(res1)) {
6672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6673 }
6674 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6675 result = (int) ((arg1)->dock_pos);
6676 resultobj = SWIG_From_int(static_cast< int >(result));
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6684 PyObject *resultobj = 0;
6685 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6686 wxSize *arg2 = (wxSize *) 0 ;
6687 void *argp1 = 0 ;
6688 int res1 = 0 ;
6689 void *argp2 = 0 ;
6690 int res2 = 0 ;
6691 PyObject *swig_obj[2] ;
6692
6693 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6695 if (!SWIG_IsOK(res1)) {
6696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6697 }
6698 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6699 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6700 if (!SWIG_IsOK(res2)) {
6701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6702 }
6703 arg2 = reinterpret_cast< wxSize * >(argp2);
6704 if (arg1) (arg1)->best_size = *arg2;
6705
6706 resultobj = SWIG_Py_Void();
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6714 PyObject *resultobj = 0;
6715 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6716 wxSize *result = 0 ;
6717 void *argp1 = 0 ;
6718 int res1 = 0 ;
6719 PyObject *swig_obj[1] ;
6720
6721 if (!args) SWIG_fail;
6722 swig_obj[0] = args;
6723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6724 if (!SWIG_IsOK(res1)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6726 }
6727 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6728 result = (wxSize *)& ((arg1)->best_size);
6729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6737 PyObject *resultobj = 0;
6738 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6739 wxSize *arg2 = (wxSize *) 0 ;
6740 void *argp1 = 0 ;
6741 int res1 = 0 ;
6742 void *argp2 = 0 ;
6743 int res2 = 0 ;
6744 PyObject *swig_obj[2] ;
6745
6746 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6748 if (!SWIG_IsOK(res1)) {
6749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6750 }
6751 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6752 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6753 if (!SWIG_IsOK(res2)) {
6754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6755 }
6756 arg2 = reinterpret_cast< wxSize * >(argp2);
6757 if (arg1) (arg1)->min_size = *arg2;
6758
6759 resultobj = SWIG_Py_Void();
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6767 PyObject *resultobj = 0;
6768 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6769 wxSize *result = 0 ;
6770 void *argp1 = 0 ;
6771 int res1 = 0 ;
6772 PyObject *swig_obj[1] ;
6773
6774 if (!args) SWIG_fail;
6775 swig_obj[0] = args;
6776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6777 if (!SWIG_IsOK(res1)) {
6778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6779 }
6780 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6781 result = (wxSize *)& ((arg1)->min_size);
6782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6790 PyObject *resultobj = 0;
6791 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6792 wxSize *arg2 = (wxSize *) 0 ;
6793 void *argp1 = 0 ;
6794 int res1 = 0 ;
6795 void *argp2 = 0 ;
6796 int res2 = 0 ;
6797 PyObject *swig_obj[2] ;
6798
6799 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6801 if (!SWIG_IsOK(res1)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6803 }
6804 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6805 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6806 if (!SWIG_IsOK(res2)) {
6807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6808 }
6809 arg2 = reinterpret_cast< wxSize * >(argp2);
6810 if (arg1) (arg1)->max_size = *arg2;
6811
6812 resultobj = SWIG_Py_Void();
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6820 PyObject *resultobj = 0;
6821 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6822 wxSize *result = 0 ;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 PyObject *swig_obj[1] ;
6826
6827 if (!args) SWIG_fail;
6828 swig_obj[0] = args;
6829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6832 }
6833 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6834 result = (wxSize *)& ((arg1)->max_size);
6835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6843 PyObject *resultobj = 0;
6844 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6845 wxPoint *arg2 = (wxPoint *) 0 ;
6846 void *argp1 = 0 ;
6847 int res1 = 0 ;
6848 void *argp2 = 0 ;
6849 int res2 = 0 ;
6850 PyObject *swig_obj[2] ;
6851
6852 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6854 if (!SWIG_IsOK(res1)) {
6855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6856 }
6857 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6858 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6859 if (!SWIG_IsOK(res2)) {
6860 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6861 }
6862 arg2 = reinterpret_cast< wxPoint * >(argp2);
6863 if (arg1) (arg1)->floating_pos = *arg2;
6864
6865 resultobj = SWIG_Py_Void();
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6873 PyObject *resultobj = 0;
6874 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6875 wxPoint *result = 0 ;
6876 void *argp1 = 0 ;
6877 int res1 = 0 ;
6878 PyObject *swig_obj[1] ;
6879
6880 if (!args) SWIG_fail;
6881 swig_obj[0] = args;
6882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6885 }
6886 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6887 result = (wxPoint *)& ((arg1)->floating_pos);
6888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6889 return resultobj;
6890 fail:
6891 return NULL;
6892 }
6893
6894
6895 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6896 PyObject *resultobj = 0;
6897 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6898 wxSize *arg2 = (wxSize *) 0 ;
6899 void *argp1 = 0 ;
6900 int res1 = 0 ;
6901 void *argp2 = 0 ;
6902 int res2 = 0 ;
6903 PyObject *swig_obj[2] ;
6904
6905 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6907 if (!SWIG_IsOK(res1)) {
6908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6909 }
6910 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6911 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6912 if (!SWIG_IsOK(res2)) {
6913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6914 }
6915 arg2 = reinterpret_cast< wxSize * >(argp2);
6916 if (arg1) (arg1)->floating_size = *arg2;
6917
6918 resultobj = SWIG_Py_Void();
6919 return resultobj;
6920 fail:
6921 return NULL;
6922 }
6923
6924
6925 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6926 PyObject *resultobj = 0;
6927 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6928 wxSize *result = 0 ;
6929 void *argp1 = 0 ;
6930 int res1 = 0 ;
6931 PyObject *swig_obj[1] ;
6932
6933 if (!args) SWIG_fail;
6934 swig_obj[0] = args;
6935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6938 }
6939 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6940 result = (wxSize *)& ((arg1)->floating_size);
6941 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6949 PyObject *resultobj = 0;
6950 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6951 int arg2 ;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 int val2 ;
6955 int ecode2 = 0 ;
6956 PyObject *swig_obj[2] ;
6957
6958 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6960 if (!SWIG_IsOK(res1)) {
6961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6962 }
6963 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6964 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6965 if (!SWIG_IsOK(ecode2)) {
6966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6967 }
6968 arg2 = static_cast< int >(val2);
6969 if (arg1) (arg1)->dock_proportion = arg2;
6970
6971 resultobj = SWIG_Py_Void();
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6979 PyObject *resultobj = 0;
6980 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6981 int result;
6982 void *argp1 = 0 ;
6983 int res1 = 0 ;
6984 PyObject *swig_obj[1] ;
6985
6986 if (!args) SWIG_fail;
6987 swig_obj[0] = args;
6988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6989 if (!SWIG_IsOK(res1)) {
6990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6991 }
6992 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6993 result = (int) ((arg1)->dock_proportion);
6994 resultobj = SWIG_From_int(static_cast< int >(result));
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7002 PyObject *resultobj = 0;
7003 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7004 wxAuiPaneButtonArray arg2 ;
7005 void *argp1 = 0 ;
7006 int res1 = 0 ;
7007 void *argp2 ;
7008 int res2 = 0 ;
7009 PyObject *swig_obj[2] ;
7010
7011 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
7012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7013 if (!SWIG_IsOK(res1)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7015 }
7016 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7017 {
7018 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0);
7019 if (!SWIG_IsOK(res2)) {
7020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'");
7021 }
7022 if (!argp2) {
7023 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'");
7024 } else {
7025 wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2);
7026 arg2 = *temp;
7027 if (SWIG_IsNewObj(res2)) delete temp;
7028 }
7029 }
7030 if (arg1) (arg1)->buttons = arg2;
7031
7032 resultobj = SWIG_Py_Void();
7033 return resultobj;
7034 fail:
7035 return NULL;
7036 }
7037
7038
7039 SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7040 PyObject *resultobj = 0;
7041 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7042 wxAuiPaneButtonArray result;
7043 void *argp1 = 0 ;
7044 int res1 = 0 ;
7045 PyObject *swig_obj[1] ;
7046
7047 if (!args) SWIG_fail;
7048 swig_obj[0] = args;
7049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7050 if (!SWIG_IsOK(res1)) {
7051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7052 }
7053 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7054 result = ((arg1)->buttons);
7055 resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 );
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7063 PyObject *resultobj = 0;
7064 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7065 wxRect *arg2 = (wxRect *) 0 ;
7066 void *argp1 = 0 ;
7067 int res1 = 0 ;
7068 void *argp2 = 0 ;
7069 int res2 = 0 ;
7070 PyObject *swig_obj[2] ;
7071
7072 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
7073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7074 if (!SWIG_IsOK(res1)) {
7075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7076 }
7077 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7078 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
7079 if (!SWIG_IsOK(res2)) {
7080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
7081 }
7082 arg2 = reinterpret_cast< wxRect * >(argp2);
7083 if (arg1) (arg1)->rect = *arg2;
7084
7085 resultobj = SWIG_Py_Void();
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7093 PyObject *resultobj = 0;
7094 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7095 wxRect *result = 0 ;
7096 void *argp1 = 0 ;
7097 int res1 = 0 ;
7098 PyObject *swig_obj[1] ;
7099
7100 if (!args) SWIG_fail;
7101 swig_obj[0] = args;
7102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7103 if (!SWIG_IsOK(res1)) {
7104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7105 }
7106 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7107 result = (wxRect *)& ((arg1)->rect);
7108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
7109 return resultobj;
7110 fail:
7111 return NULL;
7112 }
7113
7114
7115 SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7116 PyObject *obj;
7117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7118 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj));
7119 return SWIG_Py_Void();
7120 }
7121
7122 SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7123 return SWIG_Python_InitShadowInstance(args);
7124 }
7125
7126 SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxWindow *arg1 = (wxWindow *) NULL ;
7129 int arg2 = (int) wxAUI_MGR_DEFAULT ;
7130 wxAuiManager *result = 0 ;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 int val2 ;
7134 int ecode2 = 0 ;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj1 = 0 ;
7137 char * kwnames[] = {
7138 (char *) "managed_wnd",(char *) "flags", NULL
7139 };
7140
7141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail;
7142 if (obj0) {
7143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7144 if (!SWIG_IsOK(res1)) {
7145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'");
7146 }
7147 arg1 = reinterpret_cast< wxWindow * >(argp1);
7148 }
7149 if (obj1) {
7150 ecode2 = SWIG_AsVal_int(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'");
7153 }
7154 arg2 = static_cast< int >(val2);
7155 }
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 result = (wxAuiManager *)new wxAuiManager(arg1,arg2);
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 );
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7170 PyObject *resultobj = 0;
7171 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 PyObject *swig_obj[1] ;
7175
7176 if (!args) SWIG_fail;
7177 swig_obj[0] = args;
7178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 );
7179 if (!SWIG_IsOK(res1)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7181 }
7182 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 delete arg1;
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 resultobj = SWIG_Py_Void();
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7198 PyObject *resultobj = 0;
7199 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 PyObject *swig_obj[1] ;
7203
7204 if (!args) SWIG_fail;
7205 swig_obj[0] = args;
7206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7207 if (!SWIG_IsOK(res1)) {
7208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7209 }
7210 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 (arg1)->UnInit();
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = SWIG_Py_Void();
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj = 0;
7226 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7227 int arg2 ;
7228 void *argp1 = 0 ;
7229 int res1 = 0 ;
7230 int val2 ;
7231 int ecode2 = 0 ;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char * kwnames[] = {
7235 (char *) "self",(char *) "flags", NULL
7236 };
7237
7238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
7239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7240 if (!SWIG_IsOK(res1)) {
7241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7242 }
7243 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7244 ecode2 = SWIG_AsVal_int(obj1, &val2);
7245 if (!SWIG_IsOK(ecode2)) {
7246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
7247 }
7248 arg2 = static_cast< int >(val2);
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 (arg1)->SetFlags(arg2);
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 resultobj = SWIG_Py_Void();
7256 return resultobj;
7257 fail:
7258 return NULL;
7259 }
7260
7261
7262 SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7263 PyObject *resultobj = 0;
7264 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7265 int result;
7266 void *argp1 = 0 ;
7267 int res1 = 0 ;
7268 PyObject *swig_obj[1] ;
7269
7270 if (!args) SWIG_fail;
7271 swig_obj[0] = args;
7272 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7273 if (!SWIG_IsOK(res1)) {
7274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7275 }
7276 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7277 {
7278 PyThreadState* __tstate = wxPyBeginAllowThreads();
7279 result = (int)((wxAuiManager const *)arg1)->GetFlags();
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 resultobj = SWIG_From_int(static_cast< int >(result));
7284 return resultobj;
7285 fail:
7286 return NULL;
7287 }
7288
7289
7290 SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj = 0;
7292 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7293 wxWindow *arg2 = (wxWindow *) 0 ;
7294 void *argp1 = 0 ;
7295 int res1 = 0 ;
7296 void *argp2 = 0 ;
7297 int res2 = 0 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char * kwnames[] = {
7301 (char *) "self",(char *) "managed_wnd", NULL
7302 };
7303
7304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
7305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7306 if (!SWIG_IsOK(res1)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7308 }
7309 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7310 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7311 if (!SWIG_IsOK(res2)) {
7312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
7313 }
7314 arg2 = reinterpret_cast< wxWindow * >(argp2);
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->SetManagedWindow(arg2);
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 resultobj = SWIG_Py_Void();
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7329 PyObject *resultobj = 0;
7330 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7331 wxWindow *result = 0 ;
7332 void *argp1 = 0 ;
7333 int res1 = 0 ;
7334 PyObject *swig_obj[1] ;
7335
7336 if (!args) SWIG_fail;
7337 swig_obj[0] = args;
7338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7339 if (!SWIG_IsOK(res1)) {
7340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7341 }
7342 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow();
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 {
7350 resultobj = wxPyMake_wxObject(result, 0);
7351 }
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj = 0;
7360 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7361 wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ;
7362 void *argp1 = 0 ;
7363 int res1 = 0 ;
7364 int res2 = 0 ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 char * kwnames[] = {
7368 (char *) "self",(char *) "art_provider", NULL
7369 };
7370
7371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
7372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7373 if (!SWIG_IsOK(res1)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7375 }
7376 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7377 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 );
7378 if (!SWIG_IsOK(res2)) {
7379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'");
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 (arg1)->SetArtProvider(arg2);
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 resultobj = SWIG_Py_Void();
7388 return resultobj;
7389 fail:
7390 return NULL;
7391 }
7392
7393
7394 SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7395 PyObject *resultobj = 0;
7396 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7397 wxAuiDockArt *result = 0 ;
7398 void *argp1 = 0 ;
7399 int res1 = 0 ;
7400 PyObject *swig_obj[1] ;
7401
7402 if (!args) SWIG_fail;
7403 swig_obj[0] = args;
7404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7405 if (!SWIG_IsOK(res1)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7407 }
7408 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider();
7412 wxPyEndAllowThreads(__tstate);
7413 if (PyErr_Occurred()) SWIG_fail;
7414 }
7415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
7416 return resultobj;
7417 fail:
7418 return NULL;
7419 }
7420
7421
7422 SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7423 PyObject *resultobj = 0;
7424 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7425 wxWindow *arg2 = (wxWindow *) 0 ;
7426 wxAuiPaneInfo *result = 0 ;
7427 void *argp1 = 0 ;
7428 int res1 = 0 ;
7429 void *argp2 = 0 ;
7430 int res2 = 0 ;
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 char * kwnames[] = {
7434 (char *) "self",(char *) "window", NULL
7435 };
7436
7437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7439 if (!SWIG_IsOK(res1)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7441 }
7442 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7444 if (!SWIG_IsOK(res2)) {
7445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7446 }
7447 arg2 = reinterpret_cast< wxWindow * >(argp2);
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 {
7451 wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7452 result = (wxAuiPaneInfo *) &_result_ref;
7453 }
7454 wxPyEndAllowThreads(__tstate);
7455 if (PyErr_Occurred()) SWIG_fail;
7456 }
7457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7458 return resultobj;
7459 fail:
7460 return NULL;
7461 }
7462
7463
7464 SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7465 PyObject *resultobj = 0;
7466 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7467 wxString *arg2 = 0 ;
7468 wxAuiPaneInfo *result = 0 ;
7469 void *argp1 = 0 ;
7470 int res1 = 0 ;
7471 bool temp2 = false ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char * kwnames[] = {
7475 (char *) "self",(char *) "name", NULL
7476 };
7477
7478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7480 if (!SWIG_IsOK(res1)) {
7481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7482 }
7483 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7484 {
7485 arg2 = wxString_in_helper(obj1);
7486 if (arg2 == NULL) SWIG_fail;
7487 temp2 = true;
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 {
7492 wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7493 result = (wxAuiPaneInfo *) &_result_ref;
7494 }
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7499 {
7500 if (temp2)
7501 delete arg2;
7502 }
7503 return resultobj;
7504 fail:
7505 {
7506 if (temp2)
7507 delete arg2;
7508 }
7509 return NULL;
7510 }
7511
7512
7513 SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7514 PyObject *resultobj = 0;
7515 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7516 wxAuiPaneInfoArray *result = 0 ;
7517 void *argp1 = 0 ;
7518 int res1 = 0 ;
7519 PyObject *swig_obj[1] ;
7520
7521 if (!args) SWIG_fail;
7522 swig_obj[0] = args;
7523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7524 if (!SWIG_IsOK(res1)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7526 }
7527 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 {
7531 wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7532 result = (wxAuiPaneInfoArray *) &_result_ref;
7533 }
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 {
7538 resultobj = PyList_New(0);
7539 for (size_t i=0; i < result->GetCount(); i++) {
7540 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0);
7541 PyList_Append(resultobj, pane_obj);
7542 }
7543 }
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj = 0;
7552 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7553 wxWindow *arg2 = (wxWindow *) 0 ;
7554 wxAuiPaneInfo *arg3 = 0 ;
7555 bool result;
7556 void *argp1 = 0 ;
7557 int res1 = 0 ;
7558 void *argp2 = 0 ;
7559 int res2 = 0 ;
7560 void *argp3 = 0 ;
7561 int res3 = 0 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 PyObject * obj2 = 0 ;
7565 char * kwnames[] = {
7566 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7567 };
7568
7569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7571 if (!SWIG_IsOK(res1)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7573 }
7574 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7576 if (!SWIG_IsOK(res2)) {
7577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7578 }
7579 arg2 = reinterpret_cast< wxWindow * >(argp2);
7580 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7581 if (!SWIG_IsOK(res3)) {
7582 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7583 }
7584 if (!argp3) {
7585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7586 }
7587 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3);
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 {
7595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7596 }
7597 return resultobj;
7598 fail:
7599 return NULL;
7600 }
7601
7602
7603 SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj = 0;
7605 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7606 wxWindow *arg2 = (wxWindow *) 0 ;
7607 wxAuiPaneInfo *arg3 = 0 ;
7608 wxPoint *arg4 = 0 ;
7609 bool result;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 void *argp2 = 0 ;
7613 int res2 = 0 ;
7614 void *argp3 = 0 ;
7615 int res3 = 0 ;
7616 wxPoint temp4 ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 PyObject * obj3 = 0 ;
7621 char * kwnames[] = {
7622 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7623 };
7624
7625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7627 if (!SWIG_IsOK(res1)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7629 }
7630 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7632 if (!SWIG_IsOK(res2)) {
7633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7634 }
7635 arg2 = reinterpret_cast< wxWindow * >(argp2);
7636 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7637 if (!SWIG_IsOK(res3)) {
7638 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7639 }
7640 if (!argp3) {
7641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7642 }
7643 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7644 {
7645 arg4 = &temp4;
7646 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7647 }
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 {
7655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7656 }
7657 return resultobj;
7658 fail:
7659 return NULL;
7660 }
7661
7662
7663 SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj = 0;
7665 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7666 wxWindow *arg2 = (wxWindow *) 0 ;
7667 int arg3 = (int) wxLEFT ;
7668 wxString const &arg4_defvalue = wxEmptyString ;
7669 wxString *arg4 = (wxString *) &arg4_defvalue ;
7670 bool result;
7671 void *argp1 = 0 ;
7672 int res1 = 0 ;
7673 void *argp2 = 0 ;
7674 int res2 = 0 ;
7675 int val3 ;
7676 int ecode3 = 0 ;
7677 bool temp4 = false ;
7678 PyObject * obj0 = 0 ;
7679 PyObject * obj1 = 0 ;
7680 PyObject * obj2 = 0 ;
7681 PyObject * obj3 = 0 ;
7682 char * kwnames[] = {
7683 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7684 };
7685
7686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7688 if (!SWIG_IsOK(res1)) {
7689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7690 }
7691 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7693 if (!SWIG_IsOK(res2)) {
7694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7695 }
7696 arg2 = reinterpret_cast< wxWindow * >(argp2);
7697 if (obj2) {
7698 ecode3 = SWIG_AsVal_int(obj2, &val3);
7699 if (!SWIG_IsOK(ecode3)) {
7700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7701 }
7702 arg3 = static_cast< int >(val3);
7703 }
7704 if (obj3) {
7705 {
7706 arg4 = wxString_in_helper(obj3);
7707 if (arg4 == NULL) SWIG_fail;
7708 temp4 = true;
7709 }
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 {
7718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7719 }
7720 {
7721 if (temp4)
7722 delete arg4;
7723 }
7724 return resultobj;
7725 fail:
7726 {
7727 if (temp4)
7728 delete arg4;
7729 }
7730 return NULL;
7731 }
7732
7733
7734 SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj = 0;
7736 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7737 wxWindow *arg2 = (wxWindow *) 0 ;
7738 wxAuiPaneInfo *arg3 = 0 ;
7739 int arg4 = (int) wxAUI_INSERT_PANE ;
7740 bool result;
7741 void *argp1 = 0 ;
7742 int res1 = 0 ;
7743 void *argp2 = 0 ;
7744 int res2 = 0 ;
7745 void *argp3 = 0 ;
7746 int res3 = 0 ;
7747 int val4 ;
7748 int ecode4 = 0 ;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 PyObject * obj2 = 0 ;
7752 PyObject * obj3 = 0 ;
7753 char * kwnames[] = {
7754 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7755 };
7756
7757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7759 if (!SWIG_IsOK(res1)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7761 }
7762 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7764 if (!SWIG_IsOK(res2)) {
7765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7766 }
7767 arg2 = reinterpret_cast< wxWindow * >(argp2);
7768 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7769 if (!SWIG_IsOK(res3)) {
7770 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7771 }
7772 if (!argp3) {
7773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7774 }
7775 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7776 if (obj3) {
7777 ecode4 = SWIG_AsVal_int(obj3, &val4);
7778 if (!SWIG_IsOK(ecode4)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7780 }
7781 arg4 = static_cast< int >(val4);
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4);
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 {
7790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7791 }
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj = 0;
7800 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7801 wxWindow *arg2 = (wxWindow *) 0 ;
7802 bool result;
7803 void *argp1 = 0 ;
7804 int res1 = 0 ;
7805 void *argp2 = 0 ;
7806 int res2 = 0 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char * kwnames[] = {
7810 (char *) "self",(char *) "window", NULL
7811 };
7812
7813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7815 if (!SWIG_IsOK(res1)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7817 }
7818 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7819 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7820 if (!SWIG_IsOK(res2)) {
7821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7822 }
7823 arg2 = reinterpret_cast< wxWindow * >(argp2);
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (bool)(arg1)->DetachPane(arg2);
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7832 }
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj = 0;
7841 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7842 wxAuiPaneInfo *arg2 = 0 ;
7843 void *argp1 = 0 ;
7844 int res1 = 0 ;
7845 void *argp2 = 0 ;
7846 int res2 = 0 ;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char * kwnames[] = {
7850 (char *) "self",(char *) "pane_info", NULL
7851 };
7852
7853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail;
7854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7855 if (!SWIG_IsOK(res1)) {
7856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7857 }
7858 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7859 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
7860 if (!SWIG_IsOK(res2)) {
7861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7862 }
7863 if (!argp2) {
7864 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7865 }
7866 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->ClosePane(*arg2);
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 resultobj = SWIG_Py_Void();
7874 return resultobj;
7875 fail:
7876 return NULL;
7877 }
7878
7879
7880 SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj = 0;
7882 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7883 wxAuiPaneInfo *arg2 = 0 ;
7884 void *argp1 = 0 ;
7885 int res1 = 0 ;
7886 void *argp2 = 0 ;
7887 int res2 = 0 ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char * kwnames[] = {
7891 (char *) "self",(char *) "pane_info", NULL
7892 };
7893
7894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail;
7895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7896 if (!SWIG_IsOK(res1)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7898 }
7899 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7900 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
7901 if (!SWIG_IsOK(res2)) {
7902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7903 }
7904 if (!argp2) {
7905 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7906 }
7907 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 (arg1)->MaximizePane(*arg2);
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = SWIG_Py_Void();
7915 return resultobj;
7916 fail:
7917 return NULL;
7918 }
7919
7920
7921 SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj = 0;
7923 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7924 wxAuiPaneInfo *arg2 = 0 ;
7925 void *argp1 = 0 ;
7926 int res1 = 0 ;
7927 void *argp2 = 0 ;
7928 int res2 = 0 ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 char * kwnames[] = {
7932 (char *) "self",(char *) "pane_info", NULL
7933 };
7934
7935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail;
7936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7937 if (!SWIG_IsOK(res1)) {
7938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7939 }
7940 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7941 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
7942 if (!SWIG_IsOK(res2)) {
7943 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7944 }
7945 if (!argp2) {
7946 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7947 }
7948 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->RestorePane(*arg2);
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 resultobj = SWIG_Py_Void();
7956 return resultobj;
7957 fail:
7958 return NULL;
7959 }
7960
7961
7962 SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7963 PyObject *resultobj = 0;
7964 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7965 void *argp1 = 0 ;
7966 int res1 = 0 ;
7967 PyObject *swig_obj[1] ;
7968
7969 if (!args) SWIG_fail;
7970 swig_obj[0] = args;
7971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7972 if (!SWIG_IsOK(res1)) {
7973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7974 }
7975 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 (arg1)->RestoreMaximizedPane();
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_Py_Void();
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj = 0;
7991 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7992 wxAuiPaneInfo *arg2 = 0 ;
7993 wxString result;
7994 void *argp1 = 0 ;
7995 int res1 = 0 ;
7996 void *argp2 = 0 ;
7997 int res2 = 0 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char * kwnames[] = {
8001 (char *) "self",(char *) "pane", NULL
8002 };
8003
8004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
8005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8006 if (!SWIG_IsOK(res1)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8008 }
8009 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
8011 if (!SWIG_IsOK(res2)) {
8012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8013 }
8014 if (!argp2) {
8015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8016 }
8017 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (arg1)->SavePaneInfo(*arg2);
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025 #if wxUSE_UNICODE
8026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8027 #else
8028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8029 #endif
8030 }
8031 return resultobj;
8032 fail:
8033 return NULL;
8034 }
8035
8036
8037 SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj = 0;
8039 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8040 wxString arg2 ;
8041 wxAuiPaneInfo *arg3 = 0 ;
8042 void *argp1 = 0 ;
8043 int res1 = 0 ;
8044 void *argp3 = 0 ;
8045 int res3 = 0 ;
8046 PyObject * obj0 = 0 ;
8047 PyObject * obj1 = 0 ;
8048 PyObject * obj2 = 0 ;
8049 char * kwnames[] = {
8050 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
8051 };
8052
8053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8055 if (!SWIG_IsOK(res1)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8057 }
8058 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8059 {
8060 wxString* sptr = wxString_in_helper(obj1);
8061 if (sptr == NULL) SWIG_fail;
8062 arg2 = *sptr;
8063 delete sptr;
8064 }
8065 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 );
8066 if (!SWIG_IsOK(res3)) {
8067 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'");
8068 }
8069 if (!argp3) {
8070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'");
8071 }
8072 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 (arg1)->LoadPaneInfo(arg2,*arg3);
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = SWIG_Py_Void();
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8087 PyObject *resultobj = 0;
8088 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8089 wxString result;
8090 void *argp1 = 0 ;
8091 int res1 = 0 ;
8092 PyObject *swig_obj[1] ;
8093
8094 if (!args) SWIG_fail;
8095 swig_obj[0] = args;
8096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8097 if (!SWIG_IsOK(res1)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8099 }
8100 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (arg1)->SavePerspective();
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 #if wxUSE_UNICODE
8109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8110 #else
8111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8112 #endif
8113 }
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj = 0;
8122 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8123 wxString *arg2 = 0 ;
8124 bool arg3 = (bool) true ;
8125 bool result;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 bool temp2 = false ;
8129 bool val3 ;
8130 int ecode3 = 0 ;
8131 PyObject * obj0 = 0 ;
8132 PyObject * obj1 = 0 ;
8133 PyObject * obj2 = 0 ;
8134 char * kwnames[] = {
8135 (char *) "self",(char *) "perspective",(char *) "update", NULL
8136 };
8137
8138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8140 if (!SWIG_IsOK(res1)) {
8141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8142 }
8143 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8144 {
8145 arg2 = wxString_in_helper(obj1);
8146 if (arg2 == NULL) SWIG_fail;
8147 temp2 = true;
8148 }
8149 if (obj2) {
8150 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8151 if (!SWIG_IsOK(ecode3)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
8153 }
8154 arg3 = static_cast< bool >(val3);
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 {
8163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8164 }
8165 {
8166 if (temp2)
8167 delete arg2;
8168 }
8169 return resultobj;
8170 fail:
8171 {
8172 if (temp2)
8173 delete arg2;
8174 }
8175 return NULL;
8176 }
8177
8178
8179 SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8180 PyObject *resultobj = 0;
8181 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8182 void *argp1 = 0 ;
8183 int res1 = 0 ;
8184 PyObject *swig_obj[1] ;
8185
8186 if (!args) SWIG_fail;
8187 swig_obj[0] = args;
8188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8189 if (!SWIG_IsOK(res1)) {
8190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8191 }
8192 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 (arg1)->Update();
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = SWIG_Py_Void();
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj = 0;
8208 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8209 wxWindow *arg2 = (wxWindow *) 0 ;
8210 wxAuiPaneInfo *arg3 = 0 ;
8211 wxAuiFloatingFrame *result = 0 ;
8212 void *argp1 = 0 ;
8213 int res1 = 0 ;
8214 void *argp2 = 0 ;
8215 int res2 = 0 ;
8216 void *argp3 = 0 ;
8217 int res3 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 PyObject * obj2 = 0 ;
8221 char * kwnames[] = {
8222 (char *) "self",(char *) "parent",(char *) "p", NULL
8223 };
8224
8225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8227 if (!SWIG_IsOK(res1)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8229 }
8230 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8232 if (!SWIG_IsOK(res2)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
8234 }
8235 arg2 = reinterpret_cast< wxWindow * >(argp2);
8236 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
8237 if (!SWIG_IsOK(res3)) {
8238 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
8239 }
8240 if (!argp3) {
8241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
8242 }
8243 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3);
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 );
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj = 0;
8259 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8260 wxWindow *arg2 = (wxWindow *) 0 ;
8261 wxPoint *arg3 = 0 ;
8262 wxPoint *arg4 = 0 ;
8263 wxRect result;
8264 void *argp1 = 0 ;
8265 int res1 = 0 ;
8266 void *argp2 = 0 ;
8267 int res2 = 0 ;
8268 wxPoint temp3 ;
8269 wxPoint temp4 ;
8270 PyObject * obj0 = 0 ;
8271 PyObject * obj1 = 0 ;
8272 PyObject * obj2 = 0 ;
8273 PyObject * obj3 = 0 ;
8274 char * kwnames[] = {
8275 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
8276 };
8277
8278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8280 if (!SWIG_IsOK(res1)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8282 }
8283 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8284 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8285 if (!SWIG_IsOK(res2)) {
8286 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
8287 }
8288 arg2 = reinterpret_cast< wxWindow * >(argp2);
8289 {
8290 arg3 = &temp3;
8291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8292 }
8293 {
8294 arg4 = &temp4;
8295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8296 }
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj = 0;
8312 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8313 wxWindow *arg2 = (wxWindow *) 0 ;
8314 wxPoint *arg3 = 0 ;
8315 wxPoint *arg4 = 0 ;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 void *argp2 = 0 ;
8319 int res2 = 0 ;
8320 wxPoint temp3 ;
8321 wxPoint temp4 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 PyObject * obj2 = 0 ;
8325 PyObject * obj3 = 0 ;
8326 char * kwnames[] = {
8327 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
8328 };
8329
8330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8332 if (!SWIG_IsOK(res1)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8334 }
8335 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8336 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8337 if (!SWIG_IsOK(res2)) {
8338 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
8339 }
8340 arg2 = reinterpret_cast< wxWindow * >(argp2);
8341 {
8342 arg3 = &temp3;
8343 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8344 }
8345 {
8346 arg4 = &temp4;
8347 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8348 }
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = SWIG_Py_Void();
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj = 0;
8364 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8365 wxRect *arg2 = 0 ;
8366 void *argp1 = 0 ;
8367 int res1 = 0 ;
8368 wxRect temp2 ;
8369 PyObject * obj0 = 0 ;
8370 PyObject * obj1 = 0 ;
8371 char * kwnames[] = {
8372 (char *) "self",(char *) "rect", NULL
8373 };
8374
8375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
8376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8377 if (!SWIG_IsOK(res1)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8379 }
8380 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8381 {
8382 arg2 = &temp2;
8383 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->ShowHint((wxRect const &)*arg2);
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = SWIG_Py_Void();
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8399 PyObject *resultobj = 0;
8400 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8401 void *argp1 = 0 ;
8402 int res1 = 0 ;
8403 PyObject *swig_obj[1] ;
8404
8405 if (!args) SWIG_fail;
8406 swig_obj[0] = args;
8407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8408 if (!SWIG_IsOK(res1)) {
8409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8410 }
8411 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->HideHint();
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_Py_Void();
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj = 0;
8427 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8428 wxAuiManagerEvent *arg2 = 0 ;
8429 void *argp1 = 0 ;
8430 int res1 = 0 ;
8431 void *argp2 = 0 ;
8432 int res2 = 0 ;
8433 PyObject * obj0 = 0 ;
8434 PyObject * obj1 = 0 ;
8435 char * kwnames[] = {
8436 (char *) "self",(char *) "evt", NULL
8437 };
8438
8439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
8440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8441 if (!SWIG_IsOK(res1)) {
8442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8443 }
8444 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8445 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 );
8446 if (!SWIG_IsOK(res2)) {
8447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8448 }
8449 if (!argp2) {
8450 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8451 }
8452 arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2);
8453 {
8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
8455 (arg1)->OnRender(*arg2);
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = SWIG_Py_Void();
8460 return resultobj;
8461 fail:
8462 return NULL;
8463 }
8464
8465
8466 SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj = 0;
8468 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8469 wxAuiManagerEvent *arg2 = 0 ;
8470 void *argp1 = 0 ;
8471 int res1 = 0 ;
8472 void *argp2 = 0 ;
8473 int res2 = 0 ;
8474 PyObject * obj0 = 0 ;
8475 PyObject * obj1 = 0 ;
8476 char * kwnames[] = {
8477 (char *) "self",(char *) "evt", NULL
8478 };
8479
8480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
8481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8482 if (!SWIG_IsOK(res1)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8484 }
8485 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8486 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 );
8487 if (!SWIG_IsOK(res2)) {
8488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8489 }
8490 if (!argp2) {
8491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8492 }
8493 arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2);
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 (arg1)->OnPaneButton(*arg2);
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_Py_Void();
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8508 PyObject *obj;
8509 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8510 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj));
8511 return SWIG_Py_Void();
8512 }
8513
8514 SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8515 return SWIG_Python_InitShadowInstance(args);
8516 }
8517
8518 SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj = 0;
8520 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8521 wxAuiManagerEvent *result = 0 ;
8522 int val1 ;
8523 int ecode1 = 0 ;
8524 PyObject * obj0 = 0 ;
8525 char * kwnames[] = {
8526 (char *) "type", NULL
8527 };
8528
8529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail;
8530 if (obj0) {
8531 ecode1 = SWIG_AsVal_int(obj0, &val1);
8532 if (!SWIG_IsOK(ecode1)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
8534 }
8535 arg1 = static_cast< wxEventType >(val1);
8536 }
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1);
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 );
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8551 PyObject *resultobj = 0;
8552 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8553 wxEvent *result = 0 ;
8554 void *argp1 = 0 ;
8555 int res1 = 0 ;
8556 PyObject *swig_obj[1] ;
8557
8558 if (!args) SWIG_fail;
8559 swig_obj[0] = args;
8560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8561 if (!SWIG_IsOK(res1)) {
8562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8563 }
8564 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8565 {
8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
8567 result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone();
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
8572 return resultobj;
8573 fail:
8574 return NULL;
8575 }
8576
8577
8578 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj = 0;
8580 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8581 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
8582 void *argp1 = 0 ;
8583 int res1 = 0 ;
8584 void *argp2 = 0 ;
8585 int res2 = 0 ;
8586 PyObject * obj0 = 0 ;
8587 PyObject * obj1 = 0 ;
8588 char * kwnames[] = {
8589 (char *) "self",(char *) "p", NULL
8590 };
8591
8592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
8593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8594 if (!SWIG_IsOK(res1)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8596 }
8597 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8598 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
8599 if (!SWIG_IsOK(res2)) {
8600 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
8601 }
8602 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 (arg1)->SetPane(arg2);
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
8609 resultobj = SWIG_Py_Void();
8610 return resultobj;
8611 fail:
8612 return NULL;
8613 }
8614
8615
8616 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj = 0;
8618 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8619 int arg2 ;
8620 void *argp1 = 0 ;
8621 int res1 = 0 ;
8622 int val2 ;
8623 int ecode2 = 0 ;
8624 PyObject * obj0 = 0 ;
8625 PyObject * obj1 = 0 ;
8626 char * kwnames[] = {
8627 (char *) "self",(char *) "b", NULL
8628 };
8629
8630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
8631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8632 if (!SWIG_IsOK(res1)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8634 }
8635 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8636 ecode2 = SWIG_AsVal_int(obj1, &val2);
8637 if (!SWIG_IsOK(ecode2)) {
8638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
8639 }
8640 arg2 = static_cast< int >(val2);
8641 {
8642 PyThreadState* __tstate = wxPyBeginAllowThreads();
8643 (arg1)->SetButton(arg2);
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = SWIG_Py_Void();
8648 return resultobj;
8649 fail:
8650 return NULL;
8651 }
8652
8653
8654 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj = 0;
8656 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8657 wxDC *arg2 = (wxDC *) 0 ;
8658 void *argp1 = 0 ;
8659 int res1 = 0 ;
8660 void *argp2 = 0 ;
8661 int res2 = 0 ;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 char * kwnames[] = {
8665 (char *) "self",(char *) "pdc", NULL
8666 };
8667
8668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8670 if (!SWIG_IsOK(res1)) {
8671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8672 }
8673 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8675 if (!SWIG_IsOK(res2)) {
8676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8677 }
8678 arg2 = reinterpret_cast< wxDC * >(argp2);
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 (arg1)->SetDC(arg2);
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 resultobj = SWIG_Py_Void();
8686 return resultobj;
8687 fail:
8688 return NULL;
8689 }
8690
8691
8692 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8693 PyObject *resultobj = 0;
8694 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8695 wxAuiPaneInfo *result = 0 ;
8696 void *argp1 = 0 ;
8697 int res1 = 0 ;
8698 PyObject *swig_obj[1] ;
8699
8700 if (!args) SWIG_fail;
8701 swig_obj[0] = args;
8702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8703 if (!SWIG_IsOK(res1)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8705 }
8706 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = (wxAuiPaneInfo *)(arg1)->GetPane();
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8721 PyObject *resultobj = 0;
8722 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8723 int result;
8724 void *argp1 = 0 ;
8725 int res1 = 0 ;
8726 PyObject *swig_obj[1] ;
8727
8728 if (!args) SWIG_fail;
8729 swig_obj[0] = args;
8730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8731 if (!SWIG_IsOK(res1)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8733 }
8734 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (int)(arg1)->GetButton();
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_From_int(static_cast< int >(result));
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8749 PyObject *resultobj = 0;
8750 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8751 wxDC *result = 0 ;
8752 void *argp1 = 0 ;
8753 int res1 = 0 ;
8754 PyObject *swig_obj[1] ;
8755
8756 if (!args) SWIG_fail;
8757 swig_obj[0] = args;
8758 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8759 if (!SWIG_IsOK(res1)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8761 }
8762 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (wxDC *)(arg1)->GetDC();
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 {
8770 resultobj = wxPyMake_wxObject(result, (bool)0);
8771 }
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj = 0;
8780 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8781 bool arg2 = (bool) true ;
8782 void *argp1 = 0 ;
8783 int res1 = 0 ;
8784 bool val2 ;
8785 int ecode2 = 0 ;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 char * kwnames[] = {
8789 (char *) "self",(char *) "veto", NULL
8790 };
8791
8792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8794 if (!SWIG_IsOK(res1)) {
8795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8796 }
8797 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8798 if (obj1) {
8799 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8800 if (!SWIG_IsOK(ecode2)) {
8801 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8802 }
8803 arg2 = static_cast< bool >(val2);
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 (arg1)->Veto(arg2);
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 resultobj = SWIG_Py_Void();
8812 return resultobj;
8813 fail:
8814 return NULL;
8815 }
8816
8817
8818 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8819 PyObject *resultobj = 0;
8820 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8821 bool result;
8822 void *argp1 = 0 ;
8823 int res1 = 0 ;
8824 PyObject *swig_obj[1] ;
8825
8826 if (!args) SWIG_fail;
8827 swig_obj[0] = args;
8828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8829 if (!SWIG_IsOK(res1)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8831 }
8832 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto();
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 {
8840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8841 }
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj = 0;
8850 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8851 bool arg2 ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 bool val2 ;
8855 int ecode2 = 0 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 char * kwnames[] = {
8859 (char *) "self",(char *) "can_veto", NULL
8860 };
8861
8862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
8863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8864 if (!SWIG_IsOK(res1)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8866 }
8867 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8868 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8869 if (!SWIG_IsOK(ecode2)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
8871 }
8872 arg2 = static_cast< bool >(val2);
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->SetCanVeto(arg2);
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 resultobj = SWIG_Py_Void();
8880 return resultobj;
8881 fail:
8882 return NULL;
8883 }
8884
8885
8886 SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8887 PyObject *resultobj = 0;
8888 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8889 bool result;
8890 void *argp1 = 0 ;
8891 int res1 = 0 ;
8892 PyObject *swig_obj[1] ;
8893
8894 if (!args) SWIG_fail;
8895 swig_obj[0] = args;
8896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8897 if (!SWIG_IsOK(res1)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8899 }
8900 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto();
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 {
8908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8909 }
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8917 PyObject *resultobj = 0;
8918 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8919 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
8920 void *argp1 = 0 ;
8921 int res1 = 0 ;
8922 void *argp2 = 0 ;
8923 int res2 = 0 ;
8924 PyObject *swig_obj[2] ;
8925
8926 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8928 if (!SWIG_IsOK(res1)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8930 }
8931 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8932 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
8933 if (!SWIG_IsOK(res2)) {
8934 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
8935 }
8936 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8937 if (arg1) (arg1)->pane = arg2;
8938
8939 resultobj = SWIG_Py_Void();
8940 return resultobj;
8941 fail:
8942 return NULL;
8943 }
8944
8945
8946 SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8947 PyObject *resultobj = 0;
8948 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8949 wxAuiPaneInfo *result = 0 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 PyObject *swig_obj[1] ;
8953
8954 if (!args) SWIG_fail;
8955 swig_obj[0] = args;
8956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8957 if (!SWIG_IsOK(res1)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8959 }
8960 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8961 result = (wxAuiPaneInfo *) ((arg1)->pane);
8962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
8963 return resultobj;
8964 fail:
8965 return NULL;
8966 }
8967
8968
8969 SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8970 PyObject *resultobj = 0;
8971 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8972 int arg2 ;
8973 void *argp1 = 0 ;
8974 int res1 = 0 ;
8975 int val2 ;
8976 int ecode2 = 0 ;
8977 PyObject *swig_obj[2] ;
8978
8979 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8981 if (!SWIG_IsOK(res1)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8983 }
8984 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8985 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8986 if (!SWIG_IsOK(ecode2)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8988 }
8989 arg2 = static_cast< int >(val2);
8990 if (arg1) (arg1)->button = arg2;
8991
8992 resultobj = SWIG_Py_Void();
8993 return resultobj;
8994 fail:
8995 return NULL;
8996 }
8997
8998
8999 SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9000 PyObject *resultobj = 0;
9001 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9002 int result;
9003 void *argp1 = 0 ;
9004 int res1 = 0 ;
9005 PyObject *swig_obj[1] ;
9006
9007 if (!args) SWIG_fail;
9008 swig_obj[0] = args;
9009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9012 }
9013 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9014 result = (int) ((arg1)->button);
9015 resultobj = SWIG_From_int(static_cast< int >(result));
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9023 PyObject *resultobj = 0;
9024 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9025 bool arg2 ;
9026 void *argp1 = 0 ;
9027 int res1 = 0 ;
9028 bool val2 ;
9029 int ecode2 = 0 ;
9030 PyObject *swig_obj[2] ;
9031
9032 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
9033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9034 if (!SWIG_IsOK(res1)) {
9035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9036 }
9037 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9038 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9039 if (!SWIG_IsOK(ecode2)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
9041 }
9042 arg2 = static_cast< bool >(val2);
9043 if (arg1) (arg1)->veto_flag = arg2;
9044
9045 resultobj = SWIG_Py_Void();
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9053 PyObject *resultobj = 0;
9054 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9055 bool result;
9056 void *argp1 = 0 ;
9057 int res1 = 0 ;
9058 PyObject *swig_obj[1] ;
9059
9060 if (!args) SWIG_fail;
9061 swig_obj[0] = args;
9062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9063 if (!SWIG_IsOK(res1)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9065 }
9066 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9067 result = (bool) ((arg1)->veto_flag);
9068 {
9069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9070 }
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9078 PyObject *resultobj = 0;
9079 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9080 bool arg2 ;
9081 void *argp1 = 0 ;
9082 int res1 = 0 ;
9083 bool val2 ;
9084 int ecode2 = 0 ;
9085 PyObject *swig_obj[2] ;
9086
9087 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
9088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9089 if (!SWIG_IsOK(res1)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9091 }
9092 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9093 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9094 if (!SWIG_IsOK(ecode2)) {
9095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
9096 }
9097 arg2 = static_cast< bool >(val2);
9098 if (arg1) (arg1)->canveto_flag = arg2;
9099
9100 resultobj = SWIG_Py_Void();
9101 return resultobj;
9102 fail:
9103 return NULL;
9104 }
9105
9106
9107 SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9108 PyObject *resultobj = 0;
9109 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9110 bool result;
9111 void *argp1 = 0 ;
9112 int res1 = 0 ;
9113 PyObject *swig_obj[1] ;
9114
9115 if (!args) SWIG_fail;
9116 swig_obj[0] = args;
9117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9118 if (!SWIG_IsOK(res1)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9120 }
9121 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9122 result = (bool) ((arg1)->canveto_flag);
9123 {
9124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9125 }
9126 return resultobj;
9127 fail:
9128 return NULL;
9129 }
9130
9131
9132 SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9133 PyObject *resultobj = 0;
9134 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9135 wxDC *arg2 = (wxDC *) 0 ;
9136 void *argp1 = 0 ;
9137 int res1 = 0 ;
9138 void *argp2 = 0 ;
9139 int res2 = 0 ;
9140 PyObject *swig_obj[2] ;
9141
9142 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
9143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9146 }
9147 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9148 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
9149 if (!SWIG_IsOK(res2)) {
9150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
9151 }
9152 arg2 = reinterpret_cast< wxDC * >(argp2);
9153 if (arg1) (arg1)->dc = arg2;
9154
9155 resultobj = SWIG_Py_Void();
9156 return resultobj;
9157 fail:
9158 return NULL;
9159 }
9160
9161
9162 SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9163 PyObject *resultobj = 0;
9164 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9165 wxDC *result = 0 ;
9166 void *argp1 = 0 ;
9167 int res1 = 0 ;
9168 PyObject *swig_obj[1] ;
9169
9170 if (!args) SWIG_fail;
9171 swig_obj[0] = args;
9172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9173 if (!SWIG_IsOK(res1)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9175 }
9176 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9177 result = (wxDC *) ((arg1)->dc);
9178 {
9179 resultobj = wxPyMake_wxObject(result, (bool)0);
9180 }
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9188 PyObject *obj;
9189 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9190 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj));
9191 return SWIG_Py_Void();
9192 }
9193
9194 SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9195 return SWIG_Python_InitShadowInstance(args);
9196 }
9197
9198 SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9199 PyObject *resultobj = 0;
9200 wxAuiDockInfo *result = 0 ;
9201
9202 if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail;
9203 {
9204 PyThreadState* __tstate = wxPyBeginAllowThreads();
9205 result = (wxAuiDockInfo *)new wxAuiDockInfo();
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 );
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9217 PyObject *resultobj = 0;
9218 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9219 bool result;
9220 void *argp1 = 0 ;
9221 int res1 = 0 ;
9222 PyObject *swig_obj[1] ;
9223
9224 if (!args) SWIG_fail;
9225 swig_obj[0] = args;
9226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9227 if (!SWIG_IsOK(res1)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9229 }
9230 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (bool)((wxAuiDockInfo const *)arg1)->IsOk();
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 {
9238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9239 }
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9247 PyObject *resultobj = 0;
9248 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9249 bool result;
9250 void *argp1 = 0 ;
9251 int res1 = 0 ;
9252 PyObject *swig_obj[1] ;
9253
9254 if (!args) SWIG_fail;
9255 swig_obj[0] = args;
9256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9257 if (!SWIG_IsOK(res1)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9259 }
9260 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal();
9264 wxPyEndAllowThreads(__tstate);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 {
9268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9269 }
9270 return resultobj;
9271 fail:
9272 return NULL;
9273 }
9274
9275
9276 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9277 PyObject *resultobj = 0;
9278 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9279 bool result;
9280 void *argp1 = 0 ;
9281 int res1 = 0 ;
9282 PyObject *swig_obj[1] ;
9283
9284 if (!args) SWIG_fail;
9285 swig_obj[0] = args;
9286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9287 if (!SWIG_IsOK(res1)) {
9288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9289 }
9290 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical();
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 {
9298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9299 }
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9307 PyObject *resultobj = 0;
9308 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9309 wxAuiPaneInfoPtrArray arg2 ;
9310 void *argp1 = 0 ;
9311 int res1 = 0 ;
9312 void *argp2 ;
9313 int res2 = 0 ;
9314 PyObject *swig_obj[2] ;
9315
9316 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
9317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9318 if (!SWIG_IsOK(res1)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9320 }
9321 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9322 {
9323 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0);
9324 if (!SWIG_IsOK(res2)) {
9325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'");
9326 }
9327 if (!argp2) {
9328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'");
9329 } else {
9330 wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2);
9331 arg2 = *temp;
9332 if (SWIG_IsNewObj(res2)) delete temp;
9333 }
9334 }
9335 if (arg1) (arg1)->panes = arg2;
9336
9337 resultobj = SWIG_Py_Void();
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9345 PyObject *resultobj = 0;
9346 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9347 wxAuiPaneInfoPtrArray result;
9348 void *argp1 = 0 ;
9349 int res1 = 0 ;
9350 PyObject *swig_obj[1] ;
9351
9352 if (!args) SWIG_fail;
9353 swig_obj[0] = args;
9354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9355 if (!SWIG_IsOK(res1)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9357 }
9358 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9359 result = ((arg1)->panes);
9360 resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9368 PyObject *resultobj = 0;
9369 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9370 wxRect *arg2 = (wxRect *) 0 ;
9371 void *argp1 = 0 ;
9372 int res1 = 0 ;
9373 void *argp2 = 0 ;
9374 int res2 = 0 ;
9375 PyObject *swig_obj[2] ;
9376
9377 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
9378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9379 if (!SWIG_IsOK(res1)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9381 }
9382 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9383 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9384 if (!SWIG_IsOK(res2)) {
9385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9386 }
9387 arg2 = reinterpret_cast< wxRect * >(argp2);
9388 if (arg1) (arg1)->rect = *arg2;
9389
9390 resultobj = SWIG_Py_Void();
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9398 PyObject *resultobj = 0;
9399 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9400 wxRect *result = 0 ;
9401 void *argp1 = 0 ;
9402 int res1 = 0 ;
9403 PyObject *swig_obj[1] ;
9404
9405 if (!args) SWIG_fail;
9406 swig_obj[0] = args;
9407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9408 if (!SWIG_IsOK(res1)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9410 }
9411 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9412 result = (wxRect *)& ((arg1)->rect);
9413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9421 PyObject *resultobj = 0;
9422 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9423 int arg2 ;
9424 void *argp1 = 0 ;
9425 int res1 = 0 ;
9426 int val2 ;
9427 int ecode2 = 0 ;
9428 PyObject *swig_obj[2] ;
9429
9430 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
9431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9432 if (!SWIG_IsOK(res1)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9434 }
9435 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9436 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9437 if (!SWIG_IsOK(ecode2)) {
9438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
9439 }
9440 arg2 = static_cast< int >(val2);
9441 if (arg1) (arg1)->dock_direction = arg2;
9442
9443 resultobj = SWIG_Py_Void();
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9451 PyObject *resultobj = 0;
9452 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9453 int result;
9454 void *argp1 = 0 ;
9455 int res1 = 0 ;
9456 PyObject *swig_obj[1] ;
9457
9458 if (!args) SWIG_fail;
9459 swig_obj[0] = args;
9460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9461 if (!SWIG_IsOK(res1)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9463 }
9464 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9465 result = (int) ((arg1)->dock_direction);
9466 resultobj = SWIG_From_int(static_cast< int >(result));
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9474 PyObject *resultobj = 0;
9475 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9476 int arg2 ;
9477 void *argp1 = 0 ;
9478 int res1 = 0 ;
9479 int val2 ;
9480 int ecode2 = 0 ;
9481 PyObject *swig_obj[2] ;
9482
9483 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
9484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9485 if (!SWIG_IsOK(res1)) {
9486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9487 }
9488 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9489 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9490 if (!SWIG_IsOK(ecode2)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
9492 }
9493 arg2 = static_cast< int >(val2);
9494 if (arg1) (arg1)->dock_layer = arg2;
9495
9496 resultobj = SWIG_Py_Void();
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9504 PyObject *resultobj = 0;
9505 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9506 int result;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 PyObject *swig_obj[1] ;
9510
9511 if (!args) SWIG_fail;
9512 swig_obj[0] = args;
9513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9514 if (!SWIG_IsOK(res1)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9516 }
9517 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9518 result = (int) ((arg1)->dock_layer);
9519 resultobj = SWIG_From_int(static_cast< int >(result));
9520 return resultobj;
9521 fail:
9522 return NULL;
9523 }
9524
9525
9526 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9527 PyObject *resultobj = 0;
9528 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9529 int arg2 ;
9530 void *argp1 = 0 ;
9531 int res1 = 0 ;
9532 int val2 ;
9533 int ecode2 = 0 ;
9534 PyObject *swig_obj[2] ;
9535
9536 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
9537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9538 if (!SWIG_IsOK(res1)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9540 }
9541 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9542 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9543 if (!SWIG_IsOK(ecode2)) {
9544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
9545 }
9546 arg2 = static_cast< int >(val2);
9547 if (arg1) (arg1)->dock_row = arg2;
9548
9549 resultobj = SWIG_Py_Void();
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9557 PyObject *resultobj = 0;
9558 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9559 int result;
9560 void *argp1 = 0 ;
9561 int res1 = 0 ;
9562 PyObject *swig_obj[1] ;
9563
9564 if (!args) SWIG_fail;
9565 swig_obj[0] = args;
9566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9567 if (!SWIG_IsOK(res1)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9569 }
9570 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9571 result = (int) ((arg1)->dock_row);
9572 resultobj = SWIG_From_int(static_cast< int >(result));
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9580 PyObject *resultobj = 0;
9581 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9582 int arg2 ;
9583 void *argp1 = 0 ;
9584 int res1 = 0 ;
9585 int val2 ;
9586 int ecode2 = 0 ;
9587 PyObject *swig_obj[2] ;
9588
9589 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail;
9590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9591 if (!SWIG_IsOK(res1)) {
9592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9593 }
9594 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9595 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9596 if (!SWIG_IsOK(ecode2)) {
9597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
9598 }
9599 arg2 = static_cast< int >(val2);
9600 if (arg1) (arg1)->size = arg2;
9601
9602 resultobj = SWIG_Py_Void();
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9610 PyObject *resultobj = 0;
9611 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9612 int result;
9613 void *argp1 = 0 ;
9614 int res1 = 0 ;
9615 PyObject *swig_obj[1] ;
9616
9617 if (!args) SWIG_fail;
9618 swig_obj[0] = args;
9619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9620 if (!SWIG_IsOK(res1)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9622 }
9623 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9624 result = (int) ((arg1)->size);
9625 resultobj = SWIG_From_int(static_cast< int >(result));
9626 return resultobj;
9627 fail:
9628 return NULL;
9629 }
9630
9631
9632 SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9633 PyObject *resultobj = 0;
9634 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9635 int arg2 ;
9636 void *argp1 = 0 ;
9637 int res1 = 0 ;
9638 int val2 ;
9639 int ecode2 = 0 ;
9640 PyObject *swig_obj[2] ;
9641
9642 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
9643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9644 if (!SWIG_IsOK(res1)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9646 }
9647 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9648 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9649 if (!SWIG_IsOK(ecode2)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
9651 }
9652 arg2 = static_cast< int >(val2);
9653 if (arg1) (arg1)->min_size = arg2;
9654
9655 resultobj = SWIG_Py_Void();
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9663 PyObject *resultobj = 0;
9664 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9665 int result;
9666 void *argp1 = 0 ;
9667 int res1 = 0 ;
9668 PyObject *swig_obj[1] ;
9669
9670 if (!args) SWIG_fail;
9671 swig_obj[0] = args;
9672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9673 if (!SWIG_IsOK(res1)) {
9674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9675 }
9676 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9677 result = (int) ((arg1)->min_size);
9678 resultobj = SWIG_From_int(static_cast< int >(result));
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9686 PyObject *resultobj = 0;
9687 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9688 bool arg2 ;
9689 void *argp1 = 0 ;
9690 int res1 = 0 ;
9691 bool val2 ;
9692 int ecode2 = 0 ;
9693 PyObject *swig_obj[2] ;
9694
9695 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9697 if (!SWIG_IsOK(res1)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9699 }
9700 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9701 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9702 if (!SWIG_IsOK(ecode2)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9704 }
9705 arg2 = static_cast< bool >(val2);
9706 if (arg1) (arg1)->resizable = arg2;
9707
9708 resultobj = SWIG_Py_Void();
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9716 PyObject *resultobj = 0;
9717 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9718 bool result;
9719 void *argp1 = 0 ;
9720 int res1 = 0 ;
9721 PyObject *swig_obj[1] ;
9722
9723 if (!args) SWIG_fail;
9724 swig_obj[0] = args;
9725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9726 if (!SWIG_IsOK(res1)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9728 }
9729 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9730 result = (bool) ((arg1)->resizable);
9731 {
9732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9733 }
9734 return resultobj;
9735 fail:
9736 return NULL;
9737 }
9738
9739
9740 SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9741 PyObject *resultobj = 0;
9742 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9743 bool arg2 ;
9744 void *argp1 = 0 ;
9745 int res1 = 0 ;
9746 bool val2 ;
9747 int ecode2 = 0 ;
9748 PyObject *swig_obj[2] ;
9749
9750 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9752 if (!SWIG_IsOK(res1)) {
9753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9754 }
9755 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9756 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9757 if (!SWIG_IsOK(ecode2)) {
9758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9759 }
9760 arg2 = static_cast< bool >(val2);
9761 if (arg1) (arg1)->toolbar = arg2;
9762
9763 resultobj = SWIG_Py_Void();
9764 return resultobj;
9765 fail:
9766 return NULL;
9767 }
9768
9769
9770 SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9771 PyObject *resultobj = 0;
9772 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9773 bool result;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 PyObject *swig_obj[1] ;
9777
9778 if (!args) SWIG_fail;
9779 swig_obj[0] = args;
9780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9781 if (!SWIG_IsOK(res1)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9783 }
9784 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9785 result = (bool) ((arg1)->toolbar);
9786 {
9787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9788 }
9789 return resultobj;
9790 fail:
9791 return NULL;
9792 }
9793
9794
9795 SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9796 PyObject *resultobj = 0;
9797 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9798 bool arg2 ;
9799 void *argp1 = 0 ;
9800 int res1 = 0 ;
9801 bool val2 ;
9802 int ecode2 = 0 ;
9803 PyObject *swig_obj[2] ;
9804
9805 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
9806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9807 if (!SWIG_IsOK(res1)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9809 }
9810 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9811 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9812 if (!SWIG_IsOK(ecode2)) {
9813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
9814 }
9815 arg2 = static_cast< bool >(val2);
9816 if (arg1) (arg1)->fixed = arg2;
9817
9818 resultobj = SWIG_Py_Void();
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9826 PyObject *resultobj = 0;
9827 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9828 bool result;
9829 void *argp1 = 0 ;
9830 int res1 = 0 ;
9831 PyObject *swig_obj[1] ;
9832
9833 if (!args) SWIG_fail;
9834 swig_obj[0] = args;
9835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9838 }
9839 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9840 result = (bool) ((arg1)->fixed);
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9851 PyObject *resultobj = 0;
9852 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9853 void *argp1 = 0 ;
9854 int res1 = 0 ;
9855 PyObject *swig_obj[1] ;
9856
9857 if (!args) SWIG_fail;
9858 swig_obj[0] = args;
9859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 );
9860 if (!SWIG_IsOK(res1)) {
9861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9862 }
9863 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 delete_wxAuiDockInfo(arg1);
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 resultobj = SWIG_Py_Void();
9872 return resultobj;
9873 fail:
9874 return NULL;
9875 }
9876
9877
9878 SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9879 PyObject *obj;
9880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9881 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj));
9882 return SWIG_Py_Void();
9883 }
9884
9885 SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9886 return SWIG_Python_InitShadowInstance(args);
9887 }
9888
9889 SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9890 PyObject *resultobj = 0;
9891 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
9892 int arg2 ;
9893 void *argp1 = 0 ;
9894 int res1 = 0 ;
9895 int val2 ;
9896 int ecode2 = 0 ;
9897 PyObject *swig_obj[2] ;
9898
9899 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
9900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
9901 if (!SWIG_IsOK(res1)) {
9902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
9903 }
9904 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
9905 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9906 if (!SWIG_IsOK(ecode2)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
9908 }
9909 arg2 = static_cast< int >(val2);
9910 if (arg1) (arg1)->type = arg2;
9911
9912 resultobj = SWIG_Py_Void();
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9920 PyObject *resultobj = 0;
9921 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
9922 int result;
9923 void *argp1 = 0 ;
9924 int res1 = 0 ;
9925 PyObject *swig_obj[1] ;
9926
9927 if (!args) SWIG_fail;
9928 swig_obj[0] = args;
9929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
9930 if (!SWIG_IsOK(res1)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
9932 }
9933 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
9934 result = (int) ((arg1)->type);
9935 resultobj = SWIG_From_int(static_cast< int >(result));
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9943 PyObject *resultobj = 0;
9944 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
9945 int arg2 ;
9946 void *argp1 = 0 ;
9947 int res1 = 0 ;
9948 int val2 ;
9949 int ecode2 = 0 ;
9950 PyObject *swig_obj[2] ;
9951
9952 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
9954 if (!SWIG_IsOK(res1)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
9956 }
9957 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
9958 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9959 if (!SWIG_IsOK(ecode2)) {
9960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9961 }
9962 arg2 = static_cast< int >(val2);
9963 if (arg1) (arg1)->orientation = arg2;
9964
9965 resultobj = SWIG_Py_Void();
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9973 PyObject *resultobj = 0;
9974 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
9975 int result;
9976 void *argp1 = 0 ;
9977 int res1 = 0 ;
9978 PyObject *swig_obj[1] ;
9979
9980 if (!args) SWIG_fail;
9981 swig_obj[0] = args;
9982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
9983 if (!SWIG_IsOK(res1)) {
9984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
9985 }
9986 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
9987 result = (int) ((arg1)->orientation);
9988 resultobj = SWIG_From_int(static_cast< int >(result));
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9996 PyObject *resultobj = 0;
9997 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
9998 wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ;
9999 void *argp1 = 0 ;
10000 int res1 = 0 ;
10001 void *argp2 = 0 ;
10002 int res2 = 0 ;
10003 PyObject *swig_obj[2] ;
10004
10005 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
10006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10007 if (!SWIG_IsOK(res1)) {
10008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10009 }
10010 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10011 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 );
10012 if (!SWIG_IsOK(res2)) {
10013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'");
10014 }
10015 arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2);
10016 if (arg1) (arg1)->dock = arg2;
10017
10018 resultobj = SWIG_Py_Void();
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10026 PyObject *resultobj = 0;
10027 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10028 wxAuiDockInfo *result = 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 PyObject *swig_obj[1] ;
10032
10033 if (!args) SWIG_fail;
10034 swig_obj[0] = args;
10035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10038 }
10039 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10040 result = (wxAuiDockInfo *) ((arg1)->dock);
10041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10049 PyObject *resultobj = 0;
10050 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10051 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
10052 void *argp1 = 0 ;
10053 int res1 = 0 ;
10054 void *argp2 = 0 ;
10055 int res2 = 0 ;
10056 PyObject *swig_obj[2] ;
10057
10058 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
10059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10062 }
10063 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10064 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
10065 if (!SWIG_IsOK(res2)) {
10066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
10067 }
10068 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
10069 if (arg1) (arg1)->pane = arg2;
10070
10071 resultobj = SWIG_Py_Void();
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10079 PyObject *resultobj = 0;
10080 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10081 wxAuiPaneInfo *result = 0 ;
10082 void *argp1 = 0 ;
10083 int res1 = 0 ;
10084 PyObject *swig_obj[1] ;
10085
10086 if (!args) SWIG_fail;
10087 swig_obj[0] = args;
10088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10089 if (!SWIG_IsOK(res1)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10091 }
10092 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10093 result = (wxAuiPaneInfo *) ((arg1)->pane);
10094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
10095 return resultobj;
10096 fail:
10097 return NULL;
10098 }
10099
10100
10101 SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10102 PyObject *resultobj = 0;
10103 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10104 wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ;
10105 void *argp1 = 0 ;
10106 int res1 = 0 ;
10107 void *argp2 = 0 ;
10108 int res2 = 0 ;
10109 PyObject *swig_obj[2] ;
10110
10111 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
10112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10115 }
10116 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10117 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 );
10118 if (!SWIG_IsOK(res2)) {
10119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'");
10120 }
10121 arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2);
10122 if (arg1) (arg1)->button = arg2;
10123
10124 resultobj = SWIG_Py_Void();
10125 return resultobj;
10126 fail:
10127 return NULL;
10128 }
10129
10130
10131 SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10132 PyObject *resultobj = 0;
10133 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10134 wxAuiPaneButton *result = 0 ;
10135 void *argp1 = 0 ;
10136 int res1 = 0 ;
10137 PyObject *swig_obj[1] ;
10138
10139 if (!args) SWIG_fail;
10140 swig_obj[0] = args;
10141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10142 if (!SWIG_IsOK(res1)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10144 }
10145 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10146 result = (wxAuiPaneButton *) ((arg1)->button);
10147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10155 PyObject *resultobj = 0;
10156 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10157 wxSizer *arg2 = (wxSizer *) 0 ;
10158 void *argp1 = 0 ;
10159 int res1 = 0 ;
10160 void *argp2 = 0 ;
10161 int res2 = 0 ;
10162 PyObject *swig_obj[2] ;
10163
10164 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
10165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10166 if (!SWIG_IsOK(res1)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10168 }
10169 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10170 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
10171 if (!SWIG_IsOK(res2)) {
10172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
10173 }
10174 arg2 = reinterpret_cast< wxSizer * >(argp2);
10175 if (arg1) (arg1)->cont_sizer = arg2;
10176
10177 resultobj = SWIG_Py_Void();
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10185 PyObject *resultobj = 0;
10186 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10187 wxSizer *result = 0 ;
10188 void *argp1 = 0 ;
10189 int res1 = 0 ;
10190 PyObject *swig_obj[1] ;
10191
10192 if (!args) SWIG_fail;
10193 swig_obj[0] = args;
10194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10195 if (!SWIG_IsOK(res1)) {
10196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10197 }
10198 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10199 result = (wxSizer *) ((arg1)->cont_sizer);
10200 {
10201 resultobj = wxPyMake_wxObject(result, (bool)0);
10202 }
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10210 PyObject *resultobj = 0;
10211 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10212 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
10213 void *argp1 = 0 ;
10214 int res1 = 0 ;
10215 void *argp2 = 0 ;
10216 int res2 = 0 ;
10217 PyObject *swig_obj[2] ;
10218
10219 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
10220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10221 if (!SWIG_IsOK(res1)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10223 }
10224 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10225 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
10226 if (!SWIG_IsOK(res2)) {
10227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
10228 }
10229 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
10230 if (arg1) (arg1)->sizer_item = arg2;
10231
10232 resultobj = SWIG_Py_Void();
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10240 PyObject *resultobj = 0;
10241 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10242 wxSizerItem *result = 0 ;
10243 void *argp1 = 0 ;
10244 int res1 = 0 ;
10245 PyObject *swig_obj[1] ;
10246
10247 if (!args) SWIG_fail;
10248 swig_obj[0] = args;
10249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10250 if (!SWIG_IsOK(res1)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10252 }
10253 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10254 result = (wxSizerItem *) ((arg1)->sizer_item);
10255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
10256 return resultobj;
10257 fail:
10258 return NULL;
10259 }
10260
10261
10262 SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10263 PyObject *resultobj = 0;
10264 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10265 wxRect *arg2 = (wxRect *) 0 ;
10266 void *argp1 = 0 ;
10267 int res1 = 0 ;
10268 void *argp2 = 0 ;
10269 int res2 = 0 ;
10270 PyObject *swig_obj[2] ;
10271
10272 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
10273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10274 if (!SWIG_IsOK(res1)) {
10275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10276 }
10277 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10278 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
10279 if (!SWIG_IsOK(res2)) {
10280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
10281 }
10282 arg2 = reinterpret_cast< wxRect * >(argp2);
10283 if (arg1) (arg1)->rect = *arg2;
10284
10285 resultobj = SWIG_Py_Void();
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10293 PyObject *resultobj = 0;
10294 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10295 wxRect *result = 0 ;
10296 void *argp1 = 0 ;
10297 int res1 = 0 ;
10298 PyObject *swig_obj[1] ;
10299
10300 if (!args) SWIG_fail;
10301 swig_obj[0] = args;
10302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10303 if (!SWIG_IsOK(res1)) {
10304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10305 }
10306 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10307 result = (wxRect *)& ((arg1)->rect);
10308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
10309 return resultobj;
10310 fail:
10311 return NULL;
10312 }
10313
10314
10315 SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10316 PyObject *resultobj = 0;
10317 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10318 void *argp1 = 0 ;
10319 int res1 = 0 ;
10320 PyObject *swig_obj[1] ;
10321
10322 if (!args) SWIG_fail;
10323 swig_obj[0] = args;
10324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 );
10325 if (!SWIG_IsOK(res1)) {
10326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10327 }
10328 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 delete_wxAuiDockUIPart(arg1);
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) SWIG_fail;
10335 }
10336 resultobj = SWIG_Py_Void();
10337 return resultobj;
10338 fail:
10339 return NULL;
10340 }
10341
10342
10343 SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10344 PyObject *obj;
10345 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10346 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj));
10347 return SWIG_Py_Void();
10348 }
10349
10350 SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10351 PyObject *resultobj = 0;
10352 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10353 int arg2 ;
10354 void *argp1 = 0 ;
10355 int res1 = 0 ;
10356 int val2 ;
10357 int ecode2 = 0 ;
10358 PyObject *swig_obj[2] ;
10359
10360 if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
10361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10362 if (!SWIG_IsOK(res1)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10364 }
10365 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10366 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10367 if (!SWIG_IsOK(ecode2)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
10369 }
10370 arg2 = static_cast< int >(val2);
10371 if (arg1) (arg1)->button_id = arg2;
10372
10373 resultobj = SWIG_Py_Void();
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10381 PyObject *resultobj = 0;
10382 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10383 int result;
10384 void *argp1 = 0 ;
10385 int res1 = 0 ;
10386 PyObject *swig_obj[1] ;
10387
10388 if (!args) SWIG_fail;
10389 swig_obj[0] = args;
10390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10391 if (!SWIG_IsOK(res1)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10393 }
10394 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10395 result = (int) ((arg1)->button_id);
10396 resultobj = SWIG_From_int(static_cast< int >(result));
10397 return resultobj;
10398 fail:
10399 return NULL;
10400 }
10401
10402
10403 SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10404 PyObject *resultobj = 0;
10405 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10406 void *argp1 = 0 ;
10407 int res1 = 0 ;
10408 PyObject *swig_obj[1] ;
10409
10410 if (!args) SWIG_fail;
10411 swig_obj[0] = args;
10412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 );
10413 if (!SWIG_IsOK(res1)) {
10414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10415 }
10416 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 delete_wxAuiPaneButton(arg1);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 resultobj = SWIG_Py_Void();
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10432 PyObject *obj;
10433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10434 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj));
10435 return SWIG_Py_Void();
10436 }
10437
10438 SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10439 PyObject *resultobj = 0;
10440 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10441 void *argp1 = 0 ;
10442 int res1 = 0 ;
10443 PyObject *swig_obj[1] ;
10444
10445 if (!args) SWIG_fail;
10446 swig_obj[0] = args;
10447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 );
10448 if (!SWIG_IsOK(res1)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10450 }
10451 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 delete arg1;
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 resultobj = SWIG_Py_Void();
10460 return resultobj;
10461 fail:
10462 return NULL;
10463 }
10464
10465
10466 SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj = 0;
10468 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10469 int arg2 ;
10470 int result;
10471 void *argp1 = 0 ;
10472 int res1 = 0 ;
10473 int val2 ;
10474 int ecode2 = 0 ;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 char * kwnames[] = {
10478 (char *) "self",(char *) "id", NULL
10479 };
10480
10481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
10482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10483 if (!SWIG_IsOK(res1)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10485 }
10486 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10487 ecode2 = SWIG_AsVal_int(obj1, &val2);
10488 if (!SWIG_IsOK(ecode2)) {
10489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
10490 }
10491 arg2 = static_cast< int >(val2);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (int)(arg1)->GetMetric(arg2);
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_From_int(static_cast< int >(result));
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj = 0;
10507 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10508 int arg2 ;
10509 int arg3 ;
10510 void *argp1 = 0 ;
10511 int res1 = 0 ;
10512 int val2 ;
10513 int ecode2 = 0 ;
10514 int val3 ;
10515 int ecode3 = 0 ;
10516 PyObject * obj0 = 0 ;
10517 PyObject * obj1 = 0 ;
10518 PyObject * obj2 = 0 ;
10519 char * kwnames[] = {
10520 (char *) "self",(char *) "id",(char *) "new_val", NULL
10521 };
10522
10523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10525 if (!SWIG_IsOK(res1)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10527 }
10528 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10529 ecode2 = SWIG_AsVal_int(obj1, &val2);
10530 if (!SWIG_IsOK(ecode2)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
10532 }
10533 arg2 = static_cast< int >(val2);
10534 ecode3 = SWIG_AsVal_int(obj2, &val3);
10535 if (!SWIG_IsOK(ecode3)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
10537 }
10538 arg3 = static_cast< int >(val3);
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 (arg1)->SetMetric(arg2,arg3);
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 resultobj = SWIG_Py_Void();
10546 return resultobj;
10547 fail:
10548 return NULL;
10549 }
10550
10551
10552 SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj = 0;
10554 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10555 int arg2 ;
10556 wxFont *arg3 = 0 ;
10557 void *argp1 = 0 ;
10558 int res1 = 0 ;
10559 int val2 ;
10560 int ecode2 = 0 ;
10561 void *argp3 = 0 ;
10562 int res3 = 0 ;
10563 PyObject * obj0 = 0 ;
10564 PyObject * obj1 = 0 ;
10565 PyObject * obj2 = 0 ;
10566 char * kwnames[] = {
10567 (char *) "self",(char *) "id",(char *) "font", NULL
10568 };
10569
10570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10572 if (!SWIG_IsOK(res1)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10574 }
10575 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10576 ecode2 = SWIG_AsVal_int(obj1, &val2);
10577 if (!SWIG_IsOK(ecode2)) {
10578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
10579 }
10580 arg2 = static_cast< int >(val2);
10581 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10582 if (!SWIG_IsOK(res3)) {
10583 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10584 }
10585 if (!argp3) {
10586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10587 }
10588 arg3 = reinterpret_cast< wxFont * >(argp3);
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_Py_Void();
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj = 0;
10604 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10605 int arg2 ;
10606 wxFont result;
10607 void *argp1 = 0 ;
10608 int res1 = 0 ;
10609 int val2 ;
10610 int ecode2 = 0 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char * kwnames[] = {
10614 (char *) "self",(char *) "id", NULL
10615 };
10616
10617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
10618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10619 if (!SWIG_IsOK(res1)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10621 }
10622 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10623 ecode2 = SWIG_AsVal_int(obj1, &val2);
10624 if (!SWIG_IsOK(ecode2)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
10626 }
10627 arg2 = static_cast< int >(val2);
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (arg1)->GetFont(arg2);
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10642 PyObject *resultobj = 0;
10643 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10644 int arg2 ;
10645 wxColour result;
10646 void *argp1 = 0 ;
10647 int res1 = 0 ;
10648 int val2 ;
10649 int ecode2 = 0 ;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 char * kwnames[] = {
10653 (char *) "self",(char *) "id", NULL
10654 };
10655
10656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
10657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10658 if (!SWIG_IsOK(res1)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10660 }
10661 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10662 ecode2 = SWIG_AsVal_int(obj1, &val2);
10663 if (!SWIG_IsOK(ecode2)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
10665 }
10666 arg2 = static_cast< int >(val2);
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (arg1)->GetColour(arg2);
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj = 0;
10682 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10683 int arg2 ;
10684 wxColor *arg3 = 0 ;
10685 void *argp1 = 0 ;
10686 int res1 = 0 ;
10687 int val2 ;
10688 int ecode2 = 0 ;
10689 void *argp3 = 0 ;
10690 int res3 = 0 ;
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 PyObject * obj2 = 0 ;
10694 char * kwnames[] = {
10695 (char *) "self",(char *) "id",(char *) "colour", NULL
10696 };
10697
10698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10700 if (!SWIG_IsOK(res1)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10702 }
10703 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10704 ecode2 = SWIG_AsVal_int(obj1, &val2);
10705 if (!SWIG_IsOK(ecode2)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
10707 }
10708 arg2 = static_cast< int >(val2);
10709 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
10710 if (!SWIG_IsOK(res3)) {
10711 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10712 }
10713 if (!argp3) {
10714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10715 }
10716 arg3 = reinterpret_cast< wxColor * >(argp3);
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_Py_Void();
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj = 0;
10732 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10733 int arg2 ;
10734 wxColour result;
10735 void *argp1 = 0 ;
10736 int res1 = 0 ;
10737 int val2 ;
10738 int ecode2 = 0 ;
10739 PyObject * obj0 = 0 ;
10740 PyObject * obj1 = 0 ;
10741 char * kwnames[] = {
10742 (char *) "self",(char *) "id", NULL
10743 };
10744
10745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
10746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10747 if (!SWIG_IsOK(res1)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10749 }
10750 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10751 ecode2 = SWIG_AsVal_int(obj1, &val2);
10752 if (!SWIG_IsOK(ecode2)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10754 }
10755 arg2 = static_cast< int >(val2);
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = (arg1)->GetColor(arg2);
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10763 return resultobj;
10764 fail:
10765 return NULL;
10766 }
10767
10768
10769 SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj = 0;
10771 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10772 int arg2 ;
10773 wxColour *arg3 = 0 ;
10774 void *argp1 = 0 ;
10775 int res1 = 0 ;
10776 int val2 ;
10777 int ecode2 = 0 ;
10778 wxColour temp3 ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 PyObject * obj2 = 0 ;
10782 char * kwnames[] = {
10783 (char *) "self",(char *) "id",(char *) "color", NULL
10784 };
10785
10786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10788 if (!SWIG_IsOK(res1)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10790 }
10791 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10792 ecode2 = SWIG_AsVal_int(obj1, &val2);
10793 if (!SWIG_IsOK(ecode2)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
10795 }
10796 arg2 = static_cast< int >(val2);
10797 {
10798 arg3 = &temp3;
10799 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10800 }
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 resultobj = SWIG_Py_Void();
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj = 0;
10816 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10817 wxDC *arg2 = 0 ;
10818 wxWindow *arg3 = (wxWindow *) 0 ;
10819 int arg4 ;
10820 wxRect *arg5 = 0 ;
10821 void *argp1 = 0 ;
10822 int res1 = 0 ;
10823 void *argp2 = 0 ;
10824 int res2 = 0 ;
10825 void *argp3 = 0 ;
10826 int res3 = 0 ;
10827 int val4 ;
10828 int ecode4 = 0 ;
10829 wxRect temp5 ;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 PyObject * obj2 = 0 ;
10833 PyObject * obj3 = 0 ;
10834 PyObject * obj4 = 0 ;
10835 char * kwnames[] = {
10836 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10837 };
10838
10839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10841 if (!SWIG_IsOK(res1)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10843 }
10844 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10845 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10846 if (!SWIG_IsOK(res2)) {
10847 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10848 }
10849 if (!argp2) {
10850 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10851 }
10852 arg2 = reinterpret_cast< wxDC * >(argp2);
10853 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10854 if (!SWIG_IsOK(res3)) {
10855 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
10856 }
10857 arg3 = reinterpret_cast< wxWindow * >(argp3);
10858 ecode4 = SWIG_AsVal_int(obj3, &val4);
10859 if (!SWIG_IsOK(ecode4)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
10861 }
10862 arg4 = static_cast< int >(val4);
10863 {
10864 arg5 = &temp5;
10865 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10866 }
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 resultobj = SWIG_Py_Void();
10874 return resultobj;
10875 fail:
10876 return NULL;
10877 }
10878
10879
10880 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj = 0;
10882 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10883 wxDC *arg2 = 0 ;
10884 wxWindow *arg3 = (wxWindow *) 0 ;
10885 int arg4 ;
10886 wxRect *arg5 = 0 ;
10887 void *argp1 = 0 ;
10888 int res1 = 0 ;
10889 void *argp2 = 0 ;
10890 int res2 = 0 ;
10891 void *argp3 = 0 ;
10892 int res3 = 0 ;
10893 int val4 ;
10894 int ecode4 = 0 ;
10895 wxRect temp5 ;
10896 PyObject * obj0 = 0 ;
10897 PyObject * obj1 = 0 ;
10898 PyObject * obj2 = 0 ;
10899 PyObject * obj3 = 0 ;
10900 PyObject * obj4 = 0 ;
10901 char * kwnames[] = {
10902 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10903 };
10904
10905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10907 if (!SWIG_IsOK(res1)) {
10908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10909 }
10910 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10911 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10912 if (!SWIG_IsOK(res2)) {
10913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10914 }
10915 if (!argp2) {
10916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10917 }
10918 arg2 = reinterpret_cast< wxDC * >(argp2);
10919 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10920 if (!SWIG_IsOK(res3)) {
10921 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
10922 }
10923 arg3 = reinterpret_cast< wxWindow * >(argp3);
10924 ecode4 = SWIG_AsVal_int(obj3, &val4);
10925 if (!SWIG_IsOK(ecode4)) {
10926 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
10927 }
10928 arg4 = static_cast< int >(val4);
10929 {
10930 arg5 = &temp5;
10931 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_Py_Void();
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj = 0;
10948 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10949 wxDC *arg2 = 0 ;
10950 wxWindow *arg3 = (wxWindow *) 0 ;
10951 wxString *arg4 = 0 ;
10952 wxRect *arg5 = 0 ;
10953 wxAuiPaneInfo *arg6 = 0 ;
10954 void *argp1 = 0 ;
10955 int res1 = 0 ;
10956 void *argp2 = 0 ;
10957 int res2 = 0 ;
10958 void *argp3 = 0 ;
10959 int res3 = 0 ;
10960 bool temp4 = false ;
10961 wxRect temp5 ;
10962 void *argp6 = 0 ;
10963 int res6 = 0 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 PyObject * obj4 = 0 ;
10969 PyObject * obj5 = 0 ;
10970 char * kwnames[] = {
10971 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
10972 };
10973
10974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10976 if (!SWIG_IsOK(res1)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10978 }
10979 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10980 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10981 if (!SWIG_IsOK(res2)) {
10982 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10983 }
10984 if (!argp2) {
10985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10986 }
10987 arg2 = reinterpret_cast< wxDC * >(argp2);
10988 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10989 if (!SWIG_IsOK(res3)) {
10990 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
10991 }
10992 arg3 = reinterpret_cast< wxWindow * >(argp3);
10993 {
10994 arg4 = wxString_in_helper(obj3);
10995 if (arg4 == NULL) SWIG_fail;
10996 temp4 = true;
10997 }
10998 {
10999 arg5 = &temp5;
11000 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
11001 }
11002 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11003 if (!SWIG_IsOK(res6)) {
11004 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'");
11005 }
11006 if (!argp6) {
11007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'");
11008 }
11009 arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6);
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 resultobj = SWIG_Py_Void();
11017 {
11018 if (temp4)
11019 delete arg4;
11020 }
11021 return resultobj;
11022 fail:
11023 {
11024 if (temp4)
11025 delete arg4;
11026 }
11027 return NULL;
11028 }
11029
11030
11031 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj = 0;
11033 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11034 wxDC *arg2 = 0 ;
11035 wxWindow *arg3 = (wxWindow *) 0 ;
11036 wxRect *arg4 = 0 ;
11037 wxAuiPaneInfo *arg5 = 0 ;
11038 void *argp1 = 0 ;
11039 int res1 = 0 ;
11040 void *argp2 = 0 ;
11041 int res2 = 0 ;
11042 void *argp3 = 0 ;
11043 int res3 = 0 ;
11044 wxRect temp4 ;
11045 void *argp5 = 0 ;
11046 int res5 = 0 ;
11047 PyObject * obj0 = 0 ;
11048 PyObject * obj1 = 0 ;
11049 PyObject * obj2 = 0 ;
11050 PyObject * obj3 = 0 ;
11051 PyObject * obj4 = 0 ;
11052 char * kwnames[] = {
11053 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
11054 };
11055
11056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11058 if (!SWIG_IsOK(res1)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11060 }
11061 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11062 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11063 if (!SWIG_IsOK(res2)) {
11064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
11065 }
11066 if (!argp2) {
11067 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
11068 }
11069 arg2 = reinterpret_cast< wxDC * >(argp2);
11070 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11071 if (!SWIG_IsOK(res3)) {
11072 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
11073 }
11074 arg3 = reinterpret_cast< wxWindow * >(argp3);
11075 {
11076 arg4 = &temp4;
11077 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
11078 }
11079 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11080 if (!SWIG_IsOK(res5)) {
11081 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11082 }
11083 if (!argp5) {
11084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11085 }
11086 arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5);
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = SWIG_Py_Void();
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj = 0;
11102 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11103 wxDC *arg2 = 0 ;
11104 wxWindow *arg3 = (wxWindow *) 0 ;
11105 wxRect *arg4 = 0 ;
11106 wxAuiPaneInfo *arg5 = 0 ;
11107 void *argp1 = 0 ;
11108 int res1 = 0 ;
11109 void *argp2 = 0 ;
11110 int res2 = 0 ;
11111 void *argp3 = 0 ;
11112 int res3 = 0 ;
11113 wxRect temp4 ;
11114 void *argp5 = 0 ;
11115 int res5 = 0 ;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 PyObject * obj2 = 0 ;
11119 PyObject * obj3 = 0 ;
11120 PyObject * obj4 = 0 ;
11121 char * kwnames[] = {
11122 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
11123 };
11124
11125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11127 if (!SWIG_IsOK(res1)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11129 }
11130 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11132 if (!SWIG_IsOK(res2)) {
11133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
11134 }
11135 if (!argp2) {
11136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
11137 }
11138 arg2 = reinterpret_cast< wxDC * >(argp2);
11139 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11140 if (!SWIG_IsOK(res3)) {
11141 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
11142 }
11143 arg3 = reinterpret_cast< wxWindow * >(argp3);
11144 {
11145 arg4 = &temp4;
11146 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
11147 }
11148 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11149 if (!SWIG_IsOK(res5)) {
11150 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11151 }
11152 if (!argp5) {
11153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11154 }
11155 arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 resultobj = SWIG_Py_Void();
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj = 0;
11171 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11172 wxDC *arg2 = 0 ;
11173 wxWindow *arg3 = (wxWindow *) 0 ;
11174 int arg4 ;
11175 int arg5 ;
11176 wxRect *arg6 = 0 ;
11177 wxAuiPaneInfo *arg7 = 0 ;
11178 void *argp1 = 0 ;
11179 int res1 = 0 ;
11180 void *argp2 = 0 ;
11181 int res2 = 0 ;
11182 void *argp3 = 0 ;
11183 int res3 = 0 ;
11184 int val4 ;
11185 int ecode4 = 0 ;
11186 int val5 ;
11187 int ecode5 = 0 ;
11188 wxRect temp6 ;
11189 void *argp7 = 0 ;
11190 int res7 = 0 ;
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 PyObject * obj2 = 0 ;
11194 PyObject * obj3 = 0 ;
11195 PyObject * obj4 = 0 ;
11196 PyObject * obj5 = 0 ;
11197 PyObject * obj6 = 0 ;
11198 char * kwnames[] = {
11199 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
11200 };
11201
11202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11204 if (!SWIG_IsOK(res1)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11206 }
11207 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11208 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11209 if (!SWIG_IsOK(res2)) {
11210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
11211 }
11212 if (!argp2) {
11213 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
11214 }
11215 arg2 = reinterpret_cast< wxDC * >(argp2);
11216 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11217 if (!SWIG_IsOK(res3)) {
11218 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
11219 }
11220 arg3 = reinterpret_cast< wxWindow * >(argp3);
11221 ecode4 = SWIG_AsVal_int(obj3, &val4);
11222 if (!SWIG_IsOK(ecode4)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
11224 }
11225 arg4 = static_cast< int >(val4);
11226 ecode5 = SWIG_AsVal_int(obj4, &val5);
11227 if (!SWIG_IsOK(ecode5)) {
11228 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
11229 }
11230 arg5 = static_cast< int >(val5);
11231 {
11232 arg6 = &temp6;
11233 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
11234 }
11235 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11236 if (!SWIG_IsOK(res7)) {
11237 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'");
11238 }
11239 if (!argp7) {
11240 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'");
11241 }
11242 arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7);
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
11246 wxPyEndAllowThreads(__tstate);
11247 if (PyErr_Occurred()) SWIG_fail;
11248 }
11249 resultobj = SWIG_Py_Void();
11250 return resultobj;
11251 fail:
11252 return NULL;
11253 }
11254
11255
11256 SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11257 PyObject *obj;
11258 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11259 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj));
11260 return SWIG_Py_Void();
11261 }
11262
11263 SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11264 PyObject *resultobj = 0;
11265 wxAuiDefaultDockArt *result = 0 ;
11266
11267 if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail;
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt();
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 );
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11282 PyObject *obj;
11283 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11284 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj));
11285 return SWIG_Py_Void();
11286 }
11287
11288 SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11289 return SWIG_Python_InitShadowInstance(args);
11290 }
11291
11292 SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj = 0;
11294 wxWindow *arg1 = (wxWindow *) 0 ;
11295 wxAuiManager *arg2 = (wxAuiManager *) 0 ;
11296 wxAuiPaneInfo *arg3 = 0 ;
11297 int arg4 = (int) wxID_ANY ;
11298 long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ;
11299 wxAuiFloatingFrame *result = 0 ;
11300 void *argp1 = 0 ;
11301 int res1 = 0 ;
11302 void *argp2 = 0 ;
11303 int res2 = 0 ;
11304 void *argp3 = 0 ;
11305 int res3 = 0 ;
11306 int val4 ;
11307 int ecode4 = 0 ;
11308 long val5 ;
11309 int ecode5 = 0 ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 PyObject * obj2 = 0 ;
11313 PyObject * obj3 = 0 ;
11314 PyObject * obj4 = 0 ;
11315 char * kwnames[] = {
11316 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL
11317 };
11318
11319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11321 if (!SWIG_IsOK(res1)) {
11322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
11323 }
11324 arg1 = reinterpret_cast< wxWindow * >(argp1);
11325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 );
11326 if (!SWIG_IsOK(res2)) {
11327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'");
11328 }
11329 arg2 = reinterpret_cast< wxAuiManager * >(argp2);
11330 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
11331 if (!SWIG_IsOK(res3)) {
11332 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
11333 }
11334 if (!argp3) {
11335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
11336 }
11337 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
11338 if (obj3) {
11339 ecode4 = SWIG_AsVal_int(obj3, &val4);
11340 if (!SWIG_IsOK(ecode4)) {
11341 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'");
11342 }
11343 arg4 = static_cast< int >(val4);
11344 }
11345 if (obj4) {
11346 ecode5 = SWIG_AsVal_long(obj4, &val5);
11347 if (!SWIG_IsOK(ecode5)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'");
11349 }
11350 arg5 = static_cast< long >(val5);
11351 }
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5);
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 );
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ;
11368 void *argp1 = 0 ;
11369 int res1 = 0 ;
11370 PyObject *swig_obj[1] ;
11371
11372 if (!args) SWIG_fail;
11373 swig_obj[0] = args;
11374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 );
11375 if (!SWIG_IsOK(res1)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'");
11377 }
11378 arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1);
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 delete arg1;
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj = 0;
11395 wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ;
11396 wxAuiPaneInfo *arg2 = 0 ;
11397 void *argp1 = 0 ;
11398 int res1 = 0 ;
11399 void *argp2 = 0 ;
11400 int res2 = 0 ;
11401 PyObject * obj0 = 0 ;
11402 PyObject * obj1 = 0 ;
11403 char * kwnames[] = {
11404 (char *) "self",(char *) "pane", NULL
11405 };
11406
11407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
11408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 );
11409 if (!SWIG_IsOK(res1)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'");
11411 }
11412 arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1);
11413 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
11414 if (!SWIG_IsOK(res2)) {
11415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'");
11416 }
11417 if (!argp2) {
11418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'");
11419 }
11420 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2);
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = SWIG_Py_Void();
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *obj;
11436 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11437 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj));
11438 return SWIG_Py_Void();
11439 }
11440
11441 SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11442 return SWIG_Python_InitShadowInstance(args);
11443 }
11444
11445 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj = 0;
11447 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11448 int arg2 = (int) 0 ;
11449 wxAuiNotebookEvent *result = 0 ;
11450 int val1 ;
11451 int ecode1 = 0 ;
11452 int val2 ;
11453 int ecode2 = 0 ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj1 = 0 ;
11456 char * kwnames[] = {
11457 (char *) "command_type",(char *) "win_id", NULL
11458 };
11459
11460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11461 if (obj0) {
11462 ecode1 = SWIG_AsVal_int(obj0, &val1);
11463 if (!SWIG_IsOK(ecode1)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11465 }
11466 arg1 = static_cast< wxEventType >(val1);
11467 }
11468 if (obj1) {
11469 ecode2 = SWIG_AsVal_int(obj1, &val2);
11470 if (!SWIG_IsOK(ecode2)) {
11471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
11472 }
11473 arg2 = static_cast< int >(val2);
11474 }
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj = 0;
11490 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11491 int arg2 ;
11492 void *argp1 = 0 ;
11493 int res1 = 0 ;
11494 int val2 ;
11495 int ecode2 = 0 ;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498 char * kwnames[] = {
11499 (char *) "self",(char *) "s", NULL
11500 };
11501
11502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11504 if (!SWIG_IsOK(res1)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11506 }
11507 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11508 ecode2 = SWIG_AsVal_int(obj1, &val2);
11509 if (!SWIG_IsOK(ecode2)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
11511 }
11512 arg2 = static_cast< int >(val2);
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 (arg1)->SetSelection(arg2);
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 resultobj = SWIG_Py_Void();
11520 return resultobj;
11521 fail:
11522 return NULL;
11523 }
11524
11525
11526 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11527 PyObject *resultobj = 0;
11528 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11529 int result;
11530 void *argp1 = 0 ;
11531 int res1 = 0 ;
11532 PyObject *swig_obj[1] ;
11533
11534 if (!args) SWIG_fail;
11535 swig_obj[0] = args;
11536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11537 if (!SWIG_IsOK(res1)) {
11538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11539 }
11540 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
11544 wxPyEndAllowThreads(__tstate);
11545 if (PyErr_Occurred()) SWIG_fail;
11546 }
11547 resultobj = SWIG_From_int(static_cast< int >(result));
11548 return resultobj;
11549 fail:
11550 return NULL;
11551 }
11552
11553
11554 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11555 PyObject *resultobj = 0;
11556 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11557 int arg2 ;
11558 void *argp1 = 0 ;
11559 int res1 = 0 ;
11560 int val2 ;
11561 int ecode2 = 0 ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 char * kwnames[] = {
11565 (char *) "self",(char *) "s", NULL
11566 };
11567
11568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11570 if (!SWIG_IsOK(res1)) {
11571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11572 }
11573 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11574 ecode2 = SWIG_AsVal_int(obj1, &val2);
11575 if (!SWIG_IsOK(ecode2)) {
11576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
11577 }
11578 arg2 = static_cast< int >(val2);
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 (arg1)->SetOldSelection(arg2);
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 resultobj = SWIG_Py_Void();
11586 return resultobj;
11587 fail:
11588 return NULL;
11589 }
11590
11591
11592 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11593 PyObject *resultobj = 0;
11594 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11595 int result;
11596 void *argp1 = 0 ;
11597 int res1 = 0 ;
11598 PyObject *swig_obj[1] ;
11599
11600 if (!args) SWIG_fail;
11601 swig_obj[0] = args;
11602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11603 if (!SWIG_IsOK(res1)) {
11604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11605 }
11606 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 resultobj = SWIG_From_int(static_cast< int >(result));
11614 return resultobj;
11615 fail:
11616 return NULL;
11617 }
11618
11619
11620 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj = 0;
11622 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11623 wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ;
11624 void *argp1 = 0 ;
11625 int res1 = 0 ;
11626 void *argp2 = 0 ;
11627 int res2 = 0 ;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 char * kwnames[] = {
11631 (char *) "self",(char *) "s", NULL
11632 };
11633
11634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail;
11635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11636 if (!SWIG_IsOK(res1)) {
11637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11638 }
11639 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11640 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
11641 if (!SWIG_IsOK(res2)) {
11642 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'");
11643 }
11644 arg2 = reinterpret_cast< wxAuiNotebook * >(argp2);
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 (arg1)->SetDragSource(arg2);
11648 wxPyEndAllowThreads(__tstate);
11649 if (PyErr_Occurred()) SWIG_fail;
11650 }
11651 resultobj = SWIG_Py_Void();
11652 return resultobj;
11653 fail:
11654 return NULL;
11655 }
11656
11657
11658 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11659 PyObject *resultobj = 0;
11660 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11661 wxAuiNotebook *result = 0 ;
11662 void *argp1 = 0 ;
11663 int res1 = 0 ;
11664 PyObject *swig_obj[1] ;
11665
11666 if (!args) SWIG_fail;
11667 swig_obj[0] = args;
11668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11669 if (!SWIG_IsOK(res1)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11671 }
11672 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource();
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
11680 return resultobj;
11681 fail:
11682 return NULL;
11683 }
11684
11685
11686 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11687 PyObject *resultobj = 0;
11688 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11689 int arg2 ;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 int val2 ;
11693 int ecode2 = 0 ;
11694 PyObject *swig_obj[2] ;
11695
11696 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11702 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11703 if (!SWIG_IsOK(ecode2)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
11705 }
11706 arg2 = static_cast< int >(val2);
11707 if (arg1) (arg1)->old_selection = arg2;
11708
11709 resultobj = SWIG_Py_Void();
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11717 PyObject *resultobj = 0;
11718 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11719 int result;
11720 void *argp1 = 0 ;
11721 int res1 = 0 ;
11722 PyObject *swig_obj[1] ;
11723
11724 if (!args) SWIG_fail;
11725 swig_obj[0] = args;
11726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11727 if (!SWIG_IsOK(res1)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11729 }
11730 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11731 result = (int) ((arg1)->old_selection);
11732 resultobj = SWIG_From_int(static_cast< int >(result));
11733 return resultobj;
11734 fail:
11735 return NULL;
11736 }
11737
11738
11739 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11740 PyObject *resultobj = 0;
11741 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11742 int arg2 ;
11743 void *argp1 = 0 ;
11744 int res1 = 0 ;
11745 int val2 ;
11746 int ecode2 = 0 ;
11747 PyObject *swig_obj[2] ;
11748
11749 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
11750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11751 if (!SWIG_IsOK(res1)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11753 }
11754 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11755 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11756 if (!SWIG_IsOK(ecode2)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
11758 }
11759 arg2 = static_cast< int >(val2);
11760 if (arg1) (arg1)->selection = arg2;
11761
11762 resultobj = SWIG_Py_Void();
11763 return resultobj;
11764 fail:
11765 return NULL;
11766 }
11767
11768
11769 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11770 PyObject *resultobj = 0;
11771 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11772 int result;
11773 void *argp1 = 0 ;
11774 int res1 = 0 ;
11775 PyObject *swig_obj[1] ;
11776
11777 if (!args) SWIG_fail;
11778 swig_obj[0] = args;
11779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11780 if (!SWIG_IsOK(res1)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11782 }
11783 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11784 result = (int) ((arg1)->selection);
11785 resultobj = SWIG_From_int(static_cast< int >(result));
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11793 PyObject *resultobj = 0;
11794 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11795 wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ;
11796 void *argp1 = 0 ;
11797 int res1 = 0 ;
11798 void *argp2 = 0 ;
11799 int res2 = 0 ;
11800 PyObject *swig_obj[2] ;
11801
11802 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail;
11803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11804 if (!SWIG_IsOK(res1)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11806 }
11807 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11808 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 );
11809 if (!SWIG_IsOK(res2)) {
11810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'");
11811 }
11812 arg2 = reinterpret_cast< wxAuiNotebook * >(argp2);
11813 if (arg1) (arg1)->drag_source = arg2;
11814
11815 resultobj = SWIG_Py_Void();
11816 return resultobj;
11817 fail:
11818 return NULL;
11819 }
11820
11821
11822 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11823 PyObject *resultobj = 0;
11824 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11825 wxAuiNotebook *result = 0 ;
11826 void *argp1 = 0 ;
11827 int res1 = 0 ;
11828 PyObject *swig_obj[1] ;
11829
11830 if (!args) SWIG_fail;
11831 swig_obj[0] = args;
11832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11833 if (!SWIG_IsOK(res1)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11835 }
11836 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11837 result = (wxAuiNotebook *) ((arg1)->drag_source);
11838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11846 PyObject *obj;
11847 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11848 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
11849 return SWIG_Py_Void();
11850 }
11851
11852 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11853 return SWIG_Python_InitShadowInstance(args);
11854 }
11855
11856 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11857 PyObject *resultobj = 0;
11858 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11859 wxWindow *arg2 = (wxWindow *) 0 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 void *argp2 = 0 ;
11863 int res2 = 0 ;
11864 PyObject *swig_obj[2] ;
11865
11866 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
11867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11868 if (!SWIG_IsOK(res1)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11870 }
11871 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11872 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
11873 if (!SWIG_IsOK(res2)) {
11874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
11875 }
11876 arg2 = reinterpret_cast< wxWindow * >(argp2);
11877 if (arg1) (arg1)->window = arg2;
11878
11879 resultobj = SWIG_Py_Void();
11880 return resultobj;
11881 fail:
11882 return NULL;
11883 }
11884
11885
11886 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11887 PyObject *resultobj = 0;
11888 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11889 wxWindow *result = 0 ;
11890 void *argp1 = 0 ;
11891 int res1 = 0 ;
11892 PyObject *swig_obj[1] ;
11893
11894 if (!args) SWIG_fail;
11895 swig_obj[0] = args;
11896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11897 if (!SWIG_IsOK(res1)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11899 }
11900 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11901 result = (wxWindow *) ((arg1)->window);
11902 {
11903 resultobj = wxPyMake_wxObject(result, 0);
11904 }
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11912 PyObject *resultobj = 0;
11913 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11914 wxString *arg2 = (wxString *) 0 ;
11915 void *argp1 = 0 ;
11916 int res1 = 0 ;
11917 bool temp2 = false ;
11918 PyObject *swig_obj[2] ;
11919
11920 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
11921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11922 if (!SWIG_IsOK(res1)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11924 }
11925 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11926 {
11927 arg2 = wxString_in_helper(swig_obj[1]);
11928 if (arg2 == NULL) SWIG_fail;
11929 temp2 = true;
11930 }
11931 if (arg1) (arg1)->caption = *arg2;
11932
11933 resultobj = SWIG_Py_Void();
11934 {
11935 if (temp2)
11936 delete arg2;
11937 }
11938 return resultobj;
11939 fail:
11940 {
11941 if (temp2)
11942 delete arg2;
11943 }
11944 return NULL;
11945 }
11946
11947
11948 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11949 PyObject *resultobj = 0;
11950 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11951 wxString *result = 0 ;
11952 void *argp1 = 0 ;
11953 int res1 = 0 ;
11954 PyObject *swig_obj[1] ;
11955
11956 if (!args) SWIG_fail;
11957 swig_obj[0] = args;
11958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11959 if (!SWIG_IsOK(res1)) {
11960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11961 }
11962 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11963 result = (wxString *)& ((arg1)->caption);
11964 {
11965 #if wxUSE_UNICODE
11966 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11967 #else
11968 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11969 #endif
11970 }
11971 return resultobj;
11972 fail:
11973 return NULL;
11974 }
11975
11976
11977 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11978 PyObject *resultobj = 0;
11979 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11980 wxBitmap *arg2 = (wxBitmap *) 0 ;
11981 void *argp1 = 0 ;
11982 int res1 = 0 ;
11983 void *argp2 = 0 ;
11984 int res2 = 0 ;
11985 PyObject *swig_obj[2] ;
11986
11987 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
11988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11989 if (!SWIG_IsOK(res1)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11991 }
11992 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11993 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11994 if (!SWIG_IsOK(res2)) {
11995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11996 }
11997 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11998 if (arg1) (arg1)->bitmap = *arg2;
11999
12000 resultobj = SWIG_Py_Void();
12001 return resultobj;
12002 fail:
12003 return NULL;
12004 }
12005
12006
12007 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12008 PyObject *resultobj = 0;
12009 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12010 wxBitmap *result = 0 ;
12011 void *argp1 = 0 ;
12012 int res1 = 0 ;
12013 PyObject *swig_obj[1] ;
12014
12015 if (!args) SWIG_fail;
12016 swig_obj[0] = args;
12017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12018 if (!SWIG_IsOK(res1)) {
12019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12020 }
12021 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12022 result = (wxBitmap *)& ((arg1)->bitmap);
12023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 PyObject *resultobj = 0;
12032 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12033 wxRect *arg2 = (wxRect *) 0 ;
12034 void *argp1 = 0 ;
12035 int res1 = 0 ;
12036 void *argp2 = 0 ;
12037 int res2 = 0 ;
12038 PyObject *swig_obj[2] ;
12039
12040 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
12041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12042 if (!SWIG_IsOK(res1)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12044 }
12045 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12046 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12047 if (!SWIG_IsOK(res2)) {
12048 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12049 }
12050 arg2 = reinterpret_cast< wxRect * >(argp2);
12051 if (arg1) (arg1)->rect = *arg2;
12052
12053 resultobj = SWIG_Py_Void();
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12061 PyObject *resultobj = 0;
12062 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12063 wxRect *result = 0 ;
12064 void *argp1 = 0 ;
12065 int res1 = 0 ;
12066 PyObject *swig_obj[1] ;
12067
12068 if (!args) SWIG_fail;
12069 swig_obj[0] = args;
12070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12071 if (!SWIG_IsOK(res1)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12073 }
12074 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12075 result = (wxRect *)& ((arg1)->rect);
12076 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12077 return resultobj;
12078 fail:
12079 return NULL;
12080 }
12081
12082
12083 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12084 PyObject *resultobj = 0;
12085 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12086 bool arg2 ;
12087 void *argp1 = 0 ;
12088 int res1 = 0 ;
12089 bool val2 ;
12090 int ecode2 = 0 ;
12091 PyObject *swig_obj[2] ;
12092
12093 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
12094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12095 if (!SWIG_IsOK(res1)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12097 }
12098 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12099 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
12100 if (!SWIG_IsOK(ecode2)) {
12101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
12102 }
12103 arg2 = static_cast< bool >(val2);
12104 if (arg1) (arg1)->active = arg2;
12105
12106 resultobj = SWIG_Py_Void();
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12114 PyObject *resultobj = 0;
12115 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12116 bool result;
12117 void *argp1 = 0 ;
12118 int res1 = 0 ;
12119 PyObject *swig_obj[1] ;
12120
12121 if (!args) SWIG_fail;
12122 swig_obj[0] = args;
12123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12124 if (!SWIG_IsOK(res1)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12126 }
12127 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12128 result = (bool) ((arg1)->active);
12129 {
12130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12131 }
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12139 PyObject *obj;
12140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12141 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
12142 return SWIG_Py_Void();
12143 }
12144
12145 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12146 PyObject *resultobj = 0;
12147 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12148 int arg2 ;
12149 void *argp1 = 0 ;
12150 int res1 = 0 ;
12151 int val2 ;
12152 int ecode2 = 0 ;
12153 PyObject *swig_obj[2] ;
12154
12155 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
12156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12157 if (!SWIG_IsOK(res1)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12159 }
12160 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12161 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12162 if (!SWIG_IsOK(ecode2)) {
12163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
12164 }
12165 arg2 = static_cast< int >(val2);
12166 if (arg1) (arg1)->id = arg2;
12167
12168 resultobj = SWIG_Py_Void();
12169 return resultobj;
12170 fail:
12171 return NULL;
12172 }
12173
12174
12175 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12176 PyObject *resultobj = 0;
12177 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12178 int result;
12179 void *argp1 = 0 ;
12180 int res1 = 0 ;
12181 PyObject *swig_obj[1] ;
12182
12183 if (!args) SWIG_fail;
12184 swig_obj[0] = args;
12185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12186 if (!SWIG_IsOK(res1)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12188 }
12189 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12190 result = (int) ((arg1)->id);
12191 resultobj = SWIG_From_int(static_cast< int >(result));
12192 return resultobj;
12193 fail:
12194 return NULL;
12195 }
12196
12197
12198 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12199 PyObject *resultobj = 0;
12200 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12201 int arg2 ;
12202 void *argp1 = 0 ;
12203 int res1 = 0 ;
12204 int val2 ;
12205 int ecode2 = 0 ;
12206 PyObject *swig_obj[2] ;
12207
12208 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
12209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12212 }
12213 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12214 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12215 if (!SWIG_IsOK(ecode2)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
12217 }
12218 arg2 = static_cast< int >(val2);
12219 if (arg1) (arg1)->cur_state = arg2;
12220
12221 resultobj = SWIG_Py_Void();
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12229 PyObject *resultobj = 0;
12230 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12231 int result;
12232 void *argp1 = 0 ;
12233 int res1 = 0 ;
12234 PyObject *swig_obj[1] ;
12235
12236 if (!args) SWIG_fail;
12237 swig_obj[0] = args;
12238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12239 if (!SWIG_IsOK(res1)) {
12240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12241 }
12242 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12243 result = (int) ((arg1)->cur_state);
12244 resultobj = SWIG_From_int(static_cast< int >(result));
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12252 PyObject *resultobj = 0;
12253 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12254 int arg2 ;
12255 void *argp1 = 0 ;
12256 int res1 = 0 ;
12257 int val2 ;
12258 int ecode2 = 0 ;
12259 PyObject *swig_obj[2] ;
12260
12261 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail;
12262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12263 if (!SWIG_IsOK(res1)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12265 }
12266 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12267 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12268 if (!SWIG_IsOK(ecode2)) {
12269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'");
12270 }
12271 arg2 = static_cast< int >(val2);
12272 if (arg1) (arg1)->location = arg2;
12273
12274 resultobj = SWIG_Py_Void();
12275 return resultobj;
12276 fail:
12277 return NULL;
12278 }
12279
12280
12281 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12282 PyObject *resultobj = 0;
12283 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12284 int result;
12285 void *argp1 = 0 ;
12286 int res1 = 0 ;
12287 PyObject *swig_obj[1] ;
12288
12289 if (!args) SWIG_fail;
12290 swig_obj[0] = args;
12291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12292 if (!SWIG_IsOK(res1)) {
12293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12294 }
12295 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12296 result = (int) ((arg1)->location);
12297 resultobj = SWIG_From_int(static_cast< int >(result));
12298 return resultobj;
12299 fail:
12300 return NULL;
12301 }
12302
12303
12304 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12305 PyObject *resultobj = 0;
12306 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12307 wxBitmap *arg2 = (wxBitmap *) 0 ;
12308 void *argp1 = 0 ;
12309 int res1 = 0 ;
12310 void *argp2 = 0 ;
12311 int res2 = 0 ;
12312 PyObject *swig_obj[2] ;
12313
12314 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
12315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12318 }
12319 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12320 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12321 if (!SWIG_IsOK(res2)) {
12322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12323 }
12324 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12325 if (arg1) (arg1)->bitmap = *arg2;
12326
12327 resultobj = SWIG_Py_Void();
12328 return resultobj;
12329 fail:
12330 return NULL;
12331 }
12332
12333
12334 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12335 PyObject *resultobj = 0;
12336 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12337 wxBitmap *result = 0 ;
12338 void *argp1 = 0 ;
12339 int res1 = 0 ;
12340 PyObject *swig_obj[1] ;
12341
12342 if (!args) SWIG_fail;
12343 swig_obj[0] = args;
12344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12345 if (!SWIG_IsOK(res1)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12347 }
12348 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12349 result = (wxBitmap *)& ((arg1)->bitmap);
12350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12358 PyObject *resultobj = 0;
12359 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12360 wxBitmap *arg2 = (wxBitmap *) 0 ;
12361 void *argp1 = 0 ;
12362 int res1 = 0 ;
12363 void *argp2 = 0 ;
12364 int res2 = 0 ;
12365 PyObject *swig_obj[2] ;
12366
12367 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail;
12368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12369 if (!SWIG_IsOK(res1)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12371 }
12372 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12373 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12374 if (!SWIG_IsOK(res2)) {
12375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12376 }
12377 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12378 if (arg1) (arg1)->dis_bitmap = *arg2;
12379
12380 resultobj = SWIG_Py_Void();
12381 return resultobj;
12382 fail:
12383 return NULL;
12384 }
12385
12386
12387 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12388 PyObject *resultobj = 0;
12389 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12390 wxBitmap *result = 0 ;
12391 void *argp1 = 0 ;
12392 int res1 = 0 ;
12393 PyObject *swig_obj[1] ;
12394
12395 if (!args) SWIG_fail;
12396 swig_obj[0] = args;
12397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12398 if (!SWIG_IsOK(res1)) {
12399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12400 }
12401 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12402 result = (wxBitmap *)& ((arg1)->dis_bitmap);
12403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12411 PyObject *resultobj = 0;
12412 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12413 wxRect *arg2 = (wxRect *) 0 ;
12414 void *argp1 = 0 ;
12415 int res1 = 0 ;
12416 void *argp2 = 0 ;
12417 int res2 = 0 ;
12418 PyObject *swig_obj[2] ;
12419
12420 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
12421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12422 if (!SWIG_IsOK(res1)) {
12423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12424 }
12425 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12426 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12427 if (!SWIG_IsOK(res2)) {
12428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12429 }
12430 arg2 = reinterpret_cast< wxRect * >(argp2);
12431 if (arg1) (arg1)->rect = *arg2;
12432
12433 resultobj = SWIG_Py_Void();
12434 return resultobj;
12435 fail:
12436 return NULL;
12437 }
12438
12439
12440 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12441 PyObject *resultobj = 0;
12442 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12443 wxRect *result = 0 ;
12444 void *argp1 = 0 ;
12445 int res1 = 0 ;
12446 PyObject *swig_obj[1] ;
12447
12448 if (!args) SWIG_fail;
12449 swig_obj[0] = args;
12450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12451 if (!SWIG_IsOK(res1)) {
12452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12453 }
12454 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12455 result = (wxRect *)& ((arg1)->rect);
12456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12464 PyObject *obj;
12465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12466 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
12467 return SWIG_Py_Void();
12468 }
12469
12470 SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12471 PyObject *resultobj = 0;
12472 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12473 void *argp1 = 0 ;
12474 int res1 = 0 ;
12475 PyObject *swig_obj[1] ;
12476
12477 if (!args) SWIG_fail;
12478 swig_obj[0] = args;
12479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 );
12480 if (!SWIG_IsOK(res1)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12482 }
12483 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 delete arg1;
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 resultobj = SWIG_Py_Void();
12492 return resultobj;
12493 fail:
12494 return NULL;
12495 }
12496
12497
12498 SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12499 PyObject *resultobj = 0;
12500 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12501 wxAuiTabArt *result = 0 ;
12502 void *argp1 = 0 ;
12503 int res1 = 0 ;
12504 PyObject *swig_obj[1] ;
12505
12506 if (!args) SWIG_fail;
12507 swig_obj[0] = args;
12508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12509 if (!SWIG_IsOK(res1)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12511 }
12512 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12513 {
12514 PyThreadState* __tstate = wxPyBeginAllowThreads();
12515 result = (wxAuiTabArt *)(arg1)->Clone();
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj = 0;
12528 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12529 int arg2 ;
12530 void *argp1 = 0 ;
12531 int res1 = 0 ;
12532 int val2 ;
12533 int ecode2 = 0 ;
12534 PyObject * obj0 = 0 ;
12535 PyObject * obj1 = 0 ;
12536 char * kwnames[] = {
12537 (char *) "self",(char *) "flags", NULL
12538 };
12539
12540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12542 if (!SWIG_IsOK(res1)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12544 }
12545 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12546 ecode2 = SWIG_AsVal_int(obj1, &val2);
12547 if (!SWIG_IsOK(ecode2)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'");
12549 }
12550 arg2 = static_cast< int >(val2);
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 (arg1)->SetFlags(arg2);
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 resultobj = SWIG_Py_Void();
12558 return resultobj;
12559 fail:
12560 return NULL;
12561 }
12562
12563
12564 SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj = 0;
12566 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12567 wxSize *arg2 = 0 ;
12568 size_t arg3 ;
12569 void *argp1 = 0 ;
12570 int res1 = 0 ;
12571 wxSize temp2 ;
12572 size_t val3 ;
12573 int ecode3 = 0 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 PyObject * obj2 = 0 ;
12577 char * kwnames[] = {
12578 (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL
12579 };
12580
12581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12583 if (!SWIG_IsOK(res1)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12585 }
12586 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12587 {
12588 arg2 = &temp2;
12589 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12590 }
12591 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
12592 if (!SWIG_IsOK(ecode3)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'");
12594 }
12595 arg3 = static_cast< size_t >(val3);
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3);
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_Py_Void();
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj = 0;
12611 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12612 wxFont *arg2 = 0 ;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 void *argp2 = 0 ;
12616 int res2 = 0 ;
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
12619 char * kwnames[] = {
12620 (char *) "self",(char *) "font", NULL
12621 };
12622
12623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
12624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12625 if (!SWIG_IsOK(res1)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12627 }
12628 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12630 if (!SWIG_IsOK(res2)) {
12631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12632 }
12633 if (!argp2) {
12634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12635 }
12636 arg2 = reinterpret_cast< wxFont * >(argp2);
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 (arg1)->SetNormalFont((wxFont const &)*arg2);
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = SWIG_Py_Void();
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj = 0;
12652 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12653 wxFont *arg2 = 0 ;
12654 void *argp1 = 0 ;
12655 int res1 = 0 ;
12656 void *argp2 = 0 ;
12657 int res2 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 char * kwnames[] = {
12661 (char *) "self",(char *) "font", NULL
12662 };
12663
12664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
12665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12666 if (!SWIG_IsOK(res1)) {
12667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12668 }
12669 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12670 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12671 if (!SWIG_IsOK(res2)) {
12672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12673 }
12674 if (!argp2) {
12675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12676 }
12677 arg2 = reinterpret_cast< wxFont * >(argp2);
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 (arg1)->SetSelectedFont((wxFont const &)*arg2);
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_Py_Void();
12685 return resultobj;
12686 fail:
12687 return NULL;
12688 }
12689
12690
12691 SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12692 PyObject *resultobj = 0;
12693 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12694 wxFont *arg2 = 0 ;
12695 void *argp1 = 0 ;
12696 int res1 = 0 ;
12697 void *argp2 = 0 ;
12698 int res2 = 0 ;
12699 PyObject * obj0 = 0 ;
12700 PyObject * obj1 = 0 ;
12701 char * kwnames[] = {
12702 (char *) "self",(char *) "font", NULL
12703 };
12704
12705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
12706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12707 if (!SWIG_IsOK(res1)) {
12708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12709 }
12710 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12711 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12712 if (!SWIG_IsOK(res2)) {
12713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12714 }
12715 if (!argp2) {
12716 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12717 }
12718 arg2 = reinterpret_cast< wxFont * >(argp2);
12719 {
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_Py_Void();
12726 return resultobj;
12727 fail:
12728 return NULL;
12729 }
12730
12731
12732 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj = 0;
12734 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12735 wxDC *arg2 = 0 ;
12736 wxWindow *arg3 = (wxWindow *) 0 ;
12737 wxRect *arg4 = 0 ;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 void *argp2 = 0 ;
12741 int res2 = 0 ;
12742 void *argp3 = 0 ;
12743 int res3 = 0 ;
12744 wxRect temp4 ;
12745 PyObject * obj0 = 0 ;
12746 PyObject * obj1 = 0 ;
12747 PyObject * obj2 = 0 ;
12748 PyObject * obj3 = 0 ;
12749 char * kwnames[] = {
12750 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL
12751 };
12752
12753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12755 if (!SWIG_IsOK(res1)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12757 }
12758 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12759 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
12760 if (!SWIG_IsOK(res2)) {
12761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
12762 }
12763 if (!argp2) {
12764 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
12765 }
12766 arg2 = reinterpret_cast< wxDC * >(argp2);
12767 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12768 if (!SWIG_IsOK(res3)) {
12769 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
12770 }
12771 arg3 = reinterpret_cast< wxWindow * >(argp3);
12772 {
12773 arg4 = &temp4;
12774 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4);
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 resultobj = SWIG_Py_Void();
12783 return resultobj;
12784 fail:
12785 return NULL;
12786 }
12787
12788
12789 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj = 0;
12791 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12792 wxDC *arg2 = 0 ;
12793 wxWindow *arg3 = (wxWindow *) 0 ;
12794 wxRect *arg4 = 0 ;
12795 wxString *arg5 = 0 ;
12796 wxBitmap *arg6 = 0 ;
12797 bool arg7 ;
12798 int arg8 ;
12799 wxRect *arg9 = (wxRect *) 0 ;
12800 wxRect *arg10 = (wxRect *) 0 ;
12801 int *arg11 = (int *) 0 ;
12802 void *argp1 = 0 ;
12803 int res1 = 0 ;
12804 void *argp2 = 0 ;
12805 int res2 = 0 ;
12806 void *argp3 = 0 ;
12807 int res3 = 0 ;
12808 wxRect temp4 ;
12809 bool temp5 = false ;
12810 void *argp6 = 0 ;
12811 int res6 = 0 ;
12812 bool val7 ;
12813 int ecode7 = 0 ;
12814 int val8 ;
12815 int ecode8 = 0 ;
12816 void *argp9 = 0 ;
12817 int res9 = 0 ;
12818 void *argp10 = 0 ;
12819 int res10 = 0 ;
12820 void *argp11 = 0 ;
12821 int res11 = 0 ;
12822 PyObject * obj0 = 0 ;
12823 PyObject * obj1 = 0 ;
12824 PyObject * obj2 = 0 ;
12825 PyObject * obj3 = 0 ;
12826 PyObject * obj4 = 0 ;
12827 PyObject * obj5 = 0 ;
12828 PyObject * obj6 = 0 ;
12829 PyObject * obj7 = 0 ;
12830 PyObject * obj8 = 0 ;
12831 PyObject * obj9 = 0 ;
12832 PyObject * obj10 = 0 ;
12833 char * kwnames[] = {
12834 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "out_tab_rect",(char *) "out_button_rect",(char *) "x_extent", NULL
12835 };
12836
12837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
12838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12839 if (!SWIG_IsOK(res1)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12841 }
12842 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12843 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
12844 if (!SWIG_IsOK(res2)) {
12845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'");
12846 }
12847 if (!argp2) {
12848 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'");
12849 }
12850 arg2 = reinterpret_cast< wxDC * >(argp2);
12851 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12852 if (!SWIG_IsOK(res3)) {
12853 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'");
12854 }
12855 arg3 = reinterpret_cast< wxWindow * >(argp3);
12856 {
12857 arg4 = &temp4;
12858 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12859 }
12860 {
12861 arg5 = wxString_in_helper(obj4);
12862 if (arg5 == NULL) SWIG_fail;
12863 temp5 = true;
12864 }
12865 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
12866 if (!SWIG_IsOK(res6)) {
12867 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12868 }
12869 if (!argp6) {
12870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12871 }
12872 arg6 = reinterpret_cast< wxBitmap * >(argp6);
12873 ecode7 = SWIG_AsVal_bool(obj6, &val7);
12874 if (!SWIG_IsOK(ecode7)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "bool""'");
12876 }
12877 arg7 = static_cast< bool >(val7);
12878 ecode8 = SWIG_AsVal_int(obj7, &val8);
12879 if (!SWIG_IsOK(ecode8)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "int""'");
12881 }
12882 arg8 = static_cast< int >(val8);
12883 res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 );
12884 if (!SWIG_IsOK(res9)) {
12885 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'");
12886 }
12887 arg9 = reinterpret_cast< wxRect * >(argp9);
12888 res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_wxRect, 0 | 0 );
12889 if (!SWIG_IsOK(res10)) {
12890 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "wxRect *""'");
12891 }
12892 arg10 = reinterpret_cast< wxRect * >(argp10);
12893 res11 = SWIG_ConvertPtr(obj10, &argp11,SWIGTYPE_p_int, 0 | 0 );
12894 if (!SWIG_IsOK(res11)) {
12895 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "AuiTabArt_DrawTab" "', expected argument " "11"" of type '" "int *""'");
12896 }
12897 arg11 = reinterpret_cast< int * >(argp11);
12898 {
12899 PyThreadState* __tstate = wxPyBeginAllowThreads();
12900 (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,(wxBitmap const &)*arg6,arg7,arg8,arg9,arg10,arg11);
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 resultobj = SWIG_Py_Void();
12905 {
12906 if (temp5)
12907 delete arg5;
12908 }
12909 return resultobj;
12910 fail:
12911 {
12912 if (temp5)
12913 delete arg5;
12914 }
12915 return NULL;
12916 }
12917
12918
12919 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj = 0;
12921 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12922 wxDC *arg2 = 0 ;
12923 wxWindow *arg3 = (wxWindow *) 0 ;
12924 wxRect *arg4 = 0 ;
12925 int arg5 ;
12926 int arg6 ;
12927 int arg7 ;
12928 wxBitmap *arg8 = 0 ;
12929 wxRect *arg9 = (wxRect *) 0 ;
12930 void *argp1 = 0 ;
12931 int res1 = 0 ;
12932 void *argp2 = 0 ;
12933 int res2 = 0 ;
12934 void *argp3 = 0 ;
12935 int res3 = 0 ;
12936 wxRect temp4 ;
12937 int val5 ;
12938 int ecode5 = 0 ;
12939 int val6 ;
12940 int ecode6 = 0 ;
12941 int val7 ;
12942 int ecode7 = 0 ;
12943 void *argp8 = 0 ;
12944 int res8 = 0 ;
12945 void *argp9 = 0 ;
12946 int res9 = 0 ;
12947 PyObject * obj0 = 0 ;
12948 PyObject * obj1 = 0 ;
12949 PyObject * obj2 = 0 ;
12950 PyObject * obj3 = 0 ;
12951 PyObject * obj4 = 0 ;
12952 PyObject * obj5 = 0 ;
12953 PyObject * obj6 = 0 ;
12954 PyObject * obj7 = 0 ;
12955 PyObject * obj8 = 0 ;
12956 char * kwnames[] = {
12957 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL
12958 };
12959
12960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
12961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12962 if (!SWIG_IsOK(res1)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12964 }
12965 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12966 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
12967 if (!SWIG_IsOK(res2)) {
12968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'");
12969 }
12970 if (!argp2) {
12971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'");
12972 }
12973 arg2 = reinterpret_cast< wxDC * >(argp2);
12974 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12975 if (!SWIG_IsOK(res3)) {
12976 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'");
12977 }
12978 arg3 = reinterpret_cast< wxWindow * >(argp3);
12979 {
12980 arg4 = &temp4;
12981 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
12982 }
12983 ecode5 = SWIG_AsVal_int(obj4, &val5);
12984 if (!SWIG_IsOK(ecode5)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'");
12986 }
12987 arg5 = static_cast< int >(val5);
12988 ecode6 = SWIG_AsVal_int(obj5, &val6);
12989 if (!SWIG_IsOK(ecode6)) {
12990 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'");
12991 }
12992 arg6 = static_cast< int >(val6);
12993 ecode7 = SWIG_AsVal_int(obj6, &val7);
12994 if (!SWIG_IsOK(ecode7)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'");
12996 }
12997 arg7 = static_cast< int >(val7);
12998 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0);
12999 if (!SWIG_IsOK(res8)) {
13000 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'");
13001 }
13002 if (!argp8) {
13003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'");
13004 }
13005 arg8 = reinterpret_cast< wxBitmap * >(argp8);
13006 res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 );
13007 if (!SWIG_IsOK(res9)) {
13008 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'");
13009 }
13010 arg9 = reinterpret_cast< wxRect * >(argp9);
13011 {
13012 PyThreadState* __tstate = wxPyBeginAllowThreads();
13013 (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9);
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_Py_Void();
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13025 PyObject *resultobj = 0;
13026 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13027 int result;
13028 void *argp1 = 0 ;
13029 int res1 = 0 ;
13030 PyObject *swig_obj[1] ;
13031
13032 if (!args) SWIG_fail;
13033 swig_obj[0] = args;
13034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13035 if (!SWIG_IsOK(res1)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13037 }
13038 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (int)(arg1)->GetIndentSize();
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = SWIG_From_int(static_cast< int >(result));
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj = 0;
13054 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13055 wxDC *arg2 = 0 ;
13056 wxWindow *arg3 = (wxWindow *) 0 ;
13057 wxString *arg4 = 0 ;
13058 wxBitmap *arg5 = 0 ;
13059 bool arg6 ;
13060 int arg7 ;
13061 int *arg8 = (int *) 0 ;
13062 wxSize result;
13063 void *argp1 = 0 ;
13064 int res1 = 0 ;
13065 void *argp2 = 0 ;
13066 int res2 = 0 ;
13067 void *argp3 = 0 ;
13068 int res3 = 0 ;
13069 bool temp4 = false ;
13070 void *argp5 = 0 ;
13071 int res5 = 0 ;
13072 bool val6 ;
13073 int ecode6 = 0 ;
13074 int val7 ;
13075 int ecode7 = 0 ;
13076 void *argp8 = 0 ;
13077 int res8 = 0 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 PyObject * obj2 = 0 ;
13081 PyObject * obj3 = 0 ;
13082 PyObject * obj4 = 0 ;
13083 PyObject * obj5 = 0 ;
13084 PyObject * obj6 = 0 ;
13085 PyObject * obj7 = 0 ;
13086 char * kwnames[] = {
13087 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL
13088 };
13089
13090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
13091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13092 if (!SWIG_IsOK(res1)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13094 }
13095 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
13097 if (!SWIG_IsOK(res2)) {
13098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'");
13099 }
13100 if (!argp2) {
13101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'");
13102 }
13103 arg2 = reinterpret_cast< wxDC * >(argp2);
13104 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13105 if (!SWIG_IsOK(res3)) {
13106 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'");
13107 }
13108 arg3 = reinterpret_cast< wxWindow * >(argp3);
13109 {
13110 arg4 = wxString_in_helper(obj3);
13111 if (arg4 == NULL) SWIG_fail;
13112 temp4 = true;
13113 }
13114 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
13115 if (!SWIG_IsOK(res5)) {
13116 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13117 }
13118 if (!argp5) {
13119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13120 }
13121 arg5 = reinterpret_cast< wxBitmap * >(argp5);
13122 ecode6 = SWIG_AsVal_bool(obj5, &val6);
13123 if (!SWIG_IsOK(ecode6)) {
13124 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'");
13125 }
13126 arg6 = static_cast< bool >(val6);
13127 ecode7 = SWIG_AsVal_int(obj6, &val7);
13128 if (!SWIG_IsOK(ecode7)) {
13129 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'");
13130 }
13131 arg7 = static_cast< int >(val7);
13132 res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 );
13133 if (!SWIG_IsOK(res8)) {
13134 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'");
13135 }
13136 arg8 = reinterpret_cast< int * >(argp8);
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8);
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
13144 {
13145 if (temp4)
13146 delete arg4;
13147 }
13148 return resultobj;
13149 fail:
13150 {
13151 if (temp4)
13152 delete arg4;
13153 }
13154 return NULL;
13155 }
13156
13157
13158 SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj = 0;
13160 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13161 wxWindow *arg2 = (wxWindow *) 0 ;
13162 wxArrayString *arg3 = 0 ;
13163 int arg4 ;
13164 int result;
13165 void *argp1 = 0 ;
13166 int res1 = 0 ;
13167 void *argp2 = 0 ;
13168 int res2 = 0 ;
13169 bool temp3 = false ;
13170 int val4 ;
13171 int ecode4 = 0 ;
13172 PyObject * obj0 = 0 ;
13173 PyObject * obj1 = 0 ;
13174 PyObject * obj2 = 0 ;
13175 PyObject * obj3 = 0 ;
13176 char * kwnames[] = {
13177 (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL
13178 };
13179
13180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13182 if (!SWIG_IsOK(res1)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13184 }
13185 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13187 if (!SWIG_IsOK(res2)) {
13188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'");
13189 }
13190 arg2 = reinterpret_cast< wxWindow * >(argp2);
13191 {
13192 if (! PySequence_Check(obj2)) {
13193 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13194 SWIG_fail;
13195 }
13196 arg3 = new wxArrayString;
13197 temp3 = true;
13198 int i, len=PySequence_Length(obj2);
13199 for (i=0; i<len; i++) {
13200 PyObject* item = PySequence_GetItem(obj2, i);
13201 wxString* s = wxString_in_helper(item);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 arg3->Add(*s);
13204 delete s;
13205 Py_DECREF(item);
13206 }
13207 }
13208 ecode4 = SWIG_AsVal_int(obj3, &val4);
13209 if (!SWIG_IsOK(ecode4)) {
13210 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'");
13211 }
13212 arg4 = static_cast< int >(val4);
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4);
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = SWIG_From_int(static_cast< int >(result));
13220 {
13221 if (temp3) delete arg3;
13222 }
13223 return resultobj;
13224 fail:
13225 {
13226 if (temp3) delete arg3;
13227 }
13228 return NULL;
13229 }
13230
13231
13232 SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj = 0;
13234 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13235 wxWindow *arg2 = (wxWindow *) 0 ;
13236 wxAuiNotebookPageArray *arg3 = 0 ;
13237 int result;
13238 void *argp1 = 0 ;
13239 int res1 = 0 ;
13240 void *argp2 = 0 ;
13241 int res2 = 0 ;
13242 void *argp3 = 0 ;
13243 int res3 = 0 ;
13244 PyObject * obj0 = 0 ;
13245 PyObject * obj1 = 0 ;
13246 PyObject * obj2 = 0 ;
13247 char * kwnames[] = {
13248 (char *) "self",(char *) "wnd",(char *) "pages", NULL
13249 };
13250
13251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13253 if (!SWIG_IsOK(res1)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13255 }
13256 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13257 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13258 if (!SWIG_IsOK(res2)) {
13259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'");
13260 }
13261 arg2 = reinterpret_cast< wxWindow * >(argp2);
13262 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 );
13263 if (!SWIG_IsOK(res3)) {
13264 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'");
13265 }
13266 if (!argp3) {
13267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'");
13268 }
13269 arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3);
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 result = (int)(arg1)->GetBestTabCtrlSize(arg2,*arg3);
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = SWIG_From_int(static_cast< int >(result));
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13284 PyObject *obj;
13285 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13286 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj));
13287 return SWIG_Py_Void();
13288 }
13289
13290 SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13291 PyObject *resultobj = 0;
13292 wxAuiDefaultTabArt *result = 0 ;
13293
13294 if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail;
13295 {
13296 PyThreadState* __tstate = wxPyBeginAllowThreads();
13297 result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt();
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 );
13302 return resultobj;
13303 fail:
13304 return NULL;
13305 }
13306
13307
13308 SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13309 PyObject *resultobj = 0;
13310 wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ;
13311 void *argp1 = 0 ;
13312 int res1 = 0 ;
13313 PyObject *swig_obj[1] ;
13314
13315 if (!args) SWIG_fail;
13316 swig_obj[0] = args;
13317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 );
13318 if (!SWIG_IsOK(res1)) {
13319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'");
13320 }
13321 arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1);
13322 {
13323 PyThreadState* __tstate = wxPyBeginAllowThreads();
13324 delete arg1;
13325
13326 wxPyEndAllowThreads(__tstate);
13327 if (PyErr_Occurred()) SWIG_fail;
13328 }
13329 resultobj = SWIG_Py_Void();
13330 return resultobj;
13331 fail:
13332 return NULL;
13333 }
13334
13335
13336 SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13337 PyObject *obj;
13338 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13339 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj));
13340 return SWIG_Py_Void();
13341 }
13342
13343 SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13344 return SWIG_Python_InitShadowInstance(args);
13345 }
13346
13347 SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13348 PyObject *resultobj = 0;
13349 wxAuiSimpleTabArt *result = 0 ;
13350
13351 if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail;
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt();
13355 wxPyEndAllowThreads(__tstate);
13356 if (PyErr_Occurred()) SWIG_fail;
13357 }
13358 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 );
13359 return resultobj;
13360 fail:
13361 return NULL;
13362 }
13363
13364
13365 SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13366 PyObject *resultobj = 0;
13367 wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ;
13368 void *argp1 = 0 ;
13369 int res1 = 0 ;
13370 PyObject *swig_obj[1] ;
13371
13372 if (!args) SWIG_fail;
13373 swig_obj[0] = args;
13374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 );
13375 if (!SWIG_IsOK(res1)) {
13376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'");
13377 }
13378 arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1);
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 delete arg1;
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 resultobj = SWIG_Py_Void();
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13394 PyObject *obj;
13395 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13396 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj));
13397 return SWIG_Py_Void();
13398 }
13399
13400 SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13401 return SWIG_Python_InitShadowInstance(args);
13402 }
13403
13404 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13405 PyObject *resultobj = 0;
13406 wxAuiTabContainer *result = 0 ;
13407
13408 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 result = (wxAuiTabContainer *)new wxAuiTabContainer();
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
13416 return resultobj;
13417 fail:
13418 return NULL;
13419 }
13420
13421
13422 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13423 PyObject *resultobj = 0;
13424 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13425 void *argp1 = 0 ;
13426 int res1 = 0 ;
13427 PyObject *swig_obj[1] ;
13428
13429 if (!args) SWIG_fail;
13430 swig_obj[0] = args;
13431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
13432 if (!SWIG_IsOK(res1)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13434 }
13435 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 delete arg1;
13439
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 resultobj = SWIG_Py_Void();
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj = 0;
13452 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13453 wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ;
13454 void *argp1 = 0 ;
13455 int res1 = 0 ;
13456 void *argp2 = 0 ;
13457 int res2 = 0 ;
13458 PyObject * obj0 = 0 ;
13459 PyObject * obj1 = 0 ;
13460 char * kwnames[] = {
13461 (char *) "self",(char *) "art", NULL
13462 };
13463
13464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
13465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13466 if (!SWIG_IsOK(res1)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13468 }
13469 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13471 if (!SWIG_IsOK(res2)) {
13472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'");
13473 }
13474 arg2 = reinterpret_cast< wxAuiTabArt * >(argp2);
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->SetArtProvider(arg2);
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 resultobj = SWIG_Py_Void();
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *resultobj = 0;
13490 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13491 wxAuiTabArt *result = 0 ;
13492 void *argp1 = 0 ;
13493 int res1 = 0 ;
13494 PyObject *swig_obj[1] ;
13495
13496 if (!args) SWIG_fail;
13497 swig_obj[0] = args;
13498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13499 if (!SWIG_IsOK(res1)) {
13500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13501 }
13502 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider();
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj = 0;
13518 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13519 int arg2 ;
13520 void *argp1 = 0 ;
13521 int res1 = 0 ;
13522 int val2 ;
13523 int ecode2 = 0 ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 char * kwnames[] = {
13527 (char *) "self",(char *) "flags", NULL
13528 };
13529
13530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
13531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13532 if (!SWIG_IsOK(res1)) {
13533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13534 }
13535 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13536 ecode2 = SWIG_AsVal_int(obj1, &val2);
13537 if (!SWIG_IsOK(ecode2)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'");
13539 }
13540 arg2 = static_cast< int >(val2);
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 (arg1)->SetFlags(arg2);
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 resultobj = SWIG_Py_Void();
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13555 PyObject *resultobj = 0;
13556 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13557 int result;
13558 void *argp1 = 0 ;
13559 int res1 = 0 ;
13560 PyObject *swig_obj[1] ;
13561
13562 if (!args) SWIG_fail;
13563 swig_obj[0] = args;
13564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13565 if (!SWIG_IsOK(res1)) {
13566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13567 }
13568 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13569 {
13570 PyThreadState* __tstate = wxPyBeginAllowThreads();
13571 result = (int)((wxAuiTabContainer const *)arg1)->GetFlags();
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 resultobj = SWIG_From_int(static_cast< int >(result));
13576 return resultobj;
13577 fail:
13578 return NULL;
13579 }
13580
13581
13582 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj = 0;
13584 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13585 wxWindow *arg2 = (wxWindow *) 0 ;
13586 wxAuiNotebookPage *arg3 = 0 ;
13587 bool result;
13588 void *argp1 = 0 ;
13589 int res1 = 0 ;
13590 void *argp2 = 0 ;
13591 int res2 = 0 ;
13592 void *argp3 = 0 ;
13593 int res3 = 0 ;
13594 PyObject * obj0 = 0 ;
13595 PyObject * obj1 = 0 ;
13596 PyObject * obj2 = 0 ;
13597 char * kwnames[] = {
13598 (char *) "self",(char *) "page",(char *) "info", NULL
13599 };
13600
13601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13603 if (!SWIG_IsOK(res1)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13605 }
13606 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13607 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13608 if (!SWIG_IsOK(res2)) {
13609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
13610 }
13611 arg2 = reinterpret_cast< wxWindow * >(argp2);
13612 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
13613 if (!SWIG_IsOK(res3)) {
13614 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13615 }
13616 if (!argp3) {
13617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13618 }
13619 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 {
13627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13628 }
13629 return resultobj;
13630 fail:
13631 return NULL;
13632 }
13633
13634
13635 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13636 PyObject *resultobj = 0;
13637 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13638 wxWindow *arg2 = (wxWindow *) 0 ;
13639 wxAuiNotebookPage *arg3 = 0 ;
13640 size_t arg4 ;
13641 bool result;
13642 void *argp1 = 0 ;
13643 int res1 = 0 ;
13644 void *argp2 = 0 ;
13645 int res2 = 0 ;
13646 void *argp3 = 0 ;
13647 int res3 = 0 ;
13648 size_t val4 ;
13649 int ecode4 = 0 ;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 PyObject * obj2 = 0 ;
13653 PyObject * obj3 = 0 ;
13654 char * kwnames[] = {
13655 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
13656 };
13657
13658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13660 if (!SWIG_IsOK(res1)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13662 }
13663 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13665 if (!SWIG_IsOK(res2)) {
13666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
13667 }
13668 arg2 = reinterpret_cast< wxWindow * >(argp2);
13669 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
13670 if (!SWIG_IsOK(res3)) {
13671 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13672 }
13673 if (!argp3) {
13674 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13675 }
13676 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
13677 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
13678 if (!SWIG_IsOK(ecode4)) {
13679 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
13680 }
13681 arg4 = static_cast< size_t >(val4);
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 {
13689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13690 }
13691 return resultobj;
13692 fail:
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13700 wxWindow *arg2 = (wxWindow *) 0 ;
13701 size_t arg3 ;
13702 bool result;
13703 void *argp1 = 0 ;
13704 int res1 = 0 ;
13705 void *argp2 = 0 ;
13706 int res2 = 0 ;
13707 size_t val3 ;
13708 int ecode3 = 0 ;
13709 PyObject * obj0 = 0 ;
13710 PyObject * obj1 = 0 ;
13711 PyObject * obj2 = 0 ;
13712 char * kwnames[] = {
13713 (char *) "self",(char *) "page",(char *) "new_idx", NULL
13714 };
13715
13716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13718 if (!SWIG_IsOK(res1)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13720 }
13721 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13723 if (!SWIG_IsOK(res2)) {
13724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
13725 }
13726 arg2 = reinterpret_cast< wxWindow * >(argp2);
13727 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13728 if (!SWIG_IsOK(ecode3)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'");
13730 }
13731 arg3 = static_cast< size_t >(val3);
13732 {
13733 PyThreadState* __tstate = wxPyBeginAllowThreads();
13734 result = (bool)(arg1)->MovePage(arg2,arg3);
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 {
13739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13740 }
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj = 0;
13749 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13750 wxWindow *arg2 = (wxWindow *) 0 ;
13751 bool result;
13752 void *argp1 = 0 ;
13753 int res1 = 0 ;
13754 void *argp2 = 0 ;
13755 int res2 = 0 ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 char * kwnames[] = {
13759 (char *) "self",(char *) "page", NULL
13760 };
13761
13762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
13763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13764 if (!SWIG_IsOK(res1)) {
13765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13766 }
13767 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13769 if (!SWIG_IsOK(res2)) {
13770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
13771 }
13772 arg2 = reinterpret_cast< wxWindow * >(argp2);
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 result = (bool)(arg1)->RemovePage(arg2);
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 {
13780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13781 }
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
13789 PyObject *resultobj = 0;
13790 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13791 wxWindow *arg2 = (wxWindow *) 0 ;
13792 bool result;
13793 void *argp1 = 0 ;
13794 int res1 = 0 ;
13795 void *argp2 = 0 ;
13796 int res2 = 0 ;
13797
13798 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
13799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13800 if (!SWIG_IsOK(res1)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13802 }
13803 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13804 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13805 if (!SWIG_IsOK(res2)) {
13806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
13807 }
13808 arg2 = reinterpret_cast< wxWindow * >(argp2);
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (bool)(arg1)->SetActivePage(arg2);
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 {
13816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13817 }
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
13825 PyObject *resultobj = 0;
13826 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13827 size_t arg2 ;
13828 bool result;
13829 void *argp1 = 0 ;
13830 int res1 = 0 ;
13831 size_t val2 ;
13832 int ecode2 = 0 ;
13833
13834 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
13835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13836 if (!SWIG_IsOK(res1)) {
13837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13838 }
13839 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13840 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
13841 if (!SWIG_IsOK(ecode2)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
13843 }
13844 arg2 = static_cast< size_t >(val2);
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (bool)(arg1)->SetActivePage(arg2);
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13853 }
13854 return resultobj;
13855 fail:
13856 return NULL;
13857 }
13858
13859
13860 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
13861 int argc;
13862 PyObject *argv[3];
13863
13864 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
13865 --argc;
13866 if (argc == 2) {
13867 int _v = 0;
13868 {
13869 void *vptr = 0;
13870 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
13871 _v = SWIG_CheckState(res);
13872 }
13873 if (!_v) goto check_1;
13874 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
13875 }
13876 check_1:
13877
13878 if (argc == 2) {
13879 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
13880 }
13881
13882 fail:
13883 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
13884 return NULL;
13885 }
13886
13887
13888 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13889 PyObject *resultobj = 0;
13890 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13891 void *argp1 = 0 ;
13892 int res1 = 0 ;
13893 PyObject *swig_obj[1] ;
13894
13895 if (!args) SWIG_fail;
13896 swig_obj[0] = args;
13897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13900 }
13901 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->SetNoneActive();
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_Py_Void();
13909 return resultobj;
13910 fail:
13911 return NULL;
13912 }
13913
13914
13915 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13916 PyObject *resultobj = 0;
13917 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13918 int result;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 PyObject *swig_obj[1] ;
13922
13923 if (!args) SWIG_fail;
13924 swig_obj[0] = args;
13925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13928 }
13929 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_From_int(static_cast< int >(result));
13937 return resultobj;
13938 fail:
13939 return NULL;
13940 }
13941
13942
13943 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj = 0;
13945 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13946 int arg2 ;
13947 int arg3 ;
13948 wxWindow **arg4 = (wxWindow **) 0 ;
13949 bool result;
13950 void *argp1 = 0 ;
13951 int res1 = 0 ;
13952 int val2 ;
13953 int ecode2 = 0 ;
13954 int val3 ;
13955 int ecode3 = 0 ;
13956 void *argp4 = 0 ;
13957 int res4 = 0 ;
13958 PyObject * obj0 = 0 ;
13959 PyObject * obj1 = 0 ;
13960 PyObject * obj2 = 0 ;
13961 PyObject * obj3 = 0 ;
13962 char * kwnames[] = {
13963 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
13964 };
13965
13966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13968 if (!SWIG_IsOK(res1)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13970 }
13971 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13972 ecode2 = SWIG_AsVal_int(obj1, &val2);
13973 if (!SWIG_IsOK(ecode2)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
13975 }
13976 arg2 = static_cast< int >(val2);
13977 ecode3 = SWIG_AsVal_int(obj2, &val3);
13978 if (!SWIG_IsOK(ecode3)) {
13979 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
13980 }
13981 arg3 = static_cast< int >(val3);
13982 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
13983 if (!SWIG_IsOK(res4)) {
13984 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
13985 }
13986 arg4 = reinterpret_cast< wxWindow ** >(argp4);
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 {
13994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13995 }
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj = 0;
14004 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14005 int arg2 ;
14006 int arg3 ;
14007 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
14008 bool result;
14009 void *argp1 = 0 ;
14010 int res1 = 0 ;
14011 int val2 ;
14012 int ecode2 = 0 ;
14013 int val3 ;
14014 int ecode3 = 0 ;
14015 void *argp4 = 0 ;
14016 int res4 = 0 ;
14017 PyObject * obj0 = 0 ;
14018 PyObject * obj1 = 0 ;
14019 PyObject * obj2 = 0 ;
14020 PyObject * obj3 = 0 ;
14021 char * kwnames[] = {
14022 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
14023 };
14024
14025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14027 if (!SWIG_IsOK(res1)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14029 }
14030 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14031 ecode2 = SWIG_AsVal_int(obj1, &val2);
14032 if (!SWIG_IsOK(ecode2)) {
14033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
14034 }
14035 arg2 = static_cast< int >(val2);
14036 ecode3 = SWIG_AsVal_int(obj2, &val3);
14037 if (!SWIG_IsOK(ecode3)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
14039 }
14040 arg3 = static_cast< int >(val3);
14041 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
14042 if (!SWIG_IsOK(res4)) {
14043 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
14044 }
14045 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 {
14053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14054 }
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj = 0;
14063 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14064 size_t arg2 ;
14065 wxWindow *result = 0 ;
14066 void *argp1 = 0 ;
14067 int res1 = 0 ;
14068 size_t val2 ;
14069 int ecode2 = 0 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char * kwnames[] = {
14073 (char *) "self",(char *) "idx", NULL
14074 };
14075
14076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
14077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14078 if (!SWIG_IsOK(res1)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14080 }
14081 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14082 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14083 if (!SWIG_IsOK(ecode2)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
14085 }
14086 arg2 = static_cast< size_t >(val2);
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 {
14094 resultobj = wxPyMake_wxObject(result, 0);
14095 }
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj = 0;
14104 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14105 wxWindow *arg2 = (wxWindow *) 0 ;
14106 int result;
14107 void *argp1 = 0 ;
14108 int res1 = 0 ;
14109 void *argp2 = 0 ;
14110 int res2 = 0 ;
14111 PyObject * obj0 = 0 ;
14112 PyObject * obj1 = 0 ;
14113 char * kwnames[] = {
14114 (char *) "self",(char *) "page", NULL
14115 };
14116
14117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
14118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14119 if (!SWIG_IsOK(res1)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14121 }
14122 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14123 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14124 if (!SWIG_IsOK(res2)) {
14125 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14126 }
14127 arg2 = reinterpret_cast< wxWindow * >(argp2);
14128 {
14129 PyThreadState* __tstate = wxPyBeginAllowThreads();
14130 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_From_int(static_cast< int >(result));
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14142 PyObject *resultobj = 0;
14143 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14144 size_t result;
14145 void *argp1 = 0 ;
14146 int res1 = 0 ;
14147 PyObject *swig_obj[1] ;
14148
14149 if (!args) SWIG_fail;
14150 swig_obj[0] = args;
14151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14152 if (!SWIG_IsOK(res1)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14154 }
14155 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj = 0;
14171 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14172 size_t arg2 ;
14173 wxAuiNotebookPage *result = 0 ;
14174 void *argp1 = 0 ;
14175 int res1 = 0 ;
14176 size_t val2 ;
14177 int ecode2 = 0 ;
14178 PyObject * obj0 = 0 ;
14179 PyObject * obj1 = 0 ;
14180 char * kwnames[] = {
14181 (char *) "self",(char *) "idx", NULL
14182 };
14183
14184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
14185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14186 if (!SWIG_IsOK(res1)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14188 }
14189 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14190 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14191 if (!SWIG_IsOK(ecode2)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
14193 }
14194 arg2 = static_cast< size_t >(val2);
14195 {
14196 PyThreadState* __tstate = wxPyBeginAllowThreads();
14197 {
14198 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
14199 result = (wxAuiNotebookPage *) &_result_ref;
14200 }
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
14205 return resultobj;
14206 fail:
14207 return NULL;
14208 }
14209
14210
14211 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14212 PyObject *resultobj = 0;
14213 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14214 wxAuiNotebookPageArray *result = 0 ;
14215 void *argp1 = 0 ;
14216 int res1 = 0 ;
14217 PyObject *swig_obj[1] ;
14218
14219 if (!args) SWIG_fail;
14220 swig_obj[0] = args;
14221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14222 if (!SWIG_IsOK(res1)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14224 }
14225 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 {
14229 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
14230 result = (wxAuiNotebookPageArray *) &_result_ref;
14231 }
14232 wxPyEndAllowThreads(__tstate);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
14236 return resultobj;
14237 fail:
14238 return NULL;
14239 }
14240
14241
14242 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14243 PyObject *resultobj = 0;
14244 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14245 wxFont *arg2 = 0 ;
14246 void *argp1 = 0 ;
14247 int res1 = 0 ;
14248 void *argp2 = 0 ;
14249 int res2 = 0 ;
14250 PyObject * obj0 = 0 ;
14251 PyObject * obj1 = 0 ;
14252 char * kwnames[] = {
14253 (char *) "self",(char *) "normal_font", NULL
14254 };
14255
14256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
14257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14258 if (!SWIG_IsOK(res1)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14260 }
14261 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14262 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14263 if (!SWIG_IsOK(res2)) {
14264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14265 }
14266 if (!argp2) {
14267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14268 }
14269 arg2 = reinterpret_cast< wxFont * >(argp2);
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 (arg1)->SetNormalFont((wxFont const &)*arg2);
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 resultobj = SWIG_Py_Void();
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj = 0;
14285 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14286 wxFont *arg2 = 0 ;
14287 void *argp1 = 0 ;
14288 int res1 = 0 ;
14289 void *argp2 = 0 ;
14290 int res2 = 0 ;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char * kwnames[] = {
14294 (char *) "self",(char *) "selected_font", NULL
14295 };
14296
14297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
14298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14299 if (!SWIG_IsOK(res1)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14301 }
14302 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14304 if (!SWIG_IsOK(res2)) {
14305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14306 }
14307 if (!argp2) {
14308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14309 }
14310 arg2 = reinterpret_cast< wxFont * >(argp2);
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 (arg1)->SetSelectedFont((wxFont const &)*arg2);
14314 wxPyEndAllowThreads(__tstate);
14315 if (PyErr_Occurred()) SWIG_fail;
14316 }
14317 resultobj = SWIG_Py_Void();
14318 return resultobj;
14319 fail:
14320 return NULL;
14321 }
14322
14323
14324 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj = 0;
14326 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14327 wxFont *arg2 = 0 ;
14328 void *argp1 = 0 ;
14329 int res1 = 0 ;
14330 void *argp2 = 0 ;
14331 int res2 = 0 ;
14332 PyObject * obj0 = 0 ;
14333 PyObject * obj1 = 0 ;
14334 char * kwnames[] = {
14335 (char *) "self",(char *) "measuring_font", NULL
14336 };
14337
14338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
14339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14340 if (!SWIG_IsOK(res1)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14342 }
14343 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14344 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14345 if (!SWIG_IsOK(res2)) {
14346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14347 }
14348 if (!argp2) {
14349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14350 }
14351 arg2 = reinterpret_cast< wxFont * >(argp2);
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 resultobj = SWIG_Py_Void();
14359 return resultobj;
14360 fail:
14361 return NULL;
14362 }
14363
14364
14365 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14366 PyObject *resultobj = 0;
14367 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14368 void *argp1 = 0 ;
14369 int res1 = 0 ;
14370 PyObject *swig_obj[1] ;
14371
14372 if (!args) SWIG_fail;
14373 swig_obj[0] = args;
14374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14375 if (!SWIG_IsOK(res1)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14377 }
14378 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->DoShowHide();
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = SWIG_Py_Void();
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj = 0;
14394 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14395 wxRect *arg2 = 0 ;
14396 void *argp1 = 0 ;
14397 int res1 = 0 ;
14398 wxRect temp2 ;
14399 PyObject * obj0 = 0 ;
14400 PyObject * obj1 = 0 ;
14401 char * kwnames[] = {
14402 (char *) "self",(char *) "rect", NULL
14403 };
14404
14405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
14406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14407 if (!SWIG_IsOK(res1)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14409 }
14410 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14411 {
14412 arg2 = &temp2;
14413 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14414 }
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 (arg1)->SetRect((wxRect const &)*arg2);
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 resultobj = SWIG_Py_Void();
14422 return resultobj;
14423 fail:
14424 return NULL;
14425 }
14426
14427
14428 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj = 0;
14430 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14431 int arg2 ;
14432 void *argp1 = 0 ;
14433 int res1 = 0 ;
14434 int val2 ;
14435 int ecode2 = 0 ;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char * kwnames[] = {
14439 (char *) "self",(char *) "id", NULL
14440 };
14441
14442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail;
14443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14444 if (!SWIG_IsOK(res1)) {
14445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14446 }
14447 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14448 ecode2 = SWIG_AsVal_int(obj1, &val2);
14449 if (!SWIG_IsOK(ecode2)) {
14450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'");
14451 }
14452 arg2 = static_cast< int >(val2);
14453 {
14454 PyThreadState* __tstate = wxPyBeginAllowThreads();
14455 (arg1)->RemoveButton(arg2);
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 resultobj = SWIG_Py_Void();
14460 return resultobj;
14461 fail:
14462 return NULL;
14463 }
14464
14465
14466 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14467 PyObject *resultobj = 0;
14468 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14469 int arg2 ;
14470 int arg3 ;
14471 wxBitmap const &arg4_defvalue = wxNullBitmap ;
14472 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
14473 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14474 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14475 void *argp1 = 0 ;
14476 int res1 = 0 ;
14477 int val2 ;
14478 int ecode2 = 0 ;
14479 int val3 ;
14480 int ecode3 = 0 ;
14481 void *argp4 = 0 ;
14482 int res4 = 0 ;
14483 void *argp5 = 0 ;
14484 int res5 = 0 ;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 PyObject * obj2 = 0 ;
14488 PyObject * obj3 = 0 ;
14489 PyObject * obj4 = 0 ;
14490 char * kwnames[] = {
14491 (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL
14492 };
14493
14494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14496 if (!SWIG_IsOK(res1)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14498 }
14499 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14500 ecode2 = SWIG_AsVal_int(obj1, &val2);
14501 if (!SWIG_IsOK(ecode2)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
14503 }
14504 arg2 = static_cast< int >(val2);
14505 ecode3 = SWIG_AsVal_int(obj2, &val3);
14506 if (!SWIG_IsOK(ecode3)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'");
14508 }
14509 arg3 = static_cast< int >(val3);
14510 if (obj3) {
14511 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
14512 if (!SWIG_IsOK(res4)) {
14513 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
14514 }
14515 if (!argp4) {
14516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
14517 }
14518 arg4 = reinterpret_cast< wxBitmap * >(argp4);
14519 }
14520 if (obj4) {
14521 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
14522 if (!SWIG_IsOK(res5)) {
14523 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14524 }
14525 if (!argp5) {
14526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14527 }
14528 arg5 = reinterpret_cast< wxBitmap * >(argp5);
14529 }
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5);
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 resultobj = SWIG_Py_Void();
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14544 PyObject *resultobj = 0;
14545 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14546 size_t result;
14547 void *argp1 = 0 ;
14548 int res1 = 0 ;
14549 PyObject *swig_obj[1] ;
14550
14551 if (!args) SWIG_fail;
14552 swig_obj[0] = args;
14553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14554 if (!SWIG_IsOK(res1)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14556 }
14557 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset();
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj = 0;
14573 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14574 size_t arg2 ;
14575 void *argp1 = 0 ;
14576 int res1 = 0 ;
14577 size_t val2 ;
14578 int ecode2 = 0 ;
14579 PyObject * obj0 = 0 ;
14580 PyObject * obj1 = 0 ;
14581 char * kwnames[] = {
14582 (char *) "self",(char *) "offset", NULL
14583 };
14584
14585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail;
14586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14587 if (!SWIG_IsOK(res1)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14589 }
14590 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14591 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14592 if (!SWIG_IsOK(ecode2)) {
14593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'");
14594 }
14595 arg2 = static_cast< size_t >(val2);
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 (arg1)->SetTabOffset(arg2);
14599 wxPyEndAllowThreads(__tstate);
14600 if (PyErr_Occurred()) SWIG_fail;
14601 }
14602 resultobj = SWIG_Py_Void();
14603 return resultobj;
14604 fail:
14605 return NULL;
14606 }
14607
14608
14609 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14610 PyObject *obj;
14611 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14612 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
14613 return SWIG_Py_Void();
14614 }
14615
14616 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14617 return SWIG_Python_InitShadowInstance(args);
14618 }
14619
14620 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj = 0;
14622 wxWindow *arg1 = (wxWindow *) 0 ;
14623 int arg2 = (int) wxID_ANY ;
14624 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14625 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14626 wxSize const &arg4_defvalue = wxDefaultSize ;
14627 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14628 long arg5 = (long) 0 ;
14629 wxAuiTabCtrl *result = 0 ;
14630 void *argp1 = 0 ;
14631 int res1 = 0 ;
14632 int val2 ;
14633 int ecode2 = 0 ;
14634 wxPoint temp3 ;
14635 wxSize temp4 ;
14636 long val5 ;
14637 int ecode5 = 0 ;
14638 PyObject * obj0 = 0 ;
14639 PyObject * obj1 = 0 ;
14640 PyObject * obj2 = 0 ;
14641 PyObject * obj3 = 0 ;
14642 PyObject * obj4 = 0 ;
14643 char * kwnames[] = {
14644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
14645 };
14646
14647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14649 if (!SWIG_IsOK(res1)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
14651 }
14652 arg1 = reinterpret_cast< wxWindow * >(argp1);
14653 if (obj1) {
14654 ecode2 = SWIG_AsVal_int(obj1, &val2);
14655 if (!SWIG_IsOK(ecode2)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
14657 }
14658 arg2 = static_cast< int >(val2);
14659 }
14660 if (obj2) {
14661 {
14662 arg3 = &temp3;
14663 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14664 }
14665 }
14666 if (obj3) {
14667 {
14668 arg4 = &temp4;
14669 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14670 }
14671 }
14672 if (obj4) {
14673 ecode5 = SWIG_AsVal_long(obj4, &val5);
14674 if (!SWIG_IsOK(ecode5)) {
14675 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
14676 }
14677 arg5 = static_cast< long >(val5);
14678 }
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14693 PyObject *resultobj = 0;
14694 wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ;
14695 void *argp1 = 0 ;
14696 int res1 = 0 ;
14697 PyObject *swig_obj[1] ;
14698
14699 if (!args) SWIG_fail;
14700 swig_obj[0] = args;
14701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 );
14702 if (!SWIG_IsOK(res1)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'");
14704 }
14705 arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1);
14706 {
14707 PyThreadState* __tstate = wxPyBeginAllowThreads();
14708 delete arg1;
14709
14710 wxPyEndAllowThreads(__tstate);
14711 if (PyErr_Occurred()) SWIG_fail;
14712 }
14713 resultobj = SWIG_Py_Void();
14714 return resultobj;
14715 fail:
14716 return NULL;
14717 }
14718
14719
14720 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14721 PyObject *obj;
14722 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14723 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
14724 return SWIG_Py_Void();
14725 }
14726
14727 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14728 return SWIG_Python_InitShadowInstance(args);
14729 }
14730
14731 SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14732 PyObject *resultobj = 0;
14733 wxAuiNotebook *result = 0 ;
14734
14735 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail;
14736 {
14737 PyThreadState* __tstate = wxPyBeginAllowThreads();
14738 result = (wxAuiNotebook *)new wxAuiNotebook();
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 );
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14750 PyObject *resultobj = 0;
14751 wxWindow *arg1 = (wxWindow *) 0 ;
14752 int arg2 = (int) wxID_ANY ;
14753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14755 wxSize const &arg4_defvalue = wxDefaultSize ;
14756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14757 long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ;
14758 wxAuiNotebook *result = 0 ;
14759 void *argp1 = 0 ;
14760 int res1 = 0 ;
14761 int val2 ;
14762 int ecode2 = 0 ;
14763 wxPoint temp3 ;
14764 wxSize temp4 ;
14765 long val5 ;
14766 int ecode5 = 0 ;
14767 PyObject * obj0 = 0 ;
14768 PyObject * obj1 = 0 ;
14769 PyObject * obj2 = 0 ;
14770 PyObject * obj3 = 0 ;
14771 PyObject * obj4 = 0 ;
14772 char * kwnames[] = {
14773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
14774 };
14775
14776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14778 if (!SWIG_IsOK(res1)) {
14779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
14780 }
14781 arg1 = reinterpret_cast< wxWindow * >(argp1);
14782 if (obj1) {
14783 ecode2 = SWIG_AsVal_int(obj1, &val2);
14784 if (!SWIG_IsOK(ecode2)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'");
14786 }
14787 arg2 = static_cast< int >(val2);
14788 }
14789 if (obj2) {
14790 {
14791 arg3 = &temp3;
14792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14793 }
14794 }
14795 if (obj3) {
14796 {
14797 arg4 = &temp4;
14798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14799 }
14800 }
14801 if (obj4) {
14802 ecode5 = SWIG_AsVal_long(obj4, &val5);
14803 if (!SWIG_IsOK(ecode5)) {
14804 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'");
14805 }
14806 arg5 = static_cast< long >(val5);
14807 }
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 );
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14822 PyObject *resultobj = 0;
14823 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
14824 void *argp1 = 0 ;
14825 int res1 = 0 ;
14826 PyObject *swig_obj[1] ;
14827
14828 if (!args) SWIG_fail;
14829 swig_obj[0] = args;
14830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 );
14831 if (!SWIG_IsOK(res1)) {
14832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
14833 }
14834 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 delete arg1;
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 resultobj = SWIG_Py_Void();
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj = 0;
14851 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
14852 wxWindow *arg2 = (wxWindow *) 0 ;
14853 int arg3 = (int) wxID_ANY ;
14854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14856 wxSize const &arg5_defvalue = wxDefaultSize ;
14857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14858 long arg6 = (long) 0 ;
14859 bool result;
14860 void *argp1 = 0 ;
14861 int res1 = 0 ;
14862 void *argp2 = 0 ;
14863 int res2 = 0 ;
14864 int val3 ;
14865 int ecode3 = 0 ;
14866 wxPoint temp4 ;
14867 wxSize temp5 ;
14868 long val6 ;
14869 int ecode6 = 0 ;
14870 PyObject * obj0 = 0 ;
14871 PyObject * obj1 = 0 ;
14872 PyObject * obj2 = 0 ;
14873 PyObject * obj3 = 0 ;
14874 PyObject * obj4 = 0 ;
14875 PyObject * obj5 = 0 ;
14876 char * kwnames[] = {
14877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
14878 };
14879
14880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
14882 if (!SWIG_IsOK(res1)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
14884 }
14885 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
14886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14887 if (!SWIG_IsOK(res2)) {
14888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14889 }
14890 arg2 = reinterpret_cast< wxWindow * >(argp2);
14891 if (obj2) {
14892 ecode3 = SWIG_AsVal_int(obj2, &val3);
14893 if (!SWIG_IsOK(ecode3)) {
14894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
14895 }
14896 arg3 = static_cast< int >(val3);
14897 }
14898 if (obj3) {
14899 {
14900 arg4 = &temp4;
14901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14902 }
14903 }
14904 if (obj4) {
14905 {
14906 arg5 = &temp5;
14907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14908 }
14909 }
14910 if (obj5) {
14911 ecode6 = SWIG_AsVal_long(obj5, &val6);
14912 if (!SWIG_IsOK(ecode6)) {
14913 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
14914 }
14915 arg6 = static_cast< long >(val6);
14916 }
14917 {
14918 PyThreadState* __tstate = wxPyBeginAllowThreads();
14919 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 {
14924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14925 }
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj = 0;
14934 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
14935 wxWindow *arg2 = (wxWindow *) 0 ;
14936 wxString *arg3 = 0 ;
14937 bool arg4 = (bool) false ;
14938 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14939 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14940 bool result;
14941 void *argp1 = 0 ;
14942 int res1 = 0 ;
14943 void *argp2 = 0 ;
14944 int res2 = 0 ;
14945 bool temp3 = false ;
14946 bool val4 ;
14947 int ecode4 = 0 ;
14948 void *argp5 = 0 ;
14949 int res5 = 0 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 PyObject * obj2 = 0 ;
14953 PyObject * obj3 = 0 ;
14954 PyObject * obj4 = 0 ;
14955 char * kwnames[] = {
14956 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
14957 };
14958
14959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
14961 if (!SWIG_IsOK(res1)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
14963 }
14964 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
14965 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14966 if (!SWIG_IsOK(res2)) {
14967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
14968 }
14969 arg2 = reinterpret_cast< wxWindow * >(argp2);
14970 {
14971 arg3 = wxString_in_helper(obj2);
14972 if (arg3 == NULL) SWIG_fail;
14973 temp3 = true;
14974 }
14975 if (obj3) {
14976 ecode4 = SWIG_AsVal_bool(obj3, &val4);
14977 if (!SWIG_IsOK(ecode4)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
14979 }
14980 arg4 = static_cast< bool >(val4);
14981 }
14982 if (obj4) {
14983 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
14984 if (!SWIG_IsOK(res5)) {
14985 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14986 }
14987 if (!argp5) {
14988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14989 }
14990 arg5 = reinterpret_cast< wxBitmap * >(argp5);
14991 }
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 {
14999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15000 }
15001 {
15002 if (temp3)
15003 delete arg3;
15004 }
15005 return resultobj;
15006 fail:
15007 {
15008 if (temp3)
15009 delete arg3;
15010 }
15011 return NULL;
15012 }
15013
15014
15015 SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj = 0;
15017 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15018 size_t arg2 ;
15019 wxWindow *arg3 = (wxWindow *) 0 ;
15020 wxString *arg4 = 0 ;
15021 bool arg5 = (bool) false ;
15022 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15023 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15024 bool result;
15025 void *argp1 = 0 ;
15026 int res1 = 0 ;
15027 size_t val2 ;
15028 int ecode2 = 0 ;
15029 void *argp3 = 0 ;
15030 int res3 = 0 ;
15031 bool temp4 = false ;
15032 bool val5 ;
15033 int ecode5 = 0 ;
15034 void *argp6 = 0 ;
15035 int res6 = 0 ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 PyObject * obj2 = 0 ;
15039 PyObject * obj3 = 0 ;
15040 PyObject * obj4 = 0 ;
15041 PyObject * obj5 = 0 ;
15042 char * kwnames[] = {
15043 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
15044 };
15045
15046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15048 if (!SWIG_IsOK(res1)) {
15049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15050 }
15051 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15052 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15053 if (!SWIG_IsOK(ecode2)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
15055 }
15056 arg2 = static_cast< size_t >(val2);
15057 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
15058 if (!SWIG_IsOK(res3)) {
15059 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
15060 }
15061 arg3 = reinterpret_cast< wxWindow * >(argp3);
15062 {
15063 arg4 = wxString_in_helper(obj3);
15064 if (arg4 == NULL) SWIG_fail;
15065 temp4 = true;
15066 }
15067 if (obj4) {
15068 ecode5 = SWIG_AsVal_bool(obj4, &val5);
15069 if (!SWIG_IsOK(ecode5)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
15071 }
15072 arg5 = static_cast< bool >(val5);
15073 }
15074 if (obj5) {
15075 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
15076 if (!SWIG_IsOK(res6)) {
15077 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
15078 }
15079 if (!argp6) {
15080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
15081 }
15082 arg6 = reinterpret_cast< wxBitmap * >(argp6);
15083 }
15084 {
15085 PyThreadState* __tstate = wxPyBeginAllowThreads();
15086 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 {
15091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15092 }
15093 {
15094 if (temp4)
15095 delete arg4;
15096 }
15097 return resultobj;
15098 fail:
15099 {
15100 if (temp4)
15101 delete arg4;
15102 }
15103 return NULL;
15104 }
15105
15106
15107 SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj = 0;
15109 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15110 size_t arg2 ;
15111 bool result;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 size_t val2 ;
15115 int ecode2 = 0 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 char * kwnames[] = {
15119 (char *) "self",(char *) "page", NULL
15120 };
15121
15122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
15123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15124 if (!SWIG_IsOK(res1)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15126 }
15127 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15128 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15129 if (!SWIG_IsOK(ecode2)) {
15130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
15131 }
15132 arg2 = static_cast< size_t >(val2);
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = (bool)(arg1)->DeletePage(arg2);
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 {
15140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15141 }
15142 return resultobj;
15143 fail:
15144 return NULL;
15145 }
15146
15147
15148 SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj = 0;
15150 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15151 size_t arg2 ;
15152 bool result;
15153 void *argp1 = 0 ;
15154 int res1 = 0 ;
15155 size_t val2 ;
15156 int ecode2 = 0 ;
15157 PyObject * obj0 = 0 ;
15158 PyObject * obj1 = 0 ;
15159 char * kwnames[] = {
15160 (char *) "self",(char *) "page", NULL
15161 };
15162
15163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
15164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15165 if (!SWIG_IsOK(res1)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15167 }
15168 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15169 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15170 if (!SWIG_IsOK(ecode2)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
15172 }
15173 arg2 = static_cast< size_t >(val2);
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 result = (bool)(arg1)->RemovePage(arg2);
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 {
15181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15182 }
15183 return resultobj;
15184 fail:
15185 return NULL;
15186 }
15187
15188
15189 SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj = 0;
15191 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15192 size_t arg2 ;
15193 wxString *arg3 = 0 ;
15194 bool result;
15195 void *argp1 = 0 ;
15196 int res1 = 0 ;
15197 size_t val2 ;
15198 int ecode2 = 0 ;
15199 bool temp3 = false ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 PyObject * obj2 = 0 ;
15203 char * kwnames[] = {
15204 (char *) "self",(char *) "page",(char *) "text", NULL
15205 };
15206
15207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15209 if (!SWIG_IsOK(res1)) {
15210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15211 }
15212 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15213 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15214 if (!SWIG_IsOK(ecode2)) {
15215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
15216 }
15217 arg2 = static_cast< size_t >(val2);
15218 {
15219 arg3 = wxString_in_helper(obj2);
15220 if (arg3 == NULL) SWIG_fail;
15221 temp3 = true;
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 {
15230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15231 }
15232 {
15233 if (temp3)
15234 delete arg3;
15235 }
15236 return resultobj;
15237 fail:
15238 {
15239 if (temp3)
15240 delete arg3;
15241 }
15242 return NULL;
15243 }
15244
15245
15246 SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj = 0;
15248 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15249 size_t arg2 ;
15250 wxBitmap *arg3 = 0 ;
15251 bool result;
15252 void *argp1 = 0 ;
15253 int res1 = 0 ;
15254 size_t val2 ;
15255 int ecode2 = 0 ;
15256 void *argp3 = 0 ;
15257 int res3 = 0 ;
15258 PyObject * obj0 = 0 ;
15259 PyObject * obj1 = 0 ;
15260 PyObject * obj2 = 0 ;
15261 char * kwnames[] = {
15262 (char *) "self",(char *) "page",(char *) "bitmap", NULL
15263 };
15264
15265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15267 if (!SWIG_IsOK(res1)) {
15268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15269 }
15270 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15271 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15272 if (!SWIG_IsOK(ecode2)) {
15273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'");
15274 }
15275 arg2 = static_cast< size_t >(val2);
15276 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
15277 if (!SWIG_IsOK(res3)) {
15278 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
15279 }
15280 if (!argp3) {
15281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
15282 }
15283 arg3 = reinterpret_cast< wxBitmap * >(argp3);
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3);
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 {
15291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15292 }
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj = 0;
15301 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15302 size_t arg2 ;
15303 size_t result;
15304 void *argp1 = 0 ;
15305 int res1 = 0 ;
15306 size_t val2 ;
15307 int ecode2 = 0 ;
15308 PyObject * obj0 = 0 ;
15309 PyObject * obj1 = 0 ;
15310 char * kwnames[] = {
15311 (char *) "self",(char *) "new_page", NULL
15312 };
15313
15314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15316 if (!SWIG_IsOK(res1)) {
15317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15318 }
15319 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15320 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15321 if (!SWIG_IsOK(ecode2)) {
15322 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
15323 }
15324 arg2 = static_cast< size_t >(val2);
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (size_t)(arg1)->SetSelection(arg2);
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15332 return resultobj;
15333 fail:
15334 return NULL;
15335 }
15336
15337
15338 SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15339 PyObject *resultobj = 0;
15340 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15341 int result;
15342 void *argp1 = 0 ;
15343 int res1 = 0 ;
15344 PyObject *swig_obj[1] ;
15345
15346 if (!args) SWIG_fail;
15347 swig_obj[0] = args;
15348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15349 if (!SWIG_IsOK(res1)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15351 }
15352 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (int)((wxAuiNotebook const *)arg1)->GetSelection();
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 resultobj = SWIG_From_int(static_cast< int >(result));
15360 return resultobj;
15361 fail:
15362 return NULL;
15363 }
15364
15365
15366 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15367 PyObject *resultobj = 0;
15368 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15369 size_t result;
15370 void *argp1 = 0 ;
15371 int res1 = 0 ;
15372 PyObject *swig_obj[1] ;
15373
15374 if (!args) SWIG_fail;
15375 swig_obj[0] = args;
15376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15377 if (!SWIG_IsOK(res1)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15379 }
15380 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount();
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15388 return resultobj;
15389 fail:
15390 return NULL;
15391 }
15392
15393
15394 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj = 0;
15396 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15397 size_t arg2 ;
15398 wxWindow *result = 0 ;
15399 void *argp1 = 0 ;
15400 int res1 = 0 ;
15401 size_t val2 ;
15402 int ecode2 = 0 ;
15403 PyObject * obj0 = 0 ;
15404 PyObject * obj1 = 0 ;
15405 char * kwnames[] = {
15406 (char *) "self",(char *) "page_idx", NULL
15407 };
15408
15409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
15410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15411 if (!SWIG_IsOK(res1)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15413 }
15414 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15415 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15416 if (!SWIG_IsOK(ecode2)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
15418 }
15419 arg2 = static_cast< size_t >(val2);
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2);
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 {
15427 resultobj = wxPyMake_wxObject(result, 0);
15428 }
15429 return resultobj;
15430 fail:
15431 return NULL;
15432 }
15433
15434
15435 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj = 0;
15437 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15438 wxWindow *arg2 = (wxWindow *) 0 ;
15439 int result;
15440 void *argp1 = 0 ;
15441 int res1 = 0 ;
15442 void *argp2 = 0 ;
15443 int res2 = 0 ;
15444 PyObject * obj0 = 0 ;
15445 PyObject * obj1 = 0 ;
15446 char * kwnames[] = {
15447 (char *) "self",(char *) "page_wnd", NULL
15448 };
15449
15450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail;
15451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15452 if (!SWIG_IsOK(res1)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15454 }
15455 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15456 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15457 if (!SWIG_IsOK(res2)) {
15458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'");
15459 }
15460 arg2 = reinterpret_cast< wxWindow * >(argp2);
15461 {
15462 PyThreadState* __tstate = wxPyBeginAllowThreads();
15463 result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2);
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 resultobj = SWIG_From_int(static_cast< int >(result));
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj = 0;
15476 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15477 wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ;
15478 void *argp1 = 0 ;
15479 int res1 = 0 ;
15480 void *argp2 = 0 ;
15481 int res2 = 0 ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 char * kwnames[] = {
15485 (char *) "self",(char *) "art", NULL
15486 };
15487
15488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
15489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15490 if (!SWIG_IsOK(res1)) {
15491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15492 }
15493 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
15495 if (!SWIG_IsOK(res2)) {
15496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'");
15497 }
15498 arg2 = reinterpret_cast< wxAuiTabArt * >(argp2);
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 (arg1)->SetArtProvider(arg2);
15502 wxPyEndAllowThreads(__tstate);
15503 if (PyErr_Occurred()) SWIG_fail;
15504 }
15505 resultobj = SWIG_Py_Void();
15506 return resultobj;
15507 fail:
15508 return NULL;
15509 }
15510
15511
15512 SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15513 PyObject *resultobj = 0;
15514 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15515 wxAuiTabArt *result = 0 ;
15516 void *argp1 = 0 ;
15517 int res1 = 0 ;
15518 PyObject *swig_obj[1] ;
15519
15520 if (!args) SWIG_fail;
15521 swig_obj[0] = args;
15522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15523 if (!SWIG_IsOK(res1)) {
15524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15525 }
15526 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider();
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
15534 return resultobj;
15535 fail:
15536 return NULL;
15537 }
15538
15539
15540 SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15541 PyObject *obj;
15542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15543 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj));
15544 return SWIG_Py_Void();
15545 }
15546
15547 SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15548 return SWIG_Python_InitShadowInstance(args);
15549 }
15550
15551 SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15552 PyObject *obj;
15553 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15554 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj));
15555 return SWIG_Py_Void();
15556 }
15557
15558 SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15559 PyObject *obj;
15560 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15561 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj));
15562 return SWIG_Py_Void();
15563 }
15564
15565 static PyMethodDef SwigMethods[] = {
15566 { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL},
15567 { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL},
15568 { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
15569 { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL},
15570 { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL},
15571 { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL},
15572 { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL},
15573 { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL},
15574 { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL},
15575 { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL},
15576 { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL},
15577 { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL},
15578 { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL},
15579 { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL},
15580 { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL},
15581 { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL},
15582 { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL},
15583 { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL},
15584 { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL},
15585 { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL},
15586 { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL},
15587 { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL},
15588 { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL},
15589 { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL},
15590 { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL},
15591 { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL},
15592 { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
15593 { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
15594 { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
15595 { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL},
15596 { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL},
15597 { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL},
15598 { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL},
15599 { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL},
15600 { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL},
15601 { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
15602 { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
15603 { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
15604 { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
15605 { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
15606 { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
15607 { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
15608 { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
15609 { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
15610 { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL},
15611 { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
15612 { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL},
15613 { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL},
15614 { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL},
15615 { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
15616 { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
15617 { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL},
15618 { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL},
15619 { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
15620 { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
15621 { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
15622 { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
15623 { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
15624 { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
15625 { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
15626 { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
15627 { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15628 { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15629 { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15630 { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15631 { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
15632 { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
15633 { (char *)"AuiPaneInfo_SaveHidden", (PyCFunction)_wrap_AuiPaneInfo_SaveHidden, METH_O, NULL},
15634 { (char *)"AuiPaneInfo_RestoreHidden", (PyCFunction)_wrap_AuiPaneInfo_RestoreHidden, METH_O, NULL},
15635 { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
15636 { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL},
15637 { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL},
15638 { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL},
15639 { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL},
15640 { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
15641 { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
15642 { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL},
15643 { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL},
15644 { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL},
15645 { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL},
15646 { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL},
15647 { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL},
15648 { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL},
15649 { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL},
15650 { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL},
15651 { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL},
15652 { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL},
15653 { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL},
15654 { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL},
15655 { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL},
15656 { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL},
15657 { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL},
15658 { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL},
15659 { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL},
15660 { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL},
15661 { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL},
15662 { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL},
15663 { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL},
15664 { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL},
15665 { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL},
15666 { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL},
15667 { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL},
15668 { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL},
15669 { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL},
15670 { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL},
15671 { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL},
15672 { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL},
15673 { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL},
15674 { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL},
15675 { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL},
15676 { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL},
15677 { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL},
15678 { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL},
15679 { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL},
15680 { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL},
15681 { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
15682 { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL},
15683 { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15684 { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL},
15685 { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
15686 { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL},
15687 { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
15688 { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
15689 { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL},
15690 { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
15691 { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL},
15692 { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
15693 { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
15694 { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
15695 { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL},
15696 { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL},
15697 { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL},
15698 { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL},
15699 { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
15700 { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
15701 { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL},
15702 { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
15703 { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL},
15704 { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL},
15705 { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
15706 { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
15707 { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
15708 { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL},
15709 { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
15710 { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
15711 { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL},
15712 { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL},
15713 { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
15714 { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL},
15715 { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
15716 { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
15717 { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
15718 { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL},
15719 { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL},
15720 { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL},
15721 { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
15722 { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL},
15723 { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
15724 { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL},
15725 { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL},
15726 { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL},
15727 { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL},
15728 { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL},
15729 { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL},
15730 { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL},
15731 { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
15732 { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL},
15733 { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL},
15734 { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL},
15735 { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL},
15736 { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL},
15737 { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL},
15738 { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL},
15739 { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL},
15740 { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL},
15741 { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL},
15742 { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL},
15743 { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL},
15744 { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL},
15745 { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL},
15746 { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL},
15747 { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL},
15748 { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL},
15749 { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL},
15750 { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL},
15751 { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL},
15752 { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL},
15753 { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL},
15754 { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL},
15755 { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL},
15756 { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL},
15757 { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL},
15758 { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL},
15759 { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL},
15760 { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL},
15761 { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL},
15762 { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL},
15763 { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL},
15764 { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL},
15765 { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL},
15766 { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL},
15767 { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL},
15768 { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL},
15769 { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL},
15770 { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL},
15771 { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL},
15772 { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL},
15773 { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL},
15774 { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL},
15775 { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL},
15776 { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL},
15777 { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL},
15778 { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL},
15779 { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL},
15780 { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL},
15781 { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL},
15782 { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL},
15783 { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL},
15784 { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL},
15785 { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL},
15786 { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL},
15787 { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
15788 { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
15789 { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
15790 { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
15791 { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
15792 { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
15793 { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
15794 { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
15795 { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
15796 { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
15797 { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
15798 { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
15799 { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
15800 { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
15801 { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL},
15802 { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL},
15803 { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL},
15804 { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL},
15805 { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL},
15806 { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL},
15807 { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15808 { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL},
15809 { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL},
15810 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
15811 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
15812 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
15813 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
15814 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
15815 { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL},
15816 { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL},
15817 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
15818 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
15819 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
15820 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
15821 { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL},
15822 { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL},
15823 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
15824 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
15825 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
15826 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
15827 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
15828 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
15829 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
15830 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
15831 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
15832 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
15833 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
15834 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
15835 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
15836 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
15837 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
15838 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
15839 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
15840 { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL},
15841 { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL},
15842 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
15843 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
15844 { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL},
15845 { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL},
15846 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
15847 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
15848 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
15849 { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL},
15850 { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL},
15851 { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
15852 { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
15853 { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
15854 { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
15855 { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
15856 { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
15857 { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL},
15858 { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL},
15859 { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL},
15860 { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
15861 { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL},
15862 { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL},
15863 { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL},
15864 { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL},
15865 { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL},
15866 { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL},
15867 { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL},
15868 { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL},
15869 { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL},
15870 { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL},
15871 { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL},
15872 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
15873 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
15874 { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
15875 { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL},
15876 { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
15877 { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL},
15878 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
15879 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
15880 { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL},
15881 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
15882 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
15883 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
15884 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
15885 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
15886 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
15887 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
15888 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
15889 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
15890 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
15891 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
15892 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
15893 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
15894 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
15895 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
15896 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
15897 { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL},
15898 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
15899 { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL},
15900 { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL},
15901 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
15902 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
15903 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
15904 { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL},
15905 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
15906 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
15907 { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL},
15908 { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
15909 { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL},
15910 { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
15911 { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
15912 { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
15913 { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
15914 { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
15915 { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
15916 { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
15917 { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
15918 { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL},
15919 { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL},
15920 { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
15921 { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL},
15922 { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
15923 { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL},
15924 { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL},
15925 { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL},
15926 { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL},
15927 { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL},
15928 { NULL, NULL, 0, NULL }
15929 };
15930
15931
15932 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
15933
15934 static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) {
15935 return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x));
15936 }
15937 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
15938 return (void *)((wxSizer *) ((wxBoxSizer *) x));
15939 }
15940 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
15941 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
15942 }
15943 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
15944 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
15945 }
15946 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
15947 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15948 }
15949 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
15950 return (void *)((wxSizer *) ((wxGridSizer *) x));
15951 }
15952 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
15953 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
15954 }
15955 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
15956 return (void *)((wxSizer *) ((wxPySizer *) x));
15957 }
15958 static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) {
15959 return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x));
15960 }
15961 static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) {
15962 return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x));
15963 }
15964 static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) {
15965 return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x));
15966 }
15967 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
15968 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
15969 }
15970 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
15971 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
15972 }
15973 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
15974 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
15975 }
15976 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
15977 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
15978 }
15979 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
15980 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
15981 }
15982 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
15983 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
15984 }
15985 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
15986 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
15987 }
15988 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
15989 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
15990 }
15991 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
15992 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
15993 }
15994 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
15995 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
15996 }
15997 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
15998 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
15999 }
16000 static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) {
16001 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16002 }
16003 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
16004 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
16005 }
16006 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
16007 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
16008 }
16009 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
16010 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16011 }
16012 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
16013 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
16014 }
16015 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16016 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
16017 }
16018 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16019 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
16020 }
16021 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
16022 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
16023 }
16024 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
16025 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
16026 }
16027 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
16028 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
16029 }
16030 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16031 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
16032 }
16033 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16034 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16035 }
16036 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16038 }
16039 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16040 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16041 }
16042 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16043 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16044 }
16045 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16046 return (void *)((wxWindow *) ((wxMenuBar *) x));
16047 }
16048 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16049 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16050 }
16051 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16052 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16053 }
16054 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16055 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16056 }
16057 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
16058 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
16059 }
16060 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
16061 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16062 }
16063 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16065 }
16066 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16068 }
16069 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16071 }
16072 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16073 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16074 }
16075 static void *_p_wxPanelTo_p_wxWindow(void *x) {
16076 return (void *)((wxWindow *) ((wxPanel *) x));
16077 }
16078 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16079 return (void *)((wxWindow *) ((wxStatusBar *) x));
16080 }
16081 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16082 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16083 }
16084 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16085 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16086 }
16087 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16088 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16089 }
16090 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16091 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16092 }
16093 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16094 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16095 }
16096 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16097 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16098 }
16099 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16100 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16101 }
16102 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16103 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16104 }
16105 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16106 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16107 }
16108 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16109 return (void *)((wxWindow *) ((wxSashWindow *) x));
16110 }
16111 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16112 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16113 }
16114 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16115 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16116 }
16117 static void *_p_wxControlTo_p_wxWindow(void *x) {
16118 return (void *)((wxWindow *) ((wxControl *) x));
16119 }
16120 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16122 }
16123 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16124 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16125 }
16126 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16127 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16128 }
16129 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16130 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16131 }
16132 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16133 return (void *)((wxWindow *) ((wxPyWindow *) x));
16134 }
16135 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16136 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16137 }
16138 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16139 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16140 }
16141 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16142 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16143 }
16144 static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) {
16145 return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x));
16146 }
16147 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16148 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16149 }
16150 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16151 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16152 }
16153 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
16154 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
16155 }
16156 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16157 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16158 }
16159 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16161 }
16162 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16164 }
16165 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16166 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16167 }
16168 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16169 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16170 }
16171 static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) {
16172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16173 }
16174 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16175 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16176 }
16177 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
16178 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
16179 }
16180 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
16181 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
16182 }
16183 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
16184 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
16185 }
16186 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
16187 return (void *)((wxWindow **) ((wxMenuBar **) x));
16188 }
16189 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
16190 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
16191 }
16192 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
16193 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
16194 }
16195 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
16196 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
16197 }
16198 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
16199 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
16200 }
16201 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
16202 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
16203 }
16204 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
16205 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
16206 }
16207 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
16208 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
16209 }
16210 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
16211 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
16212 }
16213 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
16214 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
16215 }
16216 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
16217 return (void *)((wxWindow **) ((wxPanel **) x));
16218 }
16219 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
16220 return (void *)((wxWindow **) ((wxStatusBar **) x));
16221 }
16222 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
16223 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
16224 }
16225 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
16226 return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x));
16227 }
16228 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
16229 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
16230 }
16231 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
16232 return (void *)((wxWindow **) ((wxPopupWindow **) x));
16233 }
16234 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
16235 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
16236 }
16237 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
16238 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
16239 }
16240 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
16241 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
16242 }
16243 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
16244 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
16245 }
16246 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
16247 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
16248 }
16249 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
16250 return (void *)((wxWindow **) ((wxSashWindow **) x));
16251 }
16252 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
16253 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
16254 }
16255 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
16256 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
16257 }
16258 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
16259 return (void *)((wxWindow **) ((wxControl **) x));
16260 }
16261 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
16262 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
16263 }
16264 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
16265 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
16266 }
16267 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
16268 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
16269 }
16270 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
16271 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
16272 }
16273 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
16274 return (void *)((wxWindow **) ((wxPyWindow **) x));
16275 }
16276 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
16277 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
16278 }
16279 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
16280 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
16281 }
16282 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
16283 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
16284 }
16285 static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) {
16286 return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x));
16287 }
16288 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
16289 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
16290 }
16291 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
16292 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
16293 }
16294 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
16295 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
16296 }
16297 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
16298 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
16299 }
16300 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
16301 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
16302 }
16303 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
16304 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
16305 }
16306 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
16307 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
16308 }
16309 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
16310 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
16311 }
16312 static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) {
16313 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x));
16314 }
16315 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
16316 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
16317 }
16318 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16319 return (void *)((wxControl *) ((wxControlWithItems *) x));
16320 }
16321 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
16322 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
16323 }
16324 static void *_p_wxAuiNotebookTo_p_wxControl(void *x) {
16325 return (void *)((wxControl *) ((wxAuiNotebook *) x));
16326 }
16327 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16329 }
16330 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16331 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16332 }
16333 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16334 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16335 }
16336 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16337 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16338 }
16339 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16340 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16341 }
16342 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16343 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16344 }
16345 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16346 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16347 }
16348 static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) {
16349 return (void *)((wxEvent *) ((wxAuiManagerEvent *) x));
16350 }
16351 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16352 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16353 }
16354 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16355 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16356 }
16357 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16358 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16359 }
16360 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16362 }
16363 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
16364 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
16365 }
16366 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16367 return (void *)((wxEvent *) ((wxPyEvent *) x));
16368 }
16369 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16370 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16371 }
16372 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
16373 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
16374 }
16375 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16376 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16377 }
16378 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16379 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16380 }
16381 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16382 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16383 }
16384 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16385 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16386 }
16387 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16388 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16389 }
16390 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16391 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16392 }
16393 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16394 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16395 }
16396 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16397 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16398 }
16399 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
16400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
16401 }
16402 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16403 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16404 }
16405 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16406 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16407 }
16408 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
16409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
16410 }
16411 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16413 }
16414 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16415 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16416 }
16417 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16418 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16419 }
16420 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16421 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16422 }
16423 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16424 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16425 }
16426 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16427 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16428 }
16429 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16430 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16431 }
16432 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16433 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16434 }
16435 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16437 }
16438 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16439 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16440 }
16441 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16442 return (void *)((wxEvent *) ((wxShowEvent *) x));
16443 }
16444 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16445 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16446 }
16447 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16449 }
16450 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16452 }
16453 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16454 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16455 }
16456 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16457 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16458 }
16459 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16460 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16461 }
16462 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16463 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16464 }
16465 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16466 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16467 }
16468 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16469 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16470 }
16471 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16473 }
16474 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16476 }
16477 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16478 return (void *)((wxObject *) ((wxSizerItem *) x));
16479 }
16480 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16481 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16482 }
16483 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16485 }
16486 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16487 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16488 }
16489 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16490 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16491 }
16492 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16493 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16494 }
16495 static void *_p_wxSizerTo_p_wxObject(void *x) {
16496 return (void *)((wxObject *) ((wxSizer *) x));
16497 }
16498 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16499 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16500 }
16501 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16503 }
16504 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16506 }
16507 static void *_p_wxEventTo_p_wxObject(void *x) {
16508 return (void *)((wxObject *) ((wxEvent *) x));
16509 }
16510 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16511 return (void *)((wxObject *) ((wxFontData *) x));
16512 }
16513 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16514 return (void *)((wxObject *) ((wxPrintData *) x));
16515 }
16516 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16517 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16518 }
16519 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16520 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16521 }
16522 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16523 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16524 }
16525 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16526 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16527 }
16528 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
16529 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
16530 }
16531 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16533 }
16534 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
16535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
16536 }
16537 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
16538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
16539 }
16540 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16541 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16542 }
16543 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16544 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16545 }
16546 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16547 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16548 }
16549 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16550 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16551 }
16552 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16553 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16554 }
16555 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16556 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16557 }
16558 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16560 }
16561 static void *_p_wxControlTo_p_wxObject(void *x) {
16562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16563 }
16564 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16565 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16566 }
16567 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16569 }
16570 static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) {
16571 return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x));
16572 }
16573 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16574 return (void *)((wxObject *) ((wxFSFile *) x));
16575 }
16576 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16577 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16578 }
16579 static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) {
16580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16581 }
16582 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16583 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16584 }
16585 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16587 }
16588 static void *_p_wxAuiNotebookTo_p_wxObject(void *x) {
16589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x));
16590 }
16591 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16592 return (void *)((wxObject *) ((wxColourData *) x));
16593 }
16594 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16595 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16596 }
16597 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16598 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16599 }
16600 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16602 }
16603 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16605 }
16606 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16608 }
16609 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16611 }
16612 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16614 }
16615 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16617 }
16618 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
16619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16620 }
16621 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
16622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
16623 }
16624 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16626 }
16627 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16629 }
16630 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16632 }
16633 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16634 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16635 }
16636 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16637 return (void *)((wxObject *) ((wxPrinter *) x));
16638 }
16639 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
16640 return (void *)((wxObject *) ((wxMenuItem *) x));
16641 }
16642 static void *_p_wxDateEventTo_p_wxObject(void *x) {
16643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
16644 }
16645 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
16646 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
16647 }
16648 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
16649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
16650 }
16651 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
16652 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
16653 }
16654 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
16655 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
16656 }
16657 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
16658 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
16659 }
16660 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
16661 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
16662 }
16663 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
16664 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
16665 }
16666 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
16667 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
16668 }
16669 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
16670 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
16671 }
16672 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
16673 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
16674 }
16675 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
16676 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
16677 }
16678 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
16679 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
16680 }
16681 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
16682 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
16683 }
16684 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
16685 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
16686 }
16687 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
16688 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
16689 }
16690 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
16691 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
16692 }
16693 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
16694 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
16695 }
16696 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
16697 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
16698 }
16699 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
16700 return (void *)((wxObject *) ((wxImageHandler *) x));
16701 }
16702 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
16703 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
16704 }
16705 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
16706 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
16707 }
16708 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
16709 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
16710 }
16711 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
16712 return (void *)((wxObject *) ((wxEvtHandler *) x));
16713 }
16714 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
16715 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
16716 }
16717 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
16718 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
16719 }
16720 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
16721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16722 }
16723 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
16724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16725 }
16726 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
16727 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
16728 }
16729 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
16730 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
16731 }
16732 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
16733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16734 }
16735 static void *_p_wxImageTo_p_wxObject(void *x) {
16736 return (void *)((wxObject *) ((wxImage *) x));
16737 }
16738 static void *_p_wxFrameTo_p_wxObject(void *x) {
16739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
16740 }
16741 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
16742 return (void *)((wxObject *) ((wxPyPrintout *) x));
16743 }
16744 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
16745 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
16746 }
16747 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
16748 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
16749 }
16750 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
16751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
16752 }
16753 static void *_p_wxAuiManagerTo_p_wxObject(void *x) {
16754 return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x));
16755 }
16756 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
16757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16758 }
16759 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
16760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
16761 }
16762 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
16763 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16764 }
16765 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
16766 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
16767 }
16768 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
16769 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
16770 }
16771 static void *_p_wxWindowTo_p_wxObject(void *x) {
16772 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
16773 }
16774 static void *_p_wxMenuTo_p_wxObject(void *x) {
16775 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
16776 }
16777 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
16778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
16779 }
16780 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
16781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16782 }
16783 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
16784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
16785 }
16786 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
16787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
16788 }
16789 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
16790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
16791 }
16792 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
16793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
16794 }
16795 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
16796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16797 }
16798 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
16799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
16800 }
16801 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
16802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16803 }
16804 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
16805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16806 }
16807 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
16808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16809 }
16810 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
16811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
16812 }
16813 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
16814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16815 }
16816 static void *_p_wxSashEventTo_p_wxObject(void *x) {
16817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
16818 }
16819 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
16820 return (void *)((wxObject *) ((wxPrintPreview *) x));
16821 }
16822 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
16823 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
16824 }
16825 static void *_p_wxPanelTo_p_wxObject(void *x) {
16826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
16827 }
16828 static void *_p_wxDialogTo_p_wxObject(void *x) {
16829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
16830 }
16831 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
16832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16833 }
16834 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
16835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16836 }
16837 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
16838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16839 }
16840 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
16841 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
16842 }
16843 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
16844 return (void *)((wxObject *) ((wxPrintDialog *) x));
16845 }
16846 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
16847 return (void *)((wxObject *) ((wxFileSystem *) x));
16848 }
16849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
16850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
16851 }
16852 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
16853 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
16854 }
16855 static void *_p_wxPyAppTo_p_wxObject(void *x) {
16856 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
16857 }
16858 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
16859 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
16860 }
16861 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
16862 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
16863 }
16864 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
16865 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
16866 }
16867 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
16868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
16869 }
16870 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
16871 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
16872 }
16873 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
16874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
16875 }
16876 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
16877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16878 }
16879 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
16880 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
16881 }
16882 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
16883 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
16884 }
16885 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
16886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
16887 }
16888 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
16889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
16890 }
16891 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
16892 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
16893 }
16894 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
16895 return (void *)((wxObject *) ((wxPrintDialogData *) x));
16896 }
16897 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
16898 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
16899 }
16900 static void *_p_wxValidatorTo_p_wxObject(void *x) {
16901 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
16902 }
16903 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
16904 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16905 }
16906 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
16907 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16908 }
16909 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
16910 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16911 }
16912 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
16913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
16914 }
16915 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
16916 return (void *)((wxEvtHandler *) ((wxValidator *) x));
16917 }
16918 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
16919 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
16920 }
16921 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
16922 return (void *)((wxEvtHandler *) ((wxMenu *) x));
16923 }
16924 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
16925 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16926 }
16927 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
16928 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16929 }
16930 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
16931 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16932 }
16933 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
16934 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16935 }
16936 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
16937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16938 }
16939 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
16940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
16941 }
16942 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
16943 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16944 }
16945 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
16946 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16947 }
16948 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
16949 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16950 }
16951 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
16952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
16953 }
16954 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
16955 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
16956 }
16957 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
16958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
16959 }
16960 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
16961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16962 }
16963 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
16964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16965 }
16966 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
16967 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
16968 }
16969 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
16970 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
16971 }
16972 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
16973 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
16974 }
16975 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
16976 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
16977 }
16978 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
16979 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
16980 }
16981 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
16982 return (void *)((wxEvtHandler *) ((wxWindow *) x));
16983 }
16984 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
16985 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
16986 }
16987 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
16988 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
16989 }
16990 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
16991 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
16992 }
16993 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
16994 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16995 }
16996 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
16997 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
16998 }
16999 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
17000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
17001 }
17002 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
17003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17004 }
17005 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
17006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
17007 }
17008 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17009 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17010 }
17011 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17012 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17013 }
17014 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
17015 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
17016 }
17017 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
17018 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
17019 }
17020 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
17021 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17022 }
17023 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
17024 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17025 }
17026 static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) {
17027 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x));
17028 }
17029 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
17030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17031 }
17032 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
17033 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17034 }
17035 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
17036 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
17037 }
17038 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
17039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
17040 }
17041 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
17042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17043 }
17044 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
17045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17046 }
17047 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17049 }
17050 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17052 }
17053 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
17054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17055 }
17056 static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) {
17057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
17058 }
17059 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17061 }
17062 static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) {
17063 return (void *)((wxEvtHandler *) ((wxAuiManager *) x));
17064 }
17065 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
17066 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
17067 }
17068 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
17069 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
17070 }
17071 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
17072 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
17073 }
17074 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
17075 return (void *)((wxFrame *) ((wxProgressDialog *) x));
17076 }
17077 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
17078 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
17079 }
17080 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
17081 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17082 }
17083 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
17084 return (void *)((wxFrame *) ((wxMiniFrame *) x));
17085 }
17086 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
17087 return (void *)((wxFrame *) ((wxSplashScreen *) x));
17088 }
17089 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
17090 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
17091 }
17092 static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) {
17093 return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x));
17094 }
17095 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17096 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17097 }
17098 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17099 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17100 }
17101 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17102 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17103 }
17104 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
17105 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
17106 }
17107 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17108 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17109 }
17110 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17111 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17112 }
17113 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17114 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17115 }
17116 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17117 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17118 }
17119 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
17120 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
17121 }
17122 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17123 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
17124 }
17125 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17126 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17127 }
17128 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17129 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17130 }
17131 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17132 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17133 }
17134 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17135 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17136 }
17137 static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) {
17138 return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x));
17139 }
17140 static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) {
17141 return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x));
17142 }
17143 static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) {
17144 return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x));
17145 }
17146 static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) {
17147 return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x));
17148 }
17149 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
17150 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};
17151 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
17152 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
17153 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
17154 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
17155 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
17156 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
17157 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
17158 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
17159 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
17160 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
17161 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
17162 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
17163 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
17164 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
17165 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
17166 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
17167 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
17168 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
17169 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
17170 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
17171 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
17172 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
17173 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
17174 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
17175 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
17176 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
17177 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
17178 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
17179 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
17180 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
17181 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
17182 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
17183 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
17184 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
17185 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
17186 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
17187 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
17188 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
17189 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
17190 static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0};
17191 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
17192 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
17193 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
17194 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
17195 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
17196 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
17197 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
17198 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
17199 static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0};
17200 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
17201 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
17202 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
17203 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
17204 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
17205 static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0};
17206 static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0};
17207 static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0};
17208 static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0};
17209 static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0};
17210 static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0};
17211 static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0};
17212 static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0};
17213 static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0};
17214 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
17215 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
17216 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
17217 static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0};
17218 static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0};
17219 static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0};
17220 static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0};
17221 static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0};
17222 static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0};
17223 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
17224 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
17225 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
17226 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
17227 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
17228 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
17229 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
17230 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
17231 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
17232 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
17233 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
17234 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
17235 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
17236 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
17237 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
17238 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
17239 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
17240 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
17241 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
17242 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
17243 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
17244 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
17245 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
17246 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
17247 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
17248 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
17249 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
17250 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
17251 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
17252 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
17253 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
17254 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
17255 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
17256 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
17257 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
17258 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
17259 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
17260 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
17261 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
17262 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
17263 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
17264 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
17265 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
17266 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
17267 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
17268 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
17269 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
17270 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
17271 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
17272 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
17273 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
17274 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
17275 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
17276 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
17277 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
17278 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
17279 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
17280 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
17281 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
17282 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
17283 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
17284 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
17285 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
17286 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
17287 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
17288 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
17289 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
17290 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
17291 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
17292 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
17293 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
17294 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
17295 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
17296 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
17297 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
17298 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
17299 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
17300 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
17301 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
17302 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
17303 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
17304 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
17305 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
17306 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
17307 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
17308 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
17309 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
17310 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
17311 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
17312 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
17313 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
17314 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
17315 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
17316 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
17317 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
17318 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
17319 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
17320 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
17321 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
17322 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
17323 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
17324 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
17325 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
17326 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
17327 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
17328 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
17329 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
17330 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
17331 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
17332 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
17333 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
17334 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
17335 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
17336 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
17337 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
17338 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
17339 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
17340 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
17341 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
17342 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
17343 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
17344 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
17345 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
17346 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
17347 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
17348 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
17349 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
17350 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
17351 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
17352 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
17353 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
17354 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
17355 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
17356 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
17357 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
17358 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
17359 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
17360 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
17361 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
17362 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
17363 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
17364 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
17365 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
17366 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
17367 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
17368 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
17369 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
17370 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
17371 static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0};
17372 static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0};
17373 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
17374 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
17375 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
17376 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
17377 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
17378 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
17379 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
17380
17381 static swig_type_info *swig_type_initial[] = {
17382 &_swigt__p_char,
17383 &_swigt__p_form_ops_t,
17384 &_swigt__p_int,
17385 &_swigt__p_p_wxAuiFloatingFrame,
17386 &_swigt__p_p_wxAuiNotebook,
17387 &_swigt__p_p_wxAuiTabContainerButton,
17388 &_swigt__p_p_wxAuiTabCtrl,
17389 &_swigt__p_p_wxColourDialog,
17390 &_swigt__p_p_wxControl,
17391 &_swigt__p_p_wxControlWithItems,
17392 &_swigt__p_p_wxDialog,
17393 &_swigt__p_p_wxDirDialog,
17394 &_swigt__p_p_wxFileDialog,
17395 &_swigt__p_p_wxFindReplaceDialog,
17396 &_swigt__p_p_wxFontDialog,
17397 &_swigt__p_p_wxFrame,
17398 &_swigt__p_p_wxMDIChildFrame,
17399 &_swigt__p_p_wxMDIClientWindow,
17400 &_swigt__p_p_wxMDIParentFrame,
17401 &_swigt__p_p_wxMenuBar,
17402 &_swigt__p_p_wxMessageDialog,
17403 &_swigt__p_p_wxMiniFrame,
17404 &_swigt__p_p_wxMultiChoiceDialog,
17405 &_swigt__p_p_wxNumberEntryDialog,
17406 &_swigt__p_p_wxPanel,
17407 &_swigt__p_p_wxPasswordEntryDialog,
17408 &_swigt__p_p_wxPopupWindow,
17409 &_swigt__p_p_wxPreviewCanvas,
17410 &_swigt__p_p_wxPreviewControlBar,
17411 &_swigt__p_p_wxPreviewFrame,
17412 &_swigt__p_p_wxProgressDialog,
17413 &_swigt__p_p_wxPyHtmlListBox,
17414 &_swigt__p_p_wxPyPanel,
17415 &_swigt__p_p_wxPyPopupTransientWindow,
17416 &_swigt__p_p_wxPyPreviewControlBar,
17417 &_swigt__p_p_wxPyPreviewFrame,
17418 &_swigt__p_p_wxPyScrolledWindow,
17419 &_swigt__p_p_wxPyVListBox,
17420 &_swigt__p_p_wxPyVScrolledWindow,
17421 &_swigt__p_p_wxPyWindow,
17422 &_swigt__p_p_wxSashLayoutWindow,
17423 &_swigt__p_p_wxSashWindow,
17424 &_swigt__p_p_wxScrolledWindow,
17425 &_swigt__p_p_wxSingleChoiceDialog,
17426 &_swigt__p_p_wxSplashScreen,
17427 &_swigt__p_p_wxSplashScreenWindow,
17428 &_swigt__p_p_wxSplitterWindow,
17429 &_swigt__p_p_wxStatusBar,
17430 &_swigt__p_p_wxTextEntryDialog,
17431 &_swigt__p_p_wxTipWindow,
17432 &_swigt__p_p_wxTopLevelWindow,
17433 &_swigt__p_p_wxWindow,
17434 &_swigt__p_unsigned_char,
17435 &_swigt__p_unsigned_int,
17436 &_swigt__p_unsigned_long,
17437 &_swigt__p_wxANIHandler,
17438 &_swigt__p_wxAcceleratorTable,
17439 &_swigt__p_wxActivateEvent,
17440 &_swigt__p_wxArrayString,
17441 &_swigt__p_wxAuiDefaultDockArt,
17442 &_swigt__p_wxAuiDefaultTabArt,
17443 &_swigt__p_wxAuiDockArt,
17444 &_swigt__p_wxAuiDockInfo,
17445 &_swigt__p_wxAuiDockUIPart,
17446 &_swigt__p_wxAuiFloatingFrame,
17447 &_swigt__p_wxAuiManager,
17448 &_swigt__p_wxAuiManagerEvent,
17449 &_swigt__p_wxAuiNotebook,
17450 &_swigt__p_wxAuiNotebookEvent,
17451 &_swigt__p_wxAuiNotebookPage,
17452 &_swigt__p_wxAuiNotebookPageArray,
17453 &_swigt__p_wxAuiPaneButton,
17454 &_swigt__p_wxAuiPaneButtonArray,
17455 &_swigt__p_wxAuiPaneInfo,
17456 &_swigt__p_wxAuiPaneInfoPtrArray,
17457 &_swigt__p_wxAuiSimpleTabArt,
17458 &_swigt__p_wxAuiTabArt,
17459 &_swigt__p_wxAuiTabContainer,
17460 &_swigt__p_wxAuiTabContainerButton,
17461 &_swigt__p_wxAuiTabCtrl,
17462 &_swigt__p_wxBMPHandler,
17463 &_swigt__p_wxBitmap,
17464 &_swigt__p_wxBoxSizer,
17465 &_swigt__p_wxCURHandler,
17466 &_swigt__p_wxCalculateLayoutEvent,
17467 &_swigt__p_wxChildFocusEvent,
17468 &_swigt__p_wxClipboardTextEvent,
17469 &_swigt__p_wxCloseEvent,
17470 &_swigt__p_wxColor,
17471 &_swigt__p_wxColour,
17472 &_swigt__p_wxColourData,
17473 &_swigt__p_wxColourDialog,
17474 &_swigt__p_wxCommandEvent,
17475 &_swigt__p_wxContextMenuEvent,
17476 &_swigt__p_wxControl,
17477 &_swigt__p_wxControlWithItems,
17478 &_swigt__p_wxDC,
17479 &_swigt__p_wxDateEvent,
17480 &_swigt__p_wxDialog,
17481 &_swigt__p_wxDirDialog,
17482 &_swigt__p_wxDisplayChangedEvent,
17483 &_swigt__p_wxDropFilesEvent,
17484 &_swigt__p_wxDuplexMode,
17485 &_swigt__p_wxEraseEvent,
17486 &_swigt__p_wxEvent,
17487 &_swigt__p_wxEvtHandler,
17488 &_swigt__p_wxFSFile,
17489 &_swigt__p_wxFileDialog,
17490 &_swigt__p_wxFileSystem,
17491 &_swigt__p_wxFindDialogEvent,
17492 &_swigt__p_wxFindReplaceData,
17493 &_swigt__p_wxFindReplaceDialog,
17494 &_swigt__p_wxFlexGridSizer,
17495 &_swigt__p_wxFocusEvent,
17496 &_swigt__p_wxFont,
17497 &_swigt__p_wxFontData,
17498 &_swigt__p_wxFontDialog,
17499 &_swigt__p_wxFrame,
17500 &_swigt__p_wxGBSizerItem,
17501 &_swigt__p_wxGIFHandler,
17502 &_swigt__p_wxGridBagSizer,
17503 &_swigt__p_wxGridSizer,
17504 &_swigt__p_wxICOHandler,
17505 &_swigt__p_wxIconizeEvent,
17506 &_swigt__p_wxIdleEvent,
17507 &_swigt__p_wxImage,
17508 &_swigt__p_wxImageHandler,
17509 &_swigt__p_wxIndividualLayoutConstraint,
17510 &_swigt__p_wxInitDialogEvent,
17511 &_swigt__p_wxJPEGHandler,
17512 &_swigt__p_wxKeyEvent,
17513 &_swigt__p_wxLayoutAlgorithm,
17514 &_swigt__p_wxLayoutConstraints,
17515 &_swigt__p_wxMDIChildFrame,
17516 &_swigt__p_wxMDIClientWindow,
17517 &_swigt__p_wxMDIParentFrame,
17518 &_swigt__p_wxMaximizeEvent,
17519 &_swigt__p_wxMenu,
17520 &_swigt__p_wxMenuBar,
17521 &_swigt__p_wxMenuEvent,
17522 &_swigt__p_wxMenuItem,
17523 &_swigt__p_wxMessageDialog,
17524 &_swigt__p_wxMiniFrame,
17525 &_swigt__p_wxMouseCaptureChangedEvent,
17526 &_swigt__p_wxMouseCaptureLostEvent,
17527 &_swigt__p_wxMouseEvent,
17528 &_swigt__p_wxMoveEvent,
17529 &_swigt__p_wxMultiChoiceDialog,
17530 &_swigt__p_wxNavigationKeyEvent,
17531 &_swigt__p_wxNcPaintEvent,
17532 &_swigt__p_wxNotifyEvent,
17533 &_swigt__p_wxNumberEntryDialog,
17534 &_swigt__p_wxObject,
17535 &_swigt__p_wxPCXHandler,
17536 &_swigt__p_wxPNGHandler,
17537 &_swigt__p_wxPNMHandler,
17538 &_swigt__p_wxPageSetupDialog,
17539 &_swigt__p_wxPageSetupDialogData,
17540 &_swigt__p_wxPaintEvent,
17541 &_swigt__p_wxPaletteChangedEvent,
17542 &_swigt__p_wxPanel,
17543 &_swigt__p_wxPaperSize,
17544 &_swigt__p_wxPasswordEntryDialog,
17545 &_swigt__p_wxPoint,
17546 &_swigt__p_wxPopupWindow,
17547 &_swigt__p_wxPreviewCanvas,
17548 &_swigt__p_wxPreviewControlBar,
17549 &_swigt__p_wxPreviewFrame,
17550 &_swigt__p_wxPrintData,
17551 &_swigt__p_wxPrintDialog,
17552 &_swigt__p_wxPrintDialogData,
17553 &_swigt__p_wxPrintPreview,
17554 &_swigt__p_wxPrinter,
17555 &_swigt__p_wxProgressDialog,
17556 &_swigt__p_wxPyApp,
17557 &_swigt__p_wxPyAuiDockArt,
17558 &_swigt__p_wxPyAuiTabArt,
17559 &_swigt__p_wxPyCommandEvent,
17560 &_swigt__p_wxPyEvent,
17561 &_swigt__p_wxPyHtmlListBox,
17562 &_swigt__p_wxPyImageHandler,
17563 &_swigt__p_wxPyPanel,
17564 &_swigt__p_wxPyPopupTransientWindow,
17565 &_swigt__p_wxPyPreviewControlBar,
17566 &_swigt__p_wxPyPreviewFrame,
17567 &_swigt__p_wxPyPrintPreview,
17568 &_swigt__p_wxPyPrintout,
17569 &_swigt__p_wxPyScrolledWindow,
17570 &_swigt__p_wxPySizer,
17571 &_swigt__p_wxPyTaskBarIcon,
17572 &_swigt__p_wxPyVListBox,
17573 &_swigt__p_wxPyVScrolledWindow,
17574 &_swigt__p_wxPyValidator,
17575 &_swigt__p_wxPyWindow,
17576 &_swigt__p_wxQueryLayoutInfoEvent,
17577 &_swigt__p_wxQueryNewPaletteEvent,
17578 &_swigt__p_wxRect,
17579 &_swigt__p_wxSashEvent,
17580 &_swigt__p_wxSashLayoutWindow,
17581 &_swigt__p_wxSashWindow,
17582 &_swigt__p_wxScrollEvent,
17583 &_swigt__p_wxScrollWinEvent,
17584 &_swigt__p_wxScrolledWindow,
17585 &_swigt__p_wxSetCursorEvent,
17586 &_swigt__p_wxShowEvent,
17587 &_swigt__p_wxSingleChoiceDialog,
17588 &_swigt__p_wxSize,
17589 &_swigt__p_wxSizeEvent,
17590 &_swigt__p_wxSizer,
17591 &_swigt__p_wxSizerItem,
17592 &_swigt__p_wxSplashScreen,
17593 &_swigt__p_wxSplashScreenWindow,
17594 &_swigt__p_wxSplitterEvent,
17595 &_swigt__p_wxSplitterWindow,
17596 &_swigt__p_wxStaticBoxSizer,
17597 &_swigt__p_wxStatusBar,
17598 &_swigt__p_wxStdDialogButtonSizer,
17599 &_swigt__p_wxString,
17600 &_swigt__p_wxSysColourChangedEvent,
17601 &_swigt__p_wxTGAHandler,
17602 &_swigt__p_wxTIFFHandler,
17603 &_swigt__p_wxTaskBarIconEvent,
17604 &_swigt__p_wxTextEntryDialog,
17605 &_swigt__p_wxTipWindow,
17606 &_swigt__p_wxTopLevelWindow,
17607 &_swigt__p_wxUpdateUIEvent,
17608 &_swigt__p_wxValidator,
17609 &_swigt__p_wxWindow,
17610 &_swigt__p_wxWindowCreateEvent,
17611 &_swigt__p_wxWindowDestroyEvent,
17612 &_swigt__p_wxXPMHandler,
17613 };
17614
17615 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
17616 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
17617 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
17618 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
17619 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
17620 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
17621 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
17622 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
17623 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
17624 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
17625 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
17626 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17627 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17628 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17629 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
17630 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
17631 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
17632 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
17633 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
17634 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17635 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
17636 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
17637 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
17638 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
17639 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17640 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
17641 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
17642 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
17643 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
17644 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
17645 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17646 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
17647 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
17648 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
17649 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
17650 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
17651 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
17652 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
17653 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
17654 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
17655 static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}};
17656 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
17657 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
17658 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
17659 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
17660 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
17661 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
17662 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
17663 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
17664 static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}};
17665 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
17666 static swig_cast_info _swigc__p_p_wxWindow[] = { {&_swigt__p_p_wxSplashScreen, _p_p_wxSplashScreenTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMiniFrame, _p_p_wxMiniFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPanel, _p_p_wxPyPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMenuBar, _p_p_wxMenuBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFindReplaceDialog, _p_p_wxFindReplaceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxProgressDialog, _p_p_wxProgressDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMessageDialog, _p_p_wxMessageDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxNumberEntryDialog, _p_p_wxNumberEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPasswordEntryDialog, _p_p_wxPasswordEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTextEntryDialog, _p_p_wxTextEntryDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSingleChoiceDialog, _p_p_wxSingleChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMultiChoiceDialog, _p_p_wxMultiChoiceDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFileDialog, _p_p_wxFileDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPanel, _p_p_wxPanelTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxStatusBar, _p_p_wxStatusBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVScrolledWindow, _p_p_wxPyVScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTipWindow, _p_p_wxTipWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPopupTransientWindow, _p_p_wxPyPopupTransientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPopupWindow, _p_p_wxPopupWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashLayoutWindow, _p_p_wxSashLayoutWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxScrolledWindow, _p_p_wxScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxTopLevelWindow, _p_p_wxTopLevelWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplashScreenWindow, _p_p_wxSplashScreenWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSplitterWindow, _p_p_wxSplitterWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxSashWindow, _p_p_wxSashWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIClientWindow, _p_p_wxMDIClientWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyScrolledWindow, _p_p_wxPyScrolledWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxWindow, 0, 0, 0}, {&_swigt__p_p_wxPreviewFrame, _p_p_wxPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewFrame, _p_p_wxPyPreviewFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControl, _p_p_wxControlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIChildFrame, _p_p_wxMDIChildFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxControlWithItems, _p_p_wxControlWithItemsTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyWindow, _p_p_wxPyWindowTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewCanvas, _p_p_wxPreviewCanvasTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyHtmlListBox, _p_p_wxPyHtmlListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyVListBox, _p_p_wxPyVListBoxTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiNotebook, _p_p_wxAuiNotebookTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPreviewControlBar, _p_p_wxPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxPyPreviewControlBar, _p_p_wxPyPreviewControlBarTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiTabCtrl, _p_p_wxAuiTabCtrlTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFrame, _p_p_wxFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxFontDialog, _p_p_wxFontDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDirDialog, _p_p_wxDirDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxColourDialog, _p_p_wxColourDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxDialog, _p_p_wxDialogTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxAuiFloatingFrame, _p_p_wxAuiFloatingFrameTo_p_p_wxWindow, 0, 0}, {&_swigt__p_p_wxMDIParentFrame, _p_p_wxMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}};
17667 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
17668 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
17669 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
17670 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
17671 static swig_cast_info _swigc__p_wxAuiDefaultDockArt[] = { {&_swigt__p_wxAuiDefaultDockArt, 0, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt, 0, 0},{0, 0, 0, 0}};
17672 static swig_cast_info _swigc__p_wxAuiDefaultTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt, 0, 0},{0, 0, 0, 0}};
17673 static swig_cast_info _swigc__p_wxAuiDockArt[] = { {&_swigt__p_wxAuiDockArt, 0, 0, 0}, {&_swigt__p_wxAuiDefaultDockArt, _p_wxAuiDefaultDockArtTo_p_wxAuiDockArt, 0, 0}, {&_swigt__p_wxPyAuiDockArt, _p_wxPyAuiDockArtTo_p_wxAuiDockArt, 0, 0},{0, 0, 0, 0}};
17674 static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}};
17675 static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
17676 static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}};
17677 static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}};
17678 static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
17679 static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}};
17680 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
17681 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
17682 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
17683 static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}};
17684 static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
17685 static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
17686 static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
17687 static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}};
17688 static swig_cast_info _swigc__p_wxAuiTabArt[] = { {&_swigt__p_wxAuiDefaultTabArt, _p_wxAuiDefaultTabArtTo_p_wxAuiTabArt, 0, 0}, {&_swigt__p_wxAuiTabArt, 0, 0, 0}, {&_swigt__p_wxPyAuiTabArt, _p_wxPyAuiTabArtTo_p_wxAuiTabArt, 0, 0}, {&_swigt__p_wxAuiSimpleTabArt, _p_wxAuiSimpleTabArtTo_p_wxAuiTabArt, 0, 0},{0, 0, 0, 0}};
17689 static swig_cast_info _swigc__p_wxAuiTabContainer[] = { {&_swigt__p_wxAuiTabContainer, 0, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxAuiTabContainer, 0, 0},{0, 0, 0, 0}};
17690 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
17691 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
17692 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
17693 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
17694 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
17695 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
17696 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
17697 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
17698 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
17699 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
17700 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
17701 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
17702 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
17703 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
17704 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
17705 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
17706 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
17707 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
17708 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
17709 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
17710 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
17711 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
17712 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
17713 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
17714 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
17715 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
17716 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
17717 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
17718 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
17719 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
17720 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
17721 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
17722 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
17723 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
17724 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
17725 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
17726 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
17727 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
17728 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
17729 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
17730 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
17731 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
17732 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
17733 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
17734 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
17735 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
17736 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
17737 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
17738 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
17739 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
17740 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
17741 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
17742 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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiManagerEvent, _p_wxAuiManagerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 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_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_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_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_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_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
17743 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
17744 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
17745 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
17746 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
17747 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
17748 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17749 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
17750 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
17751 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
17752 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
17753 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
17754 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17755 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
17756 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
17757 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
17758 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
17759 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
17760 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17761 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
17762 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17763 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
17764 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
17765 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
17766 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
17767 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
17768 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
17769 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
17770 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
17771 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
17772 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
17773 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
17774 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
17775 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
17776 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
17777 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
17778 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
17779 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
17780 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
17781 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
17782 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
17783 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
17784 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
17785 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
17786 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
17787 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiManager, _p_wxAuiManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
17788 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
17789 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
17790 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxMiniFrame, 0, 0},{0, 0, 0, 0}};
17791 static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
17792 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
17793 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
17794 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
17795 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
17796 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
17797 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
17798 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
17799 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
17800 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
17801 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
17802 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
17803 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
17804 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
17805 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
17806 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
17807 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
17808 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
17809 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
17810 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
17811 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
17812 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
17813 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
17814 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
17815 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
17816 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
17817 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
17818 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
17819 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
17820 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
17821 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
17822 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
17823 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
17824 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
17825 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
17826 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
17827 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
17828 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
17829 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
17830 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
17831 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
17832 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
17833 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
17834 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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_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_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiManagerEvent, _p_wxAuiManagerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_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_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiManager, _p_wxAuiManagerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiNotebookEvent, _p_wxAuiNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_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_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_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_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_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_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}};
17835 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
17836 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
17837 static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}};
17838 static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}};
17839 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
17840 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
17841 static swig_cast_info _swigc__p_wxSizer[] = { {&_swigt__p_wxSizer, 0, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxSizer, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxSizer, 0, 0},{0, 0, 0, 0}};
17842 static swig_cast_info _swigc__p_wxSizerItem[] = { {&_swigt__p_wxSizerItem, 0, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxSizerItem, 0, 0},{0, 0, 0, 0}};
17843 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
17844 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
17845 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiNotebook, _p_wxAuiNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiTabCtrl, _p_wxAuiTabCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiFloatingFrame, _p_wxAuiFloatingFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
17846
17847 static swig_cast_info *swig_cast_initial[] = {
17848 _swigc__p_char,
17849 _swigc__p_form_ops_t,
17850 _swigc__p_int,
17851 _swigc__p_p_wxAuiFloatingFrame,
17852 _swigc__p_p_wxAuiNotebook,
17853 _swigc__p_p_wxAuiTabContainerButton,
17854 _swigc__p_p_wxAuiTabCtrl,
17855 _swigc__p_p_wxColourDialog,
17856 _swigc__p_p_wxControl,
17857 _swigc__p_p_wxControlWithItems,
17858 _swigc__p_p_wxDialog,
17859 _swigc__p_p_wxDirDialog,
17860 _swigc__p_p_wxFileDialog,
17861 _swigc__p_p_wxFindReplaceDialog,
17862 _swigc__p_p_wxFontDialog,
17863 _swigc__p_p_wxFrame,
17864 _swigc__p_p_wxMDIChildFrame,
17865 _swigc__p_p_wxMDIClientWindow,
17866 _swigc__p_p_wxMDIParentFrame,
17867 _swigc__p_p_wxMenuBar,
17868 _swigc__p_p_wxMessageDialog,
17869 _swigc__p_p_wxMiniFrame,
17870 _swigc__p_p_wxMultiChoiceDialog,
17871 _swigc__p_p_wxNumberEntryDialog,
17872 _swigc__p_p_wxPanel,
17873 _swigc__p_p_wxPasswordEntryDialog,
17874 _swigc__p_p_wxPopupWindow,
17875 _swigc__p_p_wxPreviewCanvas,
17876 _swigc__p_p_wxPreviewControlBar,
17877 _swigc__p_p_wxPreviewFrame,
17878 _swigc__p_p_wxProgressDialog,
17879 _swigc__p_p_wxPyHtmlListBox,
17880 _swigc__p_p_wxPyPanel,
17881 _swigc__p_p_wxPyPopupTransientWindow,
17882 _swigc__p_p_wxPyPreviewControlBar,
17883 _swigc__p_p_wxPyPreviewFrame,
17884 _swigc__p_p_wxPyScrolledWindow,
17885 _swigc__p_p_wxPyVListBox,
17886 _swigc__p_p_wxPyVScrolledWindow,
17887 _swigc__p_p_wxPyWindow,
17888 _swigc__p_p_wxSashLayoutWindow,
17889 _swigc__p_p_wxSashWindow,
17890 _swigc__p_p_wxScrolledWindow,
17891 _swigc__p_p_wxSingleChoiceDialog,
17892 _swigc__p_p_wxSplashScreen,
17893 _swigc__p_p_wxSplashScreenWindow,
17894 _swigc__p_p_wxSplitterWindow,
17895 _swigc__p_p_wxStatusBar,
17896 _swigc__p_p_wxTextEntryDialog,
17897 _swigc__p_p_wxTipWindow,
17898 _swigc__p_p_wxTopLevelWindow,
17899 _swigc__p_p_wxWindow,
17900 _swigc__p_unsigned_char,
17901 _swigc__p_unsigned_int,
17902 _swigc__p_unsigned_long,
17903 _swigc__p_wxANIHandler,
17904 _swigc__p_wxAcceleratorTable,
17905 _swigc__p_wxActivateEvent,
17906 _swigc__p_wxArrayString,
17907 _swigc__p_wxAuiDefaultDockArt,
17908 _swigc__p_wxAuiDefaultTabArt,
17909 _swigc__p_wxAuiDockArt,
17910 _swigc__p_wxAuiDockInfo,
17911 _swigc__p_wxAuiDockUIPart,
17912 _swigc__p_wxAuiFloatingFrame,
17913 _swigc__p_wxAuiManager,
17914 _swigc__p_wxAuiManagerEvent,
17915 _swigc__p_wxAuiNotebook,
17916 _swigc__p_wxAuiNotebookEvent,
17917 _swigc__p_wxAuiNotebookPage,
17918 _swigc__p_wxAuiNotebookPageArray,
17919 _swigc__p_wxAuiPaneButton,
17920 _swigc__p_wxAuiPaneButtonArray,
17921 _swigc__p_wxAuiPaneInfo,
17922 _swigc__p_wxAuiPaneInfoPtrArray,
17923 _swigc__p_wxAuiSimpleTabArt,
17924 _swigc__p_wxAuiTabArt,
17925 _swigc__p_wxAuiTabContainer,
17926 _swigc__p_wxAuiTabContainerButton,
17927 _swigc__p_wxAuiTabCtrl,
17928 _swigc__p_wxBMPHandler,
17929 _swigc__p_wxBitmap,
17930 _swigc__p_wxBoxSizer,
17931 _swigc__p_wxCURHandler,
17932 _swigc__p_wxCalculateLayoutEvent,
17933 _swigc__p_wxChildFocusEvent,
17934 _swigc__p_wxClipboardTextEvent,
17935 _swigc__p_wxCloseEvent,
17936 _swigc__p_wxColor,
17937 _swigc__p_wxColour,
17938 _swigc__p_wxColourData,
17939 _swigc__p_wxColourDialog,
17940 _swigc__p_wxCommandEvent,
17941 _swigc__p_wxContextMenuEvent,
17942 _swigc__p_wxControl,
17943 _swigc__p_wxControlWithItems,
17944 _swigc__p_wxDC,
17945 _swigc__p_wxDateEvent,
17946 _swigc__p_wxDialog,
17947 _swigc__p_wxDirDialog,
17948 _swigc__p_wxDisplayChangedEvent,
17949 _swigc__p_wxDropFilesEvent,
17950 _swigc__p_wxDuplexMode,
17951 _swigc__p_wxEraseEvent,
17952 _swigc__p_wxEvent,
17953 _swigc__p_wxEvtHandler,
17954 _swigc__p_wxFSFile,
17955 _swigc__p_wxFileDialog,
17956 _swigc__p_wxFileSystem,
17957 _swigc__p_wxFindDialogEvent,
17958 _swigc__p_wxFindReplaceData,
17959 _swigc__p_wxFindReplaceDialog,
17960 _swigc__p_wxFlexGridSizer,
17961 _swigc__p_wxFocusEvent,
17962 _swigc__p_wxFont,
17963 _swigc__p_wxFontData,
17964 _swigc__p_wxFontDialog,
17965 _swigc__p_wxFrame,
17966 _swigc__p_wxGBSizerItem,
17967 _swigc__p_wxGIFHandler,
17968 _swigc__p_wxGridBagSizer,
17969 _swigc__p_wxGridSizer,
17970 _swigc__p_wxICOHandler,
17971 _swigc__p_wxIconizeEvent,
17972 _swigc__p_wxIdleEvent,
17973 _swigc__p_wxImage,
17974 _swigc__p_wxImageHandler,
17975 _swigc__p_wxIndividualLayoutConstraint,
17976 _swigc__p_wxInitDialogEvent,
17977 _swigc__p_wxJPEGHandler,
17978 _swigc__p_wxKeyEvent,
17979 _swigc__p_wxLayoutAlgorithm,
17980 _swigc__p_wxLayoutConstraints,
17981 _swigc__p_wxMDIChildFrame,
17982 _swigc__p_wxMDIClientWindow,
17983 _swigc__p_wxMDIParentFrame,
17984 _swigc__p_wxMaximizeEvent,
17985 _swigc__p_wxMenu,
17986 _swigc__p_wxMenuBar,
17987 _swigc__p_wxMenuEvent,
17988 _swigc__p_wxMenuItem,
17989 _swigc__p_wxMessageDialog,
17990 _swigc__p_wxMiniFrame,
17991 _swigc__p_wxMouseCaptureChangedEvent,
17992 _swigc__p_wxMouseCaptureLostEvent,
17993 _swigc__p_wxMouseEvent,
17994 _swigc__p_wxMoveEvent,
17995 _swigc__p_wxMultiChoiceDialog,
17996 _swigc__p_wxNavigationKeyEvent,
17997 _swigc__p_wxNcPaintEvent,
17998 _swigc__p_wxNotifyEvent,
17999 _swigc__p_wxNumberEntryDialog,
18000 _swigc__p_wxObject,
18001 _swigc__p_wxPCXHandler,
18002 _swigc__p_wxPNGHandler,
18003 _swigc__p_wxPNMHandler,
18004 _swigc__p_wxPageSetupDialog,
18005 _swigc__p_wxPageSetupDialogData,
18006 _swigc__p_wxPaintEvent,
18007 _swigc__p_wxPaletteChangedEvent,
18008 _swigc__p_wxPanel,
18009 _swigc__p_wxPaperSize,
18010 _swigc__p_wxPasswordEntryDialog,
18011 _swigc__p_wxPoint,
18012 _swigc__p_wxPopupWindow,
18013 _swigc__p_wxPreviewCanvas,
18014 _swigc__p_wxPreviewControlBar,
18015 _swigc__p_wxPreviewFrame,
18016 _swigc__p_wxPrintData,
18017 _swigc__p_wxPrintDialog,
18018 _swigc__p_wxPrintDialogData,
18019 _swigc__p_wxPrintPreview,
18020 _swigc__p_wxPrinter,
18021 _swigc__p_wxProgressDialog,
18022 _swigc__p_wxPyApp,
18023 _swigc__p_wxPyAuiDockArt,
18024 _swigc__p_wxPyAuiTabArt,
18025 _swigc__p_wxPyCommandEvent,
18026 _swigc__p_wxPyEvent,
18027 _swigc__p_wxPyHtmlListBox,
18028 _swigc__p_wxPyImageHandler,
18029 _swigc__p_wxPyPanel,
18030 _swigc__p_wxPyPopupTransientWindow,
18031 _swigc__p_wxPyPreviewControlBar,
18032 _swigc__p_wxPyPreviewFrame,
18033 _swigc__p_wxPyPrintPreview,
18034 _swigc__p_wxPyPrintout,
18035 _swigc__p_wxPyScrolledWindow,
18036 _swigc__p_wxPySizer,
18037 _swigc__p_wxPyTaskBarIcon,
18038 _swigc__p_wxPyVListBox,
18039 _swigc__p_wxPyVScrolledWindow,
18040 _swigc__p_wxPyValidator,
18041 _swigc__p_wxPyWindow,
18042 _swigc__p_wxQueryLayoutInfoEvent,
18043 _swigc__p_wxQueryNewPaletteEvent,
18044 _swigc__p_wxRect,
18045 _swigc__p_wxSashEvent,
18046 _swigc__p_wxSashLayoutWindow,
18047 _swigc__p_wxSashWindow,
18048 _swigc__p_wxScrollEvent,
18049 _swigc__p_wxScrollWinEvent,
18050 _swigc__p_wxScrolledWindow,
18051 _swigc__p_wxSetCursorEvent,
18052 _swigc__p_wxShowEvent,
18053 _swigc__p_wxSingleChoiceDialog,
18054 _swigc__p_wxSize,
18055 _swigc__p_wxSizeEvent,
18056 _swigc__p_wxSizer,
18057 _swigc__p_wxSizerItem,
18058 _swigc__p_wxSplashScreen,
18059 _swigc__p_wxSplashScreenWindow,
18060 _swigc__p_wxSplitterEvent,
18061 _swigc__p_wxSplitterWindow,
18062 _swigc__p_wxStaticBoxSizer,
18063 _swigc__p_wxStatusBar,
18064 _swigc__p_wxStdDialogButtonSizer,
18065 _swigc__p_wxString,
18066 _swigc__p_wxSysColourChangedEvent,
18067 _swigc__p_wxTGAHandler,
18068 _swigc__p_wxTIFFHandler,
18069 _swigc__p_wxTaskBarIconEvent,
18070 _swigc__p_wxTextEntryDialog,
18071 _swigc__p_wxTipWindow,
18072 _swigc__p_wxTopLevelWindow,
18073 _swigc__p_wxUpdateUIEvent,
18074 _swigc__p_wxValidator,
18075 _swigc__p_wxWindow,
18076 _swigc__p_wxWindowCreateEvent,
18077 _swigc__p_wxWindowDestroyEvent,
18078 _swigc__p_wxXPMHandler,
18079 };
18080
18081
18082 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18083
18084 static swig_const_info swig_const_table[] = {
18085 {0, 0, 0, 0.0, 0, 0}};
18086
18087 #ifdef __cplusplus
18088 }
18089 #endif
18090 /* -----------------------------------------------------------------------------
18091 * Type initialization:
18092 * This problem is tough by the requirement that no dynamic
18093 * memory is used. Also, since swig_type_info structures store pointers to
18094 * swig_cast_info structures and swig_cast_info structures store pointers back
18095 * to swig_type_info structures, we need some lookup code at initialization.
18096 * The idea is that swig generates all the structures that are needed.
18097 * The runtime then collects these partially filled structures.
18098 * The SWIG_InitializeModule function takes these initial arrays out of
18099 * swig_module, and does all the lookup, filling in the swig_module.types
18100 * array with the correct data and linking the correct swig_cast_info
18101 * structures together.
18102 *
18103 * The generated swig_type_info structures are assigned staticly to an initial
18104 * array. We just loop though that array, and handle each type individually.
18105 * First we lookup if this type has been already loaded, and if so, use the
18106 * loaded structure instead of the generated one. Then we have to fill in the
18107 * cast linked list. The cast data is initially stored in something like a
18108 * two-dimensional array. Each row corresponds to a type (there are the same
18109 * number of rows as there are in the swig_type_initial array). Each entry in
18110 * a column is one of the swig_cast_info structures for that type.
18111 * The cast_initial array is actually an array of arrays, because each row has
18112 * a variable number of columns. So to actually build the cast linked list,
18113 * we find the array of casts associated with the type, and loop through it
18114 * adding the casts to the list. The one last trick we need to do is making
18115 * sure the type pointer in the swig_cast_info struct is correct.
18116 *
18117 * First off, we lookup the cast->type name to see if it is already loaded.
18118 * There are three cases to handle:
18119 * 1) If the cast->type has already been loaded AND the type we are adding
18120 * casting info to has not been loaded (it is in this module), THEN we
18121 * replace the cast->type pointer with the type pointer that has already
18122 * been loaded.
18123 * 2) If BOTH types (the one we are adding casting info to, and the
18124 * cast->type) are loaded, THEN the cast info has already been loaded by
18125 * the previous module so we just ignore it.
18126 * 3) Finally, if cast->type has not already been loaded, then we add that
18127 * swig_cast_info to the linked list (because the cast->type) pointer will
18128 * be correct.
18129 * ----------------------------------------------------------------------------- */
18130
18131 #ifdef __cplusplus
18132 extern "C" {
18133 #if 0
18134 } /* c-mode */
18135 #endif
18136 #endif
18137
18138 #if 0
18139 #define SWIGRUNTIME_DEBUG
18140 #endif
18141
18142 SWIGRUNTIME void
18143 SWIG_InitializeModule(void *clientdata) {
18144 size_t i;
18145 swig_module_info *module_head;
18146 static int init_run = 0;
18147
18148 clientdata = clientdata;
18149
18150 if (init_run) return;
18151 init_run = 1;
18152
18153 /* Initialize the swig_module */
18154 swig_module.type_initial = swig_type_initial;
18155 swig_module.cast_initial = swig_cast_initial;
18156
18157 /* Try and load any already created modules */
18158 module_head = SWIG_GetModule(clientdata);
18159 if (module_head) {
18160 swig_module.next = module_head->next;
18161 module_head->next = &swig_module;
18162 } else {
18163 /* This is the first module loaded */
18164 swig_module.next = &swig_module;
18165 SWIG_SetModule(clientdata, &swig_module);
18166 }
18167
18168 /* Now work on filling in swig_module.types */
18169 #ifdef SWIGRUNTIME_DEBUG
18170 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
18171 #endif
18172 for (i = 0; i < swig_module.size; ++i) {
18173 swig_type_info *type = 0;
18174 swig_type_info *ret;
18175 swig_cast_info *cast;
18176
18177 #ifdef SWIGRUNTIME_DEBUG
18178 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18179 #endif
18180
18181 /* if there is another module already loaded */
18182 if (swig_module.next != &swig_module) {
18183 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
18184 }
18185 if (type) {
18186 /* Overwrite clientdata field */
18187 #ifdef SWIGRUNTIME_DEBUG
18188 printf("SWIG_InitializeModule: found type %s\n", type->name);
18189 #endif
18190 if (swig_module.type_initial[i]->clientdata) {
18191 type->clientdata = swig_module.type_initial[i]->clientdata;
18192 #ifdef SWIGRUNTIME_DEBUG
18193 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
18194 #endif
18195 }
18196 } else {
18197 type = swig_module.type_initial[i];
18198 }
18199
18200 /* Insert casting types */
18201 cast = swig_module.cast_initial[i];
18202 while (cast->type) {
18203 /* Don't need to add information already in the list */
18204 ret = 0;
18205 #ifdef SWIGRUNTIME_DEBUG
18206 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
18207 #endif
18208 if (swig_module.next != &swig_module) {
18209 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
18210 #ifdef SWIGRUNTIME_DEBUG
18211 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
18212 #endif
18213 }
18214 if (ret) {
18215 if (type == swig_module.type_initial[i]) {
18216 #ifdef SWIGRUNTIME_DEBUG
18217 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
18218 #endif
18219 cast->type = ret;
18220 ret = 0;
18221 } else {
18222 /* Check for casting already in the list */
18223 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
18224 #ifdef SWIGRUNTIME_DEBUG
18225 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
18226 #endif
18227 if (!ocast) ret = 0;
18228 }
18229 }
18230
18231 if (!ret) {
18232 #ifdef SWIGRUNTIME_DEBUG
18233 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
18234 #endif
18235 if (type->cast) {
18236 type->cast->prev = cast;
18237 cast->next = type->cast;
18238 }
18239 type->cast = cast;
18240 }
18241 cast++;
18242 }
18243 /* Set entry in modules->types array equal to the type */
18244 swig_module.types[i] = type;
18245 }
18246 swig_module.types[i] = 0;
18247
18248 #ifdef SWIGRUNTIME_DEBUG
18249 printf("**** SWIG_InitializeModule: Cast List ******\n");
18250 for (i = 0; i < swig_module.size; ++i) {
18251 int j = 0;
18252 swig_cast_info *cast = swig_module.cast_initial[i];
18253 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18254 while (cast->type) {
18255 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
18256 cast++;
18257 ++j;
18258 }
18259 printf("---- Total casts: %d\n",j);
18260 }
18261 printf("**** SWIG_InitializeModule: Cast List ******\n");
18262 #endif
18263 }
18264
18265 /* This function will propagate the clientdata field of type to
18266 * any new swig_type_info structures that have been added into the list
18267 * of equivalent types. It is like calling
18268 * SWIG_TypeClientData(type, clientdata) a second time.
18269 */
18270 SWIGRUNTIME void
18271 SWIG_PropagateClientData(void) {
18272 size_t i;
18273 swig_cast_info *equiv;
18274 static int init_run = 0;
18275
18276 if (init_run) return;
18277 init_run = 1;
18278
18279 for (i = 0; i < swig_module.size; i++) {
18280 if (swig_module.types[i]->clientdata) {
18281 equiv = swig_module.types[i]->cast;
18282 while (equiv) {
18283 if (!equiv->converter) {
18284 if (equiv->type && !equiv->type->clientdata)
18285 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
18286 }
18287 equiv = equiv->next;
18288 }
18289 }
18290 }
18291 }
18292
18293 #ifdef __cplusplus
18294 #if 0
18295 {
18296 /* c-mode */
18297 #endif
18298 }
18299 #endif
18300
18301
18302
18303 #ifdef __cplusplus
18304 extern "C" {
18305 #endif
18306
18307 /* Python-specific SWIG API */
18308 #define SWIG_newvarlink() SWIG_Python_newvarlink()
18309 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18310 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18311
18312 /* -----------------------------------------------------------------------------
18313 * global variable support code.
18314 * ----------------------------------------------------------------------------- */
18315
18316 typedef struct swig_globalvar {
18317 char *name; /* Name of global variable */
18318 PyObject *(*get_attr)(void); /* Return the current value */
18319 int (*set_attr)(PyObject *); /* Set the value */
18320 struct swig_globalvar *next;
18321 } swig_globalvar;
18322
18323 typedef struct swig_varlinkobject {
18324 PyObject_HEAD
18325 swig_globalvar *vars;
18326 } swig_varlinkobject;
18327
18328 SWIGINTERN PyObject *
18329 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
18330 return PyString_FromString("<Swig global variables>");
18331 }
18332
18333 SWIGINTERN PyObject *
18334 swig_varlink_str(swig_varlinkobject *v) {
18335 PyObject *str = PyString_FromString("(");
18336 swig_globalvar *var;
18337 for (var = v->vars; var; var=var->next) {
18338 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
18339 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
18340 }
18341 PyString_ConcatAndDel(&str,PyString_FromString(")"));
18342 return str;
18343 }
18344
18345 SWIGINTERN int
18346 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
18347 PyObject *str = swig_varlink_str(v);
18348 fprintf(fp,"Swig global variables ");
18349 fprintf(fp,"%s\n", PyString_AsString(str));
18350 Py_DECREF(str);
18351 return 0;
18352 }
18353
18354 SWIGINTERN void
18355 swig_varlink_dealloc(swig_varlinkobject *v) {
18356 swig_globalvar *var = v->vars;
18357 while (var) {
18358 swig_globalvar *n = var->next;
18359 free(var->name);
18360 free(var);
18361 var = n;
18362 }
18363 }
18364
18365 SWIGINTERN PyObject *
18366 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18367 PyObject *res = NULL;
18368 swig_globalvar *var = v->vars;
18369 while (var) {
18370 if (strcmp(var->name,n) == 0) {
18371 res = (*var->get_attr)();
18372 break;
18373 }
18374 var = var->next;
18375 }
18376 if (res == NULL && !PyErr_Occurred()) {
18377 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18378 }
18379 return res;
18380 }
18381
18382 SWIGINTERN int
18383 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18384 int res = 1;
18385 swig_globalvar *var = v->vars;
18386 while (var) {
18387 if (strcmp(var->name,n) == 0) {
18388 res = (*var->set_attr)(p);
18389 break;
18390 }
18391 var = var->next;
18392 }
18393 if (res == 1 && !PyErr_Occurred()) {
18394 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18395 }
18396 return res;
18397 }
18398
18399 SWIGINTERN PyTypeObject*
18400 swig_varlink_type(void) {
18401 static char varlink__doc__[] = "Swig var link object";
18402 static PyTypeObject varlink_type;
18403 static int type_init = 0;
18404 if (!type_init) {
18405 const PyTypeObject tmp
18406 = {
18407 PyObject_HEAD_INIT(NULL)
18408 0, /* Number of items in variable part (ob_size) */
18409 (char *)"swigvarlink", /* Type name (tp_name) */
18410 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18411 0, /* Itemsize (tp_itemsize) */
18412 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
18413 (printfunc) swig_varlink_print, /* Print (tp_print) */
18414 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18415 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18416 0, /* tp_compare */
18417 (reprfunc) swig_varlink_repr, /* tp_repr */
18418 0, /* tp_as_number */
18419 0, /* tp_as_sequence */
18420 0, /* tp_as_mapping */
18421 0, /* tp_hash */
18422 0, /* tp_call */
18423 (reprfunc)swig_varlink_str, /* tp_str */
18424 0, /* tp_getattro */
18425 0, /* tp_setattro */
18426 0, /* tp_as_buffer */
18427 0, /* tp_flags */
18428 varlink__doc__, /* tp_doc */
18429 0, /* tp_traverse */
18430 0, /* tp_clear */
18431 0, /* tp_richcompare */
18432 0, /* tp_weaklistoffset */
18433 #if PY_VERSION_HEX >= 0x02020000
18434 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
18435 #endif
18436 #if PY_VERSION_HEX >= 0x02030000
18437 0, /* tp_del */
18438 #endif
18439 #ifdef COUNT_ALLOCS
18440 0,0,0,0 /* tp_alloc -> tp_next */
18441 #endif
18442 };
18443 varlink_type = tmp;
18444 varlink_type.ob_type = &PyType_Type;
18445 type_init = 1;
18446 }
18447 return &varlink_type;
18448 }
18449
18450 /* Create a variable linking object for use later */
18451 SWIGINTERN PyObject *
18452 SWIG_Python_newvarlink(void) {
18453 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
18454 if (result) {
18455 result->vars = 0;
18456 }
18457 return ((PyObject*) result);
18458 }
18459
18460 SWIGINTERN void
18461 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
18462 swig_varlinkobject *v = (swig_varlinkobject *) p;
18463 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18464 if (gv) {
18465 size_t size = strlen(name)+1;
18466 gv->name = (char *)malloc(size);
18467 if (gv->name) {
18468 strncpy(gv->name,name,size);
18469 gv->get_attr = get_attr;
18470 gv->set_attr = set_attr;
18471 gv->next = v->vars;
18472 }
18473 }
18474 v->vars = gv;
18475 }
18476
18477 SWIGINTERN PyObject *
18478 SWIG_globals() {
18479 static PyObject *_SWIG_globals = 0;
18480 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
18481 return _SWIG_globals;
18482 }
18483
18484 /* -----------------------------------------------------------------------------
18485 * constants/methods manipulation
18486 * ----------------------------------------------------------------------------- */
18487
18488 /* Install Constants */
18489 SWIGINTERN void
18490 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
18491 PyObject *obj = 0;
18492 size_t i;
18493 for (i = 0; constants[i].type; ++i) {
18494 switch(constants[i].type) {
18495 case SWIG_PY_POINTER:
18496 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
18497 break;
18498 case SWIG_PY_BINARY:
18499 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
18500 break;
18501 default:
18502 obj = 0;
18503 break;
18504 }
18505 if (obj) {
18506 PyDict_SetItemString(d, constants[i].name, obj);
18507 Py_DECREF(obj);
18508 }
18509 }
18510 }
18511
18512 /* -----------------------------------------------------------------------------*/
18513 /* Fix SwigMethods to carry the callback ptrs when needed */
18514 /* -----------------------------------------------------------------------------*/
18515
18516 SWIGINTERN void
18517 SWIG_Python_FixMethods(PyMethodDef *methods,
18518 swig_const_info *const_table,
18519 swig_type_info **types,
18520 swig_type_info **types_initial) {
18521 size_t i;
18522 for (i = 0; methods[i].ml_name; ++i) {
18523 const char *c = methods[i].ml_doc;
18524 if (c && (c = strstr(c, "swig_ptr: "))) {
18525 int j;
18526 swig_const_info *ci = 0;
18527 const char *name = c + 10;
18528 for (j = 0; const_table[j].type; ++j) {
18529 if (strncmp(const_table[j].name, name,
18530 strlen(const_table[j].name)) == 0) {
18531 ci = &(const_table[j]);
18532 break;
18533 }
18534 }
18535 if (ci) {
18536 size_t shift = (ci->ptype) - types;
18537 swig_type_info *ty = types_initial[shift];
18538 size_t ldoc = (c - methods[i].ml_doc);
18539 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
18540 char *ndoc = (char*)malloc(ldoc + lptr + 10);
18541 if (ndoc) {
18542 char *buff = ndoc;
18543 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
18544 if (ptr) {
18545 strncpy(buff, methods[i].ml_doc, ldoc);
18546 buff += ldoc;
18547 strncpy(buff, "swig_ptr: ", 10);
18548 buff += 10;
18549 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
18550 methods[i].ml_doc = ndoc;
18551 }
18552 }
18553 }
18554 }
18555 }
18556 }
18557
18558 #ifdef __cplusplus
18559 }
18560 #endif
18561
18562 /* -----------------------------------------------------------------------------*
18563 * Partial Init method
18564 * -----------------------------------------------------------------------------*/
18565
18566 #ifdef __cplusplus
18567 extern "C"
18568 #endif
18569 SWIGEXPORT void SWIG_init(void) {
18570 PyObject *m, *d;
18571
18572 /* Fix SwigMethods to carry the callback ptrs when needed */
18573 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
18574
18575 m = Py_InitModule((char *) SWIG_name, SwigMethods);
18576 d = PyModule_GetDict(m);
18577
18578 SWIG_InitializeModule(0);
18579 SWIG_InstallConstants(d,swig_const_table);
18580
18581
18582 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
18583 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
18584 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
18585 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
18586 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
18587 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
18588 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
18589 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
18590 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
18591 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
18592 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
18593 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
18594 SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT)));
18595 SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT)));
18596 SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE)));
18597 SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)));
18598 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
18599 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
18600 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
18601 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
18602 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
18603 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
18604 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
18605 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
18606 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
18607 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
18608 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
18609 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
18610 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
18611 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
18612 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
18613 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
18614 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
18615 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
18616 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
18617 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
18618 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
18619 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
18620 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
18621 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
18622 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED)));
18623 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN)));
18624 SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE)));
18625 SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE)));
18626 SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE)));
18627 SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN)));
18628 SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS)));
18629 SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST)));
18630 SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT)));
18631 SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT)));
18632 SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP)));
18633 SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN)));
18634 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1)));
18635 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2)));
18636 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3)));
18637 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
18638 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
18639 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
18640 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
18641 SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set);
18642 SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set);
18643 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating)));
18644 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden)));
18645 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable)));
18646 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable)));
18647 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable)));
18648 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable)));
18649 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable)));
18650 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable)));
18651 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable)));
18652 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder)));
18653 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption)));
18654 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper)));
18655 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose)));
18656 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar)));
18657 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive)));
18658 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop)));
18659 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized)));
18660 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionSavedHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionSavedHidden)));
18661 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose)));
18662 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize)));
18663 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize)));
18664 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin)));
18665 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1)));
18666 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2)));
18667 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3)));
18668 SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane)));
18669 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption)));
18670 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper)));
18671 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock)));
18672 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer)));
18673 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane)));
18674 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer)));
18675 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground)));
18676 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder)));
18677 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton)));
18678 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
18679 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
18680 PyDict_SetItemString(d, "wxEVT_AUI_PANEMAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANEMAXIMIZE));
18681 PyDict_SetItemString(d, "wxEVT_AUI_PANERESTORE", PyInt_FromLong(wxEVT_AUI_PANERESTORE));
18682 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
18683 SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP)));
18684 SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT)));
18685 SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT)));
18686 SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM)));
18687 SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT)));
18688 SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE)));
18689 SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE)));
18690 SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH)));
18691 SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS)));
18692 SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON)));
18693 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON)));
18694 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB)));
18695 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS)));
18696 SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE)));
18697 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE));
18698 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
18699 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
18700 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
18701 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
18702 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
18703 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
18704 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND));
18705 }
18706