]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/aui_wrap.cpp
Compilation fixes
[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_double swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_p_wxAuiFloatingFrame swig_types[4]
2471 #define SWIGTYPE_p_p_wxAuiNotebook swig_types[5]
2472 #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[6]
2473 #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[7]
2474 #define SWIGTYPE_p_p_wxColourDialog swig_types[8]
2475 #define SWIGTYPE_p_p_wxControl swig_types[9]
2476 #define SWIGTYPE_p_p_wxControlWithItems swig_types[10]
2477 #define SWIGTYPE_p_p_wxDialog swig_types[11]
2478 #define SWIGTYPE_p_p_wxDirDialog swig_types[12]
2479 #define SWIGTYPE_p_p_wxFileDialog swig_types[13]
2480 #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[14]
2481 #define SWIGTYPE_p_p_wxFontDialog swig_types[15]
2482 #define SWIGTYPE_p_p_wxFrame swig_types[16]
2483 #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[17]
2484 #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[18]
2485 #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[19]
2486 #define SWIGTYPE_p_p_wxMenuBar swig_types[20]
2487 #define SWIGTYPE_p_p_wxMessageDialog swig_types[21]
2488 #define SWIGTYPE_p_p_wxMiniFrame swig_types[22]
2489 #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[23]
2490 #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[24]
2491 #define SWIGTYPE_p_p_wxPanel swig_types[25]
2492 #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[26]
2493 #define SWIGTYPE_p_p_wxPopupWindow swig_types[27]
2494 #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[28]
2495 #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[29]
2496 #define SWIGTYPE_p_p_wxPreviewFrame swig_types[30]
2497 #define SWIGTYPE_p_p_wxProgressDialog swig_types[31]
2498 #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[32]
2499 #define SWIGTYPE_p_p_wxPyPanel swig_types[33]
2500 #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[34]
2501 #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[35]
2502 #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[36]
2503 #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[37]
2504 #define SWIGTYPE_p_p_wxPyVListBox swig_types[38]
2505 #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[39]
2506 #define SWIGTYPE_p_p_wxPyWindow swig_types[40]
2507 #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[41]
2508 #define SWIGTYPE_p_p_wxSashWindow swig_types[42]
2509 #define SWIGTYPE_p_p_wxScrolledWindow swig_types[43]
2510 #define SWIGTYPE_p_p_wxSimpleHtmlListBox swig_types[44]
2511 #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[45]
2512 #define SWIGTYPE_p_p_wxSplashScreen swig_types[46]
2513 #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[47]
2514 #define SWIGTYPE_p_p_wxSplitterWindow swig_types[48]
2515 #define SWIGTYPE_p_p_wxStatusBar swig_types[49]
2516 #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[50]
2517 #define SWIGTYPE_p_p_wxTipWindow swig_types[51]
2518 #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[52]
2519 #define SWIGTYPE_p_p_wxWindow swig_types[53]
2520 #define SWIGTYPE_p_unsigned_char swig_types[54]
2521 #define SWIGTYPE_p_unsigned_int swig_types[55]
2522 #define SWIGTYPE_p_unsigned_long swig_types[56]
2523 #define SWIGTYPE_p_wxANIHandler swig_types[57]
2524 #define SWIGTYPE_p_wxAcceleratorTable swig_types[58]
2525 #define SWIGTYPE_p_wxActivateEvent swig_types[59]
2526 #define SWIGTYPE_p_wxArrayString swig_types[60]
2527 #define SWIGTYPE_p_wxAuiDefaultDockArt swig_types[61]
2528 #define SWIGTYPE_p_wxAuiDefaultTabArt swig_types[62]
2529 #define SWIGTYPE_p_wxAuiDockArt swig_types[63]
2530 #define SWIGTYPE_p_wxAuiDockInfo swig_types[64]
2531 #define SWIGTYPE_p_wxAuiDockUIPart swig_types[65]
2532 #define SWIGTYPE_p_wxAuiFloatingFrame swig_types[66]
2533 #define SWIGTYPE_p_wxAuiManager swig_types[67]
2534 #define SWIGTYPE_p_wxAuiManagerEvent swig_types[68]
2535 #define SWIGTYPE_p_wxAuiNotebook swig_types[69]
2536 #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[70]
2537 #define SWIGTYPE_p_wxAuiNotebookPage swig_types[71]
2538 #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[72]
2539 #define SWIGTYPE_p_wxAuiPaneButton swig_types[73]
2540 #define SWIGTYPE_p_wxAuiPaneButtonArray swig_types[74]
2541 #define SWIGTYPE_p_wxAuiPaneInfo swig_types[75]
2542 #define SWIGTYPE_p_wxAuiPaneInfoPtrArray swig_types[76]
2543 #define SWIGTYPE_p_wxAuiSimpleTabArt swig_types[77]
2544 #define SWIGTYPE_p_wxAuiTabArt swig_types[78]
2545 #define SWIGTYPE_p_wxAuiTabContainer swig_types[79]
2546 #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[80]
2547 #define SWIGTYPE_p_wxAuiTabCtrl swig_types[81]
2548 #define SWIGTYPE_p_wxBMPHandler swig_types[82]
2549 #define SWIGTYPE_p_wxBitmap swig_types[83]
2550 #define SWIGTYPE_p_wxBoxSizer swig_types[84]
2551 #define SWIGTYPE_p_wxCURHandler swig_types[85]
2552 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[86]
2553 #define SWIGTYPE_p_wxChildFocusEvent swig_types[87]
2554 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[88]
2555 #define SWIGTYPE_p_wxCloseEvent swig_types[89]
2556 #define SWIGTYPE_p_wxColor swig_types[90]
2557 #define SWIGTYPE_p_wxColour swig_types[91]
2558 #define SWIGTYPE_p_wxColourData swig_types[92]
2559 #define SWIGTYPE_p_wxColourDialog swig_types[93]
2560 #define SWIGTYPE_p_wxCommandEvent swig_types[94]
2561 #define SWIGTYPE_p_wxContextMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxControl swig_types[96]
2563 #define SWIGTYPE_p_wxControlWithItems swig_types[97]
2564 #define SWIGTYPE_p_wxDC swig_types[98]
2565 #define SWIGTYPE_p_wxDateEvent swig_types[99]
2566 #define SWIGTYPE_p_wxDialog swig_types[100]
2567 #define SWIGTYPE_p_wxDirDialog swig_types[101]
2568 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxDropFilesEvent swig_types[103]
2570 #define SWIGTYPE_p_wxDuplexMode swig_types[104]
2571 #define SWIGTYPE_p_wxEraseEvent swig_types[105]
2572 #define SWIGTYPE_p_wxEvent swig_types[106]
2573 #define SWIGTYPE_p_wxEvtHandler swig_types[107]
2574 #define SWIGTYPE_p_wxFSFile swig_types[108]
2575 #define SWIGTYPE_p_wxFileDialog swig_types[109]
2576 #define SWIGTYPE_p_wxFileSystem swig_types[110]
2577 #define SWIGTYPE_p_wxFindDialogEvent swig_types[111]
2578 #define SWIGTYPE_p_wxFindReplaceData swig_types[112]
2579 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[113]
2580 #define SWIGTYPE_p_wxFlexGridSizer swig_types[114]
2581 #define SWIGTYPE_p_wxFocusEvent swig_types[115]
2582 #define SWIGTYPE_p_wxFont swig_types[116]
2583 #define SWIGTYPE_p_wxFontData swig_types[117]
2584 #define SWIGTYPE_p_wxFontDialog swig_types[118]
2585 #define SWIGTYPE_p_wxFrame swig_types[119]
2586 #define SWIGTYPE_p_wxGBSizerItem swig_types[120]
2587 #define SWIGTYPE_p_wxGIFHandler swig_types[121]
2588 #define SWIGTYPE_p_wxGridBagSizer swig_types[122]
2589 #define SWIGTYPE_p_wxGridSizer swig_types[123]
2590 #define SWIGTYPE_p_wxICOHandler swig_types[124]
2591 #define SWIGTYPE_p_wxIconizeEvent swig_types[125]
2592 #define SWIGTYPE_p_wxIdleEvent swig_types[126]
2593 #define SWIGTYPE_p_wxImage swig_types[127]
2594 #define SWIGTYPE_p_wxImageHandler swig_types[128]
2595 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[129]
2596 #define SWIGTYPE_p_wxInitDialogEvent swig_types[130]
2597 #define SWIGTYPE_p_wxJPEGHandler swig_types[131]
2598 #define SWIGTYPE_p_wxKeyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[133]
2600 #define SWIGTYPE_p_wxLayoutConstraints swig_types[134]
2601 #define SWIGTYPE_p_wxMDIChildFrame swig_types[135]
2602 #define SWIGTYPE_p_wxMDIClientWindow swig_types[136]
2603 #define SWIGTYPE_p_wxMDIParentFrame swig_types[137]
2604 #define SWIGTYPE_p_wxMaximizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxMenu swig_types[139]
2606 #define SWIGTYPE_p_wxMenuBar swig_types[140]
2607 #define SWIGTYPE_p_wxMenuEvent swig_types[141]
2608 #define SWIGTYPE_p_wxMenuItem swig_types[142]
2609 #define SWIGTYPE_p_wxMessageDialog swig_types[143]
2610 #define SWIGTYPE_p_wxMiniFrame swig_types[144]
2611 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[145]
2612 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[146]
2613 #define SWIGTYPE_p_wxMouseEvent swig_types[147]
2614 #define SWIGTYPE_p_wxMoveEvent swig_types[148]
2615 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[149]
2616 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[150]
2617 #define SWIGTYPE_p_wxNcPaintEvent swig_types[151]
2618 #define SWIGTYPE_p_wxNotifyEvent swig_types[152]
2619 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxObject swig_types[154]
2621 #define SWIGTYPE_p_wxPCXHandler swig_types[155]
2622 #define SWIGTYPE_p_wxPNGHandler swig_types[156]
2623 #define SWIGTYPE_p_wxPNMHandler swig_types[157]
2624 #define SWIGTYPE_p_wxPageSetupDialog swig_types[158]
2625 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[159]
2626 #define SWIGTYPE_p_wxPaintEvent swig_types[160]
2627 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxPanel swig_types[162]
2629 #define SWIGTYPE_p_wxPaperSize swig_types[163]
2630 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[164]
2631 #define SWIGTYPE_p_wxPoint swig_types[165]
2632 #define SWIGTYPE_p_wxPopupWindow swig_types[166]
2633 #define SWIGTYPE_p_wxPreviewCanvas swig_types[167]
2634 #define SWIGTYPE_p_wxPreviewControlBar swig_types[168]
2635 #define SWIGTYPE_p_wxPreviewFrame swig_types[169]
2636 #define SWIGTYPE_p_wxPrintData swig_types[170]
2637 #define SWIGTYPE_p_wxPrintDialog swig_types[171]
2638 #define SWIGTYPE_p_wxPrintDialogData swig_types[172]
2639 #define SWIGTYPE_p_wxPrintPreview swig_types[173]
2640 #define SWIGTYPE_p_wxPrinter swig_types[174]
2641 #define SWIGTYPE_p_wxProgressDialog swig_types[175]
2642 #define SWIGTYPE_p_wxPyApp swig_types[176]
2643 #define SWIGTYPE_p_wxPyAuiDockArt swig_types[177]
2644 #define SWIGTYPE_p_wxPyAuiTabArt swig_types[178]
2645 #define SWIGTYPE_p_wxPyCommandEvent swig_types[179]
2646 #define SWIGTYPE_p_wxPyEvent swig_types[180]
2647 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[181]
2648 #define SWIGTYPE_p_wxPyImageHandler swig_types[182]
2649 #define SWIGTYPE_p_wxPyPanel swig_types[183]
2650 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[184]
2651 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[185]
2652 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[186]
2653 #define SWIGTYPE_p_wxPyPrintPreview swig_types[187]
2654 #define SWIGTYPE_p_wxPyPrintout swig_types[188]
2655 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[189]
2656 #define SWIGTYPE_p_wxPySizer swig_types[190]
2657 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[191]
2658 #define SWIGTYPE_p_wxPyVListBox swig_types[192]
2659 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[193]
2660 #define SWIGTYPE_p_wxPyValidator swig_types[194]
2661 #define SWIGTYPE_p_wxPyWindow swig_types[195]
2662 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[196]
2663 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[197]
2664 #define SWIGTYPE_p_wxRect swig_types[198]
2665 #define SWIGTYPE_p_wxSashEvent swig_types[199]
2666 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[200]
2667 #define SWIGTYPE_p_wxSashWindow swig_types[201]
2668 #define SWIGTYPE_p_wxScrollEvent swig_types[202]
2669 #define SWIGTYPE_p_wxScrollWinEvent swig_types[203]
2670 #define SWIGTYPE_p_wxScrolledWindow swig_types[204]
2671 #define SWIGTYPE_p_wxSetCursorEvent swig_types[205]
2672 #define SWIGTYPE_p_wxShowEvent swig_types[206]
2673 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[207]
2674 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[208]
2675 #define SWIGTYPE_p_wxSize swig_types[209]
2676 #define SWIGTYPE_p_wxSizeEvent swig_types[210]
2677 #define SWIGTYPE_p_wxSizer swig_types[211]
2678 #define SWIGTYPE_p_wxSizerItem swig_types[212]
2679 #define SWIGTYPE_p_wxSplashScreen swig_types[213]
2680 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[214]
2681 #define SWIGTYPE_p_wxSplitterEvent swig_types[215]
2682 #define SWIGTYPE_p_wxSplitterWindow swig_types[216]
2683 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[217]
2684 #define SWIGTYPE_p_wxStatusBar swig_types[218]
2685 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[219]
2686 #define SWIGTYPE_p_wxString swig_types[220]
2687 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[221]
2688 #define SWIGTYPE_p_wxTGAHandler swig_types[222]
2689 #define SWIGTYPE_p_wxTIFFHandler swig_types[223]
2690 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[224]
2691 #define SWIGTYPE_p_wxTextEntryDialog swig_types[225]
2692 #define SWIGTYPE_p_wxTipWindow swig_types[226]
2693 #define SWIGTYPE_p_wxTopLevelWindow swig_types[227]
2694 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[228]
2695 #define SWIGTYPE_p_wxValidator swig_types[229]
2696 #define SWIGTYPE_p_wxWindow swig_types[230]
2697 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[231]
2698 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[232]
2699 #define SWIGTYPE_p_wxXPMHandler swig_types[233]
2700 static swig_type_info *swig_types[235];
2701 static swig_module_info swig_module = {swig_types, 234, 0, 0, 0, 0};
2702 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2703 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2704
2705 /* -------- TYPES TABLE (END) -------- */
2706
2707 #if (PY_VERSION_HEX <= 0x02000000)
2708 # if !defined(SWIG_PYTHON_CLASSIC)
2709 # error "This python version requires to use swig with the '-classic' option"
2710 # endif
2711 #endif
2712 #if (PY_VERSION_HEX <= 0x02020000)
2713 # error "This python version requires to use swig with the '-nomodern' option"
2714 #endif
2715 #if (PY_VERSION_HEX <= 0x02020000)
2716 # error "This python version requires to use swig with the '-nomodernargs' option"
2717 #endif
2718 #ifndef METH_O
2719 # error "This python version requires to use swig with the '-nofastunpack' option"
2720 #endif
2721
2722 /*-----------------------------------------------
2723 @(target):= _aui.so
2724 ------------------------------------------------*/
2725 #define SWIG_init init_aui
2726
2727 #define SWIG_name "_aui"
2728
2729 #define SWIGVERSION 0x010329
2730
2731
2732 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2733 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2734
2735
2736 #include <stdexcept>
2737
2738
2739 namespace swig {
2740 class PyObject_ptr {
2741 protected:
2742 PyObject *_obj;
2743
2744 public:
2745 PyObject_ptr() :_obj(0)
2746 {
2747 }
2748
2749 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2750 {
2751 Py_XINCREF(_obj);
2752 }
2753
2754 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2755 {
2756 if (initial_ref) Py_XINCREF(_obj);
2757 }
2758
2759 PyObject_ptr & operator=(const PyObject_ptr& item)
2760 {
2761 Py_XINCREF(item._obj);
2762 Py_XDECREF(_obj);
2763 _obj = item._obj;
2764 return *this;
2765 }
2766
2767 ~PyObject_ptr()
2768 {
2769 Py_XDECREF(_obj);
2770 }
2771
2772 operator PyObject *() const
2773 {
2774 return _obj;
2775 }
2776
2777 PyObject *operator->() const
2778 {
2779 return _obj;
2780 }
2781 };
2782 }
2783
2784
2785 namespace swig {
2786 struct PyObject_var : PyObject_ptr {
2787 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2788
2789 PyObject_var & operator = (PyObject* obj)
2790 {
2791 Py_XDECREF(_obj);
2792 _obj = obj;
2793 return *this;
2794 }
2795 };
2796 }
2797
2798
2799 #include "wx/wxPython/wxPython.h"
2800 #include "wx/wxPython/pyclasses.h"
2801 #include <wx/aui/aui.h>
2802
2803
2804 #define SWIG_From_long PyInt_FromLong
2805
2806
2807 SWIGINTERNINLINE PyObject *
2808 SWIG_From_int (int value)
2809 {
2810 return SWIG_From_long (value);
2811 }
2812
2813
2814 #include <limits.h>
2815 #ifndef LLONG_MIN
2816 # define LLONG_MIN LONG_LONG_MIN
2817 #endif
2818 #ifndef LLONG_MAX
2819 # define LLONG_MAX LONG_LONG_MAX
2820 #endif
2821 #ifndef ULLONG_MAX
2822 # define ULLONG_MAX ULONG_LONG_MAX
2823 #endif
2824
2825
2826 SWIGINTERN int
2827 SWIG_AsVal_long (PyObject* obj, long* val)
2828 {
2829 if (PyNumber_Check(obj)) {
2830 if (val) *val = PyInt_AsLong(obj);
2831 return SWIG_OK;
2832 }
2833 return SWIG_TypeError;
2834 }
2835
2836
2837 SWIGINTERN int
2838 SWIG_AsVal_int (PyObject * obj, int *val)
2839 {
2840 long v;
2841 int res = SWIG_AsVal_long (obj, &v);
2842 if (SWIG_IsOK(res)) {
2843 if ((v < INT_MIN || v > INT_MAX)) {
2844 return SWIG_OverflowError;
2845 } else {
2846 if (val) *val = static_cast< int >(v);
2847 }
2848 }
2849 return res;
2850 }
2851
2852
2853 SWIGINTERN int
2854 SWIG_AsVal_bool (PyObject *obj, bool *val)
2855 {
2856 if (obj == Py_True) {
2857 if (val) *val = true;
2858 return SWIG_OK;
2859 } else if (obj == Py_False) {
2860 if (val) *val = false;
2861 return SWIG_OK;
2862 } else {
2863 long v = 0;
2864 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2865 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2866 return res;
2867 }
2868 }
2869
2870
2871 SWIGINTERN int
2872 SWIG_AsVal_double (PyObject *obj, double* val)
2873 {
2874 if (PyNumber_Check(obj)) {
2875 if (val) *val = PyFloat_AsDouble(obj);
2876 return SWIG_OK;
2877 }
2878 return SWIG_TypeError;
2879 }
2880
2881 SWIGINTERN void delete_wxAuiDockInfo(wxAuiDockInfo *self){}
2882 SWIGINTERN void delete_wxAuiDockUIPart(wxAuiDockUIPart *self){}
2883 SWIGINTERN void delete_wxAuiPaneButton(wxAuiPaneButton *self){}
2884
2885 SWIGINTERN int
2886 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2887 {
2888 long v = 0;
2889 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2890 return SWIG_TypeError;
2891 }
2892 else if (val)
2893 *val = (unsigned long)v;
2894 return SWIG_OK;
2895 }
2896
2897
2898 SWIGINTERNINLINE int
2899 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2900 {
2901 unsigned long v;
2902 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2903 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2904 return res;
2905 }
2906
2907
2908 SWIGINTERNINLINE PyObject*
2909 SWIG_From_unsigned_SS_long (unsigned long value)
2910 {
2911 return (value > LONG_MAX) ?
2912 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2913 }
2914
2915
2916 SWIGINTERNINLINE PyObject *
2917 SWIG_From_size_t (size_t value)
2918 {
2919 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2920 }
2921
2922
2923 // A wxDocArt class that knows how to forward virtuals to Python methods
2924 class wxPyAuiDockArt : public wxAuiDefaultDockArt
2925 {
2926 wxPyAuiDockArt() : wxAuiDefaultDockArt() {}
2927
2928 DEC_PYCALLBACK_INT_INT(GetMetric);
2929 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2930 DEC_PYCALLBACK__INTFONT(SetFont);
2931 DEC_PYCALLBACK_FONT_INT(GetFont);
2932 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2933 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2934
2935 virtual void DrawSash(wxDC& dc,
2936 wxWindow* window,
2937 int orientation,
2938 const wxRect& rect)
2939 {
2940 bool found;
2941 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2942 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2943 PyObject* odc = wxPyMake_wxObject(&dc, false);
2944 PyObject* owin = wxPyMake_wxObject(window, false);
2945 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2946 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2947 odc, owin, orientation, orect));
2948 Py_DECREF(odc);
2949 Py_DECREF(owin);
2950 Py_DECREF(orect);
2951 }
2952 wxPyEndBlockThreads(blocked);
2953 if (! found)
2954 wxAuiDefaultDockArt::DrawSash(dc, window, orientation, rect);
2955 }
2956
2957 virtual void DrawBackground(wxDC& dc,
2958 wxWindow* window,
2959 int orientation,
2960 const wxRect& rect)
2961 {
2962 bool found;
2963 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2964 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2965 PyObject* odc = wxPyMake_wxObject(&dc, false);
2966 PyObject* owin = wxPyMake_wxObject(window, false);
2967 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2968 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2969 odc, owin, orientation, orect));
2970 Py_DECREF(odc);
2971 Py_DECREF(owin);
2972 Py_DECREF(orect);
2973 }
2974 wxPyEndBlockThreads(blocked);
2975 if (! found)
2976 wxAuiDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2977 }
2978
2979 virtual void DrawCaption(wxDC& dc,
2980 wxWindow* window,
2981 const wxString& text,
2982 const wxRect& rect,
2983 wxAuiPaneInfo& pane)
2984 {
2985 bool found;
2986 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2987 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2988 PyObject* odc = wxPyMake_wxObject(&dc, false);
2989 PyObject* owin = wxPyMake_wxObject(window, false);
2990 PyObject* otext = wx2PyString(text);
2991 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2992 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
2993 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2994 odc, owin, otext, orect, opane));
2995 Py_DECREF(odc);
2996 Py_DECREF(owin);
2997 Py_DECREF(otext);
2998 Py_DECREF(orect);
2999 Py_DECREF(opane);
3000 }
3001 wxPyEndBlockThreads(blocked);
3002 if (! found)
3003 wxAuiDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
3004 }
3005
3006 virtual void DrawGripper(wxDC& dc,
3007 wxWindow* window,
3008 const wxRect& rect,
3009 wxAuiPaneInfo& pane)
3010 {
3011 bool found;
3012 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3013 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
3014 PyObject* odc = wxPyMake_wxObject(&dc, false);
3015 PyObject* owin = wxPyMake_wxObject(window, false);
3016 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3017 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3018 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
3019 Py_DECREF(odc);
3020 Py_DECREF(orect);
3021 Py_DECREF(opane);
3022 }
3023 wxPyEndBlockThreads(blocked);
3024 if (! found)
3025 wxAuiDefaultDockArt::DrawGripper(dc, window, rect, pane);
3026 }
3027
3028 virtual void DrawBorder(wxDC& dc,
3029 wxWindow* window,
3030 const wxRect& rect,
3031 wxAuiPaneInfo& pane)
3032 {
3033 bool found;
3034 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3035 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3036 PyObject* odc = wxPyMake_wxObject(&dc, false);
3037 PyObject* owin = wxPyMake_wxObject(window, false);
3038 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3039 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3040 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3041 Py_DECREF(odc);
3042 Py_DECREF(owin);
3043 Py_DECREF(orect);
3044 Py_DECREF(opane);
3045 }
3046 wxPyEndBlockThreads(blocked);
3047 if (! found)
3048 wxAuiDefaultDockArt::DrawBorder(dc, window, rect, pane);
3049 }
3050
3051 virtual void DrawPaneButton(wxDC& dc,
3052 wxWindow* window,
3053 int button,
3054 int button_state,
3055 const wxRect& rect,
3056 wxAuiPaneInfo& pane)
3057 {
3058 bool found;
3059 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3060 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3061 PyObject* odc = wxPyMake_wxObject(&dc, false);
3062 PyObject* owin = wxPyMake_wxObject(window, false);
3063 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3064 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxAuiPaneInfo"), 0);
3065 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3066 odc, owin, button, button_state,
3067 orect, opane));
3068 Py_DECREF(odc);
3069 Py_DECREF(owin);
3070 Py_DECREF(orect);
3071 Py_DECREF(opane);
3072 }
3073 wxPyEndBlockThreads(blocked);
3074 if (! found)
3075 wxAuiDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3076 }
3077
3078 PYPRIVATE;
3079
3080 };
3081
3082 IMP_PYCALLBACK_INT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetMetric);
3083 IMP_PYCALLBACK_VOID_INTINT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetMetric);
3084 IMP_PYCALLBACK__INTFONT(wxPyAuiDockArt, wxAuiDefaultDockArt, SetFont);
3085 IMP_PYCALLBACK_FONT_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetFont);
3086 IMP_PYCALLBACK_COLOUR_INT(wxPyAuiDockArt, wxAuiDefaultDockArt, GetColour);
3087 IMP_PYCALLBACK__INTCOLOUR(wxPyAuiDockArt, wxAuiDefaultDockArt, SetColour);
3088
3089
3090
3091 // A wxTabArt class that knows how to forward virtuals to Python methods
3092 class wxPyAuiTabArt : public wxAuiDefaultTabArt
3093 {
3094 wxPyAuiTabArt() : wxAuiDefaultTabArt() {}
3095
3096
3097 virtual void DrawBackground( wxDC& dc,
3098 wxWindow* wnd,
3099 const wxRect& rect )
3100 {
3101 bool found;
3102 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3103 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
3104 PyObject* odc = wxPyMake_wxObject(&dc, false);
3105 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3106 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3107 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, ownd, orect));
3108 Py_DECREF(odc);
3109 Py_DECREF(ownd);
3110 Py_DECREF(orect);
3111 }
3112 wxPyEndBlockThreads(blocked);
3113 if (!found)
3114 wxAuiDefaultTabArt::DrawBackground(dc, wnd, rect);
3115 }
3116
3117 virtual void DrawTab( wxDC& dc,
3118 wxWindow* wnd,
3119 const wxRect& in_rect,
3120 const wxString& caption,
3121 const wxBitmap& bitmap,
3122 bool active,
3123 int close_button_state,
3124 wxRect* out_tab_rect,
3125 wxRect* out_button_rect,
3126 int* x_extent)
3127 {
3128 bool found;
3129 const char* errmsg = "DrawTab should return a sequence containing (tab_rect, button_rect, x_extent)";
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) {
3132 PyObject* odc = wxPyMake_wxObject(&dc, false);
3133 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3134 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3135 PyObject* otext = wx2PyString(caption);
3136 PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false);
3137 PyObject* ro;
3138 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue(
3139 "(OOOOOii)",
3140 odc, ownd, orect, otext, obmp,
3141 (int)active, close_button_state));
3142 if (ro) {
3143 if (PySequence_Check(ro) && PyObject_Length(ro) == 3) {
3144 PyObject* o1 = PySequence_GetItem(ro, 0);
3145 PyObject* o2 = PySequence_GetItem(ro, 1);
3146 PyObject* o3 = PySequence_GetItem(ro, 2);
3147 if (!wxRect_helper(o1, &out_tab_rect))
3148 PyErr_SetString(PyExc_TypeError, errmsg);
3149 else if (!wxRect_helper(o2, &out_button_rect))
3150 PyErr_SetString(PyExc_TypeError, errmsg);
3151 else if (!PyInt_Check(o3))
3152 PyErr_SetString(PyExc_TypeError, errmsg);
3153 else
3154 *x_extent = PyInt_AsLong(o3);
3155
3156 Py_DECREF(o1);
3157 Py_DECREF(o2);
3158 Py_DECREF(o3);
3159 }
3160 else {
3161 PyErr_SetString(PyExc_TypeError, errmsg);
3162 }
3163 Py_DECREF(ro);
3164 }
3165
3166 Py_DECREF(odc);
3167 Py_DECREF(ownd);
3168 Py_DECREF(orect);
3169 Py_DECREF(otext);
3170 Py_DECREF(obmp);
3171 }
3172 wxPyEndBlockThreads(blocked);
3173 if (!found)
3174 wxAuiDefaultTabArt::DrawTab(dc, wnd, in_rect, caption, bitmap, active, close_button_state, out_tab_rect, out_button_rect, x_extent);
3175 }
3176
3177
3178 virtual void DrawButton( wxDC& dc,
3179 wxWindow* wnd,
3180 const wxRect& in_rect,
3181 int bitmap_id,
3182 int button_state,
3183 int orientation,
3184 const wxBitmap& bitmap_override,
3185 wxRect* out_rect)
3186 {
3187 bool found;
3188 const char* errmsg = "DrawButton should return a wxRect";
3189 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3190 if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) {
3191 PyObject* odc = wxPyMake_wxObject(&dc, false);
3192 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3193 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3194 PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0);
3195 PyObject* ro;
3196 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOiiiO)", odc, ownd, orect,
3197 bitmap_id, button_state, orientation,
3198 obmp));
3199 if (ro) {
3200 if (!wxRect_helper(ro, &out_rect))
3201 PyErr_SetString(PyExc_TypeError, errmsg);
3202 Py_DECREF(ro);
3203 }
3204
3205 Py_DECREF(odc);
3206 Py_DECREF(ownd);
3207 Py_DECREF(orect);
3208 Py_DECREF(obmp);
3209 }
3210 wxPyEndBlockThreads(blocked);
3211 if (!found)
3212 wxAuiDefaultTabArt::DrawButton(dc, wnd, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect);
3213 }
3214
3215
3216 virtual wxSize GetTabSize( wxDC& dc,
3217 wxWindow* wnd,
3218 const wxString& caption,
3219 const wxBitmap& bitmap,
3220 bool active,
3221 int close_button_state,
3222 int* x_extent)
3223 {
3224 bool found;
3225 wxSize rv, *prv = &rv;
3226 const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)";
3227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3228 if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) {
3229 PyObject* odc = wxPyMake_wxObject(&dc, false);
3230 PyObject* ownd = wxPyMake_wxObject(wnd, false);
3231 PyObject* otext = wx2PyString(caption);
3232 PyObject* obmp = wxPyMake_wxObject((wxObject*)&bitmap, false);
3233 PyObject* ro;
3234 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue(
3235 "(OOOOii)", odc, ownd, otext, obmp, (int)active, close_button_state));
3236 if (ro) {
3237 if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
3238 PyObject* o1 = PySequence_GetItem(ro, 0);
3239 PyObject* o2 = PySequence_GetItem(ro, 1);
3240 if (!wxSize_helper(o1, &prv))
3241 PyErr_SetString(PyExc_TypeError, errmsg);
3242 else if (!PyInt_Check(o2))
3243 PyErr_SetString(PyExc_TypeError, errmsg);
3244 else
3245 *x_extent = PyInt_AsLong(o2);
3246
3247 Py_DECREF(o1);
3248 Py_DECREF(o2);
3249 }
3250 else {
3251 PyErr_SetString(PyExc_TypeError, errmsg);
3252 }
3253 Py_DECREF(ro);
3254 }
3255
3256 Py_DECREF(odc);
3257 Py_DECREF(ownd);
3258 Py_DECREF(otext);
3259 Py_DECREF(obmp);
3260 }
3261 wxPyEndBlockThreads(blocked);
3262 if (!found)
3263 rv = wxAuiDefaultTabArt::GetTabSize(dc, wnd, caption, bitmap, active, close_button_state, x_extent);
3264 return rv;
3265 }
3266
3267 // TODO
3268 // virtual int ShowWindowList(
3269 // wxWindow* wnd,
3270 // const wxArrayString& items,
3271 // int active_idx);
3272 //
3273 // virtual int GetBestTabCtrlSize(wxWindow* wnd,
3274 // wxAuiNotebookPageArray& pages);
3275 // virtual wxAuiTabArt* Clone();
3276 // virtual void SetFlags(unsigned int flags);
3277 // virtual void SetSizingInfo(const wxSize& tab_ctrl_size,
3278 // size_t tab_count);
3279 // virtual int GetIndentSize();
3280
3281
3282
3283 DEC_PYCALLBACK__FONT(SetNormalFont);
3284 DEC_PYCALLBACK__FONT(SetSelectedFont);
3285 DEC_PYCALLBACK__FONT(SetMeasuringFont);
3286 // DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize);
3287
3288 PYPRIVATE;
3289 };
3290
3291
3292 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetNormalFont);
3293 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetSelectedFont);
3294 IMP_PYCALLBACK__FONT(wxPyAuiTabArt, wxAuiDefaultTabArt, SetMeasuringFont);
3295 //IMP_PYCALLBACK_INT_WIN(wxPyAuiTabArt, wxAuiDefaultTabArt, GetBestTabCtrlSize);
3296
3297 #ifdef __cplusplus
3298 extern "C" {
3299 #endif
3300 SWIGINTERN int AuiNullDockInfo_set(PyObject *_val) {
3301 {
3302 void *argp = 0;
3303 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiDockInfo, 0 | 0);
3304 if (!SWIG_IsOK(res)) {
3305 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'");
3306 }
3307 if (!argp) {
3308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullDockInfo""' of type '""wxAuiDockInfo""'");
3309 } else {
3310 wxAuiDockInfo * temp;
3311 temp = reinterpret_cast< wxAuiDockInfo * >(argp);
3312 wxAuiNullDockInfo = *temp;
3313 if (SWIG_IsNewObj(res)) delete temp;
3314 }
3315 }
3316 return 0;
3317 fail:
3318 return 1;
3319 }
3320
3321
3322 SWIGINTERN PyObject *AuiNullDockInfo_get(void) {
3323 PyObject *pyobj = 0;
3324
3325 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullDockInfo), SWIGTYPE_p_wxAuiDockInfo, 0 );
3326 return pyobj;
3327 }
3328
3329
3330 SWIGINTERN int AuiNullPaneInfo_set(PyObject *_val) {
3331 {
3332 void *argp = 0;
3333 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
3334 if (!SWIG_IsOK(res)) {
3335 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'");
3336 }
3337 if (!argp) {
3338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxAuiNullPaneInfo""' of type '""wxAuiPaneInfo""'");
3339 } else {
3340 wxAuiPaneInfo * temp;
3341 temp = reinterpret_cast< wxAuiPaneInfo * >(argp);
3342 wxAuiNullPaneInfo = *temp;
3343 if (SWIG_IsNewObj(res)) delete temp;
3344 }
3345 }
3346 return 0;
3347 fail:
3348 return 1;
3349 }
3350
3351
3352 SWIGINTERN PyObject *AuiNullPaneInfo_get(void) {
3353 PyObject *pyobj = 0;
3354
3355 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxAuiNullPaneInfo), SWIGTYPE_p_wxAuiPaneInfo, 0 );
3356 return pyobj;
3357 }
3358
3359
3360 SWIGINTERN PyObject *_wrap_new_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3361 PyObject *resultobj = 0;
3362 wxAuiPaneInfo *result = 0 ;
3363
3364 if (!SWIG_Python_UnpackTuple(args,"new_AuiPaneInfo",0,0,0)) SWIG_fail;
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (wxAuiPaneInfo *)new wxAuiPaneInfo();
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_NEW | 0 );
3372 return resultobj;
3373 fail:
3374 return NULL;
3375 }
3376
3377
3378 SWIGINTERN PyObject *_wrap_delete_AuiPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3379 PyObject *resultobj = 0;
3380 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3381 void *argp1 = 0 ;
3382 int res1 = 0 ;
3383 PyObject *swig_obj[1] ;
3384
3385 if (!args) SWIG_fail;
3386 swig_obj[0] = args;
3387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
3388 if (!SWIG_IsOK(res1)) {
3389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneInfo" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
3390 }
3391 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 delete arg1;
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 resultobj = SWIG_Py_Void();
3400 return resultobj;
3401 fail:
3402 return NULL;
3403 }
3404
3405
3406 SWIGINTERN PyObject *_wrap_AuiPaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3407 PyObject *resultobj = 0;
3408 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3409 wxAuiPaneInfo arg2 ;
3410 void *argp1 = 0 ;
3411 int res1 = 0 ;
3412 void *argp2 ;
3413 int res2 = 0 ;
3414 PyObject * obj0 = 0 ;
3415 PyObject * obj1 = 0 ;
3416 char * kwnames[] = {
3417 (char *) "self",(char *) "source", NULL
3418 };
3419
3420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3422 if (!SWIG_IsOK(res1)) {
3423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
3424 }
3425 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3426 {
3427 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
3428 if (!SWIG_IsOK(res2)) {
3429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'");
3430 }
3431 if (!argp2) {
3432 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxAuiPaneInfo""'");
3433 } else {
3434 wxAuiPaneInfo * temp = reinterpret_cast< wxAuiPaneInfo * >(argp2);
3435 arg2 = *temp;
3436 if (SWIG_IsNewObj(res2)) delete temp;
3437 }
3438 }
3439 {
3440 PyThreadState* __tstate = wxPyBeginAllowThreads();
3441 (arg1)->SafeSet(arg2);
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 resultobj = SWIG_Py_Void();
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3453 PyObject *resultobj = 0;
3454 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3455 bool result;
3456 void *argp1 = 0 ;
3457 int res1 = 0 ;
3458 PyObject *swig_obj[1] ;
3459
3460 if (!args) SWIG_fail;
3461 swig_obj[0] = args;
3462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3463 if (!SWIG_IsOK(res1)) {
3464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3465 }
3466 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (bool)((wxAuiPaneInfo const *)arg1)->IsOk();
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 {
3474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3475 }
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3483 PyObject *resultobj = 0;
3484 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3485 bool result;
3486 void *argp1 = 0 ;
3487 int res1 = 0 ;
3488 PyObject *swig_obj[1] ;
3489
3490 if (!args) SWIG_fail;
3491 swig_obj[0] = args;
3492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3495 }
3496 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFixed();
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3513 PyObject *resultobj = 0;
3514 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3515 bool result;
3516 void *argp1 = 0 ;
3517 int res1 = 0 ;
3518 PyObject *swig_obj[1] ;
3519
3520 if (!args) SWIG_fail;
3521 swig_obj[0] = args;
3522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3523 if (!SWIG_IsOK(res1)) {
3524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3525 }
3526 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (bool)((wxAuiPaneInfo const *)arg1)->IsResizable();
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3543 PyObject *resultobj = 0;
3544 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3545 bool result;
3546 void *argp1 = 0 ;
3547 int res1 = 0 ;
3548 PyObject *swig_obj[1] ;
3549
3550 if (!args) SWIG_fail;
3551 swig_obj[0] = args;
3552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3553 if (!SWIG_IsOK(res1)) {
3554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsShown" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3555 }
3556 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (bool)((wxAuiPaneInfo const *)arg1)->IsShown();
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 {
3564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3565 }
3566 return resultobj;
3567 fail:
3568 return NULL;
3569 }
3570
3571
3572 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3573 PyObject *resultobj = 0;
3574 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3575 bool result;
3576 void *argp1 = 0 ;
3577 int res1 = 0 ;
3578 PyObject *swig_obj[1] ;
3579
3580 if (!args) SWIG_fail;
3581 swig_obj[0] = args;
3582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3583 if (!SWIG_IsOK(res1)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3585 }
3586 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloating();
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 {
3594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3595 }
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3603 PyObject *resultobj = 0;
3604 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3605 bool result;
3606 void *argp1 = 0 ;
3607 int res1 = 0 ;
3608 PyObject *swig_obj[1] ;
3609
3610 if (!args) SWIG_fail;
3611 swig_obj[0] = args;
3612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3613 if (!SWIG_IsOK(res1)) {
3614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3615 }
3616 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (bool)((wxAuiPaneInfo const *)arg1)->IsDocked();
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 {
3624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3625 }
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3633 PyObject *resultobj = 0;
3634 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3635 bool result;
3636 void *argp1 = 0 ;
3637 int res1 = 0 ;
3638 PyObject *swig_obj[1] ;
3639
3640 if (!args) SWIG_fail;
3641 swig_obj[0] = args;
3642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3643 if (!SWIG_IsOK(res1)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3645 }
3646 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)((wxAuiPaneInfo const *)arg1)->IsToolbar();
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3663 PyObject *resultobj = 0;
3664 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3665 bool result;
3666 void *argp1 = 0 ;
3667 int res1 = 0 ;
3668 PyObject *swig_obj[1] ;
3669
3670 if (!args) SWIG_fail;
3671 swig_obj[0] = args;
3672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3673 if (!SWIG_IsOK(res1)) {
3674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3675 }
3676 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (bool)((wxAuiPaneInfo const *)arg1)->IsTopDockable();
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 {
3684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3685 }
3686 return resultobj;
3687 fail:
3688 return NULL;
3689 }
3690
3691
3692 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3693 PyObject *resultobj = 0;
3694 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3695 bool result;
3696 void *argp1 = 0 ;
3697 int res1 = 0 ;
3698 PyObject *swig_obj[1] ;
3699
3700 if (!args) SWIG_fail;
3701 swig_obj[0] = args;
3702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3703 if (!SWIG_IsOK(res1)) {
3704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3705 }
3706 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 result = (bool)((wxAuiPaneInfo const *)arg1)->IsBottomDockable();
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 {
3714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3715 }
3716 return resultobj;
3717 fail:
3718 return NULL;
3719 }
3720
3721
3722 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3723 PyObject *resultobj = 0;
3724 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3725 bool result;
3726 void *argp1 = 0 ;
3727 int res1 = 0 ;
3728 PyObject *swig_obj[1] ;
3729
3730 if (!args) SWIG_fail;
3731 swig_obj[0] = args;
3732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3735 }
3736 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (bool)((wxAuiPaneInfo const *)arg1)->IsLeftDockable();
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 {
3744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3745 }
3746 return resultobj;
3747 fail:
3748 return NULL;
3749 }
3750
3751
3752 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3753 PyObject *resultobj = 0;
3754 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3755 bool result;
3756 void *argp1 = 0 ;
3757 int res1 = 0 ;
3758 PyObject *swig_obj[1] ;
3759
3760 if (!args) SWIG_fail;
3761 swig_obj[0] = args;
3762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3763 if (!SWIG_IsOK(res1)) {
3764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3765 }
3766 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (bool)((wxAuiPaneInfo const *)arg1)->IsRightDockable();
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
3774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3775 }
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3783 PyObject *resultobj = 0;
3784 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3785 bool result;
3786 void *argp1 = 0 ;
3787 int res1 = 0 ;
3788 PyObject *swig_obj[1] ;
3789
3790 if (!args) SWIG_fail;
3791 swig_obj[0] = args;
3792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3793 if (!SWIG_IsOK(res1)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3795 }
3796 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (bool)((wxAuiPaneInfo const *)arg1)->IsFloatable();
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 {
3804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3805 }
3806 return resultobj;
3807 fail:
3808 return NULL;
3809 }
3810
3811
3812 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3813 PyObject *resultobj = 0;
3814 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3815 bool result;
3816 void *argp1 = 0 ;
3817 int res1 = 0 ;
3818 PyObject *swig_obj[1] ;
3819
3820 if (!args) SWIG_fail;
3821 swig_obj[0] = args;
3822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3823 if (!SWIG_IsOK(res1)) {
3824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3825 }
3826 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 result = (bool)((wxAuiPaneInfo const *)arg1)->IsMovable();
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 {
3834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3835 }
3836 return resultobj;
3837 fail:
3838 return NULL;
3839 }
3840
3841
3842 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3845 bool result;
3846 void *argp1 = 0 ;
3847 int res1 = 0 ;
3848 PyObject *swig_obj[1] ;
3849
3850 if (!args) SWIG_fail;
3851 swig_obj[0] = args;
3852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3853 if (!SWIG_IsOK(res1)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3855 }
3856 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)((wxAuiPaneInfo const *)arg1)->IsDestroyOnClose();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 {
3864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3865 }
3866 return resultobj;
3867 fail:
3868 return NULL;
3869 }
3870
3871
3872 SWIGINTERN PyObject *_wrap_AuiPaneInfo_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3873 PyObject *resultobj = 0;
3874 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3875 bool result;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 PyObject *swig_obj[1] ;
3879
3880 if (!args) SWIG_fail;
3881 swig_obj[0] = args;
3882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3883 if (!SWIG_IsOK(res1)) {
3884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_IsMaximized" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3885 }
3886 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (bool)((wxAuiPaneInfo const *)arg1)->IsMaximized();
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 {
3894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3895 }
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3903 PyObject *resultobj = 0;
3904 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3905 bool result;
3906 void *argp1 = 0 ;
3907 int res1 = 0 ;
3908 PyObject *swig_obj[1] ;
3909
3910 if (!args) SWIG_fail;
3911 swig_obj[0] = args;
3912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3913 if (!SWIG_IsOK(res1)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3915 }
3916 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (bool)((wxAuiPaneInfo const *)arg1)->HasCaption();
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 {
3924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3925 }
3926 return resultobj;
3927 fail:
3928 return NULL;
3929 }
3930
3931
3932 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3933 PyObject *resultobj = 0;
3934 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3935 bool result;
3936 void *argp1 = 0 ;
3937 int res1 = 0 ;
3938 PyObject *swig_obj[1] ;
3939
3940 if (!args) SWIG_fail;
3941 swig_obj[0] = args;
3942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3943 if (!SWIG_IsOK(res1)) {
3944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3945 }
3946 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripper();
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 {
3954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3955 }
3956 return resultobj;
3957 fail:
3958 return NULL;
3959 }
3960
3961
3962 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3965 bool result;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
3975 }
3976 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (bool)((wxAuiPaneInfo const *)arg1)->HasBorder();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 {
3984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3985 }
3986 return resultobj;
3987 fail:
3988 return NULL;
3989 }
3990
3991
3992 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3993 PyObject *resultobj = 0;
3994 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
3995 bool result;
3996 void *argp1 = 0 ;
3997 int res1 = 0 ;
3998 PyObject *swig_obj[1] ;
3999
4000 if (!args) SWIG_fail;
4001 swig_obj[0] = args;
4002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4003 if (!SWIG_IsOK(res1)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4005 }
4006 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (bool)((wxAuiPaneInfo const *)arg1)->HasCloseButton();
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 {
4014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4015 }
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *resultobj = 0;
4024 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4025 bool result;
4026 void *argp1 = 0 ;
4027 int res1 = 0 ;
4028 PyObject *swig_obj[1] ;
4029
4030 if (!args) SWIG_fail;
4031 swig_obj[0] = args;
4032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4033 if (!SWIG_IsOK(res1)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4035 }
4036 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (bool)((wxAuiPaneInfo const *)arg1)->HasMaximizeButton();
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 {
4044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4045 }
4046 return resultobj;
4047 fail:
4048 return NULL;
4049 }
4050
4051
4052 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4053 PyObject *resultobj = 0;
4054 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4055 bool result;
4056 void *argp1 = 0 ;
4057 int res1 = 0 ;
4058 PyObject *swig_obj[1] ;
4059
4060 if (!args) SWIG_fail;
4061 swig_obj[0] = args;
4062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4063 if (!SWIG_IsOK(res1)) {
4064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4065 }
4066 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (bool)((wxAuiPaneInfo const *)arg1)->HasMinimizeButton();
4070 wxPyEndAllowThreads(__tstate);
4071 if (PyErr_Occurred()) SWIG_fail;
4072 }
4073 {
4074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4075 }
4076 return resultobj;
4077 fail:
4078 return NULL;
4079 }
4080
4081
4082 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4083 PyObject *resultobj = 0;
4084 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4085 bool result;
4086 void *argp1 = 0 ;
4087 int res1 = 0 ;
4088 PyObject *swig_obj[1] ;
4089
4090 if (!args) SWIG_fail;
4091 swig_obj[0] = args;
4092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4093 if (!SWIG_IsOK(res1)) {
4094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4095 }
4096 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (bool)((wxAuiPaneInfo const *)arg1)->HasPinButton();
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 {
4104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4105 }
4106 return resultobj;
4107 fail:
4108 return NULL;
4109 }
4110
4111
4112 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4113 PyObject *resultobj = 0;
4114 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4115 bool result;
4116 void *argp1 = 0 ;
4117 int res1 = 0 ;
4118 PyObject *swig_obj[1] ;
4119
4120 if (!args) SWIG_fail;
4121 swig_obj[0] = args;
4122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4123 if (!SWIG_IsOK(res1)) {
4124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
4125 }
4126 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (bool)((wxAuiPaneInfo const *)arg1)->HasGripperTop();
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 {
4134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4135 }
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj = 0;
4144 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4145 wxWindow *arg2 = (wxWindow *) 0 ;
4146 wxAuiPaneInfo *result = 0 ;
4147 void *argp1 = 0 ;
4148 int res1 = 0 ;
4149 void *argp2 = 0 ;
4150 int res2 = 0 ;
4151 PyObject * obj0 = 0 ;
4152 PyObject * obj1 = 0 ;
4153 char * kwnames[] = {
4154 (char *) "self",(char *) "w", NULL
4155 };
4156
4157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
4158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4159 if (!SWIG_IsOK(res1)) {
4160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Window" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4161 }
4162 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4164 if (!SWIG_IsOK(res2)) {
4165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
4166 }
4167 arg2 = reinterpret_cast< wxWindow * >(argp2);
4168 {
4169 PyThreadState* __tstate = wxPyBeginAllowThreads();
4170 {
4171 wxAuiPaneInfo &_result_ref = (arg1)->Window(arg2);
4172 result = (wxAuiPaneInfo *) &_result_ref;
4173 }
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 {
4178 resultobj = obj0; Py_INCREF(resultobj);
4179 }
4180 return resultobj;
4181 fail:
4182 return NULL;
4183 }
4184
4185
4186 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj = 0;
4188 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4189 wxString *arg2 = 0 ;
4190 wxAuiPaneInfo *result = 0 ;
4191 void *argp1 = 0 ;
4192 int res1 = 0 ;
4193 bool temp2 = false ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 char * kwnames[] = {
4197 (char *) "self",(char *) "n", NULL
4198 };
4199
4200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
4201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4202 if (!SWIG_IsOK(res1)) {
4203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Name" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4204 }
4205 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4206 {
4207 arg2 = wxString_in_helper(obj1);
4208 if (arg2 == NULL) SWIG_fail;
4209 temp2 = true;
4210 }
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 {
4214 wxAuiPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
4215 result = (wxAuiPaneInfo *) &_result_ref;
4216 }
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = obj0; Py_INCREF(resultobj);
4222 }
4223 {
4224 if (temp2)
4225 delete arg2;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp2)
4231 delete arg2;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = 0;
4239 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4240 wxString *arg2 = 0 ;
4241 wxAuiPaneInfo *result = 0 ;
4242 void *argp1 = 0 ;
4243 int res1 = 0 ;
4244 bool temp2 = false ;
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char * kwnames[] = {
4248 (char *) "self",(char *) "c", NULL
4249 };
4250
4251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
4252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4253 if (!SWIG_IsOK(res1)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Caption" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4255 }
4256 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4257 {
4258 arg2 = wxString_in_helper(obj1);
4259 if (arg2 == NULL) SWIG_fail;
4260 temp2 = true;
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 {
4265 wxAuiPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
4266 result = (wxAuiPaneInfo *) &_result_ref;
4267 }
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 {
4272 resultobj = obj0; Py_INCREF(resultobj);
4273 }
4274 {
4275 if (temp2)
4276 delete arg2;
4277 }
4278 return resultobj;
4279 fail:
4280 {
4281 if (temp2)
4282 delete arg2;
4283 }
4284 return NULL;
4285 }
4286
4287
4288 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4289 PyObject *resultobj = 0;
4290 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4291 wxAuiPaneInfo *result = 0 ;
4292 void *argp1 = 0 ;
4293 int res1 = 0 ;
4294 PyObject *swig_obj[1] ;
4295
4296 if (!args) SWIG_fail;
4297 swig_obj[0] = args;
4298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4299 if (!SWIG_IsOK(res1)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Left" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4301 }
4302 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 {
4306 wxAuiPaneInfo &_result_ref = (arg1)->Left();
4307 result = (wxAuiPaneInfo *) &_result_ref;
4308 }
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
4313 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4322 PyObject *resultobj = 0;
4323 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4324 wxAuiPaneInfo *result = 0 ;
4325 void *argp1 = 0 ;
4326 int res1 = 0 ;
4327 PyObject *swig_obj[1] ;
4328
4329 if (!args) SWIG_fail;
4330 swig_obj[0] = args;
4331 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4332 if (!SWIG_IsOK(res1)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Right" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4334 }
4335 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 {
4339 wxAuiPaneInfo &_result_ref = (arg1)->Right();
4340 result = (wxAuiPaneInfo *) &_result_ref;
4341 }
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 {
4346 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4347 }
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4355 PyObject *resultobj = 0;
4356 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4357 wxAuiPaneInfo *result = 0 ;
4358 void *argp1 = 0 ;
4359 int res1 = 0 ;
4360 PyObject *swig_obj[1] ;
4361
4362 if (!args) SWIG_fail;
4363 swig_obj[0] = args;
4364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Top" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4367 }
4368 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 {
4372 wxAuiPaneInfo &_result_ref = (arg1)->Top();
4373 result = (wxAuiPaneInfo *) &_result_ref;
4374 }
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 {
4379 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4380 }
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4388 PyObject *resultobj = 0;
4389 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4390 wxAuiPaneInfo *result = 0 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 PyObject *swig_obj[1] ;
4394
4395 if (!args) SWIG_fail;
4396 swig_obj[0] = args;
4397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4398 if (!SWIG_IsOK(res1)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Bottom" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4400 }
4401 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 {
4405 wxAuiPaneInfo &_result_ref = (arg1)->Bottom();
4406 result = (wxAuiPaneInfo *) &_result_ref;
4407 }
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 {
4412 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4413 }
4414 return resultobj;
4415 fail:
4416 return NULL;
4417 }
4418
4419
4420 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4421 PyObject *resultobj = 0;
4422 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4423 wxAuiPaneInfo *result = 0 ;
4424 void *argp1 = 0 ;
4425 int res1 = 0 ;
4426 PyObject *swig_obj[1] ;
4427
4428 if (!args) SWIG_fail;
4429 swig_obj[0] = args;
4430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4431 if (!SWIG_IsOK(res1)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Center" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4433 }
4434 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 {
4438 wxAuiPaneInfo &_result_ref = (arg1)->Center();
4439 result = (wxAuiPaneInfo *) &_result_ref;
4440 }
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 {
4445 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4446 }
4447 return resultobj;
4448 fail:
4449 return NULL;
4450 }
4451
4452
4453 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4454 PyObject *resultobj = 0;
4455 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4456 wxAuiPaneInfo *result = 0 ;
4457 void *argp1 = 0 ;
4458 int res1 = 0 ;
4459 PyObject *swig_obj[1] ;
4460
4461 if (!args) SWIG_fail;
4462 swig_obj[0] = args;
4463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4464 if (!SWIG_IsOK(res1)) {
4465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Centre" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4466 }
4467 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4468 {
4469 PyThreadState* __tstate = wxPyBeginAllowThreads();
4470 {
4471 wxAuiPaneInfo &_result_ref = (arg1)->Centre();
4472 result = (wxAuiPaneInfo *) &_result_ref;
4473 }
4474 wxPyEndAllowThreads(__tstate);
4475 if (PyErr_Occurred()) SWIG_fail;
4476 }
4477 {
4478 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4479 }
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj = 0;
4488 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4489 int arg2 ;
4490 wxAuiPaneInfo *result = 0 ;
4491 void *argp1 = 0 ;
4492 int res1 = 0 ;
4493 int val2 ;
4494 int ecode2 = 0 ;
4495 PyObject * obj0 = 0 ;
4496 PyObject * obj1 = 0 ;
4497 char * kwnames[] = {
4498 (char *) "self",(char *) "direction", NULL
4499 };
4500
4501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4503 if (!SWIG_IsOK(res1)) {
4504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Direction" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4505 }
4506 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4507 ecode2 = SWIG_AsVal_int(obj1, &val2);
4508 if (!SWIG_IsOK(ecode2)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4510 }
4511 arg2 = static_cast< int >(val2);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 {
4515 wxAuiPaneInfo &_result_ref = (arg1)->Direction(arg2);
4516 result = (wxAuiPaneInfo *) &_result_ref;
4517 }
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 {
4522 resultobj = obj0; Py_INCREF(resultobj);
4523 }
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj = 0;
4532 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4533 int arg2 ;
4534 wxAuiPaneInfo *result = 0 ;
4535 void *argp1 = 0 ;
4536 int res1 = 0 ;
4537 int val2 ;
4538 int ecode2 = 0 ;
4539 PyObject * obj0 = 0 ;
4540 PyObject * obj1 = 0 ;
4541 char * kwnames[] = {
4542 (char *) "self",(char *) "layer", NULL
4543 };
4544
4545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4547 if (!SWIG_IsOK(res1)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Layer" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4549 }
4550 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4551 ecode2 = SWIG_AsVal_int(obj1, &val2);
4552 if (!SWIG_IsOK(ecode2)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4554 }
4555 arg2 = static_cast< int >(val2);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 {
4559 wxAuiPaneInfo &_result_ref = (arg1)->Layer(arg2);
4560 result = (wxAuiPaneInfo *) &_result_ref;
4561 }
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 {
4566 resultobj = obj0; Py_INCREF(resultobj);
4567 }
4568 return resultobj;
4569 fail:
4570 return NULL;
4571 }
4572
4573
4574 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj = 0;
4576 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4577 int arg2 ;
4578 wxAuiPaneInfo *result = 0 ;
4579 void *argp1 = 0 ;
4580 int res1 = 0 ;
4581 int val2 ;
4582 int ecode2 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 char * kwnames[] = {
4586 (char *) "self",(char *) "row", NULL
4587 };
4588
4589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Row" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4593 }
4594 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4595 ecode2 = SWIG_AsVal_int(obj1, &val2);
4596 if (!SWIG_IsOK(ecode2)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4598 }
4599 arg2 = static_cast< int >(val2);
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 {
4603 wxAuiPaneInfo &_result_ref = (arg1)->Row(arg2);
4604 result = (wxAuiPaneInfo *) &_result_ref;
4605 }
4606 wxPyEndAllowThreads(__tstate);
4607 if (PyErr_Occurred()) SWIG_fail;
4608 }
4609 {
4610 resultobj = obj0; Py_INCREF(resultobj);
4611 }
4612 return resultobj;
4613 fail:
4614 return NULL;
4615 }
4616
4617
4618 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4619 PyObject *resultobj = 0;
4620 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4621 int arg2 ;
4622 wxAuiPaneInfo *result = 0 ;
4623 void *argp1 = 0 ;
4624 int res1 = 0 ;
4625 int val2 ;
4626 int ecode2 = 0 ;
4627 PyObject * obj0 = 0 ;
4628 PyObject * obj1 = 0 ;
4629 char * kwnames[] = {
4630 (char *) "self",(char *) "pos", NULL
4631 };
4632
4633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4635 if (!SWIG_IsOK(res1)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Position" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4637 }
4638 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4639 ecode2 = SWIG_AsVal_int(obj1, &val2);
4640 if (!SWIG_IsOK(ecode2)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4642 }
4643 arg2 = static_cast< int >(val2);
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 {
4647 wxAuiPaneInfo &_result_ref = (arg1)->Position(arg2);
4648 result = (wxAuiPaneInfo *) &_result_ref;
4649 }
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 {
4654 resultobj = obj0; Py_INCREF(resultobj);
4655 }
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 SWIGINTERN PyObject *_wrap_AuiPaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj = 0;
4664 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4665 wxSize *arg2 = 0 ;
4666 wxAuiPaneInfo *result = 0 ;
4667 void *argp1 = 0 ;
4668 int res1 = 0 ;
4669 wxSize temp2 ;
4670 PyObject * obj0 = 0 ;
4671 PyObject * obj1 = 0 ;
4672 char * kwnames[] = {
4673 (char *) "self",(char *) "size", NULL
4674 };
4675
4676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4678 if (!SWIG_IsOK(res1)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BestSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4680 }
4681 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4682 {
4683 arg2 = &temp2;
4684 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4685 }
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 {
4689 wxAuiPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4690 result = (wxAuiPaneInfo *) &_result_ref;
4691 }
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 {
4696 resultobj = obj0; Py_INCREF(resultobj);
4697 }
4698 return resultobj;
4699 fail:
4700 return NULL;
4701 }
4702
4703
4704 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4705 PyObject *resultobj = 0;
4706 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4707 wxSize *arg2 = 0 ;
4708 wxAuiPaneInfo *result = 0 ;
4709 void *argp1 = 0 ;
4710 int res1 = 0 ;
4711 wxSize temp2 ;
4712 PyObject * obj0 = 0 ;
4713 PyObject * obj1 = 0 ;
4714 char * kwnames[] = {
4715 (char *) "self",(char *) "size", NULL
4716 };
4717
4718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4720 if (!SWIG_IsOK(res1)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4722 }
4723 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4724 {
4725 arg2 = &temp2;
4726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 {
4731 wxAuiPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4732 result = (wxAuiPaneInfo *) &_result_ref;
4733 }
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 {
4738 resultobj = obj0; Py_INCREF(resultobj);
4739 }
4740 return resultobj;
4741 fail:
4742 return NULL;
4743 }
4744
4745
4746 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj = 0;
4748 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4749 wxSize *arg2 = 0 ;
4750 wxAuiPaneInfo *result = 0 ;
4751 void *argp1 = 0 ;
4752 int res1 = 0 ;
4753 wxSize temp2 ;
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
4756 char * kwnames[] = {
4757 (char *) "self",(char *) "size", NULL
4758 };
4759
4760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4762 if (!SWIG_IsOK(res1)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4764 }
4765 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4766 {
4767 arg2 = &temp2;
4768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4769 }
4770 {
4771 PyThreadState* __tstate = wxPyBeginAllowThreads();
4772 {
4773 wxAuiPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4774 result = (wxAuiPaneInfo *) &_result_ref;
4775 }
4776 wxPyEndAllowThreads(__tstate);
4777 if (PyErr_Occurred()) SWIG_fail;
4778 }
4779 {
4780 resultobj = obj0; Py_INCREF(resultobj);
4781 }
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj = 0;
4790 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4791 wxPoint *arg2 = 0 ;
4792 wxAuiPaneInfo *result = 0 ;
4793 void *argp1 = 0 ;
4794 int res1 = 0 ;
4795 wxPoint temp2 ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 char * kwnames[] = {
4799 (char *) "self",(char *) "pos", NULL
4800 };
4801
4802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4804 if (!SWIG_IsOK(res1)) {
4805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4806 }
4807 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4808 {
4809 arg2 = &temp2;
4810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4811 }
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 {
4815 wxAuiPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4816 result = (wxAuiPaneInfo *) &_result_ref;
4817 }
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = obj0; Py_INCREF(resultobj);
4823 }
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 SWIGINTERN PyObject *_wrap_AuiPaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj = 0;
4832 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4833 wxSize *arg2 = 0 ;
4834 wxAuiPaneInfo *result = 0 ;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 wxSize temp2 ;
4838 PyObject * obj0 = 0 ;
4839 PyObject * obj1 = 0 ;
4840 char * kwnames[] = {
4841 (char *) "self",(char *) "size", NULL
4842 };
4843
4844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4846 if (!SWIG_IsOK(res1)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4848 }
4849 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4850 {
4851 arg2 = &temp2;
4852 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4853 }
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 {
4857 wxAuiPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4858 result = (wxAuiPaneInfo *) &_result_ref;
4859 }
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 {
4864 resultobj = obj0; Py_INCREF(resultobj);
4865 }
4866 return resultobj;
4867 fail:
4868 return NULL;
4869 }
4870
4871
4872 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4873 PyObject *resultobj = 0;
4874 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4875 wxAuiPaneInfo *result = 0 ;
4876 void *argp1 = 0 ;
4877 int res1 = 0 ;
4878 PyObject *swig_obj[1] ;
4879
4880 if (!args) SWIG_fail;
4881 swig_obj[0] = args;
4882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4883 if (!SWIG_IsOK(res1)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Fixed" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4885 }
4886 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 {
4890 wxAuiPaneInfo &_result_ref = (arg1)->Fixed();
4891 result = (wxAuiPaneInfo *) &_result_ref;
4892 }
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 {
4897 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4898 }
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj = 0;
4907 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4908 bool arg2 = (bool) true ;
4909 wxAuiPaneInfo *result = 0 ;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 bool val2 ;
4913 int ecode2 = 0 ;
4914 PyObject * obj0 = 0 ;
4915 PyObject * obj1 = 0 ;
4916 char * kwnames[] = {
4917 (char *) "self",(char *) "resizable", NULL
4918 };
4919
4920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4922 if (!SWIG_IsOK(res1)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4924 }
4925 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4926 if (obj1) {
4927 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4928 if (!SWIG_IsOK(ecode2)) {
4929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4930 }
4931 arg2 = static_cast< bool >(val2);
4932 }
4933 {
4934 PyThreadState* __tstate = wxPyBeginAllowThreads();
4935 {
4936 wxAuiPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4937 result = (wxAuiPaneInfo *) &_result_ref;
4938 }
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 {
4943 resultobj = obj0; Py_INCREF(resultobj);
4944 }
4945 return resultobj;
4946 fail:
4947 return NULL;
4948 }
4949
4950
4951 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4952 PyObject *resultobj = 0;
4953 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4954 wxAuiPaneInfo *result = 0 ;
4955 void *argp1 = 0 ;
4956 int res1 = 0 ;
4957 PyObject *swig_obj[1] ;
4958
4959 if (!args) SWIG_fail;
4960 swig_obj[0] = args;
4961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4962 if (!SWIG_IsOK(res1)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dock" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4964 }
4965 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4966 {
4967 PyThreadState* __tstate = wxPyBeginAllowThreads();
4968 {
4969 wxAuiPaneInfo &_result_ref = (arg1)->Dock();
4970 result = (wxAuiPaneInfo *) &_result_ref;
4971 }
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 {
4976 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4977 }
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4985 PyObject *resultobj = 0;
4986 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
4987 wxAuiPaneInfo *result = 0 ;
4988 void *argp1 = 0 ;
4989 int res1 = 0 ;
4990 PyObject *swig_obj[1] ;
4991
4992 if (!args) SWIG_fail;
4993 swig_obj[0] = args;
4994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
4995 if (!SWIG_IsOK(res1)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Float" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
4997 }
4998 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 {
5002 wxAuiPaneInfo &_result_ref = (arg1)->Float();
5003 result = (wxAuiPaneInfo *) &_result_ref;
5004 }
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5010 }
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5018 PyObject *resultobj = 0;
5019 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5020 wxAuiPaneInfo *result = 0 ;
5021 void *argp1 = 0 ;
5022 int res1 = 0 ;
5023 PyObject *swig_obj[1] ;
5024
5025 if (!args) SWIG_fail;
5026 swig_obj[0] = args;
5027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5028 if (!SWIG_IsOK(res1)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Hide" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5030 }
5031 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 {
5035 wxAuiPaneInfo &_result_ref = (arg1)->Hide();
5036 result = (wxAuiPaneInfo *) &_result_ref;
5037 }
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
5042 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5043 }
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj = 0;
5052 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5053 bool arg2 = (bool) true ;
5054 wxAuiPaneInfo *result = 0 ;
5055 void *argp1 = 0 ;
5056 int res1 = 0 ;
5057 bool val2 ;
5058 int ecode2 = 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char * kwnames[] = {
5062 (char *) "self",(char *) "show", NULL
5063 };
5064
5065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
5066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5067 if (!SWIG_IsOK(res1)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Show" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5069 }
5070 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5071 if (obj1) {
5072 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5073 if (!SWIG_IsOK(ecode2)) {
5074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
5075 }
5076 arg2 = static_cast< bool >(val2);
5077 }
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 {
5081 wxAuiPaneInfo &_result_ref = (arg1)->Show(arg2);
5082 result = (wxAuiPaneInfo *) &_result_ref;
5083 }
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 {
5088 resultobj = obj0; Py_INCREF(resultobj);
5089 }
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj = 0;
5098 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5099 bool arg2 = (bool) true ;
5100 wxAuiPaneInfo *result = 0 ;
5101 void *argp1 = 0 ;
5102 int res1 = 0 ;
5103 bool val2 ;
5104 int ecode2 = 0 ;
5105 PyObject * obj0 = 0 ;
5106 PyObject * obj1 = 0 ;
5107 char * kwnames[] = {
5108 (char *) "self",(char *) "visible", NULL
5109 };
5110
5111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
5112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5113 if (!SWIG_IsOK(res1)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5115 }
5116 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5117 if (obj1) {
5118 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5119 if (!SWIG_IsOK(ecode2)) {
5120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
5121 }
5122 arg2 = static_cast< bool >(val2);
5123 }
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 {
5127 wxAuiPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
5128 result = (wxAuiPaneInfo *) &_result_ref;
5129 }
5130 wxPyEndAllowThreads(__tstate);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 resultobj = obj0; Py_INCREF(resultobj);
5135 }
5136 return resultobj;
5137 fail:
5138 return NULL;
5139 }
5140
5141
5142 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5143 PyObject *resultobj = 0;
5144 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5145 wxAuiPaneInfo *result = 0 ;
5146 void *argp1 = 0 ;
5147 int res1 = 0 ;
5148 PyObject *swig_obj[1] ;
5149
5150 if (!args) SWIG_fail;
5151 swig_obj[0] = args;
5152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Maximize" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5155 }
5156 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 {
5160 wxAuiPaneInfo &_result_ref = (arg1)->Maximize();
5161 result = (wxAuiPaneInfo *) &_result_ref;
5162 }
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 {
5167 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5168 }
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5176 PyObject *resultobj = 0;
5177 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5178 wxAuiPaneInfo *result = 0 ;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 PyObject *swig_obj[1] ;
5182
5183 if (!args) SWIG_fail;
5184 swig_obj[0] = args;
5185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Restore" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5188 }
5189 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 {
5193 wxAuiPaneInfo &_result_ref = (arg1)->Restore();
5194 result = (wxAuiPaneInfo *) &_result_ref;
5195 }
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 {
5200 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5201 }
5202 return resultobj;
5203 fail:
5204 return NULL;
5205 }
5206
5207
5208 SWIGINTERN PyObject *_wrap_AuiPaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5209 PyObject *resultobj = 0;
5210 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5211 bool arg2 = (bool) true ;
5212 wxAuiPaneInfo *result = 0 ;
5213 void *argp1 = 0 ;
5214 int res1 = 0 ;
5215 bool val2 ;
5216 int ecode2 = 0 ;
5217 PyObject * obj0 = 0 ;
5218 PyObject * obj1 = 0 ;
5219 char * kwnames[] = {
5220 (char *) "self",(char *) "visible", NULL
5221 };
5222
5223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
5224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5225 if (!SWIG_IsOK(res1)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5227 }
5228 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5229 if (obj1) {
5230 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5231 if (!SWIG_IsOK(ecode2)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
5233 }
5234 arg2 = static_cast< bool >(val2);
5235 }
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 {
5239 wxAuiPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
5240 result = (wxAuiPaneInfo *) &_result_ref;
5241 }
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 {
5246 resultobj = obj0; Py_INCREF(resultobj);
5247 }
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj = 0;
5256 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5257 bool arg2 = (bool) true ;
5258 wxAuiPaneInfo *result = 0 ;
5259 void *argp1 = 0 ;
5260 int res1 = 0 ;
5261 bool val2 ;
5262 int ecode2 = 0 ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char * kwnames[] = {
5266 (char *) "self",(char *) "visible", NULL
5267 };
5268
5269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
5270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5271 if (!SWIG_IsOK(res1)) {
5272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5273 }
5274 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5275 if (obj1) {
5276 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5277 if (!SWIG_IsOK(ecode2)) {
5278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
5279 }
5280 arg2 = static_cast< bool >(val2);
5281 }
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 {
5285 wxAuiPaneInfo &_result_ref = (arg1)->Gripper(arg2);
5286 result = (wxAuiPaneInfo *) &_result_ref;
5287 }
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 resultobj = obj0; Py_INCREF(resultobj);
5293 }
5294 return resultobj;
5295 fail:
5296 return NULL;
5297 }
5298
5299
5300 SWIGINTERN PyObject *_wrap_AuiPaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5301 PyObject *resultobj = 0;
5302 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5303 bool arg2 = (bool) true ;
5304 wxAuiPaneInfo *result = 0 ;
5305 void *argp1 = 0 ;
5306 int res1 = 0 ;
5307 bool val2 ;
5308 int ecode2 = 0 ;
5309 PyObject * obj0 = 0 ;
5310 PyObject * obj1 = 0 ;
5311 char * kwnames[] = {
5312 (char *) "self",(char *) "attop", NULL
5313 };
5314
5315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
5316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5317 if (!SWIG_IsOK(res1)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5319 }
5320 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5321 if (obj1) {
5322 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5323 if (!SWIG_IsOK(ecode2)) {
5324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
5325 }
5326 arg2 = static_cast< bool >(val2);
5327 }
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 {
5331 wxAuiPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
5332 result = (wxAuiPaneInfo *) &_result_ref;
5333 }
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 {
5338 resultobj = obj0; Py_INCREF(resultobj);
5339 }
5340 return resultobj;
5341 fail:
5342 return NULL;
5343 }
5344
5345
5346 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5347 PyObject *resultobj = 0;
5348 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5349 bool arg2 = (bool) true ;
5350 wxAuiPaneInfo *result = 0 ;
5351 void *argp1 = 0 ;
5352 int res1 = 0 ;
5353 bool val2 ;
5354 int ecode2 = 0 ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 char * kwnames[] = {
5358 (char *) "self",(char *) "visible", NULL
5359 };
5360
5361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5363 if (!SWIG_IsOK(res1)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5365 }
5366 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5367 if (obj1) {
5368 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5369 if (!SWIG_IsOK(ecode2)) {
5370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5371 }
5372 arg2 = static_cast< bool >(val2);
5373 }
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 {
5377 wxAuiPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5378 result = (wxAuiPaneInfo *) &_result_ref;
5379 }
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 {
5384 resultobj = obj0; Py_INCREF(resultobj);
5385 }
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5393 PyObject *resultobj = 0;
5394 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5395 bool arg2 = (bool) true ;
5396 wxAuiPaneInfo *result = 0 ;
5397 void *argp1 = 0 ;
5398 int res1 = 0 ;
5399 bool val2 ;
5400 int ecode2 = 0 ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 char * kwnames[] = {
5404 (char *) "self",(char *) "visible", NULL
5405 };
5406
5407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5411 }
5412 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5413 if (obj1) {
5414 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5415 if (!SWIG_IsOK(ecode2)) {
5416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5417 }
5418 arg2 = static_cast< bool >(val2);
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 {
5423 wxAuiPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5424 result = (wxAuiPaneInfo *) &_result_ref;
5425 }
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 {
5430 resultobj = obj0; Py_INCREF(resultobj);
5431 }
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 SWIGINTERN PyObject *_wrap_AuiPaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj = 0;
5440 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5441 bool arg2 = (bool) true ;
5442 wxAuiPaneInfo *result = 0 ;
5443 void *argp1 = 0 ;
5444 int res1 = 0 ;
5445 bool val2 ;
5446 int ecode2 = 0 ;
5447 PyObject * obj0 = 0 ;
5448 PyObject * obj1 = 0 ;
5449 char * kwnames[] = {
5450 (char *) "self",(char *) "visible", NULL
5451 };
5452
5453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5455 if (!SWIG_IsOK(res1)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5457 }
5458 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5459 if (obj1) {
5460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5461 if (!SWIG_IsOK(ecode2)) {
5462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5463 }
5464 arg2 = static_cast< bool >(val2);
5465 }
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 {
5469 wxAuiPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5470 result = (wxAuiPaneInfo *) &_result_ref;
5471 }
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 {
5476 resultobj = obj0; Py_INCREF(resultobj);
5477 }
5478 return resultobj;
5479 fail:
5480 return NULL;
5481 }
5482
5483
5484 SWIGINTERN PyObject *_wrap_AuiPaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5485 PyObject *resultobj = 0;
5486 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5487 bool arg2 = (bool) true ;
5488 wxAuiPaneInfo *result = 0 ;
5489 void *argp1 = 0 ;
5490 int res1 = 0 ;
5491 bool val2 ;
5492 int ecode2 = 0 ;
5493 PyObject * obj0 = 0 ;
5494 PyObject * obj1 = 0 ;
5495 char * kwnames[] = {
5496 (char *) "self",(char *) "visible", NULL
5497 };
5498
5499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5503 }
5504 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5505 if (obj1) {
5506 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5507 if (!SWIG_IsOK(ecode2)) {
5508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5509 }
5510 arg2 = static_cast< bool >(val2);
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 {
5515 wxAuiPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5516 result = (wxAuiPaneInfo *) &_result_ref;
5517 }
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 {
5522 resultobj = obj0; Py_INCREF(resultobj);
5523 }
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 SWIGINTERN PyObject *_wrap_AuiPaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj = 0;
5532 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5533 bool arg2 = (bool) true ;
5534 wxAuiPaneInfo *result = 0 ;
5535 void *argp1 = 0 ;
5536 int res1 = 0 ;
5537 bool val2 ;
5538 int ecode2 = 0 ;
5539 PyObject * obj0 = 0 ;
5540 PyObject * obj1 = 0 ;
5541 char * kwnames[] = {
5542 (char *) "self",(char *) "b", NULL
5543 };
5544
5545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5547 if (!SWIG_IsOK(res1)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5549 }
5550 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5551 if (obj1) {
5552 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5553 if (!SWIG_IsOK(ecode2)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5555 }
5556 arg2 = static_cast< bool >(val2);
5557 }
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 {
5561 wxAuiPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5562 result = (wxAuiPaneInfo *) &_result_ref;
5563 }
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
5568 resultobj = obj0; Py_INCREF(resultobj);
5569 }
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 SWIGINTERN PyObject *_wrap_AuiPaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj = 0;
5578 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5579 bool arg2 = (bool) true ;
5580 wxAuiPaneInfo *result = 0 ;
5581 void *argp1 = 0 ;
5582 int res1 = 0 ;
5583 bool val2 ;
5584 int ecode2 = 0 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char * kwnames[] = {
5588 (char *) "self",(char *) "b", NULL
5589 };
5590
5591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5595 }
5596 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5597 if (obj1) {
5598 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5599 if (!SWIG_IsOK(ecode2)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5601 }
5602 arg2 = static_cast< bool >(val2);
5603 }
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 {
5607 wxAuiPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5608 result = (wxAuiPaneInfo *) &_result_ref;
5609 }
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
5613 {
5614 resultobj = obj0; Py_INCREF(resultobj);
5615 }
5616 return resultobj;
5617 fail:
5618 return NULL;
5619 }
5620
5621
5622 SWIGINTERN PyObject *_wrap_AuiPaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj = 0;
5624 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5625 bool arg2 = (bool) true ;
5626 wxAuiPaneInfo *result = 0 ;
5627 void *argp1 = 0 ;
5628 int res1 = 0 ;
5629 bool val2 ;
5630 int ecode2 = 0 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 char * kwnames[] = {
5634 (char *) "self",(char *) "b", NULL
5635 };
5636
5637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5639 if (!SWIG_IsOK(res1)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5641 }
5642 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5643 if (obj1) {
5644 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5645 if (!SWIG_IsOK(ecode2)) {
5646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5647 }
5648 arg2 = static_cast< bool >(val2);
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 {
5653 wxAuiPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5654 result = (wxAuiPaneInfo *) &_result_ref;
5655 }
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 resultobj = obj0; Py_INCREF(resultobj);
5661 }
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 SWIGINTERN PyObject *_wrap_AuiPaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj = 0;
5670 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5671 bool arg2 = (bool) true ;
5672 wxAuiPaneInfo *result = 0 ;
5673 void *argp1 = 0 ;
5674 int res1 = 0 ;
5675 bool val2 ;
5676 int ecode2 = 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 char * kwnames[] = {
5680 (char *) "self",(char *) "b", NULL
5681 };
5682
5683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5685 if (!SWIG_IsOK(res1)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5687 }
5688 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5689 if (obj1) {
5690 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5691 if (!SWIG_IsOK(ecode2)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5693 }
5694 arg2 = static_cast< bool >(val2);
5695 }
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 {
5699 wxAuiPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5700 result = (wxAuiPaneInfo *) &_result_ref;
5701 }
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 {
5706 resultobj = obj0; Py_INCREF(resultobj);
5707 }
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 SWIGINTERN PyObject *_wrap_AuiPaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj = 0;
5716 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5717 bool arg2 = (bool) true ;
5718 wxAuiPaneInfo *result = 0 ;
5719 void *argp1 = 0 ;
5720 int res1 = 0 ;
5721 bool val2 ;
5722 int ecode2 = 0 ;
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 char * kwnames[] = {
5726 (char *) "self",(char *) "b", NULL
5727 };
5728
5729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5731 if (!SWIG_IsOK(res1)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5733 }
5734 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5735 if (obj1) {
5736 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5737 if (!SWIG_IsOK(ecode2)) {
5738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5739 }
5740 arg2 = static_cast< bool >(val2);
5741 }
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 {
5745 wxAuiPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5746 result = (wxAuiPaneInfo *) &_result_ref;
5747 }
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 resultobj = obj0; Py_INCREF(resultobj);
5753 }
5754 return resultobj;
5755 fail:
5756 return NULL;
5757 }
5758
5759
5760 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj = 0;
5762 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5763 bool arg2 = (bool) true ;
5764 wxAuiPaneInfo *result = 0 ;
5765 void *argp1 = 0 ;
5766 int res1 = 0 ;
5767 bool val2 ;
5768 int ecode2 = 0 ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 char * kwnames[] = {
5772 (char *) "self",(char *) "b", NULL
5773 };
5774
5775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5777 if (!SWIG_IsOK(res1)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5779 }
5780 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5781 if (obj1) {
5782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5783 if (!SWIG_IsOK(ecode2)) {
5784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5785 }
5786 arg2 = static_cast< bool >(val2);
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 {
5791 wxAuiPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5792 result = (wxAuiPaneInfo *) &_result_ref;
5793 }
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 {
5798 resultobj = obj0; Py_INCREF(resultobj);
5799 }
5800 return resultobj;
5801 fail:
5802 return NULL;
5803 }
5804
5805
5806 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj = 0;
5808 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5809 bool arg2 = (bool) true ;
5810 wxAuiPaneInfo *result = 0 ;
5811 void *argp1 = 0 ;
5812 int res1 = 0 ;
5813 bool val2 ;
5814 int ecode2 = 0 ;
5815 PyObject * obj0 = 0 ;
5816 PyObject * obj1 = 0 ;
5817 char * kwnames[] = {
5818 (char *) "self",(char *) "b", NULL
5819 };
5820
5821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5823 if (!SWIG_IsOK(res1)) {
5824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Movable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5825 }
5826 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5827 if (obj1) {
5828 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5829 if (!SWIG_IsOK(ecode2)) {
5830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5831 }
5832 arg2 = static_cast< bool >(val2);
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 {
5837 wxAuiPaneInfo &_result_ref = (arg1)->Movable(arg2);
5838 result = (wxAuiPaneInfo *) &_result_ref;
5839 }
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 resultobj = obj0; Py_INCREF(resultobj);
5845 }
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 SWIGINTERN PyObject *_wrap_AuiPaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj = 0;
5854 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5855 bool arg2 = (bool) true ;
5856 wxAuiPaneInfo *result = 0 ;
5857 void *argp1 = 0 ;
5858 int res1 = 0 ;
5859 bool val2 ;
5860 int ecode2 = 0 ;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 char * kwnames[] = {
5864 (char *) "self",(char *) "b", NULL
5865 };
5866
5867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiPaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5869 if (!SWIG_IsOK(res1)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5871 }
5872 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5873 if (obj1) {
5874 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5875 if (!SWIG_IsOK(ecode2)) {
5876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5877 }
5878 arg2 = static_cast< bool >(val2);
5879 }
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 {
5883 wxAuiPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5884 result = (wxAuiPaneInfo *) &_result_ref;
5885 }
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 {
5890 resultobj = obj0; Py_INCREF(resultobj);
5891 }
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 SWIGINTERN PyObject *_wrap_AuiPaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5899 PyObject *resultobj = 0;
5900 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5901 wxAuiPaneInfo *result = 0 ;
5902 void *argp1 = 0 ;
5903 int res1 = 0 ;
5904 PyObject *swig_obj[1] ;
5905
5906 if (!args) SWIG_fail;
5907 swig_obj[0] = args;
5908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5911 }
5912 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 {
5916 wxAuiPaneInfo &_result_ref = (arg1)->DefaultPane();
5917 result = (wxAuiPaneInfo *) &_result_ref;
5918 }
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 {
5923 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5924 }
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5932 PyObject *resultobj = 0;
5933 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5934 wxAuiPaneInfo *result = 0 ;
5935 void *argp1 = 0 ;
5936 int res1 = 0 ;
5937 PyObject *swig_obj[1] ;
5938
5939 if (!args) SWIG_fail;
5940 swig_obj[0] = args;
5941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5942 if (!SWIG_IsOK(res1)) {
5943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5944 }
5945 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 {
5949 wxAuiPaneInfo &_result_ref = (arg1)->CentrePane();
5950 result = (wxAuiPaneInfo *) &_result_ref;
5951 }
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 {
5956 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5957 }
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 SWIGINTERN PyObject *_wrap_AuiPaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5965 PyObject *resultobj = 0;
5966 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
5967 wxAuiPaneInfo *result = 0 ;
5968 void *argp1 = 0 ;
5969 int res1 = 0 ;
5970 PyObject *swig_obj[1] ;
5971
5972 if (!args) SWIG_fail;
5973 swig_obj[0] = args;
5974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
5975 if (!SWIG_IsOK(res1)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
5977 }
5978 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 {
5982 wxAuiPaneInfo &_result_ref = (arg1)->CenterPane();
5983 result = (wxAuiPaneInfo *) &_result_ref;
5984 }
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 {
5989 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5990 }
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 SWIGINTERN PyObject *_wrap_AuiPaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5998 PyObject *resultobj = 0;
5999 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6000 wxAuiPaneInfo *result = 0 ;
6001 void *argp1 = 0 ;
6002 int res1 = 0 ;
6003 PyObject *swig_obj[1] ;
6004
6005 if (!args) SWIG_fail;
6006 swig_obj[0] = args;
6007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6008 if (!SWIG_IsOK(res1)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6010 }
6011 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 {
6015 wxAuiPaneInfo &_result_ref = (arg1)->ToolbarPane();
6016 result = (wxAuiPaneInfo *) &_result_ref;
6017 }
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 {
6022 resultobj = swig_obj[0]; Py_INCREF(resultobj);
6023 }
6024 return resultobj;
6025 fail:
6026 return NULL;
6027 }
6028
6029
6030 SWIGINTERN PyObject *_wrap_AuiPaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6031 PyObject *resultobj = 0;
6032 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6033 int arg2 ;
6034 bool arg3 ;
6035 wxAuiPaneInfo *result = 0 ;
6036 void *argp1 = 0 ;
6037 int res1 = 0 ;
6038 int val2 ;
6039 int ecode2 = 0 ;
6040 bool val3 ;
6041 int ecode3 = 0 ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 PyObject * obj2 = 0 ;
6045 char * kwnames[] = {
6046 (char *) "self",(char *) "flag",(char *) "option_state", NULL
6047 };
6048
6049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiPaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6051 if (!SWIG_IsOK(res1)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6053 }
6054 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6055 ecode2 = SWIG_AsVal_int(obj1, &val2);
6056 if (!SWIG_IsOK(ecode2)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
6058 }
6059 arg2 = static_cast< int >(val2);
6060 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6061 if (!SWIG_IsOK(ecode3)) {
6062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiPaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
6063 }
6064 arg3 = static_cast< bool >(val3);
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 {
6068 wxAuiPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
6069 result = (wxAuiPaneInfo *) &_result_ref;
6070 }
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 {
6075 resultobj = obj0; Py_INCREF(resultobj);
6076 }
6077 return resultobj;
6078 fail:
6079 return NULL;
6080 }
6081
6082
6083 SWIGINTERN PyObject *_wrap_AuiPaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj = 0;
6085 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6086 int arg2 ;
6087 bool result;
6088 void *argp1 = 0 ;
6089 int res1 = 0 ;
6090 int val2 ;
6091 int ecode2 = 0 ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj1 = 0 ;
6094 char * kwnames[] = {
6095 (char *) "self",(char *) "flag", NULL
6096 };
6097
6098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiPaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
6099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6100 if (!SWIG_IsOK(res1)) {
6101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxAuiPaneInfo const *""'");
6102 }
6103 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6104 ecode2 = SWIG_AsVal_int(obj1, &val2);
6105 if (!SWIG_IsOK(ecode2)) {
6106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
6107 }
6108 arg2 = static_cast< int >(val2);
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (bool)((wxAuiPaneInfo const *)arg1)->HasFlag(arg2);
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6117 }
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6125 PyObject *resultobj = 0;
6126 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6127 wxString *arg2 = (wxString *) 0 ;
6128 void *argp1 = 0 ;
6129 int res1 = 0 ;
6130 bool temp2 = false ;
6131 PyObject *swig_obj[2] ;
6132
6133 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
6134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6135 if (!SWIG_IsOK(res1)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6137 }
6138 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6139 {
6140 arg2 = wxString_in_helper(swig_obj[1]);
6141 if (arg2 == NULL) SWIG_fail;
6142 temp2 = true;
6143 }
6144 if (arg1) (arg1)->name = *arg2;
6145
6146 resultobj = SWIG_Py_Void();
6147 {
6148 if (temp2)
6149 delete arg2;
6150 }
6151 return resultobj;
6152 fail:
6153 {
6154 if (temp2)
6155 delete arg2;
6156 }
6157 return NULL;
6158 }
6159
6160
6161 SWIGINTERN PyObject *_wrap_AuiPaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6162 PyObject *resultobj = 0;
6163 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6164 wxString *result = 0 ;
6165 void *argp1 = 0 ;
6166 int res1 = 0 ;
6167 PyObject *swig_obj[1] ;
6168
6169 if (!args) SWIG_fail;
6170 swig_obj[0] = args;
6171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6172 if (!SWIG_IsOK(res1)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_name_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6174 }
6175 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6176 result = (wxString *)& ((arg1)->name);
6177 {
6178 #if wxUSE_UNICODE
6179 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6180 #else
6181 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6182 #endif
6183 }
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6191 PyObject *resultobj = 0;
6192 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6193 wxString *arg2 = (wxString *) 0 ;
6194 void *argp1 = 0 ;
6195 int res1 = 0 ;
6196 bool temp2 = false ;
6197 PyObject *swig_obj[2] ;
6198
6199 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
6200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6201 if (!SWIG_IsOK(res1)) {
6202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6203 }
6204 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6205 {
6206 arg2 = wxString_in_helper(swig_obj[1]);
6207 if (arg2 == NULL) SWIG_fail;
6208 temp2 = true;
6209 }
6210 if (arg1) (arg1)->caption = *arg2;
6211
6212 resultobj = SWIG_Py_Void();
6213 {
6214 if (temp2)
6215 delete arg2;
6216 }
6217 return resultobj;
6218 fail:
6219 {
6220 if (temp2)
6221 delete arg2;
6222 }
6223 return NULL;
6224 }
6225
6226
6227 SWIGINTERN PyObject *_wrap_AuiPaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6228 PyObject *resultobj = 0;
6229 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6230 wxString *result = 0 ;
6231 void *argp1 = 0 ;
6232 int res1 = 0 ;
6233 PyObject *swig_obj[1] ;
6234
6235 if (!args) SWIG_fail;
6236 swig_obj[0] = args;
6237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6238 if (!SWIG_IsOK(res1)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_caption_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6240 }
6241 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6242 result = (wxString *)& ((arg1)->caption);
6243 {
6244 #if wxUSE_UNICODE
6245 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6246 #else
6247 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6248 #endif
6249 }
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6257 PyObject *resultobj = 0;
6258 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6259 wxWindow *arg2 = (wxWindow *) 0 ;
6260 void *argp1 = 0 ;
6261 int res1 = 0 ;
6262 void *argp2 = 0 ;
6263 int res2 = 0 ;
6264 PyObject *swig_obj[2] ;
6265
6266 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
6267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6268 if (!SWIG_IsOK(res1)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6270 }
6271 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6272 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
6273 if (!SWIG_IsOK(res2)) {
6274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
6275 }
6276 arg2 = reinterpret_cast< wxWindow * >(argp2);
6277 if (arg1) (arg1)->window = arg2;
6278
6279 resultobj = SWIG_Py_Void();
6280 return resultobj;
6281 fail:
6282 return NULL;
6283 }
6284
6285
6286 SWIGINTERN PyObject *_wrap_AuiPaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6287 PyObject *resultobj = 0;
6288 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6289 wxWindow *result = 0 ;
6290 void *argp1 = 0 ;
6291 int res1 = 0 ;
6292 PyObject *swig_obj[1] ;
6293
6294 if (!args) SWIG_fail;
6295 swig_obj[0] = args;
6296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6297 if (!SWIG_IsOK(res1)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_window_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6299 }
6300 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6301 result = (wxWindow *) ((arg1)->window);
6302 {
6303 resultobj = wxPyMake_wxObject(result, 0);
6304 }
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6312 PyObject *resultobj = 0;
6313 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6314 wxFrame *arg2 = (wxFrame *) 0 ;
6315 void *argp1 = 0 ;
6316 int res1 = 0 ;
6317 void *argp2 = 0 ;
6318 int res2 = 0 ;
6319 PyObject *swig_obj[2] ;
6320
6321 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
6322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6323 if (!SWIG_IsOK(res1)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6325 }
6326 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6327 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
6328 if (!SWIG_IsOK(res2)) {
6329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
6330 }
6331 arg2 = reinterpret_cast< wxFrame * >(argp2);
6332 if (arg1) (arg1)->frame = arg2;
6333
6334 resultobj = SWIG_Py_Void();
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 SWIGINTERN PyObject *_wrap_AuiPaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6342 PyObject *resultobj = 0;
6343 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6344 wxFrame *result = 0 ;
6345 void *argp1 = 0 ;
6346 int res1 = 0 ;
6347 PyObject *swig_obj[1] ;
6348
6349 if (!args) SWIG_fail;
6350 swig_obj[0] = args;
6351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6352 if (!SWIG_IsOK(res1)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_frame_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6354 }
6355 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6356 result = (wxFrame *) ((arg1)->frame);
6357 {
6358 resultobj = wxPyMake_wxObject(result, 0);
6359 }
6360 return resultobj;
6361 fail:
6362 return NULL;
6363 }
6364
6365
6366 SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6367 PyObject *resultobj = 0;
6368 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6369 int arg2 ;
6370 void *argp1 = 0 ;
6371 int res1 = 0 ;
6372 int val2 ;
6373 int ecode2 = 0 ;
6374 PyObject *swig_obj[2] ;
6375
6376 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6378 if (!SWIG_IsOK(res1)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6380 }
6381 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6382 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6383 if (!SWIG_IsOK(ecode2)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6385 }
6386 arg2 = static_cast< int >(val2);
6387 if (arg1) (arg1)->state = arg2;
6388
6389 resultobj = SWIG_Py_Void();
6390 return resultobj;
6391 fail:
6392 return NULL;
6393 }
6394
6395
6396 SWIGINTERN PyObject *_wrap_AuiPaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6397 PyObject *resultobj = 0;
6398 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6399 int result;
6400 void *argp1 = 0 ;
6401 int res1 = 0 ;
6402 PyObject *swig_obj[1] ;
6403
6404 if (!args) SWIG_fail;
6405 swig_obj[0] = args;
6406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6407 if (!SWIG_IsOK(res1)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_state_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6409 }
6410 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6411 result = (int) ((arg1)->state);
6412 resultobj = SWIG_From_int(static_cast< int >(result));
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6420 PyObject *resultobj = 0;
6421 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6422 int arg2 ;
6423 void *argp1 = 0 ;
6424 int res1 = 0 ;
6425 int val2 ;
6426 int ecode2 = 0 ;
6427 PyObject *swig_obj[2] ;
6428
6429 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6431 if (!SWIG_IsOK(res1)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6433 }
6434 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6435 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6436 if (!SWIG_IsOK(ecode2)) {
6437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6438 }
6439 arg2 = static_cast< int >(val2);
6440 if (arg1) (arg1)->dock_direction = arg2;
6441
6442 resultobj = SWIG_Py_Void();
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6450 PyObject *resultobj = 0;
6451 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6452 int result;
6453 void *argp1 = 0 ;
6454 int res1 = 0 ;
6455 PyObject *swig_obj[1] ;
6456
6457 if (!args) SWIG_fail;
6458 swig_obj[0] = args;
6459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6460 if (!SWIG_IsOK(res1)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6462 }
6463 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6464 result = (int) ((arg1)->dock_direction);
6465 resultobj = SWIG_From_int(static_cast< int >(result));
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6473 PyObject *resultobj = 0;
6474 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6475 int arg2 ;
6476 void *argp1 = 0 ;
6477 int res1 = 0 ;
6478 int val2 ;
6479 int ecode2 = 0 ;
6480 PyObject *swig_obj[2] ;
6481
6482 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6484 if (!SWIG_IsOK(res1)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6486 }
6487 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6488 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6489 if (!SWIG_IsOK(ecode2)) {
6490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6491 }
6492 arg2 = static_cast< int >(val2);
6493 if (arg1) (arg1)->dock_layer = arg2;
6494
6495 resultobj = SWIG_Py_Void();
6496 return resultobj;
6497 fail:
6498 return NULL;
6499 }
6500
6501
6502 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6503 PyObject *resultobj = 0;
6504 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6505 int result;
6506 void *argp1 = 0 ;
6507 int res1 = 0 ;
6508 PyObject *swig_obj[1] ;
6509
6510 if (!args) SWIG_fail;
6511 swig_obj[0] = args;
6512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6513 if (!SWIG_IsOK(res1)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6515 }
6516 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6517 result = (int) ((arg1)->dock_layer);
6518 resultobj = SWIG_From_int(static_cast< int >(result));
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6526 PyObject *resultobj = 0;
6527 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6528 int arg2 ;
6529 void *argp1 = 0 ;
6530 int res1 = 0 ;
6531 int val2 ;
6532 int ecode2 = 0 ;
6533 PyObject *swig_obj[2] ;
6534
6535 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6537 if (!SWIG_IsOK(res1)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6539 }
6540 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6541 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6542 if (!SWIG_IsOK(ecode2)) {
6543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6544 }
6545 arg2 = static_cast< int >(val2);
6546 if (arg1) (arg1)->dock_row = arg2;
6547
6548 resultobj = SWIG_Py_Void();
6549 return resultobj;
6550 fail:
6551 return NULL;
6552 }
6553
6554
6555 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6556 PyObject *resultobj = 0;
6557 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6558 int result;
6559 void *argp1 = 0 ;
6560 int res1 = 0 ;
6561 PyObject *swig_obj[1] ;
6562
6563 if (!args) SWIG_fail;
6564 swig_obj[0] = args;
6565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6566 if (!SWIG_IsOK(res1)) {
6567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6568 }
6569 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6570 result = (int) ((arg1)->dock_row);
6571 resultobj = SWIG_From_int(static_cast< int >(result));
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6579 PyObject *resultobj = 0;
6580 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6581 int arg2 ;
6582 void *argp1 = 0 ;
6583 int res1 = 0 ;
6584 int val2 ;
6585 int ecode2 = 0 ;
6586 PyObject *swig_obj[2] ;
6587
6588 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6590 if (!SWIG_IsOK(res1)) {
6591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6592 }
6593 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6594 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6595 if (!SWIG_IsOK(ecode2)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6597 }
6598 arg2 = static_cast< int >(val2);
6599 if (arg1) (arg1)->dock_pos = arg2;
6600
6601 resultobj = SWIG_Py_Void();
6602 return resultobj;
6603 fail:
6604 return NULL;
6605 }
6606
6607
6608 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6609 PyObject *resultobj = 0;
6610 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6611 int result;
6612 void *argp1 = 0 ;
6613 int res1 = 0 ;
6614 PyObject *swig_obj[1] ;
6615
6616 if (!args) SWIG_fail;
6617 swig_obj[0] = args;
6618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6619 if (!SWIG_IsOK(res1)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6621 }
6622 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6623 result = (int) ((arg1)->dock_pos);
6624 resultobj = SWIG_From_int(static_cast< int >(result));
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6632 PyObject *resultobj = 0;
6633 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6634 wxSize *arg2 = (wxSize *) 0 ;
6635 void *argp1 = 0 ;
6636 int res1 = 0 ;
6637 void *argp2 = 0 ;
6638 int res2 = 0 ;
6639 PyObject *swig_obj[2] ;
6640
6641 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6643 if (!SWIG_IsOK(res1)) {
6644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6645 }
6646 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6647 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6648 if (!SWIG_IsOK(res2)) {
6649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6650 }
6651 arg2 = reinterpret_cast< wxSize * >(argp2);
6652 if (arg1) (arg1)->best_size = *arg2;
6653
6654 resultobj = SWIG_Py_Void();
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 SWIGINTERN PyObject *_wrap_AuiPaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6662 PyObject *resultobj = 0;
6663 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6664 wxSize *result = 0 ;
6665 void *argp1 = 0 ;
6666 int res1 = 0 ;
6667 PyObject *swig_obj[1] ;
6668
6669 if (!args) SWIG_fail;
6670 swig_obj[0] = args;
6671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6672 if (!SWIG_IsOK(res1)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6674 }
6675 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6676 result = (wxSize *)& ((arg1)->best_size);
6677 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6678 return resultobj;
6679 fail:
6680 return NULL;
6681 }
6682
6683
6684 SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6685 PyObject *resultobj = 0;
6686 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6687 wxSize *arg2 = (wxSize *) 0 ;
6688 void *argp1 = 0 ;
6689 int res1 = 0 ;
6690 void *argp2 = 0 ;
6691 int res2 = 0 ;
6692 PyObject *swig_obj[2] ;
6693
6694 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6696 if (!SWIG_IsOK(res1)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6698 }
6699 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6700 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6701 if (!SWIG_IsOK(res2)) {
6702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6703 }
6704 arg2 = reinterpret_cast< wxSize * >(argp2);
6705 if (arg1) (arg1)->min_size = *arg2;
6706
6707 resultobj = SWIG_Py_Void();
6708 return resultobj;
6709 fail:
6710 return NULL;
6711 }
6712
6713
6714 SWIGINTERN PyObject *_wrap_AuiPaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6715 PyObject *resultobj = 0;
6716 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6717 wxSize *result = 0 ;
6718 void *argp1 = 0 ;
6719 int res1 = 0 ;
6720 PyObject *swig_obj[1] ;
6721
6722 if (!args) SWIG_fail;
6723 swig_obj[0] = args;
6724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6725 if (!SWIG_IsOK(res1)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6727 }
6728 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6729 result = (wxSize *)& ((arg1)->min_size);
6730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6738 PyObject *resultobj = 0;
6739 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6740 wxSize *arg2 = (wxSize *) 0 ;
6741 void *argp1 = 0 ;
6742 int res1 = 0 ;
6743 void *argp2 = 0 ;
6744 int res2 = 0 ;
6745 PyObject *swig_obj[2] ;
6746
6747 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6749 if (!SWIG_IsOK(res1)) {
6750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6751 }
6752 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6753 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6754 if (!SWIG_IsOK(res2)) {
6755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6756 }
6757 arg2 = reinterpret_cast< wxSize * >(argp2);
6758 if (arg1) (arg1)->max_size = *arg2;
6759
6760 resultobj = SWIG_Py_Void();
6761 return resultobj;
6762 fail:
6763 return NULL;
6764 }
6765
6766
6767 SWIGINTERN PyObject *_wrap_AuiPaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6768 PyObject *resultobj = 0;
6769 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6770 wxSize *result = 0 ;
6771 void *argp1 = 0 ;
6772 int res1 = 0 ;
6773 PyObject *swig_obj[1] ;
6774
6775 if (!args) SWIG_fail;
6776 swig_obj[0] = args;
6777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6778 if (!SWIG_IsOK(res1)) {
6779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6780 }
6781 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6782 result = (wxSize *)& ((arg1)->max_size);
6783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6791 PyObject *resultobj = 0;
6792 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6793 wxPoint *arg2 = (wxPoint *) 0 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 void *argp2 = 0 ;
6797 int res2 = 0 ;
6798 PyObject *swig_obj[2] ;
6799
6800 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6802 if (!SWIG_IsOK(res1)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6804 }
6805 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6806 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6807 if (!SWIG_IsOK(res2)) {
6808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6809 }
6810 arg2 = reinterpret_cast< wxPoint * >(argp2);
6811 if (arg1) (arg1)->floating_pos = *arg2;
6812
6813 resultobj = SWIG_Py_Void();
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6821 PyObject *resultobj = 0;
6822 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6823 wxPoint *result = 0 ;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 PyObject *swig_obj[1] ;
6827
6828 if (!args) SWIG_fail;
6829 swig_obj[0] = args;
6830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6831 if (!SWIG_IsOK(res1)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6833 }
6834 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6835 result = (wxPoint *)& ((arg1)->floating_pos);
6836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6844 PyObject *resultobj = 0;
6845 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6846 wxSize *arg2 = (wxSize *) 0 ;
6847 void *argp1 = 0 ;
6848 int res1 = 0 ;
6849 void *argp2 = 0 ;
6850 int res2 = 0 ;
6851 PyObject *swig_obj[2] ;
6852
6853 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6855 if (!SWIG_IsOK(res1)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6857 }
6858 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6859 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6860 if (!SWIG_IsOK(res2)) {
6861 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6862 }
6863 arg2 = reinterpret_cast< wxSize * >(argp2);
6864 if (arg1) (arg1)->floating_size = *arg2;
6865
6866 resultobj = SWIG_Py_Void();
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 SWIGINTERN PyObject *_wrap_AuiPaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6874 PyObject *resultobj = 0;
6875 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6876 wxSize *result = 0 ;
6877 void *argp1 = 0 ;
6878 int res1 = 0 ;
6879 PyObject *swig_obj[1] ;
6880
6881 if (!args) SWIG_fail;
6882 swig_obj[0] = args;
6883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6884 if (!SWIG_IsOK(res1)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6886 }
6887 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6888 result = (wxSize *)& ((arg1)->floating_size);
6889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6890 return resultobj;
6891 fail:
6892 return NULL;
6893 }
6894
6895
6896 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6897 PyObject *resultobj = 0;
6898 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6899 int arg2 ;
6900 void *argp1 = 0 ;
6901 int res1 = 0 ;
6902 int val2 ;
6903 int ecode2 = 0 ;
6904 PyObject *swig_obj[2] ;
6905
6906 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6908 if (!SWIG_IsOK(res1)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6910 }
6911 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6912 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6913 if (!SWIG_IsOK(ecode2)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6915 }
6916 arg2 = static_cast< int >(val2);
6917 if (arg1) (arg1)->dock_proportion = arg2;
6918
6919 resultobj = SWIG_Py_Void();
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 SWIGINTERN PyObject *_wrap_AuiPaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6927 PyObject *resultobj = 0;
6928 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6929 int result;
6930 void *argp1 = 0 ;
6931 int res1 = 0 ;
6932 PyObject *swig_obj[1] ;
6933
6934 if (!args) SWIG_fail;
6935 swig_obj[0] = args;
6936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6939 }
6940 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6941 result = (int) ((arg1)->dock_proportion);
6942 resultobj = SWIG_From_int(static_cast< int >(result));
6943 return resultobj;
6944 fail:
6945 return NULL;
6946 }
6947
6948
6949 SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6950 PyObject *resultobj = 0;
6951 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6952 wxAuiPaneButtonArray arg2 ;
6953 void *argp1 = 0 ;
6954 int res1 = 0 ;
6955 void *argp2 ;
6956 int res2 = 0 ;
6957 PyObject *swig_obj[2] ;
6958
6959 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6961 if (!SWIG_IsOK(res1)) {
6962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
6963 }
6964 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
6965 {
6966 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneButtonArray, 0 | 0);
6967 if (!SWIG_IsOK(res2)) {
6968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'");
6969 }
6970 if (!argp2) {
6971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiPaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxAuiPaneButtonArray""'");
6972 } else {
6973 wxAuiPaneButtonArray * temp = reinterpret_cast< wxAuiPaneButtonArray * >(argp2);
6974 arg2 = *temp;
6975 if (SWIG_IsNewObj(res2)) delete temp;
6976 }
6977 }
6978 if (arg1) (arg1)->buttons = arg2;
6979
6980 resultobj = SWIG_Py_Void();
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 SWIGINTERN PyObject *_wrap_AuiPaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6988 PyObject *resultobj = 0;
6989 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
6990 wxAuiPaneButtonArray result;
6991 void *argp1 = 0 ;
6992 int res1 = 0 ;
6993 PyObject *swig_obj[1] ;
6994
6995 if (!args) SWIG_fail;
6996 swig_obj[0] = args;
6997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
6998 if (!SWIG_IsOK(res1)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7000 }
7001 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7002 result = ((arg1)->buttons);
7003 resultobj = SWIG_NewPointerObj((new wxAuiPaneButtonArray(static_cast< const wxAuiPaneButtonArray& >(result))), SWIGTYPE_p_wxAuiPaneButtonArray, SWIG_POINTER_OWN | 0 );
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7011 PyObject *resultobj = 0;
7012 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7013 wxRect *arg2 = (wxRect *) 0 ;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
7016 void *argp2 = 0 ;
7017 int res2 = 0 ;
7018 PyObject *swig_obj[2] ;
7019
7020 if (!SWIG_Python_UnpackTuple(args,"AuiPaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
7021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7022 if (!SWIG_IsOK(res1)) {
7023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7024 }
7025 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7026 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
7027 if (!SWIG_IsOK(res2)) {
7028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiPaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
7029 }
7030 arg2 = reinterpret_cast< wxRect * >(argp2);
7031 if (arg1) (arg1)->rect = *arg2;
7032
7033 resultobj = SWIG_Py_Void();
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_AuiPaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7041 PyObject *resultobj = 0;
7042 wxAuiPaneInfo *arg1 = (wxAuiPaneInfo *) 0 ;
7043 wxRect *result = 0 ;
7044 void *argp1 = 0 ;
7045 int res1 = 0 ;
7046 PyObject *swig_obj[1] ;
7047
7048 if (!args) SWIG_fail;
7049 swig_obj[0] = args;
7050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7051 if (!SWIG_IsOK(res1)) {
7052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneInfo_rect_get" "', expected argument " "1"" of type '" "wxAuiPaneInfo *""'");
7053 }
7054 arg1 = reinterpret_cast< wxAuiPaneInfo * >(argp1);
7055 result = (wxRect *)& ((arg1)->rect);
7056 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
7057 return resultobj;
7058 fail:
7059 return NULL;
7060 }
7061
7062
7063 SWIGINTERN PyObject *AuiPaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7064 PyObject *obj;
7065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7066 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneInfo, SWIG_NewClientData(obj));
7067 return SWIG_Py_Void();
7068 }
7069
7070 SWIGINTERN PyObject *AuiPaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7071 return SWIG_Python_InitShadowInstance(args);
7072 }
7073
7074 SWIGINTERN PyObject *_wrap_new_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj = 0;
7076 wxWindow *arg1 = (wxWindow *) NULL ;
7077 int arg2 = (int) wxAUI_MGR_DEFAULT ;
7078 wxAuiManager *result = 0 ;
7079 void *argp1 = 0 ;
7080 int res1 = 0 ;
7081 int val2 ;
7082 int ecode2 = 0 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char * kwnames[] = {
7086 (char *) "managed_wnd",(char *) "flags", NULL
7087 };
7088
7089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiManager",kwnames,&obj0,&obj1)) SWIG_fail;
7090 if (obj0) {
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7092 if (!SWIG_IsOK(res1)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiManager" "', expected argument " "1"" of type '" "wxWindow *""'");
7094 }
7095 arg1 = reinterpret_cast< wxWindow * >(argp1);
7096 }
7097 if (obj1) {
7098 ecode2 = SWIG_AsVal_int(obj1, &val2);
7099 if (!SWIG_IsOK(ecode2)) {
7100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiManager" "', expected argument " "2"" of type '" "int""'");
7101 }
7102 arg2 = static_cast< int >(val2);
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 result = (wxAuiManager *)new wxAuiManager(arg1,arg2);
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, SWIG_POINTER_NEW | 0 );
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 SWIGINTERN PyObject *_wrap_delete_AuiManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7118 PyObject *resultobj = 0;
7119 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7120 void *argp1 = 0 ;
7121 int res1 = 0 ;
7122 PyObject *swig_obj[1] ;
7123
7124 if (!args) SWIG_fail;
7125 swig_obj[0] = args;
7126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 );
7127 if (!SWIG_IsOK(res1)) {
7128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiManager" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7129 }
7130 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 delete arg1;
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = SWIG_Py_Void();
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 SWIGINTERN PyObject *_wrap_AuiManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7146 PyObject *resultobj = 0;
7147 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7148 void *argp1 = 0 ;
7149 int res1 = 0 ;
7150 PyObject *swig_obj[1] ;
7151
7152 if (!args) SWIG_fail;
7153 swig_obj[0] = args;
7154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7155 if (!SWIG_IsOK(res1)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_UnInit" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7157 }
7158 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 (arg1)->UnInit();
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 resultobj = SWIG_Py_Void();
7166 return resultobj;
7167 fail:
7168 return NULL;
7169 }
7170
7171
7172 SWIGINTERN PyObject *_wrap_AuiManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj = 0;
7174 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7175 int arg2 ;
7176 void *argp1 = 0 ;
7177 int res1 = 0 ;
7178 int val2 ;
7179 int ecode2 = 0 ;
7180 PyObject * obj0 = 0 ;
7181 PyObject * obj1 = 0 ;
7182 char * kwnames[] = {
7183 (char *) "self",(char *) "flags", NULL
7184 };
7185
7186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
7187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7188 if (!SWIG_IsOK(res1)) {
7189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetFlags" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7190 }
7191 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7192 ecode2 = SWIG_AsVal_int(obj1, &val2);
7193 if (!SWIG_IsOK(ecode2)) {
7194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
7195 }
7196 arg2 = static_cast< int >(val2);
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 (arg1)->SetFlags(arg2);
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = SWIG_Py_Void();
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 SWIGINTERN PyObject *_wrap_AuiManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7211 PyObject *resultobj = 0;
7212 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7213 int result;
7214 void *argp1 = 0 ;
7215 int res1 = 0 ;
7216 PyObject *swig_obj[1] ;
7217
7218 if (!args) SWIG_fail;
7219 swig_obj[0] = args;
7220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7221 if (!SWIG_IsOK(res1)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetFlags" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7223 }
7224 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 result = (int)((wxAuiManager const *)arg1)->GetFlags();
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 resultobj = SWIG_From_int(static_cast< int >(result));
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 SWIGINTERN PyObject *_wrap_AuiManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj = 0;
7240 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7241 wxWindow *arg2 = (wxWindow *) 0 ;
7242 void *argp1 = 0 ;
7243 int res1 = 0 ;
7244 void *argp2 = 0 ;
7245 int res2 = 0 ;
7246 PyObject * obj0 = 0 ;
7247 PyObject * obj1 = 0 ;
7248 char * kwnames[] = {
7249 (char *) "self",(char *) "managed_wnd", NULL
7250 };
7251
7252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
7253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7254 if (!SWIG_IsOK(res1)) {
7255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7256 }
7257 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7259 if (!SWIG_IsOK(res2)) {
7260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
7261 }
7262 arg2 = reinterpret_cast< wxWindow * >(argp2);
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 (arg1)->SetManagedWindow(arg2);
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 resultobj = SWIG_Py_Void();
7270 return resultobj;
7271 fail:
7272 return NULL;
7273 }
7274
7275
7276 SWIGINTERN PyObject *_wrap_AuiManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7277 PyObject *resultobj = 0;
7278 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7279 wxWindow *result = 0 ;
7280 void *argp1 = 0 ;
7281 int res1 = 0 ;
7282 PyObject *swig_obj[1] ;
7283
7284 if (!args) SWIG_fail;
7285 swig_obj[0] = args;
7286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7287 if (!SWIG_IsOK(res1)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7289 }
7290 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = (wxWindow *)((wxAuiManager const *)arg1)->GetManagedWindow();
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 {
7298 resultobj = wxPyMake_wxObject(result, 0);
7299 }
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 SWIGINTERN PyObject *_wrap_AuiManager_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj = 0;
7308 wxWindow *arg1 = (wxWindow *) 0 ;
7309 wxAuiManager *result = 0 ;
7310 void *argp1 = 0 ;
7311 int res1 = 0 ;
7312 PyObject * obj0 = 0 ;
7313 char * kwnames[] = {
7314 (char *) "window", NULL
7315 };
7316
7317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AuiManager_GetManager",kwnames,&obj0)) SWIG_fail;
7318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7319 if (!SWIG_IsOK(res1)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetManager" "', expected argument " "1"" of type '" "wxWindow *""'");
7321 }
7322 arg1 = reinterpret_cast< wxWindow * >(argp1);
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (wxAuiManager *)wxAuiManager::GetManager(arg1);
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 );
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 SWIGINTERN PyObject *_wrap_AuiManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj = 0;
7338 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7339 wxAuiDockArt *arg2 = (wxAuiDockArt *) 0 ;
7340 void *argp1 = 0 ;
7341 int res1 = 0 ;
7342 int res2 = 0 ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 char * kwnames[] = {
7346 (char *) "self",(char *) "art_provider", NULL
7347 };
7348
7349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
7350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7351 if (!SWIG_IsOK(res1)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7353 }
7354 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7355 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 );
7356 if (!SWIG_IsOK(res2)) {
7357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiDockArt *""'");
7358 }
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->SetArtProvider(arg2);
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_Py_Void();
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 SWIGINTERN PyObject *_wrap_AuiManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7373 PyObject *resultobj = 0;
7374 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7375 wxAuiDockArt *result = 0 ;
7376 void *argp1 = 0 ;
7377 int res1 = 0 ;
7378 PyObject *swig_obj[1] ;
7379
7380 if (!args) SWIG_fail;
7381 swig_obj[0] = args;
7382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7383 if (!SWIG_IsOK(res1)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
7385 }
7386 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (wxAuiDockArt *)((wxAuiManager const *)arg1)->GetArtProvider();
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
7394 return resultobj;
7395 fail:
7396 return NULL;
7397 }
7398
7399
7400 SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj = 0;
7402 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7403 wxWindow *arg2 = (wxWindow *) 0 ;
7404 wxAuiPaneInfo *result = 0 ;
7405 void *argp1 = 0 ;
7406 int res1 = 0 ;
7407 void *argp2 = 0 ;
7408 int res2 = 0 ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 char * kwnames[] = {
7412 (char *) "self",(char *) "window", NULL
7413 };
7414
7415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7417 if (!SWIG_IsOK(res1)) {
7418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7419 }
7420 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7421 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7422 if (!SWIG_IsOK(res2)) {
7423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7424 }
7425 arg2 = reinterpret_cast< wxWindow * >(argp2);
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 {
7429 wxAuiPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7430 result = (wxAuiPaneInfo *) &_result_ref;
7431 }
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 SWIGINTERN PyObject *_wrap_AuiManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj = 0;
7444 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7445 wxString *arg2 = 0 ;
7446 wxAuiPaneInfo *result = 0 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 bool temp2 = false ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 char * kwnames[] = {
7453 (char *) "self",(char *) "name", NULL
7454 };
7455
7456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7458 if (!SWIG_IsOK(res1)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__GetPaneByName" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7460 }
7461 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7462 {
7463 arg2 = wxString_in_helper(obj1);
7464 if (arg2 == NULL) SWIG_fail;
7465 temp2 = true;
7466 }
7467 {
7468 PyThreadState* __tstate = wxPyBeginAllowThreads();
7469 {
7470 wxAuiPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7471 result = (wxAuiPaneInfo *) &_result_ref;
7472 }
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
7477 {
7478 if (temp2)
7479 delete arg2;
7480 }
7481 return resultobj;
7482 fail:
7483 {
7484 if (temp2)
7485 delete arg2;
7486 }
7487 return NULL;
7488 }
7489
7490
7491 SWIGINTERN PyObject *_wrap_AuiManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7492 PyObject *resultobj = 0;
7493 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7494 wxAuiPaneInfoArray *result = 0 ;
7495 void *argp1 = 0 ;
7496 int res1 = 0 ;
7497 PyObject *swig_obj[1] ;
7498
7499 if (!args) SWIG_fail;
7500 swig_obj[0] = args;
7501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7502 if (!SWIG_IsOK(res1)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetAllPanes" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7504 }
7505 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 {
7509 wxAuiPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7510 result = (wxAuiPaneInfoArray *) &_result_ref;
7511 }
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 {
7516 resultobj = PyList_New(0);
7517 for (size_t i=0; i < result->GetCount(); i++) {
7518 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxAuiPaneInfo, 0);
7519 PyList_Append(resultobj, pane_obj);
7520 }
7521 }
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 SWIGINTERN PyObject *_wrap_AuiManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj = 0;
7530 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7531 wxWindow *arg2 = (wxWindow *) 0 ;
7532 wxAuiPaneInfo *arg3 = 0 ;
7533 bool result;
7534 void *argp1 = 0 ;
7535 int res1 = 0 ;
7536 void *argp2 = 0 ;
7537 int res2 = 0 ;
7538 void *argp3 = 0 ;
7539 int res3 = 0 ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 PyObject * obj2 = 0 ;
7543 char * kwnames[] = {
7544 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7545 };
7546
7547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7549 if (!SWIG_IsOK(res1)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane1" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7551 }
7552 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7554 if (!SWIG_IsOK(res2)) {
7555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7556 }
7557 arg2 = reinterpret_cast< wxWindow * >(argp2);
7558 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7559 if (!SWIG_IsOK(res3)) {
7560 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7561 }
7562 if (!argp3) {
7563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager__AddPane1" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7564 }
7565 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3);
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 {
7573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7574 }
7575 return resultobj;
7576 fail:
7577 return NULL;
7578 }
7579
7580
7581 SWIGINTERN PyObject *_wrap_AuiManager_AddPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj = 0;
7583 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7584 wxWindow *arg2 = (wxWindow *) 0 ;
7585 wxAuiPaneInfo *arg3 = 0 ;
7586 wxPoint *arg4 = 0 ;
7587 bool result;
7588 void *argp1 = 0 ;
7589 int res1 = 0 ;
7590 void *argp2 = 0 ;
7591 int res2 = 0 ;
7592 void *argp3 = 0 ;
7593 int res3 = 0 ;
7594 wxPoint temp4 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 PyObject * obj2 = 0 ;
7598 PyObject * obj3 = 0 ;
7599 char * kwnames[] = {
7600 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7601 };
7602
7603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_AddPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7605 if (!SWIG_IsOK(res1)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_AddPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7607 }
7608 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7609 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7610 if (!SWIG_IsOK(res2)) {
7611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_AddPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7612 }
7613 arg2 = reinterpret_cast< wxWindow * >(argp2);
7614 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7615 if (!SWIG_IsOK(res3)) {
7616 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7617 }
7618 if (!argp3) {
7619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_AddPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7620 }
7621 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7622 {
7623 arg4 = &temp4;
7624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7625 }
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (bool)(arg1)->AddPane(arg2,(wxAuiPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 {
7633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7634 }
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 SWIGINTERN PyObject *_wrap_AuiManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7644 wxWindow *arg2 = (wxWindow *) 0 ;
7645 int arg3 = (int) wxLEFT ;
7646 wxString const &arg4_defvalue = wxEmptyString ;
7647 wxString *arg4 = (wxString *) &arg4_defvalue ;
7648 bool result;
7649 void *argp1 = 0 ;
7650 int res1 = 0 ;
7651 void *argp2 = 0 ;
7652 int res2 = 0 ;
7653 int val3 ;
7654 int ecode3 = 0 ;
7655 bool temp4 = false ;
7656 PyObject * obj0 = 0 ;
7657 PyObject * obj1 = 0 ;
7658 PyObject * obj2 = 0 ;
7659 PyObject * obj3 = 0 ;
7660 char * kwnames[] = {
7661 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7662 };
7663
7664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:AuiManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7666 if (!SWIG_IsOK(res1)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager__AddPane2" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7668 }
7669 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7670 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7671 if (!SWIG_IsOK(res2)) {
7672 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7673 }
7674 arg2 = reinterpret_cast< wxWindow * >(argp2);
7675 if (obj2) {
7676 ecode3 = SWIG_AsVal_int(obj2, &val3);
7677 if (!SWIG_IsOK(ecode3)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7679 }
7680 arg3 = static_cast< int >(val3);
7681 }
7682 if (obj3) {
7683 {
7684 arg4 = wxString_in_helper(obj3);
7685 if (arg4 == NULL) SWIG_fail;
7686 temp4 = true;
7687 }
7688 }
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 {
7696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7697 }
7698 {
7699 if (temp4)
7700 delete arg4;
7701 }
7702 return resultobj;
7703 fail:
7704 {
7705 if (temp4)
7706 delete arg4;
7707 }
7708 return NULL;
7709 }
7710
7711
7712 SWIGINTERN PyObject *_wrap_AuiManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj = 0;
7714 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7715 wxWindow *arg2 = (wxWindow *) 0 ;
7716 wxAuiPaneInfo *arg3 = 0 ;
7717 int arg4 = (int) wxAUI_INSERT_PANE ;
7718 bool result;
7719 void *argp1 = 0 ;
7720 int res1 = 0 ;
7721 void *argp2 = 0 ;
7722 int res2 = 0 ;
7723 void *argp3 = 0 ;
7724 int res3 = 0 ;
7725 int val4 ;
7726 int ecode4 = 0 ;
7727 PyObject * obj0 = 0 ;
7728 PyObject * obj1 = 0 ;
7729 PyObject * obj2 = 0 ;
7730 PyObject * obj3 = 0 ;
7731 char * kwnames[] = {
7732 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7733 };
7734
7735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:AuiManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7737 if (!SWIG_IsOK(res1)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_InsertPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7739 }
7740 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7742 if (!SWIG_IsOK(res2)) {
7743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7744 }
7745 arg2 = reinterpret_cast< wxWindow * >(argp2);
7746 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
7747 if (!SWIG_IsOK(res3)) {
7748 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7749 }
7750 if (!argp3) {
7751 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_InsertPane" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
7752 }
7753 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7754 if (obj3) {
7755 ecode4 = SWIG_AsVal_int(obj3, &val4);
7756 if (!SWIG_IsOK(ecode4)) {
7757 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7758 }
7759 arg4 = static_cast< int >(val4);
7760 }
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 result = (bool)(arg1)->InsertPane(arg2,(wxAuiPaneInfo const &)*arg3,arg4);
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 {
7768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7769 }
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 SWIGINTERN PyObject *_wrap_AuiManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj = 0;
7778 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7779 wxWindow *arg2 = (wxWindow *) 0 ;
7780 bool result;
7781 void *argp1 = 0 ;
7782 int res1 = 0 ;
7783 void *argp2 = 0 ;
7784 int res2 = 0 ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 char * kwnames[] = {
7788 (char *) "self",(char *) "window", NULL
7789 };
7790
7791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7793 if (!SWIG_IsOK(res1)) {
7794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DetachPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7795 }
7796 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7798 if (!SWIG_IsOK(res2)) {
7799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7800 }
7801 arg2 = reinterpret_cast< wxWindow * >(argp2);
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 result = (bool)(arg1)->DetachPane(arg2);
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 {
7809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7810 }
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 SWIGINTERN PyObject *_wrap_AuiManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7818 PyObject *resultobj = 0;
7819 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7820 void *argp1 = 0 ;
7821 int res1 = 0 ;
7822 PyObject *swig_obj[1] ;
7823
7824 if (!args) SWIG_fail;
7825 swig_obj[0] = args;
7826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7827 if (!SWIG_IsOK(res1)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_Update" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7829 }
7830 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 (arg1)->Update();
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 resultobj = SWIG_Py_Void();
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 SWIGINTERN PyObject *_wrap_AuiManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj = 0;
7846 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7847 wxAuiPaneInfo *arg2 = 0 ;
7848 wxString result;
7849 void *argp1 = 0 ;
7850 int res1 = 0 ;
7851 void *argp2 = 0 ;
7852 int res2 = 0 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char * kwnames[] = {
7856 (char *) "self",(char *) "pane", NULL
7857 };
7858
7859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
7860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7861 if (!SWIG_IsOK(res1)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7863 }
7864 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7865 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
7866 if (!SWIG_IsOK(res2)) {
7867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7868 }
7869 if (!argp2) {
7870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
7871 }
7872 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (arg1)->SavePaneInfo(*arg2);
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 {
7880 #if wxUSE_UNICODE
7881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7882 #else
7883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7884 #endif
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 SWIGINTERN PyObject *_wrap_AuiManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj = 0;
7894 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7895 wxString arg2 ;
7896 wxAuiPaneInfo *arg3 = 0 ;
7897 void *argp1 = 0 ;
7898 int res1 = 0 ;
7899 void *argp3 = 0 ;
7900 int res3 = 0 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 PyObject * obj2 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7912 }
7913 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7914 {
7915 wxString* sptr = wxString_in_helper(obj1);
7916 if (sptr == NULL) SWIG_fail;
7917 arg2 = *sptr;
7918 delete sptr;
7919 }
7920 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 );
7921 if (!SWIG_IsOK(res3)) {
7922 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'");
7923 }
7924 if (!argp3) {
7925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxAuiPaneInfo &""'");
7926 }
7927 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->LoadPaneInfo(arg2,*arg3);
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = SWIG_Py_Void();
7935 return resultobj;
7936 fail:
7937 return NULL;
7938 }
7939
7940
7941 SWIGINTERN PyObject *_wrap_AuiManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7942 PyObject *resultobj = 0;
7943 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7944 wxString result;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 PyObject *swig_obj[1] ;
7948
7949 if (!args) SWIG_fail;
7950 swig_obj[0] = args;
7951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SavePerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7954 }
7955 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7956 {
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (arg1)->SavePerspective();
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 #if wxUSE_UNICODE
7964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7965 #else
7966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7967 #endif
7968 }
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 SWIGINTERN PyObject *_wrap_AuiManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj = 0;
7977 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
7978 wxString *arg2 = 0 ;
7979 bool arg3 = (bool) true ;
7980 bool result;
7981 void *argp1 = 0 ;
7982 int res1 = 0 ;
7983 bool temp2 = false ;
7984 bool val3 ;
7985 int ecode3 = 0 ;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 PyObject * obj2 = 0 ;
7989 char * kwnames[] = {
7990 (char *) "self",(char *) "perspective",(char *) "update", NULL
7991 };
7992
7993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:AuiManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
7995 if (!SWIG_IsOK(res1)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_LoadPerspective" "', expected argument " "1"" of type '" "wxAuiManager *""'");
7997 }
7998 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
7999 {
8000 arg2 = wxString_in_helper(obj1);
8001 if (arg2 == NULL) SWIG_fail;
8002 temp2 = true;
8003 }
8004 if (obj2) {
8005 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8006 if (!SWIG_IsOK(ecode3)) {
8007 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
8008 }
8009 arg3 = static_cast< bool >(val3);
8010 }
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 {
8018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8019 }
8020 {
8021 if (temp2)
8022 delete arg2;
8023 }
8024 return resultobj;
8025 fail:
8026 {
8027 if (temp2)
8028 delete arg2;
8029 }
8030 return NULL;
8031 }
8032
8033
8034 SWIGINTERN PyObject *_wrap_AuiManager_SetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj = 0;
8036 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8037 double arg2 ;
8038 double arg3 ;
8039 void *argp1 = 0 ;
8040 int res1 = 0 ;
8041 double val2 ;
8042 int ecode2 = 0 ;
8043 double val3 ;
8044 int ecode3 = 0 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 PyObject * obj2 = 0 ;
8048 char * kwnames[] = {
8049 (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL
8050 };
8051
8052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_SetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8054 if (!SWIG_IsOK(res1)) {
8055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8056 }
8057 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8058 ecode2 = SWIG_AsVal_double(obj1, &val2);
8059 if (!SWIG_IsOK(ecode2)) {
8060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "2"" of type '" "double""'");
8061 }
8062 arg2 = static_cast< double >(val2);
8063 ecode3 = SWIG_AsVal_double(obj2, &val3);
8064 if (!SWIG_IsOK(ecode3)) {
8065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiManager_SetDockSizeConstraint" "', expected argument " "3"" of type '" "double""'");
8066 }
8067 arg3 = static_cast< double >(val3);
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 (arg1)->SetDockSizeConstraint(arg2,arg3);
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = SWIG_Py_Void();
8075 return resultobj;
8076 fail:
8077 return NULL;
8078 }
8079
8080
8081 SWIGINTERN PyObject *_wrap_AuiManager_GetDockSizeConstraint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj = 0;
8083 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8084 double *arg2 = (double *) 0 ;
8085 double *arg3 = (double *) 0 ;
8086 void *argp1 = 0 ;
8087 int res1 = 0 ;
8088 void *argp2 = 0 ;
8089 int res2 = 0 ;
8090 void *argp3 = 0 ;
8091 int res3 = 0 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 PyObject * obj2 = 0 ;
8095 char * kwnames[] = {
8096 (char *) "self",(char *) "width_pct",(char *) "height_pct", NULL
8097 };
8098
8099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_GetDockSizeConstraint",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8101 if (!SWIG_IsOK(res1)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "1"" of type '" "wxAuiManager const *""'");
8103 }
8104 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8105 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_double, 0 | 0 );
8106 if (!SWIG_IsOK(res2)) {
8107 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "2"" of type '" "double *""'");
8108 }
8109 arg2 = reinterpret_cast< double * >(argp2);
8110 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_double, 0 | 0 );
8111 if (!SWIG_IsOK(res3)) {
8112 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_GetDockSizeConstraint" "', expected argument " "3"" of type '" "double *""'");
8113 }
8114 arg3 = reinterpret_cast< double * >(argp3);
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 ((wxAuiManager const *)arg1)->GetDockSizeConstraint(arg2,arg3);
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 resultobj = SWIG_Py_Void();
8122 return resultobj;
8123 fail:
8124 return NULL;
8125 }
8126
8127
8128 SWIGINTERN PyObject *_wrap_AuiManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8129 PyObject *resultobj = 0;
8130 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8131 wxAuiPaneInfo *arg2 = 0 ;
8132 void *argp1 = 0 ;
8133 int res1 = 0 ;
8134 void *argp2 = 0 ;
8135 int res2 = 0 ;
8136 PyObject * obj0 = 0 ;
8137 PyObject * obj1 = 0 ;
8138 char * kwnames[] = {
8139 (char *) "self",(char *) "pane_info", NULL
8140 };
8141
8142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail;
8143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8144 if (!SWIG_IsOK(res1)) {
8145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ClosePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8146 }
8147 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8148 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
8149 if (!SWIG_IsOK(res2)) {
8150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8151 }
8152 if (!argp2) {
8153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_ClosePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8154 }
8155 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 (arg1)->ClosePane(*arg2);
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_Py_Void();
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 SWIGINTERN PyObject *_wrap_AuiManager_MaximizePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj = 0;
8171 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8172 wxAuiPaneInfo *arg2 = 0 ;
8173 void *argp1 = 0 ;
8174 int res1 = 0 ;
8175 void *argp2 = 0 ;
8176 int res2 = 0 ;
8177 PyObject * obj0 = 0 ;
8178 PyObject * obj1 = 0 ;
8179 char * kwnames[] = {
8180 (char *) "self",(char *) "pane_info", NULL
8181 };
8182
8183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_MaximizePane",kwnames,&obj0,&obj1)) SWIG_fail;
8184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8185 if (!SWIG_IsOK(res1)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_MaximizePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8187 }
8188 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8189 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
8190 if (!SWIG_IsOK(res2)) {
8191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8192 }
8193 if (!argp2) {
8194 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_MaximizePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8195 }
8196 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->MaximizePane(*arg2);
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = SWIG_Py_Void();
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 SWIGINTERN PyObject *_wrap_AuiManager_RestorePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8213 wxAuiPaneInfo *arg2 = 0 ;
8214 void *argp1 = 0 ;
8215 int res1 = 0 ;
8216 void *argp2 = 0 ;
8217 int res2 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char * kwnames[] = {
8221 (char *) "self",(char *) "pane_info", NULL
8222 };
8223
8224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_RestorePane",kwnames,&obj0,&obj1)) SWIG_fail;
8225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8226 if (!SWIG_IsOK(res1)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestorePane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8228 }
8229 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 );
8231 if (!SWIG_IsOK(res2)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8233 }
8234 if (!argp2) {
8235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_RestorePane" "', expected argument " "2"" of type '" "wxAuiPaneInfo &""'");
8236 }
8237 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 (arg1)->RestorePane(*arg2);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 resultobj = SWIG_Py_Void();
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 SWIGINTERN PyObject *_wrap_AuiManager_RestoreMaximizedPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8252 PyObject *resultobj = 0;
8253 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8254 void *argp1 = 0 ;
8255 int res1 = 0 ;
8256 PyObject *swig_obj[1] ;
8257
8258 if (!args) SWIG_fail;
8259 swig_obj[0] = args;
8260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8261 if (!SWIG_IsOK(res1)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_RestoreMaximizedPane" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8263 }
8264 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->RestoreMaximizedPane();
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 resultobj = SWIG_Py_Void();
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 SWIGINTERN PyObject *_wrap_AuiManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj = 0;
8280 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8281 wxWindow *arg2 = (wxWindow *) 0 ;
8282 wxAuiPaneInfo *arg3 = 0 ;
8283 wxAuiFloatingFrame *result = 0 ;
8284 void *argp1 = 0 ;
8285 int res1 = 0 ;
8286 void *argp2 = 0 ;
8287 int res2 = 0 ;
8288 void *argp3 = 0 ;
8289 int res3 = 0 ;
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 PyObject * obj2 = 0 ;
8293 char * kwnames[] = {
8294 (char *) "self",(char *) "parent",(char *) "p", NULL
8295 };
8296
8297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8299 if (!SWIG_IsOK(res1)) {
8300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8301 }
8302 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8304 if (!SWIG_IsOK(res2)) {
8305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
8306 }
8307 arg2 = reinterpret_cast< wxWindow * >(argp2);
8308 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
8309 if (!SWIG_IsOK(res3)) {
8310 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
8311 }
8312 if (!argp3) {
8313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
8314 }
8315 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = (wxAuiFloatingFrame *)(arg1)->CreateFloatingFrame(arg2,(wxAuiPaneInfo const &)*arg3);
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 );
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 SWIGINTERN PyObject *_wrap_AuiManager_StartPaneDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj = 0;
8331 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8332 wxWindow *arg2 = (wxWindow *) 0 ;
8333 wxPoint *arg3 = 0 ;
8334 void *argp1 = 0 ;
8335 int res1 = 0 ;
8336 void *argp2 = 0 ;
8337 int res2 = 0 ;
8338 wxPoint temp3 ;
8339 PyObject * obj0 = 0 ;
8340 PyObject * obj1 = 0 ;
8341 PyObject * obj2 = 0 ;
8342 char * kwnames[] = {
8343 (char *) "self",(char *) "pane_window",(char *) "offset", NULL
8344 };
8345
8346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiManager_StartPaneDrag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8348 if (!SWIG_IsOK(res1)) {
8349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8350 }
8351 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8352 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8353 if (!SWIG_IsOK(res2)) {
8354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_StartPaneDrag" "', expected argument " "2"" of type '" "wxWindow *""'");
8355 }
8356 arg2 = reinterpret_cast< wxWindow * >(argp2);
8357 {
8358 arg3 = &temp3;
8359 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8360 }
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->StartPaneDrag(arg2,(wxPoint const &)*arg3);
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 resultobj = SWIG_Py_Void();
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 SWIGINTERN PyObject *_wrap_AuiManager_CalculateHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj = 0;
8376 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8377 wxWindow *arg2 = (wxWindow *) 0 ;
8378 wxPoint *arg3 = 0 ;
8379 wxPoint *arg4 = 0 ;
8380 wxRect result;
8381 void *argp1 = 0 ;
8382 int res1 = 0 ;
8383 void *argp2 = 0 ;
8384 int res2 = 0 ;
8385 wxPoint temp3 ;
8386 wxPoint temp4 ;
8387 PyObject * obj0 = 0 ;
8388 PyObject * obj1 = 0 ;
8389 PyObject * obj2 = 0 ;
8390 PyObject * obj3 = 0 ;
8391 char * kwnames[] = {
8392 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
8393 };
8394
8395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_CalculateHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8397 if (!SWIG_IsOK(res1)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8399 }
8400 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8402 if (!SWIG_IsOK(res2)) {
8403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_CalculateHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
8404 }
8405 arg2 = reinterpret_cast< wxWindow * >(argp2);
8406 {
8407 arg3 = &temp3;
8408 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8409 }
8410 {
8411 arg4 = &temp4;
8412 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8413 }
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (arg1)->CalculateHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 SWIGINTERN PyObject *_wrap_AuiManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj = 0;
8429 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8430 wxWindow *arg2 = (wxWindow *) 0 ;
8431 wxPoint *arg3 = 0 ;
8432 wxPoint *arg4 = 0 ;
8433 void *argp1 = 0 ;
8434 int res1 = 0 ;
8435 void *argp2 = 0 ;
8436 int res2 = 0 ;
8437 wxPoint temp3 ;
8438 wxPoint temp4 ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 PyObject * obj2 = 0 ;
8442 PyObject * obj3 = 0 ;
8443 char * kwnames[] = {
8444 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
8445 };
8446
8447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8449 if (!SWIG_IsOK(res1)) {
8450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_DrawHintRect" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8451 }
8452 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8454 if (!SWIG_IsOK(res2)) {
8455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
8456 }
8457 arg2 = reinterpret_cast< wxWindow * >(argp2);
8458 {
8459 arg3 = &temp3;
8460 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8461 }
8462 {
8463 arg4 = &temp4;
8464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8465 }
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 resultobj = SWIG_Py_Void();
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 SWIGINTERN PyObject *_wrap_AuiManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj = 0;
8481 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8482 wxRect *arg2 = 0 ;
8483 void *argp1 = 0 ;
8484 int res1 = 0 ;
8485 wxRect temp2 ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 char * kwnames[] = {
8489 (char *) "self",(char *) "rect", NULL
8490 };
8491
8492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
8493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8494 if (!SWIG_IsOK(res1)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_ShowHint" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8496 }
8497 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8498 {
8499 arg2 = &temp2;
8500 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8501 }
8502 {
8503 PyThreadState* __tstate = wxPyBeginAllowThreads();
8504 (arg1)->ShowHint((wxRect const &)*arg2);
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 resultobj = SWIG_Py_Void();
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 SWIGINTERN PyObject *_wrap_AuiManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8516 PyObject *resultobj = 0;
8517 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8518 void *argp1 = 0 ;
8519 int res1 = 0 ;
8520 PyObject *swig_obj[1] ;
8521
8522 if (!args) SWIG_fail;
8523 swig_obj[0] = args;
8524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8525 if (!SWIG_IsOK(res1)) {
8526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_HideHint" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8527 }
8528 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->HideHint();
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 resultobj = SWIG_Py_Void();
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 SWIGINTERN PyObject *_wrap_AuiManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj = 0;
8544 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8545 wxAuiManagerEvent *arg2 = 0 ;
8546 void *argp1 = 0 ;
8547 int res1 = 0 ;
8548 void *argp2 = 0 ;
8549 int res2 = 0 ;
8550 PyObject * obj0 = 0 ;
8551 PyObject * obj1 = 0 ;
8552 char * kwnames[] = {
8553 (char *) "self",(char *) "evt", NULL
8554 };
8555
8556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
8557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8558 if (!SWIG_IsOK(res1)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnRender" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8560 }
8561 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 );
8563 if (!SWIG_IsOK(res2)) {
8564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8565 }
8566 if (!argp2) {
8567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnRender" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8568 }
8569 arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2);
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 (arg1)->OnRender(*arg2);
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = SWIG_Py_Void();
8577 return resultobj;
8578 fail:
8579 return NULL;
8580 }
8581
8582
8583 SWIGINTERN PyObject *_wrap_AuiManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj = 0;
8585 wxAuiManager *arg1 = (wxAuiManager *) 0 ;
8586 wxAuiManagerEvent *arg2 = 0 ;
8587 void *argp1 = 0 ;
8588 int res1 = 0 ;
8589 void *argp2 = 0 ;
8590 int res2 = 0 ;
8591 PyObject * obj0 = 0 ;
8592 PyObject * obj1 = 0 ;
8593 char * kwnames[] = {
8594 (char *) "self",(char *) "evt", NULL
8595 };
8596
8597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
8598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8599 if (!SWIG_IsOK(res1)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManager_OnPaneButton" "', expected argument " "1"" of type '" "wxAuiManager *""'");
8601 }
8602 arg1 = reinterpret_cast< wxAuiManager * >(argp1);
8603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiManagerEvent, 0 );
8604 if (!SWIG_IsOK(res2)) {
8605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8606 }
8607 if (!argp2) {
8608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiManager_OnPaneButton" "', expected argument " "2"" of type '" "wxAuiManagerEvent &""'");
8609 }
8610 arg2 = reinterpret_cast< wxAuiManagerEvent * >(argp2);
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 (arg1)->OnPaneButton(*arg2);
8614 wxPyEndAllowThreads(__tstate);
8615 if (PyErr_Occurred()) SWIG_fail;
8616 }
8617 resultobj = SWIG_Py_Void();
8618 return resultobj;
8619 fail:
8620 return NULL;
8621 }
8622
8623
8624 SWIGINTERN PyObject *AuiManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8625 PyObject *obj;
8626 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8627 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManager, SWIG_NewClientData(obj));
8628 return SWIG_Py_Void();
8629 }
8630
8631 SWIGINTERN PyObject *AuiManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8632 return SWIG_Python_InitShadowInstance(args);
8633 }
8634
8635 SWIGINTERN PyObject *_wrap_new_AuiManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj = 0;
8637 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8638 wxAuiManagerEvent *result = 0 ;
8639 int val1 ;
8640 int ecode1 = 0 ;
8641 PyObject * obj0 = 0 ;
8642 char * kwnames[] = {
8643 (char *) "type", NULL
8644 };
8645
8646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_AuiManagerEvent",kwnames,&obj0)) SWIG_fail;
8647 if (obj0) {
8648 ecode1 = SWIG_AsVal_int(obj0, &val1);
8649 if (!SWIG_IsOK(ecode1)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
8651 }
8652 arg1 = static_cast< wxEventType >(val1);
8653 }
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (wxAuiManagerEvent *)new wxAuiManagerEvent(arg1);
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) SWIG_fail;
8659 }
8660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManagerEvent, SWIG_POINTER_NEW | 0 );
8661 return resultobj;
8662 fail:
8663 return NULL;
8664 }
8665
8666
8667 SWIGINTERN PyObject *_wrap_AuiManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8668 PyObject *resultobj = 0;
8669 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8670 wxEvent *result = 0 ;
8671 void *argp1 = 0 ;
8672 int res1 = 0 ;
8673 PyObject *swig_obj[1] ;
8674
8675 if (!args) SWIG_fail;
8676 swig_obj[0] = args;
8677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8678 if (!SWIG_IsOK(res1)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Clone" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8680 }
8681 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (wxEvent *)((wxAuiManagerEvent const *)arg1)->Clone();
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj = 0;
8697 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8698 wxAuiManager *arg2 = (wxAuiManager *) 0 ;
8699 void *argp1 = 0 ;
8700 int res1 = 0 ;
8701 void *argp2 = 0 ;
8702 int res2 = 0 ;
8703 PyObject * obj0 = 0 ;
8704 PyObject * obj1 = 0 ;
8705 char * kwnames[] = {
8706 (char *) "self",(char *) "mgr", NULL
8707 };
8708
8709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetManager",kwnames,&obj0,&obj1)) SWIG_fail;
8710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8711 if (!SWIG_IsOK(res1)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8713 }
8714 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8715 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 );
8716 if (!SWIG_IsOK(res2)) {
8717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetManager" "', expected argument " "2"" of type '" "wxAuiManager *""'");
8718 }
8719 arg2 = reinterpret_cast< wxAuiManager * >(argp2);
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 (arg1)->SetManager(arg2);
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = SWIG_Py_Void();
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj = 0;
8735 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8736 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
8737 void *argp1 = 0 ;
8738 int res1 = 0 ;
8739 void *argp2 = 0 ;
8740 int res2 = 0 ;
8741 PyObject * obj0 = 0 ;
8742 PyObject * obj1 = 0 ;
8743 char * kwnames[] = {
8744 (char *) "self",(char *) "p", NULL
8745 };
8746
8747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
8748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8749 if (!SWIG_IsOK(res1)) {
8750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8751 }
8752 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8753 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
8754 if (!SWIG_IsOK(res2)) {
8755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
8756 }
8757 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
8758 {
8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
8760 (arg1)->SetPane(arg2);
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 resultobj = SWIG_Py_Void();
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj = 0;
8773 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8774 int arg2 ;
8775 void *argp1 = 0 ;
8776 int res1 = 0 ;
8777 int val2 ;
8778 int ecode2 = 0 ;
8779 PyObject * obj0 = 0 ;
8780 PyObject * obj1 = 0 ;
8781 char * kwnames[] = {
8782 (char *) "self",(char *) "b", NULL
8783 };
8784
8785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
8786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8787 if (!SWIG_IsOK(res1)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8789 }
8790 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8791 ecode2 = SWIG_AsVal_int(obj1, &val2);
8792 if (!SWIG_IsOK(ecode2)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
8794 }
8795 arg2 = static_cast< int >(val2);
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 (arg1)->SetButton(arg2);
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 resultobj = SWIG_Py_Void();
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj = 0;
8811 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8812 wxDC *arg2 = (wxDC *) 0 ;
8813 void *argp1 = 0 ;
8814 int res1 = 0 ;
8815 void *argp2 = 0 ;
8816 int res2 = 0 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char * kwnames[] = {
8820 (char *) "self",(char *) "pdc", NULL
8821 };
8822
8823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8825 if (!SWIG_IsOK(res1)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8827 }
8828 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8830 if (!SWIG_IsOK(res2)) {
8831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8832 }
8833 arg2 = reinterpret_cast< wxDC * >(argp2);
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 (arg1)->SetDC(arg2);
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = SWIG_Py_Void();
8841 return resultobj;
8842 fail:
8843 return NULL;
8844 }
8845
8846
8847 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8848 PyObject *resultobj = 0;
8849 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8850 wxAuiManager *result = 0 ;
8851 void *argp1 = 0 ;
8852 int res1 = 0 ;
8853 PyObject *swig_obj[1] ;
8854
8855 if (!args) SWIG_fail;
8856 swig_obj[0] = args;
8857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8858 if (!SWIG_IsOK(res1)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetManager" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8860 }
8861 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 result = (wxAuiManager *)((wxAuiManagerEvent const *)arg1)->GetManager();
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 );
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8876 PyObject *resultobj = 0;
8877 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8878 wxAuiPaneInfo *result = 0 ;
8879 void *argp1 = 0 ;
8880 int res1 = 0 ;
8881 PyObject *swig_obj[1] ;
8882
8883 if (!args) SWIG_fail;
8884 swig_obj[0] = args;
8885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8886 if (!SWIG_IsOK(res1)) {
8887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8888 }
8889 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (wxAuiPaneInfo *)((wxAuiManagerEvent const *)arg1)->GetPane();
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8904 PyObject *resultobj = 0;
8905 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8906 int result;
8907 void *argp1 = 0 ;
8908 int res1 = 0 ;
8909 PyObject *swig_obj[1] ;
8910
8911 if (!args) SWIG_fail;
8912 swig_obj[0] = args;
8913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8914 if (!SWIG_IsOK(res1)) {
8915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8916 }
8917 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 result = (int)((wxAuiManagerEvent const *)arg1)->GetButton();
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 resultobj = SWIG_From_int(static_cast< int >(result));
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8932 PyObject *resultobj = 0;
8933 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8934 wxDC *result = 0 ;
8935 void *argp1 = 0 ;
8936 int res1 = 0 ;
8937 PyObject *swig_obj[1] ;
8938
8939 if (!args) SWIG_fail;
8940 swig_obj[0] = args;
8941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8942 if (!SWIG_IsOK(res1)) {
8943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
8944 }
8945 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (wxDC *)((wxAuiManagerEvent const *)arg1)->GetDC();
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 {
8953 resultobj = wxPyMake_wxObject(result, (bool)0);
8954 }
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 SWIGINTERN PyObject *_wrap_AuiManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj = 0;
8963 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
8964 bool arg2 = (bool) true ;
8965 void *argp1 = 0 ;
8966 int res1 = 0 ;
8967 bool val2 ;
8968 int ecode2 = 0 ;
8969 PyObject * obj0 = 0 ;
8970 PyObject * obj1 = 0 ;
8971 char * kwnames[] = {
8972 (char *) "self",(char *) "veto", NULL
8973 };
8974
8975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:AuiManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
8977 if (!SWIG_IsOK(res1)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_Veto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
8979 }
8980 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
8981 if (obj1) {
8982 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8983 if (!SWIG_IsOK(ecode2)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8985 }
8986 arg2 = static_cast< bool >(val2);
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 (arg1)->Veto(arg2);
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 resultobj = SWIG_Py_Void();
8995 return resultobj;
8996 fail:
8997 return NULL;
8998 }
8999
9000
9001 SWIGINTERN PyObject *_wrap_AuiManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9002 PyObject *resultobj = 0;
9003 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9004 bool result;
9005 void *argp1 = 0 ;
9006 int res1 = 0 ;
9007 PyObject *swig_obj[1] ;
9008
9009 if (!args) SWIG_fail;
9010 swig_obj[0] = args;
9011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9012 if (!SWIG_IsOK(res1)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
9014 }
9015 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (bool)((wxAuiManagerEvent const *)arg1)->GetVeto();
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 {
9023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9024 }
9025 return resultobj;
9026 fail:
9027 return NULL;
9028 }
9029
9030
9031 SWIGINTERN PyObject *_wrap_AuiManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj = 0;
9033 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9034 bool arg2 ;
9035 void *argp1 = 0 ;
9036 int res1 = 0 ;
9037 bool val2 ;
9038 int ecode2 = 0 ;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 char * kwnames[] = {
9042 (char *) "self",(char *) "can_veto", NULL
9043 };
9044
9045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
9046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9047 if (!SWIG_IsOK(res1)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9049 }
9050 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9051 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9052 if (!SWIG_IsOK(ecode2)) {
9053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
9054 }
9055 arg2 = static_cast< bool >(val2);
9056 {
9057 PyThreadState* __tstate = wxPyBeginAllowThreads();
9058 (arg1)->SetCanVeto(arg2);
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 resultobj = SWIG_Py_Void();
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 SWIGINTERN PyObject *_wrap_AuiManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9070 PyObject *resultobj = 0;
9071 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9072 bool result;
9073 void *argp1 = 0 ;
9074 int res1 = 0 ;
9075 PyObject *swig_obj[1] ;
9076
9077 if (!args) SWIG_fail;
9078 swig_obj[0] = args;
9079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9080 if (!SWIG_IsOK(res1)) {
9081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxAuiManagerEvent const *""'");
9082 }
9083 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 result = (bool)((wxAuiManagerEvent const *)arg1)->CanVeto();
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 {
9091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9092 }
9093 return resultobj;
9094 fail:
9095 return NULL;
9096 }
9097
9098
9099 SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9100 PyObject *resultobj = 0;
9101 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9102 wxAuiManager *arg2 = (wxAuiManager *) 0 ;
9103 void *argp1 = 0 ;
9104 int res1 = 0 ;
9105 void *argp2 = 0 ;
9106 int res2 = 0 ;
9107 PyObject *swig_obj[2] ;
9108
9109 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_manager_set",2,2,swig_obj)) SWIG_fail;
9110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9111 if (!SWIG_IsOK(res1)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9113 }
9114 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9115 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiManager, SWIG_POINTER_DISOWN | 0 );
9116 if (!SWIG_IsOK(res2)) {
9117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_manager_set" "', expected argument " "2"" of type '" "wxAuiManager *""'");
9118 }
9119 arg2 = reinterpret_cast< wxAuiManager * >(argp2);
9120 if (arg1) (arg1)->manager = arg2;
9121
9122 resultobj = SWIG_Py_Void();
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 SWIGINTERN PyObject *_wrap_AuiManagerEvent_manager_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9130 PyObject *resultobj = 0;
9131 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9132 wxAuiManager *result = 0 ;
9133 void *argp1 = 0 ;
9134 int res1 = 0 ;
9135 PyObject *swig_obj[1] ;
9136
9137 if (!args) SWIG_fail;
9138 swig_obj[0] = args;
9139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9140 if (!SWIG_IsOK(res1)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_manager_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9142 }
9143 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9144 result = (wxAuiManager *) ((arg1)->manager);
9145 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 );
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9153 PyObject *resultobj = 0;
9154 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9155 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
9156 void *argp1 = 0 ;
9157 int res1 = 0 ;
9158 void *argp2 = 0 ;
9159 int res2 = 0 ;
9160 PyObject *swig_obj[2] ;
9161
9162 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
9163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9164 if (!SWIG_IsOK(res1)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9166 }
9167 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9168 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
9169 if (!SWIG_IsOK(res2)) {
9170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
9171 }
9172 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
9173 if (arg1) (arg1)->pane = arg2;
9174
9175 resultobj = SWIG_Py_Void();
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 SWIGINTERN PyObject *_wrap_AuiManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9183 PyObject *resultobj = 0;
9184 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9185 wxAuiPaneInfo *result = 0 ;
9186 void *argp1 = 0 ;
9187 int res1 = 0 ;
9188 PyObject *swig_obj[1] ;
9189
9190 if (!args) SWIG_fail;
9191 swig_obj[0] = args;
9192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9193 if (!SWIG_IsOK(res1)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9195 }
9196 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9197 result = (wxAuiPaneInfo *) ((arg1)->pane);
9198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
9199 return resultobj;
9200 fail:
9201 return NULL;
9202 }
9203
9204
9205 SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9206 PyObject *resultobj = 0;
9207 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9208 int arg2 ;
9209 void *argp1 = 0 ;
9210 int res1 = 0 ;
9211 int val2 ;
9212 int ecode2 = 0 ;
9213 PyObject *swig_obj[2] ;
9214
9215 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
9216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9217 if (!SWIG_IsOK(res1)) {
9218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9219 }
9220 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9221 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9222 if (!SWIG_IsOK(ecode2)) {
9223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
9224 }
9225 arg2 = static_cast< int >(val2);
9226 if (arg1) (arg1)->button = arg2;
9227
9228 resultobj = SWIG_Py_Void();
9229 return resultobj;
9230 fail:
9231 return NULL;
9232 }
9233
9234
9235 SWIGINTERN PyObject *_wrap_AuiManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9236 PyObject *resultobj = 0;
9237 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9238 int result;
9239 void *argp1 = 0 ;
9240 int res1 = 0 ;
9241 PyObject *swig_obj[1] ;
9242
9243 if (!args) SWIG_fail;
9244 swig_obj[0] = args;
9245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9246 if (!SWIG_IsOK(res1)) {
9247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_button_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9248 }
9249 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9250 result = (int) ((arg1)->button);
9251 resultobj = SWIG_From_int(static_cast< int >(result));
9252 return resultobj;
9253 fail:
9254 return NULL;
9255 }
9256
9257
9258 SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9259 PyObject *resultobj = 0;
9260 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9261 bool arg2 ;
9262 void *argp1 = 0 ;
9263 int res1 = 0 ;
9264 bool val2 ;
9265 int ecode2 = 0 ;
9266 PyObject *swig_obj[2] ;
9267
9268 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
9269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9270 if (!SWIG_IsOK(res1)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9272 }
9273 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9274 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9275 if (!SWIG_IsOK(ecode2)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
9277 }
9278 arg2 = static_cast< bool >(val2);
9279 if (arg1) (arg1)->veto_flag = arg2;
9280
9281 resultobj = SWIG_Py_Void();
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 SWIGINTERN PyObject *_wrap_AuiManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9289 PyObject *resultobj = 0;
9290 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9291 bool result;
9292 void *argp1 = 0 ;
9293 int res1 = 0 ;
9294 PyObject *swig_obj[1] ;
9295
9296 if (!args) SWIG_fail;
9297 swig_obj[0] = args;
9298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9299 if (!SWIG_IsOK(res1)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9301 }
9302 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9303 result = (bool) ((arg1)->veto_flag);
9304 {
9305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9306 }
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9314 PyObject *resultobj = 0;
9315 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9316 bool arg2 ;
9317 void *argp1 = 0 ;
9318 int res1 = 0 ;
9319 bool val2 ;
9320 int ecode2 = 0 ;
9321 PyObject *swig_obj[2] ;
9322
9323 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
9324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9325 if (!SWIG_IsOK(res1)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9327 }
9328 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9329 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9330 if (!SWIG_IsOK(ecode2)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
9332 }
9333 arg2 = static_cast< bool >(val2);
9334 if (arg1) (arg1)->canveto_flag = arg2;
9335
9336 resultobj = SWIG_Py_Void();
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 SWIGINTERN PyObject *_wrap_AuiManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9344 PyObject *resultobj = 0;
9345 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9346 bool result;
9347 void *argp1 = 0 ;
9348 int res1 = 0 ;
9349 PyObject *swig_obj[1] ;
9350
9351 if (!args) SWIG_fail;
9352 swig_obj[0] = args;
9353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9354 if (!SWIG_IsOK(res1)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9356 }
9357 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9358 result = (bool) ((arg1)->canveto_flag);
9359 {
9360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9361 }
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9369 PyObject *resultobj = 0;
9370 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9371 wxDC *arg2 = (wxDC *) 0 ;
9372 void *argp1 = 0 ;
9373 int res1 = 0 ;
9374 void *argp2 = 0 ;
9375 int res2 = 0 ;
9376 PyObject *swig_obj[2] ;
9377
9378 if (!SWIG_Python_UnpackTuple(args,"AuiManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
9379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9380 if (!SWIG_IsOK(res1)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9382 }
9383 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9384 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
9385 if (!SWIG_IsOK(res2)) {
9386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
9387 }
9388 arg2 = reinterpret_cast< wxDC * >(argp2);
9389 if (arg1) (arg1)->dc = arg2;
9390
9391 resultobj = SWIG_Py_Void();
9392 return resultobj;
9393 fail:
9394 return NULL;
9395 }
9396
9397
9398 SWIGINTERN PyObject *_wrap_AuiManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9399 PyObject *resultobj = 0;
9400 wxAuiManagerEvent *arg1 = (wxAuiManagerEvent *) 0 ;
9401 wxDC *result = 0 ;
9402 void *argp1 = 0 ;
9403 int res1 = 0 ;
9404 PyObject *swig_obj[1] ;
9405
9406 if (!args) SWIG_fail;
9407 swig_obj[0] = args;
9408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiManagerEvent, 0 | 0 );
9409 if (!SWIG_IsOK(res1)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxAuiManagerEvent *""'");
9411 }
9412 arg1 = reinterpret_cast< wxAuiManagerEvent * >(argp1);
9413 result = (wxDC *) ((arg1)->dc);
9414 {
9415 resultobj = wxPyMake_wxObject(result, (bool)0);
9416 }
9417 return resultobj;
9418 fail:
9419 return NULL;
9420 }
9421
9422
9423 SWIGINTERN PyObject *AuiManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9424 PyObject *obj;
9425 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9426 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiManagerEvent, SWIG_NewClientData(obj));
9427 return SWIG_Py_Void();
9428 }
9429
9430 SWIGINTERN PyObject *AuiManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9431 return SWIG_Python_InitShadowInstance(args);
9432 }
9433
9434 SWIGINTERN PyObject *_wrap_new_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9435 PyObject *resultobj = 0;
9436 wxAuiDockInfo *result = 0 ;
9437
9438 if (!SWIG_Python_UnpackTuple(args,"new_AuiDockInfo",0,0,0)) SWIG_fail;
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (wxAuiDockInfo *)new wxAuiDockInfo();
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_NEW | 0 );
9446 return resultobj;
9447 fail:
9448 return NULL;
9449 }
9450
9451
9452 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9453 PyObject *resultobj = 0;
9454 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9455 bool result;
9456 void *argp1 = 0 ;
9457 int res1 = 0 ;
9458 PyObject *swig_obj[1] ;
9459
9460 if (!args) SWIG_fail;
9461 swig_obj[0] = args;
9462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9463 if (!SWIG_IsOK(res1)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsOk" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9465 }
9466 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (bool)((wxAuiDockInfo const *)arg1)->IsOk();
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 {
9474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9475 }
9476 return resultobj;
9477 fail:
9478 return NULL;
9479 }
9480
9481
9482 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9483 PyObject *resultobj = 0;
9484 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9485 bool result;
9486 void *argp1 = 0 ;
9487 int res1 = 0 ;
9488 PyObject *swig_obj[1] ;
9489
9490 if (!args) SWIG_fail;
9491 swig_obj[0] = args;
9492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9493 if (!SWIG_IsOK(res1)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9495 }
9496 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (bool)((wxAuiDockInfo const *)arg1)->IsHorizontal();
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 {
9504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9505 }
9506 return resultobj;
9507 fail:
9508 return NULL;
9509 }
9510
9511
9512 SWIGINTERN PyObject *_wrap_AuiDockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9513 PyObject *resultobj = 0;
9514 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9515 bool result;
9516 void *argp1 = 0 ;
9517 int res1 = 0 ;
9518 PyObject *swig_obj[1] ;
9519
9520 if (!args) SWIG_fail;
9521 swig_obj[0] = args;
9522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9523 if (!SWIG_IsOK(res1)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_IsVertical" "', expected argument " "1"" of type '" "wxAuiDockInfo const *""'");
9525 }
9526 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9527 {
9528 PyThreadState* __tstate = wxPyBeginAllowThreads();
9529 result = (bool)((wxAuiDockInfo const *)arg1)->IsVertical();
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9535 }
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9543 PyObject *resultobj = 0;
9544 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9545 wxAuiPaneInfoPtrArray arg2 ;
9546 void *argp1 = 0 ;
9547 int res1 = 0 ;
9548 void *argp2 ;
9549 int res2 = 0 ;
9550 PyObject *swig_obj[2] ;
9551
9552 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
9553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9554 if (!SWIG_IsOK(res1)) {
9555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_panes_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9556 }
9557 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9558 {
9559 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxAuiPaneInfoPtrArray, 0 | 0);
9560 if (!SWIG_IsOK(res2)) {
9561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'");
9562 }
9563 if (!argp2) {
9564 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockInfo_panes_set" "', expected argument " "2"" of type '" "wxAuiPaneInfoPtrArray""'");
9565 } else {
9566 wxAuiPaneInfoPtrArray * temp = reinterpret_cast< wxAuiPaneInfoPtrArray * >(argp2);
9567 arg2 = *temp;
9568 if (SWIG_IsNewObj(res2)) delete temp;
9569 }
9570 }
9571 if (arg1) (arg1)->panes = arg2;
9572
9573 resultobj = SWIG_Py_Void();
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 SWIGINTERN PyObject *_wrap_AuiDockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9581 PyObject *resultobj = 0;
9582 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9583 wxAuiPaneInfoPtrArray result;
9584 void *argp1 = 0 ;
9585 int res1 = 0 ;
9586 PyObject *swig_obj[1] ;
9587
9588 if (!args) SWIG_fail;
9589 swig_obj[0] = args;
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_panes_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9593 }
9594 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9595 result = ((arg1)->panes);
9596 resultobj = SWIG_NewPointerObj((new wxAuiPaneInfoPtrArray(static_cast< const wxAuiPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxAuiPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9604 PyObject *resultobj = 0;
9605 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9606 wxRect *arg2 = (wxRect *) 0 ;
9607 void *argp1 = 0 ;
9608 int res1 = 0 ;
9609 void *argp2 = 0 ;
9610 int res2 = 0 ;
9611 PyObject *swig_obj[2] ;
9612
9613 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
9614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9615 if (!SWIG_IsOK(res1)) {
9616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_rect_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9617 }
9618 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9619 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9620 if (!SWIG_IsOK(res2)) {
9621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9622 }
9623 arg2 = reinterpret_cast< wxRect * >(argp2);
9624 if (arg1) (arg1)->rect = *arg2;
9625
9626 resultobj = SWIG_Py_Void();
9627 return resultobj;
9628 fail:
9629 return NULL;
9630 }
9631
9632
9633 SWIGINTERN PyObject *_wrap_AuiDockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9634 PyObject *resultobj = 0;
9635 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9636 wxRect *result = 0 ;
9637 void *argp1 = 0 ;
9638 int res1 = 0 ;
9639 PyObject *swig_obj[1] ;
9640
9641 if (!args) SWIG_fail;
9642 swig_obj[0] = args;
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_rect_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9646 }
9647 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9648 result = (wxRect *)& ((arg1)->rect);
9649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9657 PyObject *resultobj = 0;
9658 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9659 int arg2 ;
9660 void *argp1 = 0 ;
9661 int res1 = 0 ;
9662 int val2 ;
9663 int ecode2 = 0 ;
9664 PyObject *swig_obj[2] ;
9665
9666 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
9667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9668 if (!SWIG_IsOK(res1)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9670 }
9671 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9672 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9673 if (!SWIG_IsOK(ecode2)) {
9674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
9675 }
9676 arg2 = static_cast< int >(val2);
9677 if (arg1) (arg1)->dock_direction = arg2;
9678
9679 resultobj = SWIG_Py_Void();
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9687 PyObject *resultobj = 0;
9688 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9689 int result;
9690 void *argp1 = 0 ;
9691 int res1 = 0 ;
9692 PyObject *swig_obj[1] ;
9693
9694 if (!args) SWIG_fail;
9695 swig_obj[0] = args;
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_dock_direction_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9699 }
9700 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9701 result = (int) ((arg1)->dock_direction);
9702 resultobj = SWIG_From_int(static_cast< int >(result));
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9710 PyObject *resultobj = 0;
9711 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9712 int arg2 ;
9713 void *argp1 = 0 ;
9714 int res1 = 0 ;
9715 int val2 ;
9716 int ecode2 = 0 ;
9717 PyObject *swig_obj[2] ;
9718
9719 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
9720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9723 }
9724 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9725 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9726 if (!SWIG_IsOK(ecode2)) {
9727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
9728 }
9729 arg2 = static_cast< int >(val2);
9730 if (arg1) (arg1)->dock_layer = arg2;
9731
9732 resultobj = SWIG_Py_Void();
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9740 PyObject *resultobj = 0;
9741 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9742 int result;
9743 void *argp1 = 0 ;
9744 int res1 = 0 ;
9745 PyObject *swig_obj[1] ;
9746
9747 if (!args) SWIG_fail;
9748 swig_obj[0] = args;
9749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9750 if (!SWIG_IsOK(res1)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9752 }
9753 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9754 result = (int) ((arg1)->dock_layer);
9755 resultobj = SWIG_From_int(static_cast< int >(result));
9756 return resultobj;
9757 fail:
9758 return NULL;
9759 }
9760
9761
9762 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9763 PyObject *resultobj = 0;
9764 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9765 int arg2 ;
9766 void *argp1 = 0 ;
9767 int res1 = 0 ;
9768 int val2 ;
9769 int ecode2 = 0 ;
9770 PyObject *swig_obj[2] ;
9771
9772 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
9773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9774 if (!SWIG_IsOK(res1)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9776 }
9777 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9778 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9779 if (!SWIG_IsOK(ecode2)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
9781 }
9782 arg2 = static_cast< int >(val2);
9783 if (arg1) (arg1)->dock_row = arg2;
9784
9785 resultobj = SWIG_Py_Void();
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 SWIGINTERN PyObject *_wrap_AuiDockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9793 PyObject *resultobj = 0;
9794 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9795 int result;
9796 void *argp1 = 0 ;
9797 int res1 = 0 ;
9798 PyObject *swig_obj[1] ;
9799
9800 if (!args) SWIG_fail;
9801 swig_obj[0] = args;
9802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9803 if (!SWIG_IsOK(res1)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9805 }
9806 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9807 result = (int) ((arg1)->dock_row);
9808 resultobj = SWIG_From_int(static_cast< int >(result));
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 SWIGINTERN PyObject *_wrap_AuiDockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9816 PyObject *resultobj = 0;
9817 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9818 int arg2 ;
9819 void *argp1 = 0 ;
9820 int res1 = 0 ;
9821 int val2 ;
9822 int ecode2 = 0 ;
9823 PyObject *swig_obj[2] ;
9824
9825 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_size_set",2,2,swig_obj)) SWIG_fail;
9826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9829 }
9830 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9831 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9832 if (!SWIG_IsOK(ecode2)) {
9833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
9834 }
9835 arg2 = static_cast< int >(val2);
9836 if (arg1) (arg1)->size = arg2;
9837
9838 resultobj = SWIG_Py_Void();
9839 return resultobj;
9840 fail:
9841 return NULL;
9842 }
9843
9844
9845 SWIGINTERN PyObject *_wrap_AuiDockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9846 PyObject *resultobj = 0;
9847 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9848 int result;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 PyObject *swig_obj[1] ;
9852
9853 if (!args) SWIG_fail;
9854 swig_obj[0] = args;
9855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9856 if (!SWIG_IsOK(res1)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9858 }
9859 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9860 result = (int) ((arg1)->size);
9861 resultobj = SWIG_From_int(static_cast< int >(result));
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9869 PyObject *resultobj = 0;
9870 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9871 int arg2 ;
9872 void *argp1 = 0 ;
9873 int res1 = 0 ;
9874 int val2 ;
9875 int ecode2 = 0 ;
9876 PyObject *swig_obj[2] ;
9877
9878 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9882 }
9883 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9884 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9885 if (!SWIG_IsOK(ecode2)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
9887 }
9888 arg2 = static_cast< int >(val2);
9889 if (arg1) (arg1)->min_size = arg2;
9890
9891 resultobj = SWIG_Py_Void();
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 SWIGINTERN PyObject *_wrap_AuiDockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9899 PyObject *resultobj = 0;
9900 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9901 int result;
9902 void *argp1 = 0 ;
9903 int res1 = 0 ;
9904 PyObject *swig_obj[1] ;
9905
9906 if (!args) SWIG_fail;
9907 swig_obj[0] = args;
9908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9909 if (!SWIG_IsOK(res1)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_min_size_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9911 }
9912 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9913 result = (int) ((arg1)->min_size);
9914 resultobj = SWIG_From_int(static_cast< int >(result));
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9922 PyObject *resultobj = 0;
9923 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9924 bool arg2 ;
9925 void *argp1 = 0 ;
9926 int res1 = 0 ;
9927 bool val2 ;
9928 int ecode2 = 0 ;
9929 PyObject *swig_obj[2] ;
9930
9931 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9935 }
9936 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9937 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9938 if (!SWIG_IsOK(ecode2)) {
9939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9940 }
9941 arg2 = static_cast< bool >(val2);
9942 if (arg1) (arg1)->resizable = arg2;
9943
9944 resultobj = SWIG_Py_Void();
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 SWIGINTERN PyObject *_wrap_AuiDockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9952 PyObject *resultobj = 0;
9953 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9954 bool result;
9955 void *argp1 = 0 ;
9956 int res1 = 0 ;
9957 PyObject *swig_obj[1] ;
9958
9959 if (!args) SWIG_fail;
9960 swig_obj[0] = args;
9961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9962 if (!SWIG_IsOK(res1)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_resizable_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9964 }
9965 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9966 result = (bool) ((arg1)->resizable);
9967 {
9968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9969 }
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9977 PyObject *resultobj = 0;
9978 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
9979 bool arg2 ;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 bool val2 ;
9983 int ecode2 = 0 ;
9984 PyObject *swig_obj[2] ;
9985
9986 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
9988 if (!SWIG_IsOK(res1)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
9990 }
9991 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
9992 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9993 if (!SWIG_IsOK(ecode2)) {
9994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9995 }
9996 arg2 = static_cast< bool >(val2);
9997 if (arg1) (arg1)->toolbar = arg2;
9998
9999 resultobj = SWIG_Py_Void();
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 SWIGINTERN PyObject *_wrap_AuiDockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10007 PyObject *resultobj = 0;
10008 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
10009 bool result;
10010 void *argp1 = 0 ;
10011 int res1 = 0 ;
10012 PyObject *swig_obj[1] ;
10013
10014 if (!args) SWIG_fail;
10015 swig_obj[0] = args;
10016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
10017 if (!SWIG_IsOK(res1)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
10019 }
10020 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
10021 result = (bool) ((arg1)->toolbar);
10022 {
10023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10024 }
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10032 PyObject *resultobj = 0;
10033 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
10034 bool arg2 ;
10035 void *argp1 = 0 ;
10036 int res1 = 0 ;
10037 bool val2 ;
10038 int ecode2 = 0 ;
10039 PyObject *swig_obj[2] ;
10040
10041 if (!SWIG_Python_UnpackTuple(args,"AuiDockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
10042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
10043 if (!SWIG_IsOK(res1)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
10045 }
10046 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
10047 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
10048 if (!SWIG_IsOK(ecode2)) {
10049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
10050 }
10051 arg2 = static_cast< bool >(val2);
10052 if (arg1) (arg1)->fixed = arg2;
10053
10054 resultobj = SWIG_Py_Void();
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 SWIGINTERN PyObject *_wrap_AuiDockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10062 PyObject *resultobj = 0;
10063 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
10064 bool result;
10065 void *argp1 = 0 ;
10066 int res1 = 0 ;
10067 PyObject *swig_obj[1] ;
10068
10069 if (!args) SWIG_fail;
10070 swig_obj[0] = args;
10071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
10072 if (!SWIG_IsOK(res1)) {
10073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockInfo_fixed_get" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
10074 }
10075 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
10076 result = (bool) ((arg1)->fixed);
10077 {
10078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10079 }
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 SWIGINTERN PyObject *_wrap_delete_AuiDockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10087 PyObject *resultobj = 0;
10088 wxAuiDockInfo *arg1 = (wxAuiDockInfo *) 0 ;
10089 void *argp1 = 0 ;
10090 int res1 = 0 ;
10091 PyObject *swig_obj[1] ;
10092
10093 if (!args) SWIG_fail;
10094 swig_obj[0] = args;
10095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 );
10096 if (!SWIG_IsOK(res1)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockInfo" "', expected argument " "1"" of type '" "wxAuiDockInfo *""'");
10098 }
10099 arg1 = reinterpret_cast< wxAuiDockInfo * >(argp1);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 delete_wxAuiDockInfo(arg1);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *AuiDockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *obj;
10116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10117 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockInfo, SWIG_NewClientData(obj));
10118 return SWIG_Py_Void();
10119 }
10120
10121 SWIGINTERN PyObject *AuiDockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10122 return SWIG_Python_InitShadowInstance(args);
10123 }
10124
10125 SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10126 PyObject *resultobj = 0;
10127 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10128 int arg2 ;
10129 void *argp1 = 0 ;
10130 int res1 = 0 ;
10131 int val2 ;
10132 int ecode2 = 0 ;
10133 PyObject *swig_obj[2] ;
10134
10135 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
10136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10137 if (!SWIG_IsOK(res1)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_type_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10139 }
10140 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10141 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10142 if (!SWIG_IsOK(ecode2)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
10144 }
10145 arg2 = static_cast< int >(val2);
10146 if (arg1) (arg1)->type = arg2;
10147
10148 resultobj = SWIG_Py_Void();
10149 return resultobj;
10150 fail:
10151 return NULL;
10152 }
10153
10154
10155 SWIGINTERN PyObject *_wrap_AuiDockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10156 PyObject *resultobj = 0;
10157 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10158 int result;
10159 void *argp1 = 0 ;
10160 int res1 = 0 ;
10161 PyObject *swig_obj[1] ;
10162
10163 if (!args) SWIG_fail;
10164 swig_obj[0] = args;
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_type_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10168 }
10169 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10170 result = (int) ((arg1)->type);
10171 resultobj = SWIG_From_int(static_cast< int >(result));
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10179 PyObject *resultobj = 0;
10180 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10181 int arg2 ;
10182 void *argp1 = 0 ;
10183 int res1 = 0 ;
10184 int val2 ;
10185 int ecode2 = 0 ;
10186 PyObject *swig_obj[2] ;
10187
10188 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
10189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10190 if (!SWIG_IsOK(res1)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10192 }
10193 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10194 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10195 if (!SWIG_IsOK(ecode2)) {
10196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
10197 }
10198 arg2 = static_cast< int >(val2);
10199 if (arg1) (arg1)->orientation = arg2;
10200
10201 resultobj = SWIG_Py_Void();
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 SWIGINTERN PyObject *_wrap_AuiDockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10209 PyObject *resultobj = 0;
10210 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10211 int result;
10212 void *argp1 = 0 ;
10213 int res1 = 0 ;
10214 PyObject *swig_obj[1] ;
10215
10216 if (!args) SWIG_fail;
10217 swig_obj[0] = args;
10218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10219 if (!SWIG_IsOK(res1)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10221 }
10222 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10223 result = (int) ((arg1)->orientation);
10224 resultobj = SWIG_From_int(static_cast< int >(result));
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10232 PyObject *resultobj = 0;
10233 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10234 wxAuiDockInfo *arg2 = (wxAuiDockInfo *) 0 ;
10235 void *argp1 = 0 ;
10236 int res1 = 0 ;
10237 void *argp2 = 0 ;
10238 int res2 = 0 ;
10239 PyObject *swig_obj[2] ;
10240
10241 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
10242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10243 if (!SWIG_IsOK(res1)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10245 }
10246 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10247 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiDockInfo, SWIG_POINTER_DISOWN | 0 );
10248 if (!SWIG_IsOK(res2)) {
10249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_dock_set" "', expected argument " "2"" of type '" "wxAuiDockInfo *""'");
10250 }
10251 arg2 = reinterpret_cast< wxAuiDockInfo * >(argp2);
10252 if (arg1) (arg1)->dock = arg2;
10253
10254 resultobj = SWIG_Py_Void();
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 SWIGINTERN PyObject *_wrap_AuiDockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10262 PyObject *resultobj = 0;
10263 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10264 wxAuiDockInfo *result = 0 ;
10265 void *argp1 = 0 ;
10266 int res1 = 0 ;
10267 PyObject *swig_obj[1] ;
10268
10269 if (!args) SWIG_fail;
10270 swig_obj[0] = args;
10271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10272 if (!SWIG_IsOK(res1)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_dock_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10274 }
10275 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10276 result = (wxAuiDockInfo *) ((arg1)->dock);
10277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDockInfo, 0 | 0 );
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10285 PyObject *resultobj = 0;
10286 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10287 wxAuiPaneInfo *arg2 = (wxAuiPaneInfo *) 0 ;
10288 void *argp1 = 0 ;
10289 int res1 = 0 ;
10290 void *argp2 = 0 ;
10291 int res2 = 0 ;
10292 PyObject *swig_obj[2] ;
10293
10294 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
10295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10296 if (!SWIG_IsOK(res1)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10298 }
10299 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10300 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneInfo, SWIG_POINTER_DISOWN | 0 );
10301 if (!SWIG_IsOK(res2)) {
10302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_pane_set" "', expected argument " "2"" of type '" "wxAuiPaneInfo *""'");
10303 }
10304 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
10305 if (arg1) (arg1)->pane = arg2;
10306
10307 resultobj = SWIG_Py_Void();
10308 return resultobj;
10309 fail:
10310 return NULL;
10311 }
10312
10313
10314 SWIGINTERN PyObject *_wrap_AuiDockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10315 PyObject *resultobj = 0;
10316 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10317 wxAuiPaneInfo *result = 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, 0 | 0 );
10325 if (!SWIG_IsOK(res1)) {
10326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_pane_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10327 }
10328 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10329 result = (wxAuiPaneInfo *) ((arg1)->pane);
10330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneInfo, 0 | 0 );
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10338 PyObject *resultobj = 0;
10339 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10340 wxAuiPaneButton *arg2 = (wxAuiPaneButton *) 0 ;
10341 void *argp1 = 0 ;
10342 int res1 = 0 ;
10343 void *argp2 = 0 ;
10344 int res2 = 0 ;
10345 PyObject *swig_obj[2] ;
10346
10347 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
10348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10349 if (!SWIG_IsOK(res1)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10351 }
10352 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10353 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 );
10354 if (!SWIG_IsOK(res2)) {
10355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_button_set" "', expected argument " "2"" of type '" "wxAuiPaneButton *""'");
10356 }
10357 arg2 = reinterpret_cast< wxAuiPaneButton * >(argp2);
10358 if (arg1) (arg1)->button = arg2;
10359
10360 resultobj = SWIG_Py_Void();
10361 return resultobj;
10362 fail:
10363 return NULL;
10364 }
10365
10366
10367 SWIGINTERN PyObject *_wrap_AuiDockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10368 PyObject *resultobj = 0;
10369 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10370 wxAuiPaneButton *result = 0 ;
10371 void *argp1 = 0 ;
10372 int res1 = 0 ;
10373 PyObject *swig_obj[1] ;
10374
10375 if (!args) SWIG_fail;
10376 swig_obj[0] = args;
10377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10378 if (!SWIG_IsOK(res1)) {
10379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_button_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10380 }
10381 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10382 result = (wxAuiPaneButton *) ((arg1)->button);
10383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10391 PyObject *resultobj = 0;
10392 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10393 wxSizer *arg2 = (wxSizer *) 0 ;
10394 void *argp1 = 0 ;
10395 int res1 = 0 ;
10396 void *argp2 = 0 ;
10397 int res2 = 0 ;
10398 PyObject *swig_obj[2] ;
10399
10400 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
10401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10402 if (!SWIG_IsOK(res1)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10404 }
10405 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10406 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
10407 if (!SWIG_IsOK(res2)) {
10408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
10409 }
10410 arg2 = reinterpret_cast< wxSizer * >(argp2);
10411 if (arg1) (arg1)->cont_sizer = arg2;
10412
10413 resultobj = SWIG_Py_Void();
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 SWIGINTERN PyObject *_wrap_AuiDockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10421 PyObject *resultobj = 0;
10422 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10423 wxSizer *result = 0 ;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 PyObject *swig_obj[1] ;
10427
10428 if (!args) SWIG_fail;
10429 swig_obj[0] = args;
10430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10431 if (!SWIG_IsOK(res1)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10433 }
10434 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10435 result = (wxSizer *) ((arg1)->cont_sizer);
10436 {
10437 resultobj = wxPyMake_wxObject(result, (bool)0);
10438 }
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10446 PyObject *resultobj = 0;
10447 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10448 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
10449 void *argp1 = 0 ;
10450 int res1 = 0 ;
10451 void *argp2 = 0 ;
10452 int res2 = 0 ;
10453 PyObject *swig_obj[2] ;
10454
10455 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
10456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10457 if (!SWIG_IsOK(res1)) {
10458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10459 }
10460 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10461 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
10462 if (!SWIG_IsOK(res2)) {
10463 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
10464 }
10465 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
10466 if (arg1) (arg1)->sizer_item = arg2;
10467
10468 resultobj = SWIG_Py_Void();
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 SWIGINTERN PyObject *_wrap_AuiDockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10476 PyObject *resultobj = 0;
10477 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10478 wxSizerItem *result = 0 ;
10479 void *argp1 = 0 ;
10480 int res1 = 0 ;
10481 PyObject *swig_obj[1] ;
10482
10483 if (!args) SWIG_fail;
10484 swig_obj[0] = args;
10485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10488 }
10489 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10490 result = (wxSizerItem *) ((arg1)->sizer_item);
10491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
10492 return resultobj;
10493 fail:
10494 return NULL;
10495 }
10496
10497
10498 SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10499 PyObject *resultobj = 0;
10500 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10501 wxRect *arg2 = (wxRect *) 0 ;
10502 void *argp1 = 0 ;
10503 int res1 = 0 ;
10504 void *argp2 = 0 ;
10505 int res2 = 0 ;
10506 PyObject *swig_obj[2] ;
10507
10508 if (!SWIG_Python_UnpackTuple(args,"AuiDockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
10509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10510 if (!SWIG_IsOK(res1)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10512 }
10513 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10514 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
10515 if (!SWIG_IsOK(res2)) {
10516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
10517 }
10518 arg2 = reinterpret_cast< wxRect * >(argp2);
10519 if (arg1) (arg1)->rect = *arg2;
10520
10521 resultobj = SWIG_Py_Void();
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 SWIGINTERN PyObject *_wrap_AuiDockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10529 PyObject *resultobj = 0;
10530 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10531 wxRect *result = 0 ;
10532 void *argp1 = 0 ;
10533 int res1 = 0 ;
10534 PyObject *swig_obj[1] ;
10535
10536 if (!args) SWIG_fail;
10537 swig_obj[0] = args;
10538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, 0 | 0 );
10539 if (!SWIG_IsOK(res1)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockUIPart_rect_get" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10541 }
10542 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10543 result = (wxRect *)& ((arg1)->rect);
10544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 SWIGINTERN PyObject *_wrap_delete_AuiDockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10552 PyObject *resultobj = 0;
10553 wxAuiDockUIPart *arg1 = (wxAuiDockUIPart *) 0 ;
10554 void *argp1 = 0 ;
10555 int res1 = 0 ;
10556 PyObject *swig_obj[1] ;
10557
10558 if (!args) SWIG_fail;
10559 swig_obj[0] = args;
10560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockUIPart, SWIG_POINTER_DISOWN | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockUIPart" "', expected argument " "1"" of type '" "wxAuiDockUIPart *""'");
10563 }
10564 arg1 = reinterpret_cast< wxAuiDockUIPart * >(argp1);
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 delete_wxAuiDockUIPart(arg1);
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_Py_Void();
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 SWIGINTERN PyObject *AuiDockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10580 PyObject *obj;
10581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10582 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockUIPart, SWIG_NewClientData(obj));
10583 return SWIG_Py_Void();
10584 }
10585
10586 SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10587 PyObject *resultobj = 0;
10588 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10589 int arg2 ;
10590 void *argp1 = 0 ;
10591 int res1 = 0 ;
10592 int val2 ;
10593 int ecode2 = 0 ;
10594 PyObject *swig_obj[2] ;
10595
10596 if (!SWIG_Python_UnpackTuple(args,"AuiPaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
10597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10598 if (!SWIG_IsOK(res1)) {
10599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10600 }
10601 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10602 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10603 if (!SWIG_IsOK(ecode2)) {
10604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiPaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
10605 }
10606 arg2 = static_cast< int >(val2);
10607 if (arg1) (arg1)->button_id = arg2;
10608
10609 resultobj = SWIG_Py_Void();
10610 return resultobj;
10611 fail:
10612 return NULL;
10613 }
10614
10615
10616 SWIGINTERN PyObject *_wrap_AuiPaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10617 PyObject *resultobj = 0;
10618 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10619 int result;
10620 void *argp1 = 0 ;
10621 int res1 = 0 ;
10622 PyObject *swig_obj[1] ;
10623
10624 if (!args) SWIG_fail;
10625 swig_obj[0] = args;
10626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, 0 | 0 );
10627 if (!SWIG_IsOK(res1)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiPaneButton_button_id_get" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10629 }
10630 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10631 result = (int) ((arg1)->button_id);
10632 resultobj = SWIG_From_int(static_cast< int >(result));
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 SWIGINTERN PyObject *_wrap_delete_AuiPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10640 PyObject *resultobj = 0;
10641 wxAuiPaneButton *arg1 = (wxAuiPaneButton *) 0 ;
10642 void *argp1 = 0 ;
10643 int res1 = 0 ;
10644 PyObject *swig_obj[1] ;
10645
10646 if (!args) SWIG_fail;
10647 swig_obj[0] = args;
10648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiPaneButton, SWIG_POINTER_DISOWN | 0 );
10649 if (!SWIG_IsOK(res1)) {
10650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiPaneButton" "', expected argument " "1"" of type '" "wxAuiPaneButton *""'");
10651 }
10652 arg1 = reinterpret_cast< wxAuiPaneButton * >(argp1);
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 delete_wxAuiPaneButton(arg1);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_Py_Void();
10661 return resultobj;
10662 fail:
10663 return NULL;
10664 }
10665
10666
10667 SWIGINTERN PyObject *AuiPaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10668 PyObject *obj;
10669 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10670 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiPaneButton, SWIG_NewClientData(obj));
10671 return SWIG_Py_Void();
10672 }
10673
10674 SWIGINTERN PyObject *_wrap_delete_AuiDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10675 PyObject *resultobj = 0;
10676 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10677 void *argp1 = 0 ;
10678 int res1 = 0 ;
10679 PyObject *swig_obj[1] ;
10680
10681 if (!args) SWIG_fail;
10682 swig_obj[0] = args;
10683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDockArt, SWIG_POINTER_DISOWN | 0 );
10684 if (!SWIG_IsOK(res1)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDockArt" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10686 }
10687 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 delete arg1;
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = SWIG_Py_Void();
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 SWIGINTERN PyObject *_wrap_AuiDockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj = 0;
10704 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10705 int arg2 ;
10706 int result;
10707 void *argp1 = 0 ;
10708 int res1 = 0 ;
10709 int val2 ;
10710 int ecode2 = 0 ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 char * kwnames[] = {
10714 (char *) "self",(char *) "id", NULL
10715 };
10716
10717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
10718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10719 if (!SWIG_IsOK(res1)) {
10720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10721 }
10722 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10723 ecode2 = SWIG_AsVal_int(obj1, &val2);
10724 if (!SWIG_IsOK(ecode2)) {
10725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
10726 }
10727 arg2 = static_cast< int >(val2);
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 result = (int)(arg1)->GetMetric(arg2);
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 resultobj = SWIG_From_int(static_cast< int >(result));
10735 return resultobj;
10736 fail:
10737 return NULL;
10738 }
10739
10740
10741 SWIGINTERN PyObject *_wrap_AuiDockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj = 0;
10743 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10744 int arg2 ;
10745 int arg3 ;
10746 void *argp1 = 0 ;
10747 int res1 = 0 ;
10748 int val2 ;
10749 int ecode2 = 0 ;
10750 int val3 ;
10751 int ecode3 = 0 ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 PyObject * obj2 = 0 ;
10755 char * kwnames[] = {
10756 (char *) "self",(char *) "id",(char *) "new_val", NULL
10757 };
10758
10759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10761 if (!SWIG_IsOK(res1)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetMetric" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10763 }
10764 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10765 ecode2 = SWIG_AsVal_int(obj1, &val2);
10766 if (!SWIG_IsOK(ecode2)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
10768 }
10769 arg2 = static_cast< int >(val2);
10770 ecode3 = SWIG_AsVal_int(obj2, &val3);
10771 if (!SWIG_IsOK(ecode3)) {
10772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiDockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
10773 }
10774 arg3 = static_cast< int >(val3);
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 (arg1)->SetMetric(arg2,arg3);
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_Py_Void();
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 SWIGINTERN PyObject *_wrap_AuiDockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj = 0;
10790 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10791 int arg2 ;
10792 wxFont *arg3 = 0 ;
10793 void *argp1 = 0 ;
10794 int res1 = 0 ;
10795 int val2 ;
10796 int ecode2 = 0 ;
10797 void *argp3 = 0 ;
10798 int res3 = 0 ;
10799 PyObject * obj0 = 0 ;
10800 PyObject * obj1 = 0 ;
10801 PyObject * obj2 = 0 ;
10802 char * kwnames[] = {
10803 (char *) "self",(char *) "id",(char *) "font", NULL
10804 };
10805
10806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10808 if (!SWIG_IsOK(res1)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10810 }
10811 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10812 ecode2 = SWIG_AsVal_int(obj1, &val2);
10813 if (!SWIG_IsOK(ecode2)) {
10814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
10815 }
10816 arg2 = static_cast< int >(val2);
10817 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10818 if (!SWIG_IsOK(res3)) {
10819 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10820 }
10821 if (!argp3) {
10822 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10823 }
10824 arg3 = reinterpret_cast< wxFont * >(argp3);
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 resultobj = SWIG_Py_Void();
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 SWIGINTERN PyObject *_wrap_AuiDockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj = 0;
10840 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10841 int arg2 ;
10842 wxFont result;
10843 void *argp1 = 0 ;
10844 int res1 = 0 ;
10845 int val2 ;
10846 int ecode2 = 0 ;
10847 PyObject * obj0 = 0 ;
10848 PyObject * obj1 = 0 ;
10849 char * kwnames[] = {
10850 (char *) "self",(char *) "id", NULL
10851 };
10852
10853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
10854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10855 if (!SWIG_IsOK(res1)) {
10856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetFont" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10857 }
10858 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10859 ecode2 = SWIG_AsVal_int(obj1, &val2);
10860 if (!SWIG_IsOK(ecode2)) {
10861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
10862 }
10863 arg2 = static_cast< int >(val2);
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 result = (arg1)->GetFont(arg2);
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
10871 return resultobj;
10872 fail:
10873 return NULL;
10874 }
10875
10876
10877 SWIGINTERN PyObject *_wrap_AuiDockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj = 0;
10879 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10880 int arg2 ;
10881 wxColour result;
10882 void *argp1 = 0 ;
10883 int res1 = 0 ;
10884 int val2 ;
10885 int ecode2 = 0 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char * kwnames[] = {
10889 (char *) "self",(char *) "id", NULL
10890 };
10891
10892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
10893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10896 }
10897 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10898 ecode2 = SWIG_AsVal_int(obj1, &val2);
10899 if (!SWIG_IsOK(ecode2)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
10901 }
10902 arg2 = static_cast< int >(val2);
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (arg1)->GetColour(arg2);
10906 wxPyEndAllowThreads(__tstate);
10907 if (PyErr_Occurred()) SWIG_fail;
10908 }
10909 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10910 return resultobj;
10911 fail:
10912 return NULL;
10913 }
10914
10915
10916 SWIGINTERN PyObject *_wrap_AuiDockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10917 PyObject *resultobj = 0;
10918 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10919 int arg2 ;
10920 wxColor *arg3 = 0 ;
10921 void *argp1 = 0 ;
10922 int res1 = 0 ;
10923 int val2 ;
10924 int ecode2 = 0 ;
10925 void *argp3 = 0 ;
10926 int res3 = 0 ;
10927 PyObject * obj0 = 0 ;
10928 PyObject * obj1 = 0 ;
10929 PyObject * obj2 = 0 ;
10930 char * kwnames[] = {
10931 (char *) "self",(char *) "id",(char *) "colour", NULL
10932 };
10933
10934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10936 if (!SWIG_IsOK(res1)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColour" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10938 }
10939 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10940 ecode2 = SWIG_AsVal_int(obj1, &val2);
10941 if (!SWIG_IsOK(ecode2)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
10943 }
10944 arg2 = static_cast< int >(val2);
10945 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
10946 if (!SWIG_IsOK(res3)) {
10947 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10948 }
10949 if (!argp3) {
10950 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10951 }
10952 arg3 = reinterpret_cast< wxColor * >(argp3);
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = SWIG_Py_Void();
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 SWIGINTERN PyObject *_wrap_AuiDockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj = 0;
10968 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
10969 int arg2 ;
10970 wxColour result;
10971 void *argp1 = 0 ;
10972 int res1 = 0 ;
10973 int val2 ;
10974 int ecode2 = 0 ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 char * kwnames[] = {
10978 (char *) "self",(char *) "id", NULL
10979 };
10980
10981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiDockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
10982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
10983 if (!SWIG_IsOK(res1)) {
10984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_GetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
10985 }
10986 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
10987 ecode2 = SWIG_AsVal_int(obj1, &val2);
10988 if (!SWIG_IsOK(ecode2)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10990 }
10991 arg2 = static_cast< int >(val2);
10992 {
10993 PyThreadState* __tstate = wxPyBeginAllowThreads();
10994 result = (arg1)->GetColor(arg2);
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 SWIGINTERN PyObject *_wrap_AuiDockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj = 0;
11007 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11008 int arg2 ;
11009 wxColour *arg3 = 0 ;
11010 void *argp1 = 0 ;
11011 int res1 = 0 ;
11012 int val2 ;
11013 int ecode2 = 0 ;
11014 wxColour temp3 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 char * kwnames[] = {
11019 (char *) "self",(char *) "id",(char *) "color", NULL
11020 };
11021
11022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiDockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11024 if (!SWIG_IsOK(res1)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_SetColor" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11026 }
11027 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11028 ecode2 = SWIG_AsVal_int(obj1, &val2);
11029 if (!SWIG_IsOK(ecode2)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiDockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
11031 }
11032 arg2 = static_cast< int >(val2);
11033 {
11034 arg3 = &temp3;
11035 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11036 }
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 resultobj = SWIG_Py_Void();
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj = 0;
11052 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11053 wxDC *arg2 = 0 ;
11054 wxWindow *arg3 = (wxWindow *) 0 ;
11055 int arg4 ;
11056 wxRect *arg5 = 0 ;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 void *argp2 = 0 ;
11060 int res2 = 0 ;
11061 void *argp3 = 0 ;
11062 int res3 = 0 ;
11063 int val4 ;
11064 int ecode4 = 0 ;
11065 wxRect temp5 ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 PyObject * obj2 = 0 ;
11069 PyObject * obj3 = 0 ;
11070 PyObject * obj4 = 0 ;
11071 char * kwnames[] = {
11072 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
11073 };
11074
11075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11077 if (!SWIG_IsOK(res1)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawSash" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11079 }
11080 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11081 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11082 if (!SWIG_IsOK(res2)) {
11083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
11084 }
11085 if (!argp2) {
11086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
11087 }
11088 arg2 = reinterpret_cast< wxDC * >(argp2);
11089 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11090 if (!SWIG_IsOK(res3)) {
11091 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
11092 }
11093 arg3 = reinterpret_cast< wxWindow * >(argp3);
11094 ecode4 = SWIG_AsVal_int(obj3, &val4);
11095 if (!SWIG_IsOK(ecode4)) {
11096 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
11097 }
11098 arg4 = static_cast< int >(val4);
11099 {
11100 arg5 = &temp5;
11101 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
11102 }
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 resultobj = SWIG_Py_Void();
11110 return resultobj;
11111 fail:
11112 return NULL;
11113 }
11114
11115
11116 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11117 PyObject *resultobj = 0;
11118 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11119 wxDC *arg2 = 0 ;
11120 wxWindow *arg3 = (wxWindow *) 0 ;
11121 int arg4 ;
11122 wxRect *arg5 = 0 ;
11123 void *argp1 = 0 ;
11124 int res1 = 0 ;
11125 void *argp2 = 0 ;
11126 int res2 = 0 ;
11127 void *argp3 = 0 ;
11128 int res3 = 0 ;
11129 int val4 ;
11130 int ecode4 = 0 ;
11131 wxRect temp5 ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 PyObject * obj2 = 0 ;
11135 PyObject * obj3 = 0 ;
11136 PyObject * obj4 = 0 ;
11137 char * kwnames[] = {
11138 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
11139 };
11140
11141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11143 if (!SWIG_IsOK(res1)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11145 }
11146 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11147 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11148 if (!SWIG_IsOK(res2)) {
11149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
11150 }
11151 if (!argp2) {
11152 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
11153 }
11154 arg2 = reinterpret_cast< wxDC * >(argp2);
11155 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11156 if (!SWIG_IsOK(res3)) {
11157 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
11158 }
11159 arg3 = reinterpret_cast< wxWindow * >(argp3);
11160 ecode4 = SWIG_AsVal_int(obj3, &val4);
11161 if (!SWIG_IsOK(ecode4)) {
11162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
11163 }
11164 arg4 = static_cast< int >(val4);
11165 {
11166 arg5 = &temp5;
11167 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
11168 }
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_Py_Void();
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = 0;
11184 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11185 wxDC *arg2 = 0 ;
11186 wxWindow *arg3 = (wxWindow *) 0 ;
11187 wxString *arg4 = 0 ;
11188 wxRect *arg5 = 0 ;
11189 wxAuiPaneInfo *arg6 = 0 ;
11190 void *argp1 = 0 ;
11191 int res1 = 0 ;
11192 void *argp2 = 0 ;
11193 int res2 = 0 ;
11194 void *argp3 = 0 ;
11195 int res3 = 0 ;
11196 bool temp4 = false ;
11197 wxRect temp5 ;
11198 void *argp6 = 0 ;
11199 int res6 = 0 ;
11200 PyObject * obj0 = 0 ;
11201 PyObject * obj1 = 0 ;
11202 PyObject * obj2 = 0 ;
11203 PyObject * obj3 = 0 ;
11204 PyObject * obj4 = 0 ;
11205 PyObject * obj5 = 0 ;
11206 char * kwnames[] = {
11207 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
11208 };
11209
11210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:AuiDockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
11211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11212 if (!SWIG_IsOK(res1)) {
11213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11214 }
11215 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11216 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11217 if (!SWIG_IsOK(res2)) {
11218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
11219 }
11220 if (!argp2) {
11221 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
11222 }
11223 arg2 = reinterpret_cast< wxDC * >(argp2);
11224 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11225 if (!SWIG_IsOK(res3)) {
11226 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
11227 }
11228 arg3 = reinterpret_cast< wxWindow * >(argp3);
11229 {
11230 arg4 = wxString_in_helper(obj3);
11231 if (arg4 == NULL) SWIG_fail;
11232 temp4 = true;
11233 }
11234 {
11235 arg5 = &temp5;
11236 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
11237 }
11238 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11239 if (!SWIG_IsOK(res6)) {
11240 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'");
11241 }
11242 if (!argp6) {
11243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawCaption" "', expected argument " "6"" of type '" "wxAuiPaneInfo &""'");
11244 }
11245 arg6 = reinterpret_cast< wxAuiPaneInfo * >(argp6);
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_Py_Void();
11253 {
11254 if (temp4)
11255 delete arg4;
11256 }
11257 return resultobj;
11258 fail:
11259 {
11260 if (temp4)
11261 delete arg4;
11262 }
11263 return NULL;
11264 }
11265
11266
11267 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj = 0;
11269 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11270 wxDC *arg2 = 0 ;
11271 wxWindow *arg3 = (wxWindow *) 0 ;
11272 wxRect *arg4 = 0 ;
11273 wxAuiPaneInfo *arg5 = 0 ;
11274 void *argp1 = 0 ;
11275 int res1 = 0 ;
11276 void *argp2 = 0 ;
11277 int res2 = 0 ;
11278 void *argp3 = 0 ;
11279 int res3 = 0 ;
11280 wxRect temp4 ;
11281 void *argp5 = 0 ;
11282 int res5 = 0 ;
11283 PyObject * obj0 = 0 ;
11284 PyObject * obj1 = 0 ;
11285 PyObject * obj2 = 0 ;
11286 PyObject * obj3 = 0 ;
11287 PyObject * obj4 = 0 ;
11288 char * kwnames[] = {
11289 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
11290 };
11291
11292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11296 }
11297 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11298 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11299 if (!SWIG_IsOK(res2)) {
11300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
11301 }
11302 if (!argp2) {
11303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
11304 }
11305 arg2 = reinterpret_cast< wxDC * >(argp2);
11306 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11307 if (!SWIG_IsOK(res3)) {
11308 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
11309 }
11310 arg3 = reinterpret_cast< wxWindow * >(argp3);
11311 {
11312 arg4 = &temp4;
11313 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
11314 }
11315 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11316 if (!SWIG_IsOK(res5)) {
11317 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11318 }
11319 if (!argp5) {
11320 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawGripper" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11321 }
11322 arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5);
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 resultobj = SWIG_Py_Void();
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj = 0;
11338 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11339 wxDC *arg2 = 0 ;
11340 wxWindow *arg3 = (wxWindow *) 0 ;
11341 wxRect *arg4 = 0 ;
11342 wxAuiPaneInfo *arg5 = 0 ;
11343 void *argp1 = 0 ;
11344 int res1 = 0 ;
11345 void *argp2 = 0 ;
11346 int res2 = 0 ;
11347 void *argp3 = 0 ;
11348 int res3 = 0 ;
11349 wxRect temp4 ;
11350 void *argp5 = 0 ;
11351 int res5 = 0 ;
11352 PyObject * obj0 = 0 ;
11353 PyObject * obj1 = 0 ;
11354 PyObject * obj2 = 0 ;
11355 PyObject * obj3 = 0 ;
11356 PyObject * obj4 = 0 ;
11357 char * kwnames[] = {
11358 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
11359 };
11360
11361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:AuiDockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11363 if (!SWIG_IsOK(res1)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11365 }
11366 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11367 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11368 if (!SWIG_IsOK(res2)) {
11369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
11370 }
11371 if (!argp2) {
11372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
11373 }
11374 arg2 = reinterpret_cast< wxDC * >(argp2);
11375 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11376 if (!SWIG_IsOK(res3)) {
11377 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
11378 }
11379 arg3 = reinterpret_cast< wxWindow * >(argp3);
11380 {
11381 arg4 = &temp4;
11382 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
11383 }
11384 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11385 if (!SWIG_IsOK(res5)) {
11386 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11387 }
11388 if (!argp5) {
11389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawBorder" "', expected argument " "5"" of type '" "wxAuiPaneInfo &""'");
11390 }
11391 arg5 = reinterpret_cast< wxAuiPaneInfo * >(argp5);
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 resultobj = SWIG_Py_Void();
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 SWIGINTERN PyObject *_wrap_AuiDockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11406 PyObject *resultobj = 0;
11407 wxAuiDockArt *arg1 = (wxAuiDockArt *) 0 ;
11408 wxDC *arg2 = 0 ;
11409 wxWindow *arg3 = (wxWindow *) 0 ;
11410 int arg4 ;
11411 int arg5 ;
11412 wxRect *arg6 = 0 ;
11413 wxAuiPaneInfo *arg7 = 0 ;
11414 void *argp1 = 0 ;
11415 int res1 = 0 ;
11416 void *argp2 = 0 ;
11417 int res2 = 0 ;
11418 void *argp3 = 0 ;
11419 int res3 = 0 ;
11420 int val4 ;
11421 int ecode4 = 0 ;
11422 int val5 ;
11423 int ecode5 = 0 ;
11424 wxRect temp6 ;
11425 void *argp7 = 0 ;
11426 int res7 = 0 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
11430 PyObject * obj3 = 0 ;
11431 PyObject * obj4 = 0 ;
11432 PyObject * obj5 = 0 ;
11433 PyObject * obj6 = 0 ;
11434 char * kwnames[] = {
11435 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
11436 };
11437
11438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:AuiDockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiDockArt, 0 | 0 );
11440 if (!SWIG_IsOK(res1)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxAuiDockArt *""'");
11442 }
11443 arg1 = reinterpret_cast< wxAuiDockArt * >(argp1);
11444 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
11445 if (!SWIG_IsOK(res2)) {
11446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
11447 }
11448 if (!argp2) {
11449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
11450 }
11451 arg2 = reinterpret_cast< wxDC * >(argp2);
11452 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
11453 if (!SWIG_IsOK(res3)) {
11454 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
11455 }
11456 arg3 = reinterpret_cast< wxWindow * >(argp3);
11457 ecode4 = SWIG_AsVal_int(obj3, &val4);
11458 if (!SWIG_IsOK(ecode4)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
11460 }
11461 arg4 = static_cast< int >(val4);
11462 ecode5 = SWIG_AsVal_int(obj4, &val5);
11463 if (!SWIG_IsOK(ecode5)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
11465 }
11466 arg5 = static_cast< int >(val5);
11467 {
11468 arg6 = &temp6;
11469 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
11470 }
11471 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxAuiPaneInfo, 0 );
11472 if (!SWIG_IsOK(res7)) {
11473 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'");
11474 }
11475 if (!argp7) {
11476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiDockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxAuiPaneInfo &""'");
11477 }
11478 arg7 = reinterpret_cast< wxAuiPaneInfo * >(argp7);
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 resultobj = SWIG_Py_Void();
11486 return resultobj;
11487 fail:
11488 return NULL;
11489 }
11490
11491
11492 SWIGINTERN PyObject *AuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11493 PyObject *obj;
11494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11495 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDockArt, SWIG_NewClientData(obj));
11496 return SWIG_Py_Void();
11497 }
11498
11499 SWIGINTERN PyObject *_wrap_new_AuiDefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11500 PyObject *resultobj = 0;
11501 wxAuiDefaultDockArt *result = 0 ;
11502
11503 if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultDockArt",0,0,0)) SWIG_fail;
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (wxAuiDefaultDockArt *)new wxAuiDefaultDockArt();
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_POINTER_NEW | 0 );
11511 return resultobj;
11512 fail:
11513 return NULL;
11514 }
11515
11516
11517 SWIGINTERN PyObject *AuiDefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11518 PyObject *obj;
11519 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11520 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultDockArt, SWIG_NewClientData(obj));
11521 return SWIG_Py_Void();
11522 }
11523
11524 SWIGINTERN PyObject *AuiDefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11525 return SWIG_Python_InitShadowInstance(args);
11526 }
11527
11528 SWIGINTERN PyObject *_wrap_new_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj = 0;
11530 wxWindow *arg1 = (wxWindow *) 0 ;
11531 wxAuiManager *arg2 = (wxAuiManager *) 0 ;
11532 wxAuiPaneInfo *arg3 = 0 ;
11533 int arg4 = (int) wxID_ANY ;
11534 long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ;
11535 wxAuiFloatingFrame *result = 0 ;
11536 void *argp1 = 0 ;
11537 int res1 = 0 ;
11538 void *argp2 = 0 ;
11539 int res2 = 0 ;
11540 void *argp3 = 0 ;
11541 int res3 = 0 ;
11542 int val4 ;
11543 int ecode4 = 0 ;
11544 long val5 ;
11545 int ecode5 = 0 ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 PyObject * obj2 = 0 ;
11549 PyObject * obj3 = 0 ;
11550 PyObject * obj4 = 0 ;
11551 char * kwnames[] = {
11552 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL
11553 };
11554
11555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_AuiFloatingFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11557 if (!SWIG_IsOK(res1)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
11559 }
11560 arg1 = reinterpret_cast< wxWindow * >(argp1);
11561 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiManager, 0 | 0 );
11562 if (!SWIG_IsOK(res2)) {
11563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_AuiFloatingFrame" "', expected argument " "2"" of type '" "wxAuiManager *""'");
11564 }
11565 arg2 = reinterpret_cast< wxAuiManager * >(argp2);
11566 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
11567 if (!SWIG_IsOK(res3)) {
11568 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
11569 }
11570 if (!argp3) {
11571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AuiFloatingFrame" "', expected argument " "3"" of type '" "wxAuiPaneInfo const &""'");
11572 }
11573 arg3 = reinterpret_cast< wxAuiPaneInfo * >(argp3);
11574 if (obj3) {
11575 ecode4 = SWIG_AsVal_int(obj3, &val4);
11576 if (!SWIG_IsOK(ecode4)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AuiFloatingFrame" "', expected argument " "4"" of type '" "int""'");
11578 }
11579 arg4 = static_cast< int >(val4);
11580 }
11581 if (obj4) {
11582 ecode5 = SWIG_AsVal_long(obj4, &val5);
11583 if (!SWIG_IsOK(ecode5)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiFloatingFrame" "', expected argument " "5"" of type '" "long""'");
11585 }
11586 arg5 = static_cast< long >(val5);
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (wxAuiFloatingFrame *)new wxAuiFloatingFrame(arg1,arg2,(wxAuiPaneInfo const &)*arg3,arg4,arg5);
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_NEW | 0 );
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 SWIGINTERN PyObject *_wrap_delete_AuiFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11602 PyObject *resultobj = 0;
11603 wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 PyObject *swig_obj[1] ;
11607
11608 if (!args) SWIG_fail;
11609 swig_obj[0] = args;
11610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, SWIG_POINTER_DISOWN | 0 );
11611 if (!SWIG_IsOK(res1)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiFloatingFrame" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'");
11613 }
11614 arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1);
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 delete arg1;
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 resultobj = SWIG_Py_Void();
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 SWIGINTERN PyObject *_wrap_AuiFloatingFrame_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj = 0;
11631 wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ;
11632 wxAuiPaneInfo *arg2 = 0 ;
11633 void *argp1 = 0 ;
11634 int res1 = 0 ;
11635 void *argp2 = 0 ;
11636 int res2 = 0 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 char * kwnames[] = {
11640 (char *) "self",(char *) "pane", NULL
11641 };
11642
11643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiFloatingFrame_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
11644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 );
11645 if (!SWIG_IsOK(res1)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "1"" of type '" "wxAuiFloatingFrame *""'");
11647 }
11648 arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1);
11649 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxAuiPaneInfo, 0 | 0);
11650 if (!SWIG_IsOK(res2)) {
11651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'");
11652 }
11653 if (!argp2) {
11654 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiFloatingFrame_SetPaneWindow" "', expected argument " "2"" of type '" "wxAuiPaneInfo const &""'");
11655 }
11656 arg2 = reinterpret_cast< wxAuiPaneInfo * >(argp2);
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->SetPaneWindow((wxAuiPaneInfo const &)*arg2);
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_Py_Void();
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 SWIGINTERN PyObject *_wrap_AuiFloatingFrame_GetOwnerManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11671 PyObject *resultobj = 0;
11672 wxAuiFloatingFrame *arg1 = (wxAuiFloatingFrame *) 0 ;
11673 wxAuiManager *result = 0 ;
11674 void *argp1 = 0 ;
11675 int res1 = 0 ;
11676 PyObject *swig_obj[1] ;
11677
11678 if (!args) SWIG_fail;
11679 swig_obj[0] = args;
11680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiFloatingFrame, 0 | 0 );
11681 if (!SWIG_IsOK(res1)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiFloatingFrame_GetOwnerManager" "', expected argument " "1"" of type '" "wxAuiFloatingFrame const *""'");
11683 }
11684 arg1 = reinterpret_cast< wxAuiFloatingFrame * >(argp1);
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (wxAuiManager *)((wxAuiFloatingFrame const *)arg1)->GetOwnerManager();
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiManager, 0 | 0 );
11692 return resultobj;
11693 fail:
11694 return NULL;
11695 }
11696
11697
11698 SWIGINTERN PyObject *AuiFloatingFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11699 PyObject *obj;
11700 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11701 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiFloatingFrame, SWIG_NewClientData(obj));
11702 return SWIG_Py_Void();
11703 }
11704
11705 SWIGINTERN PyObject *AuiFloatingFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11706 return SWIG_Python_InitShadowInstance(args);
11707 }
11708
11709 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11710 PyObject *resultobj = 0;
11711 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11712 int arg2 = (int) 0 ;
11713 wxAuiNotebookEvent *result = 0 ;
11714 int val1 ;
11715 int ecode1 = 0 ;
11716 int val2 ;
11717 int ecode2 = 0 ;
11718 PyObject * obj0 = 0 ;
11719 PyObject * obj1 = 0 ;
11720 char * kwnames[] = {
11721 (char *) "command_type",(char *) "win_id", NULL
11722 };
11723
11724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11725 if (obj0) {
11726 ecode1 = SWIG_AsVal_int(obj0, &val1);
11727 if (!SWIG_IsOK(ecode1)) {
11728 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11729 }
11730 arg1 = static_cast< wxEventType >(val1);
11731 }
11732 if (obj1) {
11733 ecode2 = SWIG_AsVal_int(obj1, &val2);
11734 if (!SWIG_IsOK(ecode2)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
11736 }
11737 arg2 = static_cast< int >(val2);
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj = 0;
11754 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11755 int arg2 ;
11756 void *argp1 = 0 ;
11757 int res1 = 0 ;
11758 int val2 ;
11759 int ecode2 = 0 ;
11760 PyObject * obj0 = 0 ;
11761 PyObject * obj1 = 0 ;
11762 char * kwnames[] = {
11763 (char *) "self",(char *) "s", NULL
11764 };
11765
11766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11768 if (!SWIG_IsOK(res1)) {
11769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11770 }
11771 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11772 ecode2 = SWIG_AsVal_int(obj1, &val2);
11773 if (!SWIG_IsOK(ecode2)) {
11774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
11775 }
11776 arg2 = static_cast< int >(val2);
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->SetSelection(arg2);
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = SWIG_Py_Void();
11784 return resultobj;
11785 fail:
11786 return NULL;
11787 }
11788
11789
11790 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11791 PyObject *resultobj = 0;
11792 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11793 int result;
11794 void *argp1 = 0 ;
11795 int res1 = 0 ;
11796 PyObject *swig_obj[1] ;
11797
11798 if (!args) SWIG_fail;
11799 swig_obj[0] = args;
11800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11801 if (!SWIG_IsOK(res1)) {
11802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11803 }
11804 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 resultobj = SWIG_From_int(static_cast< int >(result));
11812 return resultobj;
11813 fail:
11814 return NULL;
11815 }
11816
11817
11818 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11819 PyObject *resultobj = 0;
11820 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11821 int arg2 ;
11822 void *argp1 = 0 ;
11823 int res1 = 0 ;
11824 int val2 ;
11825 int ecode2 = 0 ;
11826 PyObject * obj0 = 0 ;
11827 PyObject * obj1 = 0 ;
11828 char * kwnames[] = {
11829 (char *) "self",(char *) "s", NULL
11830 };
11831
11832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11834 if (!SWIG_IsOK(res1)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11836 }
11837 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11838 ecode2 = SWIG_AsVal_int(obj1, &val2);
11839 if (!SWIG_IsOK(ecode2)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
11841 }
11842 arg2 = static_cast< int >(val2);
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetOldSelection(arg2);
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_Py_Void();
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11857 PyObject *resultobj = 0;
11858 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11859 int result;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 PyObject *swig_obj[1] ;
11863
11864 if (!args) SWIG_fail;
11865 swig_obj[0] = args;
11866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11867 if (!SWIG_IsOK(res1)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11869 }
11870 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
11874 wxPyEndAllowThreads(__tstate);
11875 if (PyErr_Occurred()) SWIG_fail;
11876 }
11877 resultobj = SWIG_From_int(static_cast< int >(result));
11878 return resultobj;
11879 fail:
11880 return NULL;
11881 }
11882
11883
11884 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj = 0;
11886 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11887 wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ;
11888 void *argp1 = 0 ;
11889 int res1 = 0 ;
11890 void *argp2 = 0 ;
11891 int res2 = 0 ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 char * kwnames[] = {
11895 (char *) "self",(char *) "s", NULL
11896 };
11897
11898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetDragSource",kwnames,&obj0,&obj1)) SWIG_fail;
11899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11900 if (!SWIG_IsOK(res1)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11902 }
11903 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
11905 if (!SWIG_IsOK(res2)) {
11906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_SetDragSource" "', expected argument " "2"" of type '" "wxAuiNotebook *""'");
11907 }
11908 arg2 = reinterpret_cast< wxAuiNotebook * >(argp2);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 (arg1)->SetDragSource(arg2);
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_Py_Void();
11916 return resultobj;
11917 fail:
11918 return NULL;
11919 }
11920
11921
11922 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetDragSource(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11923 PyObject *resultobj = 0;
11924 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11925 wxAuiNotebook *result = 0 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 PyObject *swig_obj[1] ;
11929
11930 if (!args) SWIG_fail;
11931 swig_obj[0] = args;
11932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11933 if (!SWIG_IsOK(res1)) {
11934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetDragSource" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11935 }
11936 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 result = (wxAuiNotebook *)((wxAuiNotebookEvent const *)arg1)->GetDragSource();
11940 wxPyEndAllowThreads(__tstate);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 }
11943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11951 PyObject *resultobj = 0;
11952 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11953 int arg2 ;
11954 void *argp1 = 0 ;
11955 int res1 = 0 ;
11956 int val2 ;
11957 int ecode2 = 0 ;
11958 PyObject *swig_obj[2] ;
11959
11960 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
11961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11962 if (!SWIG_IsOK(res1)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11964 }
11965 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11966 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11967 if (!SWIG_IsOK(ecode2)) {
11968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
11969 }
11970 arg2 = static_cast< int >(val2);
11971 if (arg1) (arg1)->old_selection = arg2;
11972
11973 resultobj = SWIG_Py_Void();
11974 return resultobj;
11975 fail:
11976 return NULL;
11977 }
11978
11979
11980 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11981 PyObject *resultobj = 0;
11982 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11983 int result;
11984 void *argp1 = 0 ;
11985 int res1 = 0 ;
11986 PyObject *swig_obj[1] ;
11987
11988 if (!args) SWIG_fail;
11989 swig_obj[0] = args;
11990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11991 if (!SWIG_IsOK(res1)) {
11992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11993 }
11994 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11995 result = (int) ((arg1)->old_selection);
11996 resultobj = SWIG_From_int(static_cast< int >(result));
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12004 PyObject *resultobj = 0;
12005 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
12006 int arg2 ;
12007 void *argp1 = 0 ;
12008 int res1 = 0 ;
12009 int val2 ;
12010 int ecode2 = 0 ;
12011 PyObject *swig_obj[2] ;
12012
12013 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
12014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
12015 if (!SWIG_IsOK(res1)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
12017 }
12018 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
12019 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12020 if (!SWIG_IsOK(ecode2)) {
12021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
12022 }
12023 arg2 = static_cast< int >(val2);
12024 if (arg1) (arg1)->selection = arg2;
12025
12026 resultobj = SWIG_Py_Void();
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12034 PyObject *resultobj = 0;
12035 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
12036 int result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 PyObject *swig_obj[1] ;
12040
12041 if (!args) SWIG_fail;
12042 swig_obj[0] = args;
12043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
12044 if (!SWIG_IsOK(res1)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
12046 }
12047 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
12048 result = (int) ((arg1)->selection);
12049 resultobj = SWIG_From_int(static_cast< int >(result));
12050 return resultobj;
12051 fail:
12052 return NULL;
12053 }
12054
12055
12056 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12057 PyObject *resultobj = 0;
12058 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
12059 wxAuiNotebook *arg2 = (wxAuiNotebook *) 0 ;
12060 void *argp1 = 0 ;
12061 int res1 = 0 ;
12062 void *argp2 = 0 ;
12063 int res2 = 0 ;
12064 PyObject *swig_obj[2] ;
12065
12066 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_drag_source_set",2,2,swig_obj)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
12072 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 );
12073 if (!SWIG_IsOK(res2)) {
12074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookEvent_drag_source_set" "', expected argument " "2"" of type '" "wxAuiNotebook *""'");
12075 }
12076 arg2 = reinterpret_cast< wxAuiNotebook * >(argp2);
12077 if (arg1) (arg1)->drag_source = arg2;
12078
12079 resultobj = SWIG_Py_Void();
12080 return resultobj;
12081 fail:
12082 return NULL;
12083 }
12084
12085
12086 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_drag_source_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12087 PyObject *resultobj = 0;
12088 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
12089 wxAuiNotebook *result = 0 ;
12090 void *argp1 = 0 ;
12091 int res1 = 0 ;
12092 PyObject *swig_obj[1] ;
12093
12094 if (!args) SWIG_fail;
12095 swig_obj[0] = args;
12096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
12097 if (!SWIG_IsOK(res1)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_drag_source_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
12099 }
12100 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
12101 result = (wxAuiNotebook *) ((arg1)->drag_source);
12102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12110 PyObject *obj;
12111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12112 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
12113 return SWIG_Py_Void();
12114 }
12115
12116 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12117 return SWIG_Python_InitShadowInstance(args);
12118 }
12119
12120 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12121 PyObject *resultobj = 0;
12122 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12123 wxWindow *arg2 = (wxWindow *) 0 ;
12124 void *argp1 = 0 ;
12125 int res1 = 0 ;
12126 void *argp2 = 0 ;
12127 int res2 = 0 ;
12128 PyObject *swig_obj[2] ;
12129
12130 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
12131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12132 if (!SWIG_IsOK(res1)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12134 }
12135 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12136 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
12137 if (!SWIG_IsOK(res2)) {
12138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
12139 }
12140 arg2 = reinterpret_cast< wxWindow * >(argp2);
12141 if (arg1) (arg1)->window = arg2;
12142
12143 resultobj = SWIG_Py_Void();
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12151 PyObject *resultobj = 0;
12152 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12153 wxWindow *result = 0 ;
12154 void *argp1 = 0 ;
12155 int res1 = 0 ;
12156 PyObject *swig_obj[1] ;
12157
12158 if (!args) SWIG_fail;
12159 swig_obj[0] = args;
12160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12161 if (!SWIG_IsOK(res1)) {
12162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12163 }
12164 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12165 result = (wxWindow *) ((arg1)->window);
12166 {
12167 resultobj = wxPyMake_wxObject(result, 0);
12168 }
12169 return resultobj;
12170 fail:
12171 return NULL;
12172 }
12173
12174
12175 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12176 PyObject *resultobj = 0;
12177 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12178 wxString *arg2 = (wxString *) 0 ;
12179 void *argp1 = 0 ;
12180 int res1 = 0 ;
12181 bool temp2 = false ;
12182 PyObject *swig_obj[2] ;
12183
12184 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
12185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12186 if (!SWIG_IsOK(res1)) {
12187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12188 }
12189 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12190 {
12191 arg2 = wxString_in_helper(swig_obj[1]);
12192 if (arg2 == NULL) SWIG_fail;
12193 temp2 = true;
12194 }
12195 if (arg1) (arg1)->caption = *arg2;
12196
12197 resultobj = SWIG_Py_Void();
12198 {
12199 if (temp2)
12200 delete arg2;
12201 }
12202 return resultobj;
12203 fail:
12204 {
12205 if (temp2)
12206 delete arg2;
12207 }
12208 return NULL;
12209 }
12210
12211
12212 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12213 PyObject *resultobj = 0;
12214 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12215 wxString *result = 0 ;
12216 void *argp1 = 0 ;
12217 int res1 = 0 ;
12218 PyObject *swig_obj[1] ;
12219
12220 if (!args) SWIG_fail;
12221 swig_obj[0] = args;
12222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12223 if (!SWIG_IsOK(res1)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12225 }
12226 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12227 result = (wxString *)& ((arg1)->caption);
12228 {
12229 #if wxUSE_UNICODE
12230 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12231 #else
12232 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12233 #endif
12234 }
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12242 PyObject *resultobj = 0;
12243 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12244 wxBitmap *arg2 = (wxBitmap *) 0 ;
12245 void *argp1 = 0 ;
12246 int res1 = 0 ;
12247 void *argp2 = 0 ;
12248 int res2 = 0 ;
12249 PyObject *swig_obj[2] ;
12250
12251 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
12252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12253 if (!SWIG_IsOK(res1)) {
12254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12255 }
12256 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12257 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12258 if (!SWIG_IsOK(res2)) {
12259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12260 }
12261 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12262 if (arg1) (arg1)->bitmap = *arg2;
12263
12264 resultobj = SWIG_Py_Void();
12265 return resultobj;
12266 fail:
12267 return NULL;
12268 }
12269
12270
12271 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12272 PyObject *resultobj = 0;
12273 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12274 wxBitmap *result = 0 ;
12275 void *argp1 = 0 ;
12276 int res1 = 0 ;
12277 PyObject *swig_obj[1] ;
12278
12279 if (!args) SWIG_fail;
12280 swig_obj[0] = args;
12281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12282 if (!SWIG_IsOK(res1)) {
12283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12284 }
12285 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12286 result = (wxBitmap *)& ((arg1)->bitmap);
12287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12288 return resultobj;
12289 fail:
12290 return NULL;
12291 }
12292
12293
12294 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12295 PyObject *resultobj = 0;
12296 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12297 wxRect *arg2 = (wxRect *) 0 ;
12298 void *argp1 = 0 ;
12299 int res1 = 0 ;
12300 void *argp2 = 0 ;
12301 int res2 = 0 ;
12302 PyObject *swig_obj[2] ;
12303
12304 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
12305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12306 if (!SWIG_IsOK(res1)) {
12307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12308 }
12309 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12310 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12311 if (!SWIG_IsOK(res2)) {
12312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12313 }
12314 arg2 = reinterpret_cast< wxRect * >(argp2);
12315 if (arg1) (arg1)->rect = *arg2;
12316
12317 resultobj = SWIG_Py_Void();
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12325 PyObject *resultobj = 0;
12326 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12327 wxRect *result = 0 ;
12328 void *argp1 = 0 ;
12329 int res1 = 0 ;
12330 PyObject *swig_obj[1] ;
12331
12332 if (!args) SWIG_fail;
12333 swig_obj[0] = args;
12334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12335 if (!SWIG_IsOK(res1)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12337 }
12338 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12339 result = (wxRect *)& ((arg1)->rect);
12340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12348 PyObject *resultobj = 0;
12349 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12350 bool arg2 ;
12351 void *argp1 = 0 ;
12352 int res1 = 0 ;
12353 bool val2 ;
12354 int ecode2 = 0 ;
12355 PyObject *swig_obj[2] ;
12356
12357 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
12358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12359 if (!SWIG_IsOK(res1)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12361 }
12362 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12363 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
12364 if (!SWIG_IsOK(ecode2)) {
12365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
12366 }
12367 arg2 = static_cast< bool >(val2);
12368 if (arg1) (arg1)->active = arg2;
12369
12370 resultobj = SWIG_Py_Void();
12371 return resultobj;
12372 fail:
12373 return NULL;
12374 }
12375
12376
12377 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12378 PyObject *resultobj = 0;
12379 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12380 bool result;
12381 void *argp1 = 0 ;
12382 int res1 = 0 ;
12383 PyObject *swig_obj[1] ;
12384
12385 if (!args) SWIG_fail;
12386 swig_obj[0] = args;
12387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12388 if (!SWIG_IsOK(res1)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12390 }
12391 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12392 result = (bool) ((arg1)->active);
12393 {
12394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12395 }
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12403 PyObject *obj;
12404 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12405 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
12406 return SWIG_Py_Void();
12407 }
12408
12409 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12410 PyObject *resultobj = 0;
12411 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12412 int arg2 ;
12413 void *argp1 = 0 ;
12414 int res1 = 0 ;
12415 int val2 ;
12416 int ecode2 = 0 ;
12417 PyObject *swig_obj[2] ;
12418
12419 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
12420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12421 if (!SWIG_IsOK(res1)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12423 }
12424 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12425 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12426 if (!SWIG_IsOK(ecode2)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
12428 }
12429 arg2 = static_cast< int >(val2);
12430 if (arg1) (arg1)->id = arg2;
12431
12432 resultobj = SWIG_Py_Void();
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12440 PyObject *resultobj = 0;
12441 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12442 int result;
12443 void *argp1 = 0 ;
12444 int res1 = 0 ;
12445 PyObject *swig_obj[1] ;
12446
12447 if (!args) SWIG_fail;
12448 swig_obj[0] = args;
12449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12452 }
12453 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12454 result = (int) ((arg1)->id);
12455 resultobj = SWIG_From_int(static_cast< int >(result));
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12463 PyObject *resultobj = 0;
12464 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12465 int arg2 ;
12466 void *argp1 = 0 ;
12467 int res1 = 0 ;
12468 int val2 ;
12469 int ecode2 = 0 ;
12470 PyObject *swig_obj[2] ;
12471
12472 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
12473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12474 if (!SWIG_IsOK(res1)) {
12475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12476 }
12477 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12478 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12479 if (!SWIG_IsOK(ecode2)) {
12480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
12481 }
12482 arg2 = static_cast< int >(val2);
12483 if (arg1) (arg1)->cur_state = arg2;
12484
12485 resultobj = SWIG_Py_Void();
12486 return resultobj;
12487 fail:
12488 return NULL;
12489 }
12490
12491
12492 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12493 PyObject *resultobj = 0;
12494 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12495 int result;
12496 void *argp1 = 0 ;
12497 int res1 = 0 ;
12498 PyObject *swig_obj[1] ;
12499
12500 if (!args) SWIG_fail;
12501 swig_obj[0] = args;
12502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12503 if (!SWIG_IsOK(res1)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12505 }
12506 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12507 result = (int) ((arg1)->cur_state);
12508 resultobj = SWIG_From_int(static_cast< int >(result));
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12516 PyObject *resultobj = 0;
12517 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12518 int arg2 ;
12519 void *argp1 = 0 ;
12520 int res1 = 0 ;
12521 int val2 ;
12522 int ecode2 = 0 ;
12523 PyObject *swig_obj[2] ;
12524
12525 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail;
12526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12527 if (!SWIG_IsOK(res1)) {
12528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12529 }
12530 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12531 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12532 if (!SWIG_IsOK(ecode2)) {
12533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'");
12534 }
12535 arg2 = static_cast< int >(val2);
12536 if (arg1) (arg1)->location = arg2;
12537
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *resultobj = 0;
12547 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12548 int result;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 PyObject *swig_obj[1] ;
12552
12553 if (!args) SWIG_fail;
12554 swig_obj[0] = args;
12555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12558 }
12559 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12560 result = (int) ((arg1)->location);
12561 resultobj = SWIG_From_int(static_cast< int >(result));
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12569 PyObject *resultobj = 0;
12570 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12571 wxBitmap *arg2 = (wxBitmap *) 0 ;
12572 void *argp1 = 0 ;
12573 int res1 = 0 ;
12574 void *argp2 = 0 ;
12575 int res2 = 0 ;
12576 PyObject *swig_obj[2] ;
12577
12578 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
12579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12580 if (!SWIG_IsOK(res1)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12582 }
12583 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12584 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12585 if (!SWIG_IsOK(res2)) {
12586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12587 }
12588 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12589 if (arg1) (arg1)->bitmap = *arg2;
12590
12591 resultobj = SWIG_Py_Void();
12592 return resultobj;
12593 fail:
12594 return NULL;
12595 }
12596
12597
12598 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12599 PyObject *resultobj = 0;
12600 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12601 wxBitmap *result = 0 ;
12602 void *argp1 = 0 ;
12603 int res1 = 0 ;
12604 PyObject *swig_obj[1] ;
12605
12606 if (!args) SWIG_fail;
12607 swig_obj[0] = args;
12608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12609 if (!SWIG_IsOK(res1)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12611 }
12612 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12613 result = (wxBitmap *)& ((arg1)->bitmap);
12614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12615 return resultobj;
12616 fail:
12617 return NULL;
12618 }
12619
12620
12621 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12622 PyObject *resultobj = 0;
12623 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12624 wxBitmap *arg2 = (wxBitmap *) 0 ;
12625 void *argp1 = 0 ;
12626 int res1 = 0 ;
12627 void *argp2 = 0 ;
12628 int res2 = 0 ;
12629 PyObject *swig_obj[2] ;
12630
12631 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail;
12632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12633 if (!SWIG_IsOK(res1)) {
12634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12635 }
12636 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12637 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12638 if (!SWIG_IsOK(res2)) {
12639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12640 }
12641 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12642 if (arg1) (arg1)->dis_bitmap = *arg2;
12643
12644 resultobj = SWIG_Py_Void();
12645 return resultobj;
12646 fail:
12647 return NULL;
12648 }
12649
12650
12651 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12652 PyObject *resultobj = 0;
12653 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12654 wxBitmap *result = 0 ;
12655 void *argp1 = 0 ;
12656 int res1 = 0 ;
12657 PyObject *swig_obj[1] ;
12658
12659 if (!args) SWIG_fail;
12660 swig_obj[0] = args;
12661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12662 if (!SWIG_IsOK(res1)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12664 }
12665 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12666 result = (wxBitmap *)& ((arg1)->dis_bitmap);
12667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12668 return resultobj;
12669 fail:
12670 return NULL;
12671 }
12672
12673
12674 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12675 PyObject *resultobj = 0;
12676 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12677 wxRect *arg2 = (wxRect *) 0 ;
12678 void *argp1 = 0 ;
12679 int res1 = 0 ;
12680 void *argp2 = 0 ;
12681 int res2 = 0 ;
12682 PyObject *swig_obj[2] ;
12683
12684 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
12685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12686 if (!SWIG_IsOK(res1)) {
12687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12688 }
12689 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12690 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12691 if (!SWIG_IsOK(res2)) {
12692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12693 }
12694 arg2 = reinterpret_cast< wxRect * >(argp2);
12695 if (arg1) (arg1)->rect = *arg2;
12696
12697 resultobj = SWIG_Py_Void();
12698 return resultobj;
12699 fail:
12700 return NULL;
12701 }
12702
12703
12704 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12705 PyObject *resultobj = 0;
12706 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12707 wxRect *result = 0 ;
12708 void *argp1 = 0 ;
12709 int res1 = 0 ;
12710 PyObject *swig_obj[1] ;
12711
12712 if (!args) SWIG_fail;
12713 swig_obj[0] = args;
12714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12715 if (!SWIG_IsOK(res1)) {
12716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12717 }
12718 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12719 result = (wxRect *)& ((arg1)->rect);
12720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12721 return resultobj;
12722 fail:
12723 return NULL;
12724 }
12725
12726
12727 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12728 PyObject *obj;
12729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12730 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
12731 return SWIG_Py_Void();
12732 }
12733
12734 SWIGINTERN PyObject *_wrap_delete_AuiTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12735 PyObject *resultobj = 0;
12736 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12737 void *argp1 = 0 ;
12738 int res1 = 0 ;
12739 PyObject *swig_obj[1] ;
12740
12741 if (!args) SWIG_fail;
12742 swig_obj[0] = args;
12743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, SWIG_POINTER_DISOWN | 0 );
12744 if (!SWIG_IsOK(res1)) {
12745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabArt" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12746 }
12747 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 delete arg1;
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 resultobj = SWIG_Py_Void();
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 SWIGINTERN PyObject *_wrap_AuiTabArt_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12763 PyObject *resultobj = 0;
12764 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12765 wxAuiTabArt *result = 0 ;
12766 void *argp1 = 0 ;
12767 int res1 = 0 ;
12768 PyObject *swig_obj[1] ;
12769
12770 if (!args) SWIG_fail;
12771 swig_obj[0] = args;
12772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12773 if (!SWIG_IsOK(res1)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_Clone" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12775 }
12776 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxAuiTabArt *)(arg1)->Clone();
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12784 return resultobj;
12785 fail:
12786 return NULL;
12787 }
12788
12789
12790 SWIGINTERN PyObject *_wrap_AuiTabArt_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj = 0;
12792 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12793 int arg2 ;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 int val2 ;
12797 int ecode2 = 0 ;
12798 PyObject * obj0 = 0 ;
12799 PyObject * obj1 = 0 ;
12800 char * kwnames[] = {
12801 (char *) "self",(char *) "flags", NULL
12802 };
12803
12804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12806 if (!SWIG_IsOK(res1)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12808 }
12809 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12810 ecode2 = SWIG_AsVal_int(obj1, &val2);
12811 if (!SWIG_IsOK(ecode2)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabArt_SetFlags" "', expected argument " "2"" of type '" "int""'");
12813 }
12814 arg2 = static_cast< int >(val2);
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 (arg1)->SetFlags(arg2);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 resultobj = SWIG_Py_Void();
12822 return resultobj;
12823 fail:
12824 return NULL;
12825 }
12826
12827
12828 SWIGINTERN PyObject *_wrap_AuiTabArt_SetSizingInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12829 PyObject *resultobj = 0;
12830 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12831 wxSize *arg2 = 0 ;
12832 size_t arg3 ;
12833 void *argp1 = 0 ;
12834 int res1 = 0 ;
12835 wxSize temp2 ;
12836 size_t val3 ;
12837 int ecode3 = 0 ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 char * kwnames[] = {
12842 (char *) "self",(char *) "tab_ctrl_size",(char *) "tab_count", NULL
12843 };
12844
12845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabArt_SetSizingInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12847 if (!SWIG_IsOK(res1)) {
12848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12849 }
12850 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12851 {
12852 arg2 = &temp2;
12853 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12854 }
12855 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
12856 if (!SWIG_IsOK(ecode3)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabArt_SetSizingInfo" "', expected argument " "3"" of type '" "size_t""'");
12858 }
12859 arg3 = static_cast< size_t >(val3);
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 (arg1)->SetSizingInfo((wxSize const &)*arg2,arg3);
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = SWIG_Py_Void();
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 SWIGINTERN PyObject *_wrap_AuiTabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj = 0;
12875 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12876 wxFont *arg2 = 0 ;
12877 void *argp1 = 0 ;
12878 int res1 = 0 ;
12879 void *argp2 = 0 ;
12880 int res2 = 0 ;
12881 PyObject * obj0 = 0 ;
12882 PyObject * obj1 = 0 ;
12883 char * kwnames[] = {
12884 (char *) "self",(char *) "font", NULL
12885 };
12886
12887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
12888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12889 if (!SWIG_IsOK(res1)) {
12890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12891 }
12892 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12893 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12894 if (!SWIG_IsOK(res2)) {
12895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12896 }
12897 if (!argp2) {
12898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12899 }
12900 arg2 = reinterpret_cast< wxFont * >(argp2);
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 (arg1)->SetNormalFont((wxFont const &)*arg2);
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = SWIG_Py_Void();
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 SWIGINTERN PyObject *_wrap_AuiTabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj = 0;
12916 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12917 wxFont *arg2 = 0 ;
12918 void *argp1 = 0 ;
12919 int res1 = 0 ;
12920 void *argp2 = 0 ;
12921 int res2 = 0 ;
12922 PyObject * obj0 = 0 ;
12923 PyObject * obj1 = 0 ;
12924 char * kwnames[] = {
12925 (char *) "self",(char *) "font", NULL
12926 };
12927
12928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
12929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12932 }
12933 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12934 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12935 if (!SWIG_IsOK(res2)) {
12936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12937 }
12938 if (!argp2) {
12939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12940 }
12941 arg2 = reinterpret_cast< wxFont * >(argp2);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->SetSelectedFont((wxFont const &)*arg2);
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_Py_Void();
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 SWIGINTERN PyObject *_wrap_AuiTabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj = 0;
12957 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12958 wxFont *arg2 = 0 ;
12959 void *argp1 = 0 ;
12960 int res1 = 0 ;
12961 void *argp2 = 0 ;
12962 int res2 = 0 ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 char * kwnames[] = {
12966 (char *) "self",(char *) "font", NULL
12967 };
12968
12969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
12970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
12971 if (!SWIG_IsOK(res1)) {
12972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
12973 }
12974 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
12975 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12976 if (!SWIG_IsOK(res2)) {
12977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12978 }
12979 if (!argp2) {
12980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12981 }
12982 arg2 = reinterpret_cast< wxFont * >(argp2);
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
12986 wxPyEndAllowThreads(__tstate);
12987 if (PyErr_Occurred()) SWIG_fail;
12988 }
12989 resultobj = SWIG_Py_Void();
12990 return resultobj;
12991 fail:
12992 return NULL;
12993 }
12994
12995
12996 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj = 0;
12998 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
12999 wxDC *arg2 = 0 ;
13000 wxWindow *arg3 = (wxWindow *) 0 ;
13001 wxRect *arg4 = 0 ;
13002 void *argp1 = 0 ;
13003 int res1 = 0 ;
13004 void *argp2 = 0 ;
13005 int res2 = 0 ;
13006 void *argp3 = 0 ;
13007 int res3 = 0 ;
13008 wxRect temp4 ;
13009 PyObject * obj0 = 0 ;
13010 PyObject * obj1 = 0 ;
13011 PyObject * obj2 = 0 ;
13012 PyObject * obj3 = 0 ;
13013 char * kwnames[] = {
13014 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "rect", NULL
13015 };
13016
13017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13019 if (!SWIG_IsOK(res1)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13021 }
13022 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13023 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
13024 if (!SWIG_IsOK(res2)) {
13025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
13026 }
13027 if (!argp2) {
13028 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
13029 }
13030 arg2 = reinterpret_cast< wxDC * >(argp2);
13031 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13032 if (!SWIG_IsOK(res3)) {
13033 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
13034 }
13035 arg3 = reinterpret_cast< wxWindow * >(argp3);
13036 {
13037 arg4 = &temp4;
13038 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
13039 }
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4);
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 resultobj = SWIG_Py_Void();
13047 return resultobj;
13048 fail:
13049 return NULL;
13050 }
13051
13052
13053 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj = 0;
13055 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13056 wxDC *arg2 = 0 ;
13057 wxWindow *arg3 = (wxWindow *) 0 ;
13058 wxRect *arg4 = 0 ;
13059 wxString *arg5 = 0 ;
13060 wxBitmap *arg6 = 0 ;
13061 bool arg7 ;
13062 int arg8 ;
13063 wxRect *arg9 = (wxRect *) 0 ;
13064 wxRect *arg10 = (wxRect *) 0 ;
13065 int *arg11 = (int *) 0 ;
13066 void *argp1 = 0 ;
13067 int res1 = 0 ;
13068 void *argp2 = 0 ;
13069 int res2 = 0 ;
13070 void *argp3 = 0 ;
13071 int res3 = 0 ;
13072 wxRect temp4 ;
13073 bool temp5 = false ;
13074 void *argp6 = 0 ;
13075 int res6 = 0 ;
13076 bool val7 ;
13077 int ecode7 = 0 ;
13078 int val8 ;
13079 int ecode8 = 0 ;
13080 void *argp9 = 0 ;
13081 int res9 = 0 ;
13082 void *argp10 = 0 ;
13083 int res10 = 0 ;
13084 void *argp11 = 0 ;
13085 int res11 = 0 ;
13086 PyObject * obj0 = 0 ;
13087 PyObject * obj1 = 0 ;
13088 PyObject * obj2 = 0 ;
13089 PyObject * obj3 = 0 ;
13090 PyObject * obj4 = 0 ;
13091 PyObject * obj5 = 0 ;
13092 PyObject * obj6 = 0 ;
13093 PyObject * obj7 = 0 ;
13094 PyObject * obj8 = 0 ;
13095 PyObject * obj9 = 0 ;
13096 PyObject * obj10 = 0 ;
13097 char * kwnames[] = {
13098 (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
13099 };
13100
13101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOOOO:AuiTabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
13102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13103 if (!SWIG_IsOK(res1)) {
13104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawTab" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13105 }
13106 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13107 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
13108 if (!SWIG_IsOK(res2)) {
13109 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'");
13110 }
13111 if (!argp2) {
13112 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC &""'");
13113 }
13114 arg2 = reinterpret_cast< wxDC * >(argp2);
13115 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13116 if (!SWIG_IsOK(res3)) {
13117 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawTab" "', expected argument " "3"" of type '" "wxWindow *""'");
13118 }
13119 arg3 = reinterpret_cast< wxWindow * >(argp3);
13120 {
13121 arg4 = &temp4;
13122 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
13123 }
13124 {
13125 arg5 = wxString_in_helper(obj4);
13126 if (arg5 == NULL) SWIG_fail;
13127 temp5 = true;
13128 }
13129 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
13130 if (!SWIG_IsOK(res6)) {
13131 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'");
13132 }
13133 if (!argp6) {
13134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawTab" "', expected argument " "6"" of type '" "wxBitmap const &""'");
13135 }
13136 arg6 = reinterpret_cast< wxBitmap * >(argp6);
13137 ecode7 = SWIG_AsVal_bool(obj6, &val7);
13138 if (!SWIG_IsOK(ecode7)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawTab" "', expected argument " "7"" of type '" "bool""'");
13140 }
13141 arg7 = static_cast< bool >(val7);
13142 ecode8 = SWIG_AsVal_int(obj7, &val8);
13143 if (!SWIG_IsOK(ecode8)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "AuiTabArt_DrawTab" "', expected argument " "8"" of type '" "int""'");
13145 }
13146 arg8 = static_cast< int >(val8);
13147 res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 );
13148 if (!SWIG_IsOK(res9)) {
13149 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawTab" "', expected argument " "9"" of type '" "wxRect *""'");
13150 }
13151 arg9 = reinterpret_cast< wxRect * >(argp9);
13152 res10 = SWIG_ConvertPtr(obj9, &argp10,SWIGTYPE_p_wxRect, 0 | 0 );
13153 if (!SWIG_IsOK(res10)) {
13154 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "AuiTabArt_DrawTab" "', expected argument " "10"" of type '" "wxRect *""'");
13155 }
13156 arg10 = reinterpret_cast< wxRect * >(argp10);
13157 res11 = SWIG_ConvertPtr(obj10, &argp11,SWIGTYPE_p_int, 0 | 0 );
13158 if (!SWIG_IsOK(res11)) {
13159 SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "AuiTabArt_DrawTab" "', expected argument " "11"" of type '" "int *""'");
13160 }
13161 arg11 = reinterpret_cast< int * >(argp11);
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->DrawTab(*arg2,arg3,(wxRect const &)*arg4,(wxString const &)*arg5,(wxBitmap const &)*arg6,arg7,arg8,arg9,arg10,arg11);
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
13168 resultobj = SWIG_Py_Void();
13169 {
13170 if (temp5)
13171 delete arg5;
13172 }
13173 return resultobj;
13174 fail:
13175 {
13176 if (temp5)
13177 delete arg5;
13178 }
13179 return NULL;
13180 }
13181
13182
13183 SWIGINTERN PyObject *_wrap_AuiTabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13186 wxDC *arg2 = 0 ;
13187 wxWindow *arg3 = (wxWindow *) 0 ;
13188 wxRect *arg4 = 0 ;
13189 int arg5 ;
13190 int arg6 ;
13191 int arg7 ;
13192 wxBitmap *arg8 = 0 ;
13193 wxRect *arg9 = (wxRect *) 0 ;
13194 void *argp1 = 0 ;
13195 int res1 = 0 ;
13196 void *argp2 = 0 ;
13197 int res2 = 0 ;
13198 void *argp3 = 0 ;
13199 int res3 = 0 ;
13200 wxRect temp4 ;
13201 int val5 ;
13202 int ecode5 = 0 ;
13203 int val6 ;
13204 int ecode6 = 0 ;
13205 int val7 ;
13206 int ecode7 = 0 ;
13207 void *argp8 = 0 ;
13208 int res8 = 0 ;
13209 void *argp9 = 0 ;
13210 int res9 = 0 ;
13211 PyObject * obj0 = 0 ;
13212 PyObject * obj1 = 0 ;
13213 PyObject * obj2 = 0 ;
13214 PyObject * obj3 = 0 ;
13215 PyObject * obj4 = 0 ;
13216 PyObject * obj5 = 0 ;
13217 PyObject * obj6 = 0 ;
13218 PyObject * obj7 = 0 ;
13219 PyObject * obj8 = 0 ;
13220 char * kwnames[] = {
13221 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL
13222 };
13223
13224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOOO:AuiTabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
13225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13226 if (!SWIG_IsOK(res1)) {
13227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_DrawButton" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13228 }
13229 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
13231 if (!SWIG_IsOK(res2)) {
13232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'");
13233 }
13234 if (!argp2) {
13235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC &""'");
13236 }
13237 arg2 = reinterpret_cast< wxDC * >(argp2);
13238 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13239 if (!SWIG_IsOK(res3)) {
13240 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_DrawButton" "', expected argument " "3"" of type '" "wxWindow *""'");
13241 }
13242 arg3 = reinterpret_cast< wxWindow * >(argp3);
13243 {
13244 arg4 = &temp4;
13245 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
13246 }
13247 ecode5 = SWIG_AsVal_int(obj4, &val5);
13248 if (!SWIG_IsOK(ecode5)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiTabArt_DrawButton" "', expected argument " "5"" of type '" "int""'");
13250 }
13251 arg5 = static_cast< int >(val5);
13252 ecode6 = SWIG_AsVal_int(obj5, &val6);
13253 if (!SWIG_IsOK(ecode6)) {
13254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_DrawButton" "', expected argument " "6"" of type '" "int""'");
13255 }
13256 arg6 = static_cast< int >(val6);
13257 ecode7 = SWIG_AsVal_int(obj6, &val7);
13258 if (!SWIG_IsOK(ecode7)) {
13259 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_DrawButton" "', expected argument " "7"" of type '" "int""'");
13260 }
13261 arg7 = static_cast< int >(val7);
13262 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxBitmap, 0 | 0);
13263 if (!SWIG_IsOK(res8)) {
13264 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'");
13265 }
13266 if (!argp8) {
13267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_DrawButton" "', expected argument " "8"" of type '" "wxBitmap const &""'");
13268 }
13269 arg8 = reinterpret_cast< wxBitmap * >(argp8);
13270 res9 = SWIG_ConvertPtr(obj8, &argp9,SWIGTYPE_p_wxRect, 0 | 0 );
13271 if (!SWIG_IsOK(res9)) {
13272 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "AuiTabArt_DrawButton" "', expected argument " "9"" of type '" "wxRect *""'");
13273 }
13274 arg9 = reinterpret_cast< wxRect * >(argp9);
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 (arg1)->DrawButton(*arg2,arg3,(wxRect const &)*arg4,arg5,arg6,arg7,(wxBitmap const &)*arg8,arg9);
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 resultobj = SWIG_Py_Void();
13282 return resultobj;
13283 fail:
13284 return NULL;
13285 }
13286
13287
13288 SWIGINTERN PyObject *_wrap_AuiTabArt_GetIndentSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13289 PyObject *resultobj = 0;
13290 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13291 int result;
13292 void *argp1 = 0 ;
13293 int res1 = 0 ;
13294 PyObject *swig_obj[1] ;
13295
13296 if (!args) SWIG_fail;
13297 swig_obj[0] = args;
13298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13299 if (!SWIG_IsOK(res1)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetIndentSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13301 }
13302 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (int)(arg1)->GetIndentSize();
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 resultobj = SWIG_From_int(static_cast< int >(result));
13310 return resultobj;
13311 fail:
13312 return NULL;
13313 }
13314
13315
13316 SWIGINTERN PyObject *_wrap_AuiTabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj = 0;
13318 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13319 wxDC *arg2 = 0 ;
13320 wxWindow *arg3 = (wxWindow *) 0 ;
13321 wxString *arg4 = 0 ;
13322 wxBitmap *arg5 = 0 ;
13323 bool arg6 ;
13324 int arg7 ;
13325 int *arg8 = (int *) 0 ;
13326 wxSize result;
13327 void *argp1 = 0 ;
13328 int res1 = 0 ;
13329 void *argp2 = 0 ;
13330 int res2 = 0 ;
13331 void *argp3 = 0 ;
13332 int res3 = 0 ;
13333 bool temp4 = false ;
13334 void *argp5 = 0 ;
13335 int res5 = 0 ;
13336 bool val6 ;
13337 int ecode6 = 0 ;
13338 int val7 ;
13339 int ecode7 = 0 ;
13340 void *argp8 = 0 ;
13341 int res8 = 0 ;
13342 PyObject * obj0 = 0 ;
13343 PyObject * obj1 = 0 ;
13344 PyObject * obj2 = 0 ;
13345 PyObject * obj3 = 0 ;
13346 PyObject * obj4 = 0 ;
13347 PyObject * obj5 = 0 ;
13348 PyObject * obj6 = 0 ;
13349 PyObject * obj7 = 0 ;
13350 char * kwnames[] = {
13351 (char *) "self",(char *) "dc",(char *) "wnd",(char *) "caption",(char *) "bitmap",(char *) "active",(char *) "close_button_state",(char *) "x_extent", NULL
13352 };
13353
13354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:AuiTabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
13355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13356 if (!SWIG_IsOK(res1)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13358 }
13359 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13360 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
13361 if (!SWIG_IsOK(res2)) {
13362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'");
13363 }
13364 if (!argp2) {
13365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC &""'");
13366 }
13367 arg2 = reinterpret_cast< wxDC * >(argp2);
13368 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13369 if (!SWIG_IsOK(res3)) {
13370 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "3"" of type '" "wxWindow *""'");
13371 }
13372 arg3 = reinterpret_cast< wxWindow * >(argp3);
13373 {
13374 arg4 = wxString_in_helper(obj3);
13375 if (arg4 == NULL) SWIG_fail;
13376 temp4 = true;
13377 }
13378 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
13379 if (!SWIG_IsOK(res5)) {
13380 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13381 }
13382 if (!argp5) {
13383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetTabSize" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13384 }
13385 arg5 = reinterpret_cast< wxBitmap * >(argp5);
13386 ecode6 = SWIG_AsVal_bool(obj5, &val6);
13387 if (!SWIG_IsOK(ecode6)) {
13388 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "6"" of type '" "bool""'");
13389 }
13390 arg6 = static_cast< bool >(val6);
13391 ecode7 = SWIG_AsVal_int(obj6, &val7);
13392 if (!SWIG_IsOK(ecode7)) {
13393 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "7"" of type '" "int""'");
13394 }
13395 arg7 = static_cast< int >(val7);
13396 res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_int, 0 | 0 );
13397 if (!SWIG_IsOK(res8)) {
13398 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "AuiTabArt_GetTabSize" "', expected argument " "8"" of type '" "int *""'");
13399 }
13400 arg8 = reinterpret_cast< int * >(argp8);
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (arg1)->GetTabSize(*arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,arg6,arg7,arg8);
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
13408 {
13409 if (temp4)
13410 delete arg4;
13411 }
13412 return resultobj;
13413 fail:
13414 {
13415 if (temp4)
13416 delete arg4;
13417 }
13418 return NULL;
13419 }
13420
13421
13422 SWIGINTERN PyObject *_wrap_AuiTabArt_ShowWindowList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj = 0;
13424 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13425 wxWindow *arg2 = (wxWindow *) 0 ;
13426 wxArrayString *arg3 = 0 ;
13427 int arg4 ;
13428 int result;
13429 void *argp1 = 0 ;
13430 int res1 = 0 ;
13431 void *argp2 = 0 ;
13432 int res2 = 0 ;
13433 bool temp3 = false ;
13434 int val4 ;
13435 int ecode4 = 0 ;
13436 PyObject * obj0 = 0 ;
13437 PyObject * obj1 = 0 ;
13438 PyObject * obj2 = 0 ;
13439 PyObject * obj3 = 0 ;
13440 char * kwnames[] = {
13441 (char *) "self",(char *) "wnd",(char *) "items",(char *) "active_idx", NULL
13442 };
13443
13444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_ShowWindowList",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13446 if (!SWIG_IsOK(res1)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13448 }
13449 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13451 if (!SWIG_IsOK(res2)) {
13452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "2"" of type '" "wxWindow *""'");
13453 }
13454 arg2 = reinterpret_cast< wxWindow * >(argp2);
13455 {
13456 if (! PySequence_Check(obj2)) {
13457 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13458 SWIG_fail;
13459 }
13460 arg3 = new wxArrayString;
13461 temp3 = true;
13462 int i, len=PySequence_Length(obj2);
13463 for (i=0; i<len; i++) {
13464 PyObject* item = PySequence_GetItem(obj2, i);
13465 wxString* s = wxString_in_helper(item);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 arg3->Add(*s);
13468 delete s;
13469 Py_DECREF(item);
13470 }
13471 }
13472 ecode4 = SWIG_AsVal_int(obj3, &val4);
13473 if (!SWIG_IsOK(ecode4)) {
13474 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabArt_ShowWindowList" "', expected argument " "4"" of type '" "int""'");
13475 }
13476 arg4 = static_cast< int >(val4);
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 result = (int)(arg1)->ShowWindowList(arg2,(wxArrayString const &)*arg3,arg4);
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 resultobj = SWIG_From_int(static_cast< int >(result));
13484 {
13485 if (temp3) delete arg3;
13486 }
13487 return resultobj;
13488 fail:
13489 {
13490 if (temp3) delete arg3;
13491 }
13492 return NULL;
13493 }
13494
13495
13496 SWIGINTERN PyObject *_wrap_AuiTabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13497 PyObject *resultobj = 0;
13498 wxAuiTabArt *arg1 = (wxAuiTabArt *) 0 ;
13499 wxWindow *arg2 = (wxWindow *) 0 ;
13500 wxAuiNotebookPageArray *arg3 = 0 ;
13501 wxSize *arg4 = 0 ;
13502 int result;
13503 void *argp1 = 0 ;
13504 int res1 = 0 ;
13505 void *argp2 = 0 ;
13506 int res2 = 0 ;
13507 void *argp3 = 0 ;
13508 int res3 = 0 ;
13509 wxSize temp4 ;
13510 PyObject * obj0 = 0 ;
13511 PyObject * obj1 = 0 ;
13512 PyObject * obj2 = 0 ;
13513 PyObject * obj3 = 0 ;
13514 char * kwnames[] = {
13515 (char *) "self",(char *) "wnd",(char *) "pages",(char *) "required_bmp_size", NULL
13516 };
13517
13518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13520 if (!SWIG_IsOK(res1)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxAuiTabArt *""'");
13522 }
13523 arg1 = reinterpret_cast< wxAuiTabArt * >(argp1);
13524 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13525 if (!SWIG_IsOK(res2)) {
13526 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'");
13527 }
13528 arg2 = reinterpret_cast< wxWindow * >(argp2);
13529 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPageArray, 0 );
13530 if (!SWIG_IsOK(res3)) {
13531 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'");
13532 }
13533 if (!argp3) {
13534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabArt_GetBestTabCtrlSize" "', expected argument " "3"" of type '" "wxAuiNotebookPageArray &""'");
13535 }
13536 arg3 = reinterpret_cast< wxAuiNotebookPageArray * >(argp3);
13537 {
13538 arg4 = &temp4;
13539 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 result = (int)(arg1)->GetBestTabCtrlSize(arg2,*arg3,(wxSize const &)*arg4);
13544 wxPyEndAllowThreads(__tstate);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 resultobj = SWIG_From_int(static_cast< int >(result));
13548 return resultobj;
13549 fail:
13550 return NULL;
13551 }
13552
13553
13554 SWIGINTERN PyObject *AuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13555 PyObject *obj;
13556 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13557 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabArt, SWIG_NewClientData(obj));
13558 return SWIG_Py_Void();
13559 }
13560
13561 SWIGINTERN PyObject *_wrap_new_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13562 PyObject *resultobj = 0;
13563 wxAuiDefaultTabArt *result = 0 ;
13564
13565 if (!SWIG_Python_UnpackTuple(args,"new_AuiDefaultTabArt",0,0,0)) SWIG_fail;
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (wxAuiDefaultTabArt *)new wxAuiDefaultTabArt();
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_NEW | 0 );
13573 return resultobj;
13574 fail:
13575 return NULL;
13576 }
13577
13578
13579 SWIGINTERN PyObject *_wrap_delete_AuiDefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13580 PyObject *resultobj = 0;
13581 wxAuiDefaultTabArt *arg1 = (wxAuiDefaultTabArt *) 0 ;
13582 void *argp1 = 0 ;
13583 int res1 = 0 ;
13584 PyObject *swig_obj[1] ;
13585
13586 if (!args) SWIG_fail;
13587 swig_obj[0] = args;
13588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_POINTER_DISOWN | 0 );
13589 if (!SWIG_IsOK(res1)) {
13590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiDefaultTabArt" "', expected argument " "1"" of type '" "wxAuiDefaultTabArt *""'");
13591 }
13592 arg1 = reinterpret_cast< wxAuiDefaultTabArt * >(argp1);
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 delete arg1;
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 resultobj = SWIG_Py_Void();
13601 return resultobj;
13602 fail:
13603 return NULL;
13604 }
13605
13606
13607 SWIGINTERN PyObject *AuiDefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13608 PyObject *obj;
13609 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13610 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiDefaultTabArt, SWIG_NewClientData(obj));
13611 return SWIG_Py_Void();
13612 }
13613
13614 SWIGINTERN PyObject *AuiDefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13615 return SWIG_Python_InitShadowInstance(args);
13616 }
13617
13618 SWIGINTERN PyObject *_wrap_new_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13619 PyObject *resultobj = 0;
13620 wxAuiSimpleTabArt *result = 0 ;
13621
13622 if (!SWIG_Python_UnpackTuple(args,"new_AuiSimpleTabArt",0,0,0)) SWIG_fail;
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 result = (wxAuiSimpleTabArt *)new wxAuiSimpleTabArt();
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_NEW | 0 );
13630 return resultobj;
13631 fail:
13632 return NULL;
13633 }
13634
13635
13636 SWIGINTERN PyObject *_wrap_delete_AuiSimpleTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13637 PyObject *resultobj = 0;
13638 wxAuiSimpleTabArt *arg1 = (wxAuiSimpleTabArt *) 0 ;
13639 void *argp1 = 0 ;
13640 int res1 = 0 ;
13641 PyObject *swig_obj[1] ;
13642
13643 if (!args) SWIG_fail;
13644 swig_obj[0] = args;
13645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_POINTER_DISOWN | 0 );
13646 if (!SWIG_IsOK(res1)) {
13647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiSimpleTabArt" "', expected argument " "1"" of type '" "wxAuiSimpleTabArt *""'");
13648 }
13649 arg1 = reinterpret_cast< wxAuiSimpleTabArt * >(argp1);
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 delete arg1;
13653
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 resultobj = SWIG_Py_Void();
13658 return resultobj;
13659 fail:
13660 return NULL;
13661 }
13662
13663
13664 SWIGINTERN PyObject *AuiSimpleTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13665 PyObject *obj;
13666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13667 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiSimpleTabArt, SWIG_NewClientData(obj));
13668 return SWIG_Py_Void();
13669 }
13670
13671 SWIGINTERN PyObject *AuiSimpleTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13672 return SWIG_Python_InitShadowInstance(args);
13673 }
13674
13675 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13676 PyObject *resultobj = 0;
13677 wxAuiTabContainer *result = 0 ;
13678
13679 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (wxAuiTabContainer *)new wxAuiTabContainer();
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13694 PyObject *resultobj = 0;
13695 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13696 void *argp1 = 0 ;
13697 int res1 = 0 ;
13698 PyObject *swig_obj[1] ;
13699
13700 if (!args) SWIG_fail;
13701 swig_obj[0] = args;
13702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
13703 if (!SWIG_IsOK(res1)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13705 }
13706 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13707 {
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 delete arg1;
13710
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 resultobj = SWIG_Py_Void();
13715 return resultobj;
13716 fail:
13717 return NULL;
13718 }
13719
13720
13721 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj = 0;
13723 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13724 wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ;
13725 void *argp1 = 0 ;
13726 int res1 = 0 ;
13727 void *argp2 = 0 ;
13728 int res2 = 0 ;
13729 PyObject * obj0 = 0 ;
13730 PyObject * obj1 = 0 ;
13731 char * kwnames[] = {
13732 (char *) "self",(char *) "art", NULL
13733 };
13734
13735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
13736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13737 if (!SWIG_IsOK(res1)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13739 }
13740 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13741 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13742 if (!SWIG_IsOK(res2)) {
13743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'");
13744 }
13745 arg2 = reinterpret_cast< wxAuiTabArt * >(argp2);
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 (arg1)->SetArtProvider(arg2);
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 resultobj = SWIG_Py_Void();
13753 return resultobj;
13754 fail:
13755 return NULL;
13756 }
13757
13758
13759 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13760 PyObject *resultobj = 0;
13761 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13762 wxAuiTabArt *result = 0 ;
13763 void *argp1 = 0 ;
13764 int res1 = 0 ;
13765 PyObject *swig_obj[1] ;
13766
13767 if (!args) SWIG_fail;
13768 swig_obj[0] = args;
13769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13770 if (!SWIG_IsOK(res1)) {
13771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13772 }
13773 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13774 {
13775 PyThreadState* __tstate = wxPyBeginAllowThreads();
13776 result = (wxAuiTabArt *)((wxAuiTabContainer const *)arg1)->GetArtProvider();
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj = 0;
13789 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13790 int arg2 ;
13791 void *argp1 = 0 ;
13792 int res1 = 0 ;
13793 int val2 ;
13794 int ecode2 = 0 ;
13795 PyObject * obj0 = 0 ;
13796 PyObject * obj1 = 0 ;
13797 char * kwnames[] = {
13798 (char *) "self",(char *) "flags", NULL
13799 };
13800
13801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
13802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13803 if (!SWIG_IsOK(res1)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13805 }
13806 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13807 ecode2 = SWIG_AsVal_int(obj1, &val2);
13808 if (!SWIG_IsOK(ecode2)) {
13809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetFlags" "', expected argument " "2"" of type '" "int""'");
13810 }
13811 arg2 = static_cast< int >(val2);
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
13814 (arg1)->SetFlags(arg2);
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = SWIG_Py_Void();
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13826 PyObject *resultobj = 0;
13827 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13828 int result;
13829 void *argp1 = 0 ;
13830 int res1 = 0 ;
13831 PyObject *swig_obj[1] ;
13832
13833 if (!args) SWIG_fail;
13834 swig_obj[0] = args;
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_GetFlags" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13838 }
13839 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (int)((wxAuiTabContainer const *)arg1)->GetFlags();
13843 wxPyEndAllowThreads(__tstate);
13844 if (PyErr_Occurred()) SWIG_fail;
13845 }
13846 resultobj = SWIG_From_int(static_cast< int >(result));
13847 return resultobj;
13848 fail:
13849 return NULL;
13850 }
13851
13852
13853 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13854 PyObject *resultobj = 0;
13855 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13856 wxWindow *arg2 = (wxWindow *) 0 ;
13857 wxAuiNotebookPage *arg3 = 0 ;
13858 bool result;
13859 void *argp1 = 0 ;
13860 int res1 = 0 ;
13861 void *argp2 = 0 ;
13862 int res2 = 0 ;
13863 void *argp3 = 0 ;
13864 int res3 = 0 ;
13865 PyObject * obj0 = 0 ;
13866 PyObject * obj1 = 0 ;
13867 PyObject * obj2 = 0 ;
13868 char * kwnames[] = {
13869 (char *) "self",(char *) "page",(char *) "info", NULL
13870 };
13871
13872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13874 if (!SWIG_IsOK(res1)) {
13875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13876 }
13877 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13879 if (!SWIG_IsOK(res2)) {
13880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
13881 }
13882 arg2 = reinterpret_cast< wxWindow * >(argp2);
13883 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
13884 if (!SWIG_IsOK(res3)) {
13885 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13886 }
13887 if (!argp3) {
13888 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13889 }
13890 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
13891 {
13892 PyThreadState* __tstate = wxPyBeginAllowThreads();
13893 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 {
13898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13899 }
13900 return resultobj;
13901 fail:
13902 return NULL;
13903 }
13904
13905
13906 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj = 0;
13908 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13909 wxWindow *arg2 = (wxWindow *) 0 ;
13910 wxAuiNotebookPage *arg3 = 0 ;
13911 size_t arg4 ;
13912 bool result;
13913 void *argp1 = 0 ;
13914 int res1 = 0 ;
13915 void *argp2 = 0 ;
13916 int res2 = 0 ;
13917 void *argp3 = 0 ;
13918 int res3 = 0 ;
13919 size_t val4 ;
13920 int ecode4 = 0 ;
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 PyObject * obj2 = 0 ;
13924 PyObject * obj3 = 0 ;
13925 char * kwnames[] = {
13926 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
13927 };
13928
13929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13933 }
13934 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13935 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13936 if (!SWIG_IsOK(res2)) {
13937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
13938 }
13939 arg2 = reinterpret_cast< wxWindow * >(argp2);
13940 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
13941 if (!SWIG_IsOK(res3)) {
13942 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13943 }
13944 if (!argp3) {
13945 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
13946 }
13947 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
13948 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
13949 if (!SWIG_IsOK(ecode4)) {
13950 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
13951 }
13952 arg4 = static_cast< size_t >(val4);
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
13959 {
13960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13961 }
13962 return resultobj;
13963 fail:
13964 return NULL;
13965 }
13966
13967
13968 SWIGINTERN PyObject *_wrap_AuiTabContainer_MovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj = 0;
13970 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13971 wxWindow *arg2 = (wxWindow *) 0 ;
13972 size_t arg3 ;
13973 bool result;
13974 void *argp1 = 0 ;
13975 int res1 = 0 ;
13976 void *argp2 = 0 ;
13977 int res2 = 0 ;
13978 size_t val3 ;
13979 int ecode3 = 0 ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj2 = 0 ;
13983 char * kwnames[] = {
13984 (char *) "self",(char *) "page",(char *) "new_idx", NULL
13985 };
13986
13987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_MovePage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13989 if (!SWIG_IsOK(res1)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_MovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13991 }
13992 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13994 if (!SWIG_IsOK(res2)) {
13995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_MovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
13996 }
13997 arg2 = reinterpret_cast< wxWindow * >(argp2);
13998 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13999 if (!SWIG_IsOK(ecode3)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_MovePage" "', expected argument " "3"" of type '" "size_t""'");
14001 }
14002 arg3 = static_cast< size_t >(val3);
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (bool)(arg1)->MovePage(arg2,arg3);
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 {
14010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14011 }
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj = 0;
14020 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14021 wxWindow *arg2 = (wxWindow *) 0 ;
14022 bool result;
14023 void *argp1 = 0 ;
14024 int res1 = 0 ;
14025 void *argp2 = 0 ;
14026 int res2 = 0 ;
14027 PyObject * obj0 = 0 ;
14028 PyObject * obj1 = 0 ;
14029 char * kwnames[] = {
14030 (char *) "self",(char *) "page", NULL
14031 };
14032
14033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
14034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14035 if (!SWIG_IsOK(res1)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14037 }
14038 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14039 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14040 if (!SWIG_IsOK(res2)) {
14041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
14042 }
14043 arg2 = reinterpret_cast< wxWindow * >(argp2);
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (bool)(arg1)->RemovePage(arg2);
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 {
14051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14052 }
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
14060 PyObject *resultobj = 0;
14061 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14062 wxWindow *arg2 = (wxWindow *) 0 ;
14063 bool result;
14064 void *argp1 = 0 ;
14065 int res1 = 0 ;
14066 void *argp2 = 0 ;
14067 int res2 = 0 ;
14068
14069 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
14070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14071 if (!SWIG_IsOK(res1)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14073 }
14074 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14075 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14076 if (!SWIG_IsOK(res2)) {
14077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
14078 }
14079 arg2 = reinterpret_cast< wxWindow * >(argp2);
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = (bool)(arg1)->SetActivePage(arg2);
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14088 }
14089 return resultobj;
14090 fail:
14091 return NULL;
14092 }
14093
14094
14095 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
14096 PyObject *resultobj = 0;
14097 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14098 size_t arg2 ;
14099 bool result;
14100 void *argp1 = 0 ;
14101 int res1 = 0 ;
14102 size_t val2 ;
14103 int ecode2 = 0 ;
14104
14105 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
14106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14107 if (!SWIG_IsOK(res1)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14109 }
14110 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14111 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
14112 if (!SWIG_IsOK(ecode2)) {
14113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
14114 }
14115 arg2 = static_cast< size_t >(val2);
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 result = (bool)(arg1)->SetActivePage(arg2);
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 {
14123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14124 }
14125 return resultobj;
14126 fail:
14127 return NULL;
14128 }
14129
14130
14131 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
14132 int argc;
14133 PyObject *argv[3];
14134
14135 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
14136 --argc;
14137 if (argc == 2) {
14138 int _v = 0;
14139 {
14140 void *vptr = 0;
14141 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
14142 _v = SWIG_CheckState(res);
14143 }
14144 if (!_v) goto check_1;
14145 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
14146 }
14147 check_1:
14148
14149 if (argc == 2) {
14150 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
14151 }
14152
14153 fail:
14154 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
14155 return NULL;
14156 }
14157
14158
14159 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14160 PyObject *resultobj = 0;
14161 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14162 void *argp1 = 0 ;
14163 int res1 = 0 ;
14164 PyObject *swig_obj[1] ;
14165
14166 if (!args) SWIG_fail;
14167 swig_obj[0] = args;
14168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14169 if (!SWIG_IsOK(res1)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14171 }
14172 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14173 {
14174 PyThreadState* __tstate = wxPyBeginAllowThreads();
14175 (arg1)->SetNoneActive();
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 resultobj = SWIG_Py_Void();
14180 return resultobj;
14181 fail:
14182 return NULL;
14183 }
14184
14185
14186 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14187 PyObject *resultobj = 0;
14188 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14189 int result;
14190 void *argp1 = 0 ;
14191 int res1 = 0 ;
14192 PyObject *swig_obj[1] ;
14193
14194 if (!args) SWIG_fail;
14195 swig_obj[0] = args;
14196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14197 if (!SWIG_IsOK(res1)) {
14198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14199 }
14200 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 resultobj = SWIG_From_int(static_cast< int >(result));
14208 return resultobj;
14209 fail:
14210 return NULL;
14211 }
14212
14213
14214 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj = 0;
14216 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14217 int arg2 ;
14218 int arg3 ;
14219 wxWindow **arg4 = (wxWindow **) 0 ;
14220 bool result;
14221 void *argp1 = 0 ;
14222 int res1 = 0 ;
14223 int val2 ;
14224 int ecode2 = 0 ;
14225 int val3 ;
14226 int ecode3 = 0 ;
14227 void *argp4 = 0 ;
14228 int res4 = 0 ;
14229 PyObject * obj0 = 0 ;
14230 PyObject * obj1 = 0 ;
14231 PyObject * obj2 = 0 ;
14232 PyObject * obj3 = 0 ;
14233 char * kwnames[] = {
14234 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
14235 };
14236
14237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14239 if (!SWIG_IsOK(res1)) {
14240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14241 }
14242 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14243 ecode2 = SWIG_AsVal_int(obj1, &val2);
14244 if (!SWIG_IsOK(ecode2)) {
14245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
14246 }
14247 arg2 = static_cast< int >(val2);
14248 ecode3 = SWIG_AsVal_int(obj2, &val3);
14249 if (!SWIG_IsOK(ecode3)) {
14250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
14251 }
14252 arg3 = static_cast< int >(val3);
14253 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
14254 if (!SWIG_IsOK(res4)) {
14255 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
14256 }
14257 arg4 = reinterpret_cast< wxWindow ** >(argp4);
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 {
14265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14266 }
14267 return resultobj;
14268 fail:
14269 return NULL;
14270 }
14271
14272
14273 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14274 PyObject *resultobj = 0;
14275 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14276 int arg2 ;
14277 int arg3 ;
14278 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
14279 bool result;
14280 void *argp1 = 0 ;
14281 int res1 = 0 ;
14282 int val2 ;
14283 int ecode2 = 0 ;
14284 int val3 ;
14285 int ecode3 = 0 ;
14286 void *argp4 = 0 ;
14287 int res4 = 0 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 PyObject * obj2 = 0 ;
14291 PyObject * obj3 = 0 ;
14292 char * kwnames[] = {
14293 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
14294 };
14295
14296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14302 ecode2 = SWIG_AsVal_int(obj1, &val2);
14303 if (!SWIG_IsOK(ecode2)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
14305 }
14306 arg2 = static_cast< int >(val2);
14307 ecode3 = SWIG_AsVal_int(obj2, &val3);
14308 if (!SWIG_IsOK(ecode3)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
14310 }
14311 arg3 = static_cast< int >(val3);
14312 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
14313 if (!SWIG_IsOK(res4)) {
14314 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
14315 }
14316 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
14320 wxPyEndAllowThreads(__tstate);
14321 if (PyErr_Occurred()) SWIG_fail;
14322 }
14323 {
14324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14325 }
14326 return resultobj;
14327 fail:
14328 return NULL;
14329 }
14330
14331
14332 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14333 PyObject *resultobj = 0;
14334 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14335 size_t arg2 ;
14336 wxWindow *result = 0 ;
14337 void *argp1 = 0 ;
14338 int res1 = 0 ;
14339 size_t val2 ;
14340 int ecode2 = 0 ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 char * kwnames[] = {
14344 (char *) "self",(char *) "idx", NULL
14345 };
14346
14347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
14348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14349 if (!SWIG_IsOK(res1)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14351 }
14352 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14353 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14354 if (!SWIG_IsOK(ecode2)) {
14355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
14356 }
14357 arg2 = static_cast< size_t >(val2);
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 {
14365 resultobj = wxPyMake_wxObject(result, 0);
14366 }
14367 return resultobj;
14368 fail:
14369 return NULL;
14370 }
14371
14372
14373 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14374 PyObject *resultobj = 0;
14375 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14376 wxWindow *arg2 = (wxWindow *) 0 ;
14377 int result;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 void *argp2 = 0 ;
14381 int res2 = 0 ;
14382 PyObject * obj0 = 0 ;
14383 PyObject * obj1 = 0 ;
14384 char * kwnames[] = {
14385 (char *) "self",(char *) "page", NULL
14386 };
14387
14388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
14389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14390 if (!SWIG_IsOK(res1)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14392 }
14393 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14395 if (!SWIG_IsOK(res2)) {
14396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14397 }
14398 arg2 = reinterpret_cast< wxWindow * >(argp2);
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 resultobj = SWIG_From_int(static_cast< int >(result));
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 PyObject *resultobj = 0;
14414 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14415 size_t result;
14416 void *argp1 = 0 ;
14417 int res1 = 0 ;
14418 PyObject *swig_obj[1] ;
14419
14420 if (!args) SWIG_fail;
14421 swig_obj[0] = args;
14422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14423 if (!SWIG_IsOK(res1)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14425 }
14426 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj = 0;
14442 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14443 size_t arg2 ;
14444 wxAuiNotebookPage *result = 0 ;
14445 void *argp1 = 0 ;
14446 int res1 = 0 ;
14447 size_t val2 ;
14448 int ecode2 = 0 ;
14449 PyObject * obj0 = 0 ;
14450 PyObject * obj1 = 0 ;
14451 char * kwnames[] = {
14452 (char *) "self",(char *) "idx", NULL
14453 };
14454
14455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
14456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14457 if (!SWIG_IsOK(res1)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14459 }
14460 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14461 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14462 if (!SWIG_IsOK(ecode2)) {
14463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
14464 }
14465 arg2 = static_cast< size_t >(val2);
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 {
14469 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
14470 result = (wxAuiNotebookPage *) &_result_ref;
14471 }
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
14476 return resultobj;
14477 fail:
14478 return NULL;
14479 }
14480
14481
14482 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14483 PyObject *resultobj = 0;
14484 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14485 wxAuiNotebookPageArray *result = 0 ;
14486 void *argp1 = 0 ;
14487 int res1 = 0 ;
14488 PyObject *swig_obj[1] ;
14489
14490 if (!args) SWIG_fail;
14491 swig_obj[0] = args;
14492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14493 if (!SWIG_IsOK(res1)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14495 }
14496 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 {
14500 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
14501 result = (wxAuiNotebookPageArray *) &_result_ref;
14502 }
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj = 0;
14515 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14516 wxFont *arg2 = 0 ;
14517 void *argp1 = 0 ;
14518 int res1 = 0 ;
14519 void *argp2 = 0 ;
14520 int res2 = 0 ;
14521 PyObject * obj0 = 0 ;
14522 PyObject * obj1 = 0 ;
14523 char * kwnames[] = {
14524 (char *) "self",(char *) "normal_font", NULL
14525 };
14526
14527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
14528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14529 if (!SWIG_IsOK(res1)) {
14530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14531 }
14532 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14533 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14534 if (!SWIG_IsOK(res2)) {
14535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14536 }
14537 if (!argp2) {
14538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14539 }
14540 arg2 = reinterpret_cast< wxFont * >(argp2);
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 (arg1)->SetNormalFont((wxFont const &)*arg2);
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 resultobj = SWIG_Py_Void();
14548 return resultobj;
14549 fail:
14550 return NULL;
14551 }
14552
14553
14554 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14555 PyObject *resultobj = 0;
14556 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14557 wxFont *arg2 = 0 ;
14558 void *argp1 = 0 ;
14559 int res1 = 0 ;
14560 void *argp2 = 0 ;
14561 int res2 = 0 ;
14562 PyObject * obj0 = 0 ;
14563 PyObject * obj1 = 0 ;
14564 char * kwnames[] = {
14565 (char *) "self",(char *) "selected_font", NULL
14566 };
14567
14568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
14569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14570 if (!SWIG_IsOK(res1)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14572 }
14573 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14575 if (!SWIG_IsOK(res2)) {
14576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14577 }
14578 if (!argp2) {
14579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14580 }
14581 arg2 = reinterpret_cast< wxFont * >(argp2);
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 (arg1)->SetSelectedFont((wxFont const &)*arg2);
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 resultobj = SWIG_Py_Void();
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj = 0;
14597 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14598 wxFont *arg2 = 0 ;
14599 void *argp1 = 0 ;
14600 int res1 = 0 ;
14601 void *argp2 = 0 ;
14602 int res2 = 0 ;
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 char * kwnames[] = {
14606 (char *) "self",(char *) "measuring_font", NULL
14607 };
14608
14609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
14610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14611 if (!SWIG_IsOK(res1)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14613 }
14614 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
14616 if (!SWIG_IsOK(res2)) {
14617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14618 }
14619 if (!argp2) {
14620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
14621 }
14622 arg2 = reinterpret_cast< wxFont * >(argp2);
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 resultobj = SWIG_Py_Void();
14630 return resultobj;
14631 fail:
14632 return NULL;
14633 }
14634
14635
14636 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14637 PyObject *resultobj = 0;
14638 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14639 void *argp1 = 0 ;
14640 int res1 = 0 ;
14641 PyObject *swig_obj[1] ;
14642
14643 if (!args) SWIG_fail;
14644 swig_obj[0] = args;
14645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14646 if (!SWIG_IsOK(res1)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14648 }
14649 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 (arg1)->DoShowHide();
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = SWIG_Py_Void();
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj = 0;
14665 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14666 wxRect *arg2 = 0 ;
14667 void *argp1 = 0 ;
14668 int res1 = 0 ;
14669 wxRect temp2 ;
14670 PyObject * obj0 = 0 ;
14671 PyObject * obj1 = 0 ;
14672 char * kwnames[] = {
14673 (char *) "self",(char *) "rect", NULL
14674 };
14675
14676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
14677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14678 if (!SWIG_IsOK(res1)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14680 }
14681 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14682 {
14683 arg2 = &temp2;
14684 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
14685 }
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 (arg1)->SetRect((wxRect const &)*arg2);
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 resultobj = SWIG_Py_Void();
14693 return resultobj;
14694 fail:
14695 return NULL;
14696 }
14697
14698
14699 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemoveButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj = 0;
14701 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14702 int arg2 ;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 int val2 ;
14706 int ecode2 = 0 ;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj1 = 0 ;
14709 char * kwnames[] = {
14710 (char *) "self",(char *) "id", NULL
14711 };
14712
14713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemoveButton",kwnames,&obj0,&obj1)) SWIG_fail;
14714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14715 if (!SWIG_IsOK(res1)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14717 }
14718 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14719 ecode2 = SWIG_AsVal_int(obj1, &val2);
14720 if (!SWIG_IsOK(ecode2)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_RemoveButton" "', expected argument " "2"" of type '" "int""'");
14722 }
14723 arg2 = static_cast< int >(val2);
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 (arg1)->RemoveButton(arg2);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = SWIG_Py_Void();
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj = 0;
14739 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14740 int arg2 ;
14741 int arg3 ;
14742 wxBitmap const &arg4_defvalue = wxNullBitmap ;
14743 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
14744 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14745 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14746 void *argp1 = 0 ;
14747 int res1 = 0 ;
14748 int val2 ;
14749 int ecode2 = 0 ;
14750 int val3 ;
14751 int ecode3 = 0 ;
14752 void *argp4 = 0 ;
14753 int res4 = 0 ;
14754 void *argp5 = 0 ;
14755 int res5 = 0 ;
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
14758 PyObject * obj2 = 0 ;
14759 PyObject * obj3 = 0 ;
14760 PyObject * obj4 = 0 ;
14761 char * kwnames[] = {
14762 (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL
14763 };
14764
14765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14767 if (!SWIG_IsOK(res1)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14769 }
14770 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14771 ecode2 = SWIG_AsVal_int(obj1, &val2);
14772 if (!SWIG_IsOK(ecode2)) {
14773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
14774 }
14775 arg2 = static_cast< int >(val2);
14776 ecode3 = SWIG_AsVal_int(obj2, &val3);
14777 if (!SWIG_IsOK(ecode3)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'");
14779 }
14780 arg3 = static_cast< int >(val3);
14781 if (obj3) {
14782 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
14783 if (!SWIG_IsOK(res4)) {
14784 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
14785 }
14786 if (!argp4) {
14787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
14788 }
14789 arg4 = reinterpret_cast< wxBitmap * >(argp4);
14790 }
14791 if (obj4) {
14792 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
14793 if (!SWIG_IsOK(res5)) {
14794 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14795 }
14796 if (!argp5) {
14797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
14798 }
14799 arg5 = reinterpret_cast< wxBitmap * >(argp5);
14800 }
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5);
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 resultobj = SWIG_Py_Void();
14808 return resultobj;
14809 fail:
14810 return NULL;
14811 }
14812
14813
14814 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14815 PyObject *resultobj = 0;
14816 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14817 size_t result;
14818 void *argp1 = 0 ;
14819 int res1 = 0 ;
14820 PyObject *swig_obj[1] ;
14821
14822 if (!args) SWIG_fail;
14823 swig_obj[0] = args;
14824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14825 if (!SWIG_IsOK(res1)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
14827 }
14828 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset();
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj = 0;
14844 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
14845 size_t arg2 ;
14846 void *argp1 = 0 ;
14847 int res1 = 0 ;
14848 size_t val2 ;
14849 int ecode2 = 0 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char * kwnames[] = {
14853 (char *) "self",(char *) "offset", NULL
14854 };
14855
14856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail;
14857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
14858 if (!SWIG_IsOK(res1)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
14860 }
14861 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
14862 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14863 if (!SWIG_IsOK(ecode2)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'");
14865 }
14866 arg2 = static_cast< size_t >(val2);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 (arg1)->SetTabOffset(arg2);
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = SWIG_Py_Void();
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14881 PyObject *obj;
14882 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14883 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
14884 return SWIG_Py_Void();
14885 }
14886
14887 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14888 return SWIG_Python_InitShadowInstance(args);
14889 }
14890
14891 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj = 0;
14893 wxWindow *arg1 = (wxWindow *) 0 ;
14894 int arg2 = (int) wxID_ANY ;
14895 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14896 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14897 wxSize const &arg4_defvalue = wxDefaultSize ;
14898 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14899 long arg5 = (long) 0 ;
14900 wxAuiTabCtrl *result = 0 ;
14901 void *argp1 = 0 ;
14902 int res1 = 0 ;
14903 int val2 ;
14904 int ecode2 = 0 ;
14905 wxPoint temp3 ;
14906 wxSize temp4 ;
14907 long val5 ;
14908 int ecode5 = 0 ;
14909 PyObject * obj0 = 0 ;
14910 PyObject * obj1 = 0 ;
14911 PyObject * obj2 = 0 ;
14912 PyObject * obj3 = 0 ;
14913 PyObject * obj4 = 0 ;
14914 char * kwnames[] = {
14915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
14916 };
14917
14918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
14919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
14922 }
14923 arg1 = reinterpret_cast< wxWindow * >(argp1);
14924 if (obj1) {
14925 ecode2 = SWIG_AsVal_int(obj1, &val2);
14926 if (!SWIG_IsOK(ecode2)) {
14927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
14928 }
14929 arg2 = static_cast< int >(val2);
14930 }
14931 if (obj2) {
14932 {
14933 arg3 = &temp3;
14934 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14935 }
14936 }
14937 if (obj3) {
14938 {
14939 arg4 = &temp4;
14940 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14941 }
14942 }
14943 if (obj4) {
14944 ecode5 = SWIG_AsVal_long(obj4, &val5);
14945 if (!SWIG_IsOK(ecode5)) {
14946 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
14947 }
14948 arg5 = static_cast< long >(val5);
14949 }
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
14957 return resultobj;
14958 fail:
14959 return NULL;
14960 }
14961
14962
14963 SWIGINTERN PyObject *_wrap_delete_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14964 PyObject *resultobj = 0;
14965 wxAuiTabCtrl *arg1 = (wxAuiTabCtrl *) 0 ;
14966 void *argp1 = 0 ;
14967 int res1 = 0 ;
14968 PyObject *swig_obj[1] ;
14969
14970 if (!args) SWIG_fail;
14971 swig_obj[0] = args;
14972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_DISOWN | 0 );
14973 if (!SWIG_IsOK(res1)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabCtrl" "', expected argument " "1"" of type '" "wxAuiTabCtrl *""'");
14975 }
14976 arg1 = reinterpret_cast< wxAuiTabCtrl * >(argp1);
14977 {
14978 PyThreadState* __tstate = wxPyBeginAllowThreads();
14979 delete arg1;
14980
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 resultobj = SWIG_Py_Void();
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14992 PyObject *obj;
14993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14994 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
14995 return SWIG_Py_Void();
14996 }
14997
14998 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14999 return SWIG_Python_InitShadowInstance(args);
15000 }
15001
15002 SWIGINTERN PyObject *_wrap_new_PreAuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15003 PyObject *resultobj = 0;
15004 wxAuiNotebook *result = 0 ;
15005
15006 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiNotebook",0,0,0)) SWIG_fail;
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (wxAuiNotebook *)new wxAuiNotebook();
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_OWN | 0 );
15014 return resultobj;
15015 fail:
15016 return NULL;
15017 }
15018
15019
15020 SWIGINTERN PyObject *_wrap_new_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15021 PyObject *resultobj = 0;
15022 wxWindow *arg1 = (wxWindow *) 0 ;
15023 int arg2 = (int) wxID_ANY ;
15024 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15025 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15026 wxSize const &arg4_defvalue = wxDefaultSize ;
15027 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15028 long arg5 = (long) wxAUI_NB_DEFAULT_STYLE ;
15029 wxAuiNotebook *result = 0 ;
15030 void *argp1 = 0 ;
15031 int res1 = 0 ;
15032 int val2 ;
15033 int ecode2 = 0 ;
15034 wxPoint temp3 ;
15035 wxSize temp4 ;
15036 long val5 ;
15037 int ecode5 = 0 ;
15038 PyObject * obj0 = 0 ;
15039 PyObject * obj1 = 0 ;
15040 PyObject * obj2 = 0 ;
15041 PyObject * obj3 = 0 ;
15042 PyObject * obj4 = 0 ;
15043 char * kwnames[] = {
15044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
15045 };
15046
15047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
15051 }
15052 arg1 = reinterpret_cast< wxWindow * >(argp1);
15053 if (obj1) {
15054 ecode2 = SWIG_AsVal_int(obj1, &val2);
15055 if (!SWIG_IsOK(ecode2)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebook" "', expected argument " "2"" of type '" "int""'");
15057 }
15058 arg2 = static_cast< int >(val2);
15059 }
15060 if (obj2) {
15061 {
15062 arg3 = &temp3;
15063 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15064 }
15065 }
15066 if (obj3) {
15067 {
15068 arg4 = &temp4;
15069 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15070 }
15071 }
15072 if (obj4) {
15073 ecode5 = SWIG_AsVal_long(obj4, &val5);
15074 if (!SWIG_IsOK(ecode5)) {
15075 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiNotebook" "', expected argument " "5"" of type '" "long""'");
15076 }
15077 arg5 = static_cast< long >(val5);
15078 }
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (wxAuiNotebook *)new wxAuiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_NEW | 0 );
15086 return resultobj;
15087 fail:
15088 return NULL;
15089 }
15090
15091
15092 SWIGINTERN PyObject *_wrap_delete_AuiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15093 PyObject *resultobj = 0;
15094 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15095 void *argp1 = 0 ;
15096 int res1 = 0 ;
15097 PyObject *swig_obj[1] ;
15098
15099 if (!args) SWIG_fail;
15100 swig_obj[0] = args;
15101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, SWIG_POINTER_DISOWN | 0 );
15102 if (!SWIG_IsOK(res1)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiNotebook" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15104 }
15105 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 delete arg1;
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 resultobj = SWIG_Py_Void();
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 SWIGINTERN PyObject *_wrap_AuiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj = 0;
15122 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15123 wxWindow *arg2 = (wxWindow *) 0 ;
15124 int arg3 = (int) wxID_ANY ;
15125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15127 wxSize const &arg5_defvalue = wxDefaultSize ;
15128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15129 long arg6 = (long) 0 ;
15130 bool result;
15131 void *argp1 = 0 ;
15132 int res1 = 0 ;
15133 void *argp2 = 0 ;
15134 int res2 = 0 ;
15135 int val3 ;
15136 int ecode3 = 0 ;
15137 wxPoint temp4 ;
15138 wxSize temp5 ;
15139 long val6 ;
15140 int ecode6 = 0 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 PyObject * obj2 = 0 ;
15144 PyObject * obj3 = 0 ;
15145 PyObject * obj4 = 0 ;
15146 PyObject * obj5 = 0 ;
15147 char * kwnames[] = {
15148 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
15149 };
15150
15151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15153 if (!SWIG_IsOK(res1)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15155 }
15156 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15158 if (!SWIG_IsOK(res2)) {
15159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15160 }
15161 arg2 = reinterpret_cast< wxWindow * >(argp2);
15162 if (obj2) {
15163 ecode3 = SWIG_AsVal_int(obj2, &val3);
15164 if (!SWIG_IsOK(ecode3)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
15166 }
15167 arg3 = static_cast< int >(val3);
15168 }
15169 if (obj3) {
15170 {
15171 arg4 = &temp4;
15172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15173 }
15174 }
15175 if (obj4) {
15176 {
15177 arg5 = &temp5;
15178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15179 }
15180 }
15181 if (obj5) {
15182 ecode6 = SWIG_AsVal_long(obj5, &val6);
15183 if (!SWIG_IsOK(ecode6)) {
15184 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
15185 }
15186 arg6 = static_cast< long >(val6);
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
15195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15196 }
15197 return resultobj;
15198 fail:
15199 return NULL;
15200 }
15201
15202
15203 SWIGINTERN PyObject *_wrap_AuiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj = 0;
15205 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15206 wxWindow *arg2 = (wxWindow *) 0 ;
15207 wxString *arg3 = 0 ;
15208 bool arg4 = (bool) false ;
15209 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15210 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15211 bool result;
15212 void *argp1 = 0 ;
15213 int res1 = 0 ;
15214 void *argp2 = 0 ;
15215 int res2 = 0 ;
15216 bool temp3 = false ;
15217 bool val4 ;
15218 int ecode4 = 0 ;
15219 void *argp5 = 0 ;
15220 int res5 = 0 ;
15221 PyObject * obj0 = 0 ;
15222 PyObject * obj1 = 0 ;
15223 PyObject * obj2 = 0 ;
15224 PyObject * obj3 = 0 ;
15225 PyObject * obj4 = 0 ;
15226 char * kwnames[] = {
15227 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
15228 };
15229
15230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15232 if (!SWIG_IsOK(res1)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15234 }
15235 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15237 if (!SWIG_IsOK(res2)) {
15238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
15239 }
15240 arg2 = reinterpret_cast< wxWindow * >(argp2);
15241 {
15242 arg3 = wxString_in_helper(obj2);
15243 if (arg3 == NULL) SWIG_fail;
15244 temp3 = true;
15245 }
15246 if (obj3) {
15247 ecode4 = SWIG_AsVal_bool(obj3, &val4);
15248 if (!SWIG_IsOK(ecode4)) {
15249 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
15250 }
15251 arg4 = static_cast< bool >(val4);
15252 }
15253 if (obj4) {
15254 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
15255 if (!SWIG_IsOK(res5)) {
15256 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
15257 }
15258 if (!argp5) {
15259 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
15260 }
15261 arg5 = reinterpret_cast< wxBitmap * >(argp5);
15262 }
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
15269 {
15270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15271 }
15272 {
15273 if (temp3)
15274 delete arg3;
15275 }
15276 return resultobj;
15277 fail:
15278 {
15279 if (temp3)
15280 delete arg3;
15281 }
15282 return NULL;
15283 }
15284
15285
15286 SWIGINTERN PyObject *_wrap_AuiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15287 PyObject *resultobj = 0;
15288 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15289 size_t arg2 ;
15290 wxWindow *arg3 = (wxWindow *) 0 ;
15291 wxString *arg4 = 0 ;
15292 bool arg5 = (bool) false ;
15293 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15294 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15295 bool result;
15296 void *argp1 = 0 ;
15297 int res1 = 0 ;
15298 size_t val2 ;
15299 int ecode2 = 0 ;
15300 void *argp3 = 0 ;
15301 int res3 = 0 ;
15302 bool temp4 = false ;
15303 bool val5 ;
15304 int ecode5 = 0 ;
15305 void *argp6 = 0 ;
15306 int res6 = 0 ;
15307 PyObject * obj0 = 0 ;
15308 PyObject * obj1 = 0 ;
15309 PyObject * obj2 = 0 ;
15310 PyObject * obj3 = 0 ;
15311 PyObject * obj4 = 0 ;
15312 PyObject * obj5 = 0 ;
15313 char * kwnames[] = {
15314 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
15315 };
15316
15317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15319 if (!SWIG_IsOK(res1)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15321 }
15322 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15323 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15324 if (!SWIG_IsOK(ecode2)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
15326 }
15327 arg2 = static_cast< size_t >(val2);
15328 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
15329 if (!SWIG_IsOK(res3)) {
15330 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
15331 }
15332 arg3 = reinterpret_cast< wxWindow * >(argp3);
15333 {
15334 arg4 = wxString_in_helper(obj3);
15335 if (arg4 == NULL) SWIG_fail;
15336 temp4 = true;
15337 }
15338 if (obj4) {
15339 ecode5 = SWIG_AsVal_bool(obj4, &val5);
15340 if (!SWIG_IsOK(ecode5)) {
15341 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
15342 }
15343 arg5 = static_cast< bool >(val5);
15344 }
15345 if (obj5) {
15346 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
15347 if (!SWIG_IsOK(res6)) {
15348 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
15349 }
15350 if (!argp6) {
15351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
15352 }
15353 arg6 = reinterpret_cast< wxBitmap * >(argp6);
15354 }
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 {
15362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15363 }
15364 {
15365 if (temp4)
15366 delete arg4;
15367 }
15368 return resultobj;
15369 fail:
15370 {
15371 if (temp4)
15372 delete arg4;
15373 }
15374 return NULL;
15375 }
15376
15377
15378 SWIGINTERN PyObject *_wrap_AuiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj = 0;
15380 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15381 size_t arg2 ;
15382 bool result;
15383 void *argp1 = 0 ;
15384 int res1 = 0 ;
15385 size_t val2 ;
15386 int ecode2 = 0 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char * kwnames[] = {
15390 (char *) "self",(char *) "page", NULL
15391 };
15392
15393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
15394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15395 if (!SWIG_IsOK(res1)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15397 }
15398 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15399 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15400 if (!SWIG_IsOK(ecode2)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
15402 }
15403 arg2 = static_cast< size_t >(val2);
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 result = (bool)(arg1)->DeletePage(arg2);
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 {
15411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15412 }
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 SWIGINTERN PyObject *_wrap_AuiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj = 0;
15421 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15422 size_t arg2 ;
15423 bool result;
15424 void *argp1 = 0 ;
15425 int res1 = 0 ;
15426 size_t val2 ;
15427 int ecode2 = 0 ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 char * kwnames[] = {
15431 (char *) "self",(char *) "page", NULL
15432 };
15433
15434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
15435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15436 if (!SWIG_IsOK(res1)) {
15437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15438 }
15439 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15440 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15441 if (!SWIG_IsOK(ecode2)) {
15442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
15443 }
15444 arg2 = static_cast< size_t >(val2);
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 result = (bool)(arg1)->RemovePage(arg2);
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 {
15452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj = 0;
15462 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15463 size_t arg2 ;
15464 wxString *arg3 = 0 ;
15465 bool result;
15466 void *argp1 = 0 ;
15467 int res1 = 0 ;
15468 size_t val2 ;
15469 int ecode2 = 0 ;
15470 bool temp3 = false ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 PyObject * obj2 = 0 ;
15474 char * kwnames[] = {
15475 (char *) "self",(char *) "page",(char *) "text", NULL
15476 };
15477
15478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15480 if (!SWIG_IsOK(res1)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15482 }
15483 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15484 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15485 if (!SWIG_IsOK(ecode2)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
15487 }
15488 arg2 = static_cast< size_t >(val2);
15489 {
15490 arg3 = wxString_in_helper(obj2);
15491 if (arg3 == NULL) SWIG_fail;
15492 temp3 = true;
15493 }
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
15497 wxPyEndAllowThreads(__tstate);
15498 if (PyErr_Occurred()) SWIG_fail;
15499 }
15500 {
15501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15502 }
15503 {
15504 if (temp3)
15505 delete arg3;
15506 }
15507 return resultobj;
15508 fail:
15509 {
15510 if (temp3)
15511 delete arg3;
15512 }
15513 return NULL;
15514 }
15515
15516
15517 SWIGINTERN PyObject *_wrap_AuiNotebook_SetPageBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj = 0;
15519 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15520 size_t arg2 ;
15521 wxBitmap *arg3 = 0 ;
15522 bool result;
15523 void *argp1 = 0 ;
15524 int res1 = 0 ;
15525 size_t val2 ;
15526 int ecode2 = 0 ;
15527 void *argp3 = 0 ;
15528 int res3 = 0 ;
15529 PyObject * obj0 = 0 ;
15530 PyObject * obj1 = 0 ;
15531 PyObject * obj2 = 0 ;
15532 char * kwnames[] = {
15533 (char *) "self",(char *) "page",(char *) "bitmap", NULL
15534 };
15535
15536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiNotebook_SetPageBitmap",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15538 if (!SWIG_IsOK(res1)) {
15539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15540 }
15541 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15542 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15543 if (!SWIG_IsOK(ecode2)) {
15544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "2"" of type '" "size_t""'");
15545 }
15546 arg2 = static_cast< size_t >(val2);
15547 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
15548 if (!SWIG_IsOK(res3)) {
15549 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
15550 }
15551 if (!argp3) {
15552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiNotebook_SetPageBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
15553 }
15554 arg3 = reinterpret_cast< wxBitmap * >(argp3);
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)(arg1)->SetPageBitmap(arg2,(wxBitmap const &)*arg3);
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15563 }
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 SWIGINTERN PyObject *_wrap_AuiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj = 0;
15572 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15573 size_t arg2 ;
15574 size_t result;
15575 void *argp1 = 0 ;
15576 int res1 = 0 ;
15577 size_t val2 ;
15578 int ecode2 = 0 ;
15579 PyObject * obj0 = 0 ;
15580 PyObject * obj1 = 0 ;
15581 char * kwnames[] = {
15582 (char *) "self",(char *) "new_page", NULL
15583 };
15584
15585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15587 if (!SWIG_IsOK(res1)) {
15588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15589 }
15590 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15591 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15592 if (!SWIG_IsOK(ecode2)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
15594 }
15595 arg2 = static_cast< size_t >(val2);
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 result = (size_t)(arg1)->SetSelection(arg2);
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15603 return resultobj;
15604 fail:
15605 return NULL;
15606 }
15607
15608
15609 SWIGINTERN PyObject *_wrap_AuiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15610 PyObject *resultobj = 0;
15611 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15612 int result;
15613 void *argp1 = 0 ;
15614 int res1 = 0 ;
15615 PyObject *swig_obj[1] ;
15616
15617 if (!args) SWIG_fail;
15618 swig_obj[0] = args;
15619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15620 if (!SWIG_IsOK(res1)) {
15621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15622 }
15623 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15624 {
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (int)((wxAuiNotebook const *)arg1)->GetSelection();
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_From_int(static_cast< int >(result));
15631 return resultobj;
15632 fail:
15633 return NULL;
15634 }
15635
15636
15637 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15638 PyObject *resultobj = 0;
15639 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15640 size_t result;
15641 void *argp1 = 0 ;
15642 int res1 = 0 ;
15643 PyObject *swig_obj[1] ;
15644
15645 if (!args) SWIG_fail;
15646 swig_obj[0] = args;
15647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15648 if (!SWIG_IsOK(res1)) {
15649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15650 }
15651 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (size_t)((wxAuiNotebook const *)arg1)->GetPageCount();
15655 wxPyEndAllowThreads(__tstate);
15656 if (PyErr_Occurred()) SWIG_fail;
15657 }
15658 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
15659 return resultobj;
15660 fail:
15661 return NULL;
15662 }
15663
15664
15665 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15666 PyObject *resultobj = 0;
15667 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15668 size_t arg2 ;
15669 wxWindow *result = 0 ;
15670 void *argp1 = 0 ;
15671 int res1 = 0 ;
15672 size_t val2 ;
15673 int ecode2 = 0 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 char * kwnames[] = {
15677 (char *) "self",(char *) "page_idx", NULL
15678 };
15679
15680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
15681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15682 if (!SWIG_IsOK(res1)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15684 }
15685 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15686 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15687 if (!SWIG_IsOK(ecode2)) {
15688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
15689 }
15690 arg2 = static_cast< size_t >(val2);
15691 {
15692 PyThreadState* __tstate = wxPyBeginAllowThreads();
15693 result = (wxWindow *)((wxAuiNotebook const *)arg1)->GetPage(arg2);
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 {
15698 resultobj = wxPyMake_wxObject(result, 0);
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 SWIGINTERN PyObject *_wrap_AuiNotebook_GetPageIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj = 0;
15708 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15709 wxWindow *arg2 = (wxWindow *) 0 ;
15710 int result;
15711 void *argp1 = 0 ;
15712 int res1 = 0 ;
15713 void *argp2 = 0 ;
15714 int res2 = 0 ;
15715 PyObject * obj0 = 0 ;
15716 PyObject * obj1 = 0 ;
15717 char * kwnames[] = {
15718 (char *) "self",(char *) "page_wnd", NULL
15719 };
15720
15721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_GetPageIndex",kwnames,&obj0,&obj1)) SWIG_fail;
15722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15723 if (!SWIG_IsOK(res1)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15725 }
15726 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15727 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15728 if (!SWIG_IsOK(res2)) {
15729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_GetPageIndex" "', expected argument " "2"" of type '" "wxWindow *""'");
15730 }
15731 arg2 = reinterpret_cast< wxWindow * >(argp2);
15732 {
15733 PyThreadState* __tstate = wxPyBeginAllowThreads();
15734 result = (int)((wxAuiNotebook const *)arg1)->GetPageIndex(arg2);
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 resultobj = SWIG_From_int(static_cast< int >(result));
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 SWIGINTERN PyObject *_wrap_AuiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj = 0;
15747 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15748 wxAuiTabArt *arg2 = (wxAuiTabArt *) 0 ;
15749 void *argp1 = 0 ;
15750 int res1 = 0 ;
15751 void *argp2 = 0 ;
15752 int res2 = 0 ;
15753 PyObject * obj0 = 0 ;
15754 PyObject * obj1 = 0 ;
15755 char * kwnames[] = {
15756 (char *) "self",(char *) "art", NULL
15757 };
15758
15759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
15760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15761 if (!SWIG_IsOK(res1)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15763 }
15764 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
15766 if (!SWIG_IsOK(res2)) {
15767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxAuiTabArt *""'");
15768 }
15769 arg2 = reinterpret_cast< wxAuiTabArt * >(argp2);
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 (arg1)->SetArtProvider(arg2);
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 resultobj = SWIG_Py_Void();
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 SWIGINTERN PyObject *_wrap_AuiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15784 PyObject *resultobj = 0;
15785 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15786 wxAuiTabArt *result = 0 ;
15787 void *argp1 = 0 ;
15788 int res1 = 0 ;
15789 PyObject *swig_obj[1] ;
15790
15791 if (!args) SWIG_fail;
15792 swig_obj[0] = args;
15793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15794 if (!SWIG_IsOK(res1)) {
15795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiNotebook const *""'");
15796 }
15797 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (wxAuiTabArt *)((wxAuiNotebook const *)arg1)->GetArtProvider();
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabArt, 0 | 0 );
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 SWIGINTERN PyObject *_wrap_AuiNotebook_SetUniformBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj = 0;
15813 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15814 wxSize *arg2 = 0 ;
15815 void *argp1 = 0 ;
15816 int res1 = 0 ;
15817 wxSize temp2 ;
15818 PyObject * obj0 = 0 ;
15819 PyObject * obj1 = 0 ;
15820 char * kwnames[] = {
15821 (char *) "self",(char *) "size", NULL
15822 };
15823
15824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetUniformBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
15825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15826 if (!SWIG_IsOK(res1)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetUniformBitmapSize" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15828 }
15829 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15830 {
15831 arg2 = &temp2;
15832 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15833 }
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 (arg1)->SetUniformBitmapSize((wxSize const &)*arg2);
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 resultobj = SWIG_Py_Void();
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 SWIGINTERN PyObject *_wrap_AuiNotebook_SetTabCtrlHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj = 0;
15849 wxAuiNotebook *arg1 = (wxAuiNotebook *) 0 ;
15850 int arg2 ;
15851 void *argp1 = 0 ;
15852 int res1 = 0 ;
15853 int val2 ;
15854 int ecode2 = 0 ;
15855 PyObject * obj0 = 0 ;
15856 PyObject * obj1 = 0 ;
15857 char * kwnames[] = {
15858 (char *) "self",(char *) "height", NULL
15859 };
15860
15861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebook_SetTabCtrlHeight",kwnames,&obj0,&obj1)) SWIG_fail;
15862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebook, 0 | 0 );
15863 if (!SWIG_IsOK(res1)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "1"" of type '" "wxAuiNotebook *""'");
15865 }
15866 arg1 = reinterpret_cast< wxAuiNotebook * >(argp1);
15867 ecode2 = SWIG_AsVal_int(obj1, &val2);
15868 if (!SWIG_IsOK(ecode2)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebook_SetTabCtrlHeight" "', expected argument " "2"" of type '" "int""'");
15870 }
15871 arg2 = static_cast< int >(val2);
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 (arg1)->SetTabCtrlHeight(arg2);
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 resultobj = SWIG_Py_Void();
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 SWIGINTERN PyObject *AuiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15886 PyObject *obj;
15887 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15888 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebook, SWIG_NewClientData(obj));
15889 return SWIG_Py_Void();
15890 }
15891
15892 SWIGINTERN PyObject *AuiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15893 return SWIG_Python_InitShadowInstance(args);
15894 }
15895
15896 SWIGINTERN PyObject *PyAuiDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15897 PyObject *obj;
15898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiDockArt, SWIG_NewClientData(obj));
15900 return SWIG_Py_Void();
15901 }
15902
15903 SWIGINTERN PyObject *PyAuiTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15904 PyObject *obj;
15905 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15906 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyAuiTabArt, SWIG_NewClientData(obj));
15907 return SWIG_Py_Void();
15908 }
15909
15910 static PyMethodDef SwigMethods[] = {
15911 { (char *)"new_AuiPaneInfo", (PyCFunction)_wrap_new_AuiPaneInfo, METH_NOARGS, NULL},
15912 { (char *)"delete_AuiPaneInfo", (PyCFunction)_wrap_delete_AuiPaneInfo, METH_O, NULL},
15913 { (char *)"AuiPaneInfo_SafeSet", (PyCFunction) _wrap_AuiPaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
15914 { (char *)"AuiPaneInfo_IsOk", (PyCFunction)_wrap_AuiPaneInfo_IsOk, METH_O, NULL},
15915 { (char *)"AuiPaneInfo_IsFixed", (PyCFunction)_wrap_AuiPaneInfo_IsFixed, METH_O, NULL},
15916 { (char *)"AuiPaneInfo_IsResizable", (PyCFunction)_wrap_AuiPaneInfo_IsResizable, METH_O, NULL},
15917 { (char *)"AuiPaneInfo_IsShown", (PyCFunction)_wrap_AuiPaneInfo_IsShown, METH_O, NULL},
15918 { (char *)"AuiPaneInfo_IsFloating", (PyCFunction)_wrap_AuiPaneInfo_IsFloating, METH_O, NULL},
15919 { (char *)"AuiPaneInfo_IsDocked", (PyCFunction)_wrap_AuiPaneInfo_IsDocked, METH_O, NULL},
15920 { (char *)"AuiPaneInfo_IsToolbar", (PyCFunction)_wrap_AuiPaneInfo_IsToolbar, METH_O, NULL},
15921 { (char *)"AuiPaneInfo_IsTopDockable", (PyCFunction)_wrap_AuiPaneInfo_IsTopDockable, METH_O, NULL},
15922 { (char *)"AuiPaneInfo_IsBottomDockable", (PyCFunction)_wrap_AuiPaneInfo_IsBottomDockable, METH_O, NULL},
15923 { (char *)"AuiPaneInfo_IsLeftDockable", (PyCFunction)_wrap_AuiPaneInfo_IsLeftDockable, METH_O, NULL},
15924 { (char *)"AuiPaneInfo_IsRightDockable", (PyCFunction)_wrap_AuiPaneInfo_IsRightDockable, METH_O, NULL},
15925 { (char *)"AuiPaneInfo_IsFloatable", (PyCFunction)_wrap_AuiPaneInfo_IsFloatable, METH_O, NULL},
15926 { (char *)"AuiPaneInfo_IsMovable", (PyCFunction)_wrap_AuiPaneInfo_IsMovable, METH_O, NULL},
15927 { (char *)"AuiPaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_AuiPaneInfo_IsDestroyOnClose, METH_O, NULL},
15928 { (char *)"AuiPaneInfo_IsMaximized", (PyCFunction)_wrap_AuiPaneInfo_IsMaximized, METH_O, NULL},
15929 { (char *)"AuiPaneInfo_HasCaption", (PyCFunction)_wrap_AuiPaneInfo_HasCaption, METH_O, NULL},
15930 { (char *)"AuiPaneInfo_HasGripper", (PyCFunction)_wrap_AuiPaneInfo_HasGripper, METH_O, NULL},
15931 { (char *)"AuiPaneInfo_HasBorder", (PyCFunction)_wrap_AuiPaneInfo_HasBorder, METH_O, NULL},
15932 { (char *)"AuiPaneInfo_HasCloseButton", (PyCFunction)_wrap_AuiPaneInfo_HasCloseButton, METH_O, NULL},
15933 { (char *)"AuiPaneInfo_HasMaximizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMaximizeButton, METH_O, NULL},
15934 { (char *)"AuiPaneInfo_HasMinimizeButton", (PyCFunction)_wrap_AuiPaneInfo_HasMinimizeButton, METH_O, NULL},
15935 { (char *)"AuiPaneInfo_HasPinButton", (PyCFunction)_wrap_AuiPaneInfo_HasPinButton, METH_O, NULL},
15936 { (char *)"AuiPaneInfo_HasGripperTop", (PyCFunction)_wrap_AuiPaneInfo_HasGripperTop, METH_O, NULL},
15937 { (char *)"AuiPaneInfo_Window", (PyCFunction) _wrap_AuiPaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
15938 { (char *)"AuiPaneInfo_Name", (PyCFunction) _wrap_AuiPaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
15939 { (char *)"AuiPaneInfo_Caption", (PyCFunction) _wrap_AuiPaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
15940 { (char *)"AuiPaneInfo_Left", (PyCFunction)_wrap_AuiPaneInfo_Left, METH_O, NULL},
15941 { (char *)"AuiPaneInfo_Right", (PyCFunction)_wrap_AuiPaneInfo_Right, METH_O, NULL},
15942 { (char *)"AuiPaneInfo_Top", (PyCFunction)_wrap_AuiPaneInfo_Top, METH_O, NULL},
15943 { (char *)"AuiPaneInfo_Bottom", (PyCFunction)_wrap_AuiPaneInfo_Bottom, METH_O, NULL},
15944 { (char *)"AuiPaneInfo_Center", (PyCFunction)_wrap_AuiPaneInfo_Center, METH_O, NULL},
15945 { (char *)"AuiPaneInfo_Centre", (PyCFunction)_wrap_AuiPaneInfo_Centre, METH_O, NULL},
15946 { (char *)"AuiPaneInfo_Direction", (PyCFunction) _wrap_AuiPaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
15947 { (char *)"AuiPaneInfo_Layer", (PyCFunction) _wrap_AuiPaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
15948 { (char *)"AuiPaneInfo_Row", (PyCFunction) _wrap_AuiPaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
15949 { (char *)"AuiPaneInfo_Position", (PyCFunction) _wrap_AuiPaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
15950 { (char *)"AuiPaneInfo_BestSize", (PyCFunction) _wrap_AuiPaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
15951 { (char *)"AuiPaneInfo_MinSize", (PyCFunction) _wrap_AuiPaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
15952 { (char *)"AuiPaneInfo_MaxSize", (PyCFunction) _wrap_AuiPaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
15953 { (char *)"AuiPaneInfo_FloatingPosition", (PyCFunction) _wrap_AuiPaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
15954 { (char *)"AuiPaneInfo_FloatingSize", (PyCFunction) _wrap_AuiPaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
15955 { (char *)"AuiPaneInfo_Fixed", (PyCFunction)_wrap_AuiPaneInfo_Fixed, METH_O, NULL},
15956 { (char *)"AuiPaneInfo_Resizable", (PyCFunction) _wrap_AuiPaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
15957 { (char *)"AuiPaneInfo_Dock", (PyCFunction)_wrap_AuiPaneInfo_Dock, METH_O, NULL},
15958 { (char *)"AuiPaneInfo_Float", (PyCFunction)_wrap_AuiPaneInfo_Float, METH_O, NULL},
15959 { (char *)"AuiPaneInfo_Hide", (PyCFunction)_wrap_AuiPaneInfo_Hide, METH_O, NULL},
15960 { (char *)"AuiPaneInfo_Show", (PyCFunction) _wrap_AuiPaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
15961 { (char *)"AuiPaneInfo_CaptionVisible", (PyCFunction) _wrap_AuiPaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
15962 { (char *)"AuiPaneInfo_Maximize", (PyCFunction)_wrap_AuiPaneInfo_Maximize, METH_O, NULL},
15963 { (char *)"AuiPaneInfo_Restore", (PyCFunction)_wrap_AuiPaneInfo_Restore, METH_O, NULL},
15964 { (char *)"AuiPaneInfo_PaneBorder", (PyCFunction) _wrap_AuiPaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
15965 { (char *)"AuiPaneInfo_Gripper", (PyCFunction) _wrap_AuiPaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
15966 { (char *)"AuiPaneInfo_GripperTop", (PyCFunction) _wrap_AuiPaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
15967 { (char *)"AuiPaneInfo_CloseButton", (PyCFunction) _wrap_AuiPaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
15968 { (char *)"AuiPaneInfo_MaximizeButton", (PyCFunction) _wrap_AuiPaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
15969 { (char *)"AuiPaneInfo_MinimizeButton", (PyCFunction) _wrap_AuiPaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
15970 { (char *)"AuiPaneInfo_PinButton", (PyCFunction) _wrap_AuiPaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
15971 { (char *)"AuiPaneInfo_DestroyOnClose", (PyCFunction) _wrap_AuiPaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
15972 { (char *)"AuiPaneInfo_TopDockable", (PyCFunction) _wrap_AuiPaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15973 { (char *)"AuiPaneInfo_BottomDockable", (PyCFunction) _wrap_AuiPaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15974 { (char *)"AuiPaneInfo_LeftDockable", (PyCFunction) _wrap_AuiPaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15975 { (char *)"AuiPaneInfo_RightDockable", (PyCFunction) _wrap_AuiPaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
15976 { (char *)"AuiPaneInfo_Floatable", (PyCFunction) _wrap_AuiPaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
15977 { (char *)"AuiPaneInfo_Movable", (PyCFunction) _wrap_AuiPaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
15978 { (char *)"AuiPaneInfo_Dockable", (PyCFunction) _wrap_AuiPaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
15979 { (char *)"AuiPaneInfo_DefaultPane", (PyCFunction)_wrap_AuiPaneInfo_DefaultPane, METH_O, NULL},
15980 { (char *)"AuiPaneInfo_CentrePane", (PyCFunction)_wrap_AuiPaneInfo_CentrePane, METH_O, NULL},
15981 { (char *)"AuiPaneInfo_CenterPane", (PyCFunction)_wrap_AuiPaneInfo_CenterPane, METH_O, NULL},
15982 { (char *)"AuiPaneInfo_ToolbarPane", (PyCFunction)_wrap_AuiPaneInfo_ToolbarPane, METH_O, NULL},
15983 { (char *)"AuiPaneInfo_SetFlag", (PyCFunction) _wrap_AuiPaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
15984 { (char *)"AuiPaneInfo_HasFlag", (PyCFunction) _wrap_AuiPaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
15985 { (char *)"AuiPaneInfo_name_set", _wrap_AuiPaneInfo_name_set, METH_VARARGS, NULL},
15986 { (char *)"AuiPaneInfo_name_get", (PyCFunction)_wrap_AuiPaneInfo_name_get, METH_O, NULL},
15987 { (char *)"AuiPaneInfo_caption_set", _wrap_AuiPaneInfo_caption_set, METH_VARARGS, NULL},
15988 { (char *)"AuiPaneInfo_caption_get", (PyCFunction)_wrap_AuiPaneInfo_caption_get, METH_O, NULL},
15989 { (char *)"AuiPaneInfo_window_set", _wrap_AuiPaneInfo_window_set, METH_VARARGS, NULL},
15990 { (char *)"AuiPaneInfo_window_get", (PyCFunction)_wrap_AuiPaneInfo_window_get, METH_O, NULL},
15991 { (char *)"AuiPaneInfo_frame_set", _wrap_AuiPaneInfo_frame_set, METH_VARARGS, NULL},
15992 { (char *)"AuiPaneInfo_frame_get", (PyCFunction)_wrap_AuiPaneInfo_frame_get, METH_O, NULL},
15993 { (char *)"AuiPaneInfo_state_set", _wrap_AuiPaneInfo_state_set, METH_VARARGS, NULL},
15994 { (char *)"AuiPaneInfo_state_get", (PyCFunction)_wrap_AuiPaneInfo_state_get, METH_O, NULL},
15995 { (char *)"AuiPaneInfo_dock_direction_set", _wrap_AuiPaneInfo_dock_direction_set, METH_VARARGS, NULL},
15996 { (char *)"AuiPaneInfo_dock_direction_get", (PyCFunction)_wrap_AuiPaneInfo_dock_direction_get, METH_O, NULL},
15997 { (char *)"AuiPaneInfo_dock_layer_set", _wrap_AuiPaneInfo_dock_layer_set, METH_VARARGS, NULL},
15998 { (char *)"AuiPaneInfo_dock_layer_get", (PyCFunction)_wrap_AuiPaneInfo_dock_layer_get, METH_O, NULL},
15999 { (char *)"AuiPaneInfo_dock_row_set", _wrap_AuiPaneInfo_dock_row_set, METH_VARARGS, NULL},
16000 { (char *)"AuiPaneInfo_dock_row_get", (PyCFunction)_wrap_AuiPaneInfo_dock_row_get, METH_O, NULL},
16001 { (char *)"AuiPaneInfo_dock_pos_set", _wrap_AuiPaneInfo_dock_pos_set, METH_VARARGS, NULL},
16002 { (char *)"AuiPaneInfo_dock_pos_get", (PyCFunction)_wrap_AuiPaneInfo_dock_pos_get, METH_O, NULL},
16003 { (char *)"AuiPaneInfo_best_size_set", _wrap_AuiPaneInfo_best_size_set, METH_VARARGS, NULL},
16004 { (char *)"AuiPaneInfo_best_size_get", (PyCFunction)_wrap_AuiPaneInfo_best_size_get, METH_O, NULL},
16005 { (char *)"AuiPaneInfo_min_size_set", _wrap_AuiPaneInfo_min_size_set, METH_VARARGS, NULL},
16006 { (char *)"AuiPaneInfo_min_size_get", (PyCFunction)_wrap_AuiPaneInfo_min_size_get, METH_O, NULL},
16007 { (char *)"AuiPaneInfo_max_size_set", _wrap_AuiPaneInfo_max_size_set, METH_VARARGS, NULL},
16008 { (char *)"AuiPaneInfo_max_size_get", (PyCFunction)_wrap_AuiPaneInfo_max_size_get, METH_O, NULL},
16009 { (char *)"AuiPaneInfo_floating_pos_set", _wrap_AuiPaneInfo_floating_pos_set, METH_VARARGS, NULL},
16010 { (char *)"AuiPaneInfo_floating_pos_get", (PyCFunction)_wrap_AuiPaneInfo_floating_pos_get, METH_O, NULL},
16011 { (char *)"AuiPaneInfo_floating_size_set", _wrap_AuiPaneInfo_floating_size_set, METH_VARARGS, NULL},
16012 { (char *)"AuiPaneInfo_floating_size_get", (PyCFunction)_wrap_AuiPaneInfo_floating_size_get, METH_O, NULL},
16013 { (char *)"AuiPaneInfo_dock_proportion_set", _wrap_AuiPaneInfo_dock_proportion_set, METH_VARARGS, NULL},
16014 { (char *)"AuiPaneInfo_dock_proportion_get", (PyCFunction)_wrap_AuiPaneInfo_dock_proportion_get, METH_O, NULL},
16015 { (char *)"AuiPaneInfo_buttons_set", _wrap_AuiPaneInfo_buttons_set, METH_VARARGS, NULL},
16016 { (char *)"AuiPaneInfo_buttons_get", (PyCFunction)_wrap_AuiPaneInfo_buttons_get, METH_O, NULL},
16017 { (char *)"AuiPaneInfo_rect_set", _wrap_AuiPaneInfo_rect_set, METH_VARARGS, NULL},
16018 { (char *)"AuiPaneInfo_rect_get", (PyCFunction)_wrap_AuiPaneInfo_rect_get, METH_O, NULL},
16019 { (char *)"AuiPaneInfo_swigregister", AuiPaneInfo_swigregister, METH_VARARGS, NULL},
16020 { (char *)"AuiPaneInfo_swiginit", AuiPaneInfo_swiginit, METH_VARARGS, NULL},
16021 { (char *)"new_AuiManager", (PyCFunction) _wrap_new_AuiManager, METH_VARARGS | METH_KEYWORDS, NULL},
16022 { (char *)"delete_AuiManager", (PyCFunction)_wrap_delete_AuiManager, METH_O, NULL},
16023 { (char *)"AuiManager_UnInit", (PyCFunction)_wrap_AuiManager_UnInit, METH_O, NULL},
16024 { (char *)"AuiManager_SetFlags", (PyCFunction) _wrap_AuiManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16025 { (char *)"AuiManager_GetFlags", (PyCFunction)_wrap_AuiManager_GetFlags, METH_O, NULL},
16026 { (char *)"AuiManager_SetManagedWindow", (PyCFunction) _wrap_AuiManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
16027 { (char *)"AuiManager_GetManagedWindow", (PyCFunction)_wrap_AuiManager_GetManagedWindow, METH_O, NULL},
16028 { (char *)"AuiManager_GetManager", (PyCFunction) _wrap_AuiManager_GetManager, METH_VARARGS | METH_KEYWORDS, NULL},
16029 { (char *)"AuiManager_SetArtProvider", (PyCFunction) _wrap_AuiManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
16030 { (char *)"AuiManager_GetArtProvider", (PyCFunction)_wrap_AuiManager_GetArtProvider, METH_O, NULL},
16031 { (char *)"AuiManager__GetPaneByWidget", (PyCFunction) _wrap_AuiManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
16032 { (char *)"AuiManager__GetPaneByName", (PyCFunction) _wrap_AuiManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
16033 { (char *)"AuiManager_GetAllPanes", (PyCFunction)_wrap_AuiManager_GetAllPanes, METH_O, NULL},
16034 { (char *)"AuiManager__AddPane1", (PyCFunction) _wrap_AuiManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
16035 { (char *)"AuiManager_AddPane", (PyCFunction) _wrap_AuiManager_AddPane, METH_VARARGS | METH_KEYWORDS, NULL},
16036 { (char *)"AuiManager__AddPane2", (PyCFunction) _wrap_AuiManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
16037 { (char *)"AuiManager_InsertPane", (PyCFunction) _wrap_AuiManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
16038 { (char *)"AuiManager_DetachPane", (PyCFunction) _wrap_AuiManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
16039 { (char *)"AuiManager_Update", (PyCFunction)_wrap_AuiManager_Update, METH_O, NULL},
16040 { (char *)"AuiManager_SavePaneInfo", (PyCFunction) _wrap_AuiManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
16041 { (char *)"AuiManager_LoadPaneInfo", (PyCFunction) _wrap_AuiManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
16042 { (char *)"AuiManager_SavePerspective", (PyCFunction)_wrap_AuiManager_SavePerspective, METH_O, NULL},
16043 { (char *)"AuiManager_LoadPerspective", (PyCFunction) _wrap_AuiManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
16044 { (char *)"AuiManager_SetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_SetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
16045 { (char *)"AuiManager_GetDockSizeConstraint", (PyCFunction) _wrap_AuiManager_GetDockSizeConstraint, METH_VARARGS | METH_KEYWORDS, NULL},
16046 { (char *)"AuiManager_ClosePane", (PyCFunction) _wrap_AuiManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL},
16047 { (char *)"AuiManager_MaximizePane", (PyCFunction) _wrap_AuiManager_MaximizePane, METH_VARARGS | METH_KEYWORDS, NULL},
16048 { (char *)"AuiManager_RestorePane", (PyCFunction) _wrap_AuiManager_RestorePane, METH_VARARGS | METH_KEYWORDS, NULL},
16049 { (char *)"AuiManager_RestoreMaximizedPane", (PyCFunction)_wrap_AuiManager_RestoreMaximizedPane, METH_O, NULL},
16050 { (char *)"AuiManager_CreateFloatingFrame", (PyCFunction) _wrap_AuiManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL},
16051 { (char *)"AuiManager_StartPaneDrag", (PyCFunction) _wrap_AuiManager_StartPaneDrag, METH_VARARGS | METH_KEYWORDS, NULL},
16052 { (char *)"AuiManager_CalculateHintRect", (PyCFunction) _wrap_AuiManager_CalculateHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
16053 { (char *)"AuiManager_DrawHintRect", (PyCFunction) _wrap_AuiManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
16054 { (char *)"AuiManager_ShowHint", (PyCFunction) _wrap_AuiManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
16055 { (char *)"AuiManager_HideHint", (PyCFunction)_wrap_AuiManager_HideHint, METH_O, NULL},
16056 { (char *)"AuiManager_OnRender", (PyCFunction) _wrap_AuiManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
16057 { (char *)"AuiManager_OnPaneButton", (PyCFunction) _wrap_AuiManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
16058 { (char *)"AuiManager_swigregister", AuiManager_swigregister, METH_VARARGS, NULL},
16059 { (char *)"AuiManager_swiginit", AuiManager_swiginit, METH_VARARGS, NULL},
16060 { (char *)"new_AuiManagerEvent", (PyCFunction) _wrap_new_AuiManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
16061 { (char *)"AuiManagerEvent_Clone", (PyCFunction)_wrap_AuiManagerEvent_Clone, METH_O, NULL},
16062 { (char *)"AuiManagerEvent_SetManager", (PyCFunction) _wrap_AuiManagerEvent_SetManager, METH_VARARGS | METH_KEYWORDS, NULL},
16063 { (char *)"AuiManagerEvent_SetPane", (PyCFunction) _wrap_AuiManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
16064 { (char *)"AuiManagerEvent_SetButton", (PyCFunction) _wrap_AuiManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
16065 { (char *)"AuiManagerEvent_SetDC", (PyCFunction) _wrap_AuiManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
16066 { (char *)"AuiManagerEvent_GetManager", (PyCFunction)_wrap_AuiManagerEvent_GetManager, METH_O, NULL},
16067 { (char *)"AuiManagerEvent_GetPane", (PyCFunction)_wrap_AuiManagerEvent_GetPane, METH_O, NULL},
16068 { (char *)"AuiManagerEvent_GetButton", (PyCFunction)_wrap_AuiManagerEvent_GetButton, METH_O, NULL},
16069 { (char *)"AuiManagerEvent_GetDC", (PyCFunction)_wrap_AuiManagerEvent_GetDC, METH_O, NULL},
16070 { (char *)"AuiManagerEvent_Veto", (PyCFunction) _wrap_AuiManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
16071 { (char *)"AuiManagerEvent_GetVeto", (PyCFunction)_wrap_AuiManagerEvent_GetVeto, METH_O, NULL},
16072 { (char *)"AuiManagerEvent_SetCanVeto", (PyCFunction) _wrap_AuiManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
16073 { (char *)"AuiManagerEvent_CanVeto", (PyCFunction)_wrap_AuiManagerEvent_CanVeto, METH_O, NULL},
16074 { (char *)"AuiManagerEvent_manager_set", _wrap_AuiManagerEvent_manager_set, METH_VARARGS, NULL},
16075 { (char *)"AuiManagerEvent_manager_get", (PyCFunction)_wrap_AuiManagerEvent_manager_get, METH_O, NULL},
16076 { (char *)"AuiManagerEvent_pane_set", _wrap_AuiManagerEvent_pane_set, METH_VARARGS, NULL},
16077 { (char *)"AuiManagerEvent_pane_get", (PyCFunction)_wrap_AuiManagerEvent_pane_get, METH_O, NULL},
16078 { (char *)"AuiManagerEvent_button_set", _wrap_AuiManagerEvent_button_set, METH_VARARGS, NULL},
16079 { (char *)"AuiManagerEvent_button_get", (PyCFunction)_wrap_AuiManagerEvent_button_get, METH_O, NULL},
16080 { (char *)"AuiManagerEvent_veto_flag_set", _wrap_AuiManagerEvent_veto_flag_set, METH_VARARGS, NULL},
16081 { (char *)"AuiManagerEvent_veto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_veto_flag_get, METH_O, NULL},
16082 { (char *)"AuiManagerEvent_canveto_flag_set", _wrap_AuiManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
16083 { (char *)"AuiManagerEvent_canveto_flag_get", (PyCFunction)_wrap_AuiManagerEvent_canveto_flag_get, METH_O, NULL},
16084 { (char *)"AuiManagerEvent_dc_set", _wrap_AuiManagerEvent_dc_set, METH_VARARGS, NULL},
16085 { (char *)"AuiManagerEvent_dc_get", (PyCFunction)_wrap_AuiManagerEvent_dc_get, METH_O, NULL},
16086 { (char *)"AuiManagerEvent_swigregister", AuiManagerEvent_swigregister, METH_VARARGS, NULL},
16087 { (char *)"AuiManagerEvent_swiginit", AuiManagerEvent_swiginit, METH_VARARGS, NULL},
16088 { (char *)"new_AuiDockInfo", (PyCFunction)_wrap_new_AuiDockInfo, METH_NOARGS, NULL},
16089 { (char *)"AuiDockInfo_IsOk", (PyCFunction)_wrap_AuiDockInfo_IsOk, METH_O, NULL},
16090 { (char *)"AuiDockInfo_IsHorizontal", (PyCFunction)_wrap_AuiDockInfo_IsHorizontal, METH_O, NULL},
16091 { (char *)"AuiDockInfo_IsVertical", (PyCFunction)_wrap_AuiDockInfo_IsVertical, METH_O, NULL},
16092 { (char *)"AuiDockInfo_panes_set", _wrap_AuiDockInfo_panes_set, METH_VARARGS, NULL},
16093 { (char *)"AuiDockInfo_panes_get", (PyCFunction)_wrap_AuiDockInfo_panes_get, METH_O, NULL},
16094 { (char *)"AuiDockInfo_rect_set", _wrap_AuiDockInfo_rect_set, METH_VARARGS, NULL},
16095 { (char *)"AuiDockInfo_rect_get", (PyCFunction)_wrap_AuiDockInfo_rect_get, METH_O, NULL},
16096 { (char *)"AuiDockInfo_dock_direction_set", _wrap_AuiDockInfo_dock_direction_set, METH_VARARGS, NULL},
16097 { (char *)"AuiDockInfo_dock_direction_get", (PyCFunction)_wrap_AuiDockInfo_dock_direction_get, METH_O, NULL},
16098 { (char *)"AuiDockInfo_dock_layer_set", _wrap_AuiDockInfo_dock_layer_set, METH_VARARGS, NULL},
16099 { (char *)"AuiDockInfo_dock_layer_get", (PyCFunction)_wrap_AuiDockInfo_dock_layer_get, METH_O, NULL},
16100 { (char *)"AuiDockInfo_dock_row_set", _wrap_AuiDockInfo_dock_row_set, METH_VARARGS, NULL},
16101 { (char *)"AuiDockInfo_dock_row_get", (PyCFunction)_wrap_AuiDockInfo_dock_row_get, METH_O, NULL},
16102 { (char *)"AuiDockInfo_size_set", _wrap_AuiDockInfo_size_set, METH_VARARGS, NULL},
16103 { (char *)"AuiDockInfo_size_get", (PyCFunction)_wrap_AuiDockInfo_size_get, METH_O, NULL},
16104 { (char *)"AuiDockInfo_min_size_set", _wrap_AuiDockInfo_min_size_set, METH_VARARGS, NULL},
16105 { (char *)"AuiDockInfo_min_size_get", (PyCFunction)_wrap_AuiDockInfo_min_size_get, METH_O, NULL},
16106 { (char *)"AuiDockInfo_resizable_set", _wrap_AuiDockInfo_resizable_set, METH_VARARGS, NULL},
16107 { (char *)"AuiDockInfo_resizable_get", (PyCFunction)_wrap_AuiDockInfo_resizable_get, METH_O, NULL},
16108 { (char *)"AuiDockInfo_toolbar_set", _wrap_AuiDockInfo_toolbar_set, METH_VARARGS, NULL},
16109 { (char *)"AuiDockInfo_toolbar_get", (PyCFunction)_wrap_AuiDockInfo_toolbar_get, METH_O, NULL},
16110 { (char *)"AuiDockInfo_fixed_set", _wrap_AuiDockInfo_fixed_set, METH_VARARGS, NULL},
16111 { (char *)"AuiDockInfo_fixed_get", (PyCFunction)_wrap_AuiDockInfo_fixed_get, METH_O, NULL},
16112 { (char *)"delete_AuiDockInfo", (PyCFunction)_wrap_delete_AuiDockInfo, METH_O, NULL},
16113 { (char *)"AuiDockInfo_swigregister", AuiDockInfo_swigregister, METH_VARARGS, NULL},
16114 { (char *)"AuiDockInfo_swiginit", AuiDockInfo_swiginit, METH_VARARGS, NULL},
16115 { (char *)"AuiDockUIPart_type_set", _wrap_AuiDockUIPart_type_set, METH_VARARGS, NULL},
16116 { (char *)"AuiDockUIPart_type_get", (PyCFunction)_wrap_AuiDockUIPart_type_get, METH_O, NULL},
16117 { (char *)"AuiDockUIPart_orientation_set", _wrap_AuiDockUIPart_orientation_set, METH_VARARGS, NULL},
16118 { (char *)"AuiDockUIPart_orientation_get", (PyCFunction)_wrap_AuiDockUIPart_orientation_get, METH_O, NULL},
16119 { (char *)"AuiDockUIPart_dock_set", _wrap_AuiDockUIPart_dock_set, METH_VARARGS, NULL},
16120 { (char *)"AuiDockUIPart_dock_get", (PyCFunction)_wrap_AuiDockUIPart_dock_get, METH_O, NULL},
16121 { (char *)"AuiDockUIPart_pane_set", _wrap_AuiDockUIPart_pane_set, METH_VARARGS, NULL},
16122 { (char *)"AuiDockUIPart_pane_get", (PyCFunction)_wrap_AuiDockUIPart_pane_get, METH_O, NULL},
16123 { (char *)"AuiDockUIPart_button_set", _wrap_AuiDockUIPart_button_set, METH_VARARGS, NULL},
16124 { (char *)"AuiDockUIPart_button_get", (PyCFunction)_wrap_AuiDockUIPart_button_get, METH_O, NULL},
16125 { (char *)"AuiDockUIPart_cont_sizer_set", _wrap_AuiDockUIPart_cont_sizer_set, METH_VARARGS, NULL},
16126 { (char *)"AuiDockUIPart_cont_sizer_get", (PyCFunction)_wrap_AuiDockUIPart_cont_sizer_get, METH_O, NULL},
16127 { (char *)"AuiDockUIPart_sizer_item_set", _wrap_AuiDockUIPart_sizer_item_set, METH_VARARGS, NULL},
16128 { (char *)"AuiDockUIPart_sizer_item_get", (PyCFunction)_wrap_AuiDockUIPart_sizer_item_get, METH_O, NULL},
16129 { (char *)"AuiDockUIPart_rect_set", _wrap_AuiDockUIPart_rect_set, METH_VARARGS, NULL},
16130 { (char *)"AuiDockUIPart_rect_get", (PyCFunction)_wrap_AuiDockUIPart_rect_get, METH_O, NULL},
16131 { (char *)"delete_AuiDockUIPart", (PyCFunction)_wrap_delete_AuiDockUIPart, METH_O, NULL},
16132 { (char *)"AuiDockUIPart_swigregister", AuiDockUIPart_swigregister, METH_VARARGS, NULL},
16133 { (char *)"AuiPaneButton_button_id_set", _wrap_AuiPaneButton_button_id_set, METH_VARARGS, NULL},
16134 { (char *)"AuiPaneButton_button_id_get", (PyCFunction)_wrap_AuiPaneButton_button_id_get, METH_O, NULL},
16135 { (char *)"delete_AuiPaneButton", (PyCFunction)_wrap_delete_AuiPaneButton, METH_O, NULL},
16136 { (char *)"AuiPaneButton_swigregister", AuiPaneButton_swigregister, METH_VARARGS, NULL},
16137 { (char *)"delete_AuiDockArt", (PyCFunction)_wrap_delete_AuiDockArt, METH_O, NULL},
16138 { (char *)"AuiDockArt_GetMetric", (PyCFunction) _wrap_AuiDockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
16139 { (char *)"AuiDockArt_SetMetric", (PyCFunction) _wrap_AuiDockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
16140 { (char *)"AuiDockArt_SetFont", (PyCFunction) _wrap_AuiDockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
16141 { (char *)"AuiDockArt_GetFont", (PyCFunction) _wrap_AuiDockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
16142 { (char *)"AuiDockArt_GetColour", (PyCFunction) _wrap_AuiDockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
16143 { (char *)"AuiDockArt_SetColour", (PyCFunction) _wrap_AuiDockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
16144 { (char *)"AuiDockArt_GetColor", (PyCFunction) _wrap_AuiDockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
16145 { (char *)"AuiDockArt_SetColor", (PyCFunction) _wrap_AuiDockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
16146 { (char *)"AuiDockArt_DrawSash", (PyCFunction) _wrap_AuiDockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
16147 { (char *)"AuiDockArt_DrawBackground", (PyCFunction) _wrap_AuiDockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16148 { (char *)"AuiDockArt_DrawCaption", (PyCFunction) _wrap_AuiDockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
16149 { (char *)"AuiDockArt_DrawGripper", (PyCFunction) _wrap_AuiDockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
16150 { (char *)"AuiDockArt_DrawBorder", (PyCFunction) _wrap_AuiDockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
16151 { (char *)"AuiDockArt_DrawPaneButton", (PyCFunction) _wrap_AuiDockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
16152 { (char *)"AuiDockArt_swigregister", AuiDockArt_swigregister, METH_VARARGS, NULL},
16153 { (char *)"new_AuiDefaultDockArt", (PyCFunction)_wrap_new_AuiDefaultDockArt, METH_NOARGS, NULL},
16154 { (char *)"AuiDefaultDockArt_swigregister", AuiDefaultDockArt_swigregister, METH_VARARGS, NULL},
16155 { (char *)"AuiDefaultDockArt_swiginit", AuiDefaultDockArt_swiginit, METH_VARARGS, NULL},
16156 { (char *)"new_AuiFloatingFrame", (PyCFunction) _wrap_new_AuiFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL},
16157 { (char *)"delete_AuiFloatingFrame", (PyCFunction)_wrap_delete_AuiFloatingFrame, METH_O, NULL},
16158 { (char *)"AuiFloatingFrame_SetPaneWindow", (PyCFunction) _wrap_AuiFloatingFrame_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
16159 { (char *)"AuiFloatingFrame_GetOwnerManager", (PyCFunction)_wrap_AuiFloatingFrame_GetOwnerManager, METH_O, NULL},
16160 { (char *)"AuiFloatingFrame_swigregister", AuiFloatingFrame_swigregister, METH_VARARGS, NULL},
16161 { (char *)"AuiFloatingFrame_swiginit", AuiFloatingFrame_swiginit, METH_VARARGS, NULL},
16162 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
16163 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16164 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
16165 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16166 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
16167 { (char *)"AuiNotebookEvent_SetDragSource", (PyCFunction) _wrap_AuiNotebookEvent_SetDragSource, METH_VARARGS | METH_KEYWORDS, NULL},
16168 { (char *)"AuiNotebookEvent_GetDragSource", (PyCFunction)_wrap_AuiNotebookEvent_GetDragSource, METH_O, NULL},
16169 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
16170 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
16171 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
16172 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
16173 { (char *)"AuiNotebookEvent_drag_source_set", _wrap_AuiNotebookEvent_drag_source_set, METH_VARARGS, NULL},
16174 { (char *)"AuiNotebookEvent_drag_source_get", (PyCFunction)_wrap_AuiNotebookEvent_drag_source_get, METH_O, NULL},
16175 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
16176 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
16177 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
16178 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
16179 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
16180 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
16181 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
16182 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
16183 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
16184 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
16185 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
16186 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
16187 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
16188 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
16189 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
16190 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
16191 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
16192 { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL},
16193 { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL},
16194 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
16195 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
16196 { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL},
16197 { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL},
16198 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
16199 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
16200 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
16201 { (char *)"delete_AuiTabArt", (PyCFunction)_wrap_delete_AuiTabArt, METH_O, NULL},
16202 { (char *)"AuiTabArt_Clone", (PyCFunction)_wrap_AuiTabArt_Clone, METH_O, NULL},
16203 { (char *)"AuiTabArt_SetFlags", (PyCFunction) _wrap_AuiTabArt_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16204 { (char *)"AuiTabArt_SetSizingInfo", (PyCFunction) _wrap_AuiTabArt_SetSizingInfo, METH_VARARGS | METH_KEYWORDS, NULL},
16205 { (char *)"AuiTabArt_SetNormalFont", (PyCFunction) _wrap_AuiTabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
16206 { (char *)"AuiTabArt_SetSelectedFont", (PyCFunction) _wrap_AuiTabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
16207 { (char *)"AuiTabArt_SetMeasuringFont", (PyCFunction) _wrap_AuiTabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
16208 { (char *)"AuiTabArt_DrawBackground", (PyCFunction) _wrap_AuiTabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16209 { (char *)"AuiTabArt_DrawTab", (PyCFunction) _wrap_AuiTabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL},
16210 { (char *)"AuiTabArt_DrawButton", (PyCFunction) _wrap_AuiTabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL},
16211 { (char *)"AuiTabArt_GetIndentSize", (PyCFunction)_wrap_AuiTabArt_GetIndentSize, METH_O, NULL},
16212 { (char *)"AuiTabArt_GetTabSize", (PyCFunction) _wrap_AuiTabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
16213 { (char *)"AuiTabArt_ShowWindowList", (PyCFunction) _wrap_AuiTabArt_ShowWindowList, METH_VARARGS | METH_KEYWORDS, NULL},
16214 { (char *)"AuiTabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_AuiTabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL},
16215 { (char *)"AuiTabArt_swigregister", AuiTabArt_swigregister, METH_VARARGS, NULL},
16216 { (char *)"new_AuiDefaultTabArt", (PyCFunction)_wrap_new_AuiDefaultTabArt, METH_NOARGS, NULL},
16217 { (char *)"delete_AuiDefaultTabArt", (PyCFunction)_wrap_delete_AuiDefaultTabArt, METH_O, NULL},
16218 { (char *)"AuiDefaultTabArt_swigregister", AuiDefaultTabArt_swigregister, METH_VARARGS, NULL},
16219 { (char *)"AuiDefaultTabArt_swiginit", AuiDefaultTabArt_swiginit, METH_VARARGS, NULL},
16220 { (char *)"new_AuiSimpleTabArt", (PyCFunction)_wrap_new_AuiSimpleTabArt, METH_NOARGS, NULL},
16221 { (char *)"delete_AuiSimpleTabArt", (PyCFunction)_wrap_delete_AuiSimpleTabArt, METH_O, NULL},
16222 { (char *)"AuiSimpleTabArt_swigregister", AuiSimpleTabArt_swigregister, METH_VARARGS, NULL},
16223 { (char *)"AuiSimpleTabArt_swiginit", AuiSimpleTabArt_swiginit, METH_VARARGS, NULL},
16224 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
16225 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
16226 { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
16227 { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL},
16228 { (char *)"AuiTabContainer_SetFlags", (PyCFunction) _wrap_AuiTabContainer_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16229 { (char *)"AuiTabContainer_GetFlags", (PyCFunction)_wrap_AuiTabContainer_GetFlags, METH_O, NULL},
16230 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
16231 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
16232 { (char *)"AuiTabContainer_MovePage", (PyCFunction) _wrap_AuiTabContainer_MovePage, METH_VARARGS | METH_KEYWORDS, NULL},
16233 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
16234 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
16235 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
16236 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
16237 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
16238 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
16239 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
16240 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
16241 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
16242 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
16243 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
16244 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
16245 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
16246 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
16247 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
16248 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
16249 { (char *)"AuiTabContainer_RemoveButton", (PyCFunction) _wrap_AuiTabContainer_RemoveButton, METH_VARARGS | METH_KEYWORDS, NULL},
16250 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
16251 { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL},
16252 { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL},
16253 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
16254 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
16255 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
16256 { (char *)"delete_AuiTabCtrl", (PyCFunction)_wrap_delete_AuiTabCtrl, METH_O, NULL},
16257 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
16258 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
16259 { (char *)"new_PreAuiNotebook", (PyCFunction)_wrap_new_PreAuiNotebook, METH_NOARGS, NULL},
16260 { (char *)"new_AuiNotebook", (PyCFunction) _wrap_new_AuiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
16261 { (char *)"delete_AuiNotebook", (PyCFunction)_wrap_delete_AuiNotebook, METH_O, NULL},
16262 { (char *)"AuiNotebook_Create", (PyCFunction) _wrap_AuiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
16263 { (char *)"AuiNotebook_AddPage", (PyCFunction) _wrap_AuiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
16264 { (char *)"AuiNotebook_InsertPage", (PyCFunction) _wrap_AuiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
16265 { (char *)"AuiNotebook_DeletePage", (PyCFunction) _wrap_AuiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
16266 { (char *)"AuiNotebook_RemovePage", (PyCFunction) _wrap_AuiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
16267 { (char *)"AuiNotebook_SetPageText", (PyCFunction) _wrap_AuiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
16268 { (char *)"AuiNotebook_SetPageBitmap", (PyCFunction) _wrap_AuiNotebook_SetPageBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
16269 { (char *)"AuiNotebook_SetSelection", (PyCFunction) _wrap_AuiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16270 { (char *)"AuiNotebook_GetSelection", (PyCFunction)_wrap_AuiNotebook_GetSelection, METH_O, NULL},
16271 { (char *)"AuiNotebook_GetPageCount", (PyCFunction)_wrap_AuiNotebook_GetPageCount, METH_O, NULL},
16272 { (char *)"AuiNotebook_GetPage", (PyCFunction) _wrap_AuiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
16273 { (char *)"AuiNotebook_GetPageIndex", (PyCFunction) _wrap_AuiNotebook_GetPageIndex, METH_VARARGS | METH_KEYWORDS, NULL},
16274 { (char *)"AuiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
16275 { (char *)"AuiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiNotebook_GetArtProvider, METH_O, NULL},
16276 { (char *)"AuiNotebook_SetUniformBitmapSize", (PyCFunction) _wrap_AuiNotebook_SetUniformBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
16277 { (char *)"AuiNotebook_SetTabCtrlHeight", (PyCFunction) _wrap_AuiNotebook_SetTabCtrlHeight, METH_VARARGS | METH_KEYWORDS, NULL},
16278 { (char *)"AuiNotebook_swigregister", AuiNotebook_swigregister, METH_VARARGS, NULL},
16279 { (char *)"AuiNotebook_swiginit", AuiNotebook_swiginit, METH_VARARGS, NULL},
16280 { (char *)"PyAuiDockArt_swigregister", PyAuiDockArt_swigregister, METH_VARARGS, NULL},
16281 { (char *)"PyAuiTabArt_swigregister", PyAuiTabArt_swigregister, METH_VARARGS, NULL},
16282 { NULL, NULL, 0, NULL }
16283 };
16284
16285
16286 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
16287
16288 static void *_p_wxAuiFloatingFrameTo_p_wxMiniFrame(void *x) {
16289 return (void *)((wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16290 }
16291 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
16292 return (void *)((wxSizer *) ((wxBoxSizer *) x));
16293 }
16294 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
16295 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
16296 }
16297 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
16298 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
16299 }
16300 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
16301 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16302 }
16303 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
16304 return (void *)((wxSizer *) ((wxGridSizer *) x));
16305 }
16306 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
16307 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
16308 }
16309 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
16310 return (void *)((wxSizer *) ((wxPySizer *) x));
16311 }
16312 static void *_p_wxAuiDefaultTabArtTo_p_wxAuiTabArt(void *x) {
16313 return (void *)((wxAuiTabArt *) ((wxAuiDefaultTabArt *) x));
16314 }
16315 static void *_p_wxAuiSimpleTabArtTo_p_wxAuiTabArt(void *x) {
16316 return (void *)((wxAuiTabArt *) ((wxAuiSimpleTabArt *) x));
16317 }
16318 static void *_p_wxPyAuiTabArtTo_p_wxAuiTabArt(void *x) {
16319 return (void *)((wxAuiTabArt *) (wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x));
16320 }
16321 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
16322 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
16323 }
16324 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
16325 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
16326 }
16327 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
16328 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
16329 }
16330 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
16331 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
16332 }
16333 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
16334 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
16335 }
16336 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
16337 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
16338 }
16339 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
16340 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
16341 }
16342 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
16343 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
16344 }
16345 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
16346 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
16347 }
16348 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
16349 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
16350 }
16351 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
16352 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
16353 }
16354 static void *_p_wxAuiFloatingFrameTo_p_wxTopLevelWindow(void *x) {
16355 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16356 }
16357 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
16358 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
16359 }
16360 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
16361 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
16362 }
16363 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
16364 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16365 }
16366 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
16367 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
16368 }
16369 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16370 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
16371 }
16372 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
16373 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
16374 }
16375 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
16376 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
16377 }
16378 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
16379 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
16380 }
16381 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
16382 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
16383 }
16384 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16385 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
16386 }
16387 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
16388 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16389 }
16390 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
16391 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16392 }
16393 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
16394 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
16395 }
16396 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
16397 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
16398 }
16399 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
16400 return (void *)((wxWindow *) ((wxMenuBar *) x));
16401 }
16402 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
16403 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16404 }
16405 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
16406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16407 }
16408 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
16409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16410 }
16411 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
16412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
16413 }
16414 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
16415 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16416 }
16417 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
16418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16419 }
16420 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
16421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16422 }
16423 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
16424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16425 }
16426 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
16427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16428 }
16429 static void *_p_wxPanelTo_p_wxWindow(void *x) {
16430 return (void *)((wxWindow *) ((wxPanel *) x));
16431 }
16432 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
16433 return (void *)((wxWindow *) ((wxStatusBar *) x));
16434 }
16435 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
16436 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
16437 }
16438 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
16439 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
16440 }
16441 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
16442 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
16443 }
16444 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
16445 return (void *)((wxWindow *) ((wxPopupWindow *) x));
16446 }
16447 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
16448 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
16449 }
16450 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
16451 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
16452 }
16453 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
16454 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
16455 }
16456 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
16457 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
16458 }
16459 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
16460 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
16461 }
16462 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
16463 return (void *)((wxWindow *) ((wxSashWindow *) x));
16464 }
16465 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
16466 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
16467 }
16468 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
16469 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
16470 }
16471 static void *_p_wxControlTo_p_wxWindow(void *x) {
16472 return (void *)((wxWindow *) ((wxControl *) x));
16473 }
16474 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
16475 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16476 }
16477 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
16478 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16479 }
16480 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
16481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16482 }
16483 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
16484 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
16485 }
16486 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
16487 return (void *)((wxWindow *) ((wxPyWindow *) x));
16488 }
16489 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
16490 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16491 }
16492 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
16493 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
16494 }
16495 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
16496 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
16497 }
16498 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
16499 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
16500 }
16501 static void *_p_wxAuiNotebookTo_p_wxWindow(void *x) {
16502 return (void *)((wxWindow *) (wxControl *) ((wxAuiNotebook *) x));
16503 }
16504 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
16505 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
16506 }
16507 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
16508 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
16509 }
16510 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
16511 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
16512 }
16513 static void *_p_wxFrameTo_p_wxWindow(void *x) {
16514 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
16515 }
16516 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
16517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
16518 }
16519 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
16520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
16521 }
16522 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
16523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
16524 }
16525 static void *_p_wxDialogTo_p_wxWindow(void *x) {
16526 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
16527 }
16528 static void *_p_wxAuiFloatingFrameTo_p_wxWindow(void *x) {
16529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16530 }
16531 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
16532 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
16533 }
16534 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
16535 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
16536 }
16537 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
16538 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
16539 }
16540 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
16541 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
16542 }
16543 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
16544 return (void *)((wxWindow **) ((wxMenuBar **) x));
16545 }
16546 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
16547 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
16548 }
16549 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
16550 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
16551 }
16552 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
16553 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
16554 }
16555 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
16556 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
16557 }
16558 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
16559 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
16560 }
16561 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
16562 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
16563 }
16564 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
16565 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
16566 }
16567 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
16568 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
16569 }
16570 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
16571 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
16572 }
16573 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
16574 return (void *)((wxWindow **) ((wxPanel **) x));
16575 }
16576 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
16577 return (void *)((wxWindow **) ((wxStatusBar **) x));
16578 }
16579 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
16580 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
16581 }
16582 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
16583 return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x));
16584 }
16585 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
16586 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
16587 }
16588 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
16589 return (void *)((wxWindow **) ((wxPopupWindow **) x));
16590 }
16591 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
16592 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
16593 }
16594 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
16595 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
16596 }
16597 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
16598 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
16599 }
16600 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
16601 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
16602 }
16603 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
16604 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
16605 }
16606 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
16607 return (void *)((wxWindow **) ((wxSashWindow **) x));
16608 }
16609 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
16610 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
16611 }
16612 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
16613 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
16614 }
16615 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
16616 return (void *)((wxWindow **) ((wxControl **) x));
16617 }
16618 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
16619 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
16620 }
16621 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
16622 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
16623 }
16624 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
16625 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
16626 }
16627 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
16628 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
16629 }
16630 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
16631 return (void *)((wxWindow **) ((wxPyWindow **) x));
16632 }
16633 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
16634 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
16635 }
16636 static void *_p_p_wxSimpleHtmlListBoxTo_p_p_wxWindow(void *x) {
16637 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox **) x));
16638 }
16639 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
16640 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
16641 }
16642 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
16643 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
16644 }
16645 static void *_p_p_wxAuiNotebookTo_p_p_wxWindow(void *x) {
16646 return (void *)((wxWindow **) (wxControl *) ((wxAuiNotebook **) x));
16647 }
16648 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
16649 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
16650 }
16651 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
16652 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
16653 }
16654 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
16655 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
16656 }
16657 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
16658 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
16659 }
16660 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
16661 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
16662 }
16663 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
16664 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
16665 }
16666 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
16667 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
16668 }
16669 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
16670 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
16671 }
16672 static void *_p_p_wxAuiFloatingFrameTo_p_p_wxWindow(void *x) {
16673 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame **) x));
16674 }
16675 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
16676 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
16677 }
16678 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
16679 return (void *)((wxControl *) ((wxControlWithItems *) x));
16680 }
16681 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
16682 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
16683 }
16684 static void *_p_wxAuiNotebookTo_p_wxControl(void *x) {
16685 return (void *)((wxControl *) ((wxAuiNotebook *) x));
16686 }
16687 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
16688 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
16689 }
16690 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
16691 return (void *)((wxEvent *) ((wxMenuEvent *) x));
16692 }
16693 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
16694 return (void *)((wxEvent *) ((wxCloseEvent *) x));
16695 }
16696 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
16697 return (void *)((wxEvent *) ((wxMouseEvent *) x));
16698 }
16699 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
16700 return (void *)((wxEvent *) ((wxEraseEvent *) x));
16701 }
16702 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
16703 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
16704 }
16705 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
16706 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16707 }
16708 static void *_p_wxAuiManagerEventTo_p_wxEvent(void *x) {
16709 return (void *)((wxEvent *) ((wxAuiManagerEvent *) x));
16710 }
16711 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
16712 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
16713 }
16714 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
16715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
16716 }
16717 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
16718 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
16719 }
16720 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
16721 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
16722 }
16723 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
16724 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
16725 }
16726 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
16727 return (void *)((wxEvent *) ((wxPyEvent *) x));
16728 }
16729 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
16730 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
16731 }
16732 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
16733 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
16734 }
16735 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
16736 return (void *)((wxEvent *) ((wxIdleEvent *) x));
16737 }
16738 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
16739 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
16740 }
16741 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
16742 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
16743 }
16744 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
16745 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
16746 }
16747 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
16748 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
16749 }
16750 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
16751 return (void *)((wxEvent *) ((wxActivateEvent *) x));
16752 }
16753 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
16754 return (void *)((wxEvent *) ((wxSizeEvent *) x));
16755 }
16756 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
16757 return (void *)((wxEvent *) ((wxMoveEvent *) x));
16758 }
16759 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
16760 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
16761 }
16762 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
16763 return (void *)((wxEvent *) ((wxPaintEvent *) x));
16764 }
16765 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
16766 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
16767 }
16768 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
16769 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
16770 }
16771 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
16772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
16773 }
16774 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
16775 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
16776 }
16777 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
16778 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
16779 }
16780 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
16781 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16782 }
16783 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
16784 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
16785 }
16786 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
16787 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
16788 }
16789 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
16790 return (void *)((wxEvent *) ((wxFocusEvent *) x));
16791 }
16792 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
16793 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
16794 }
16795 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
16796 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
16797 }
16798 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
16799 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16800 }
16801 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
16802 return (void *)((wxEvent *) ((wxShowEvent *) x));
16803 }
16804 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
16805 return (void *)((wxEvent *) ((wxCommandEvent *) x));
16806 }
16807 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
16808 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
16809 }
16810 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
16811 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
16812 }
16813 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
16814 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
16815 }
16816 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
16817 return (void *)((wxEvent *) ((wxKeyEvent *) x));
16818 }
16819 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
16820 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
16821 }
16822 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
16823 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
16824 }
16825 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
16826 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
16827 }
16828 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
16829 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
16830 }
16831 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
16832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
16833 }
16834 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
16835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
16836 }
16837 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
16838 return (void *)((wxObject *) ((wxSizerItem *) x));
16839 }
16840 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
16841 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
16842 }
16843 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
16844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
16845 }
16846 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
16847 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
16848 }
16849 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
16850 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
16851 }
16852 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
16853 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
16854 }
16855 static void *_p_wxSizerTo_p_wxObject(void *x) {
16856 return (void *)((wxObject *) ((wxSizer *) x));
16857 }
16858 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
16859 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
16860 }
16861 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
16862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
16863 }
16864 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
16865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
16866 }
16867 static void *_p_wxEventTo_p_wxObject(void *x) {
16868 return (void *)((wxObject *) ((wxEvent *) x));
16869 }
16870 static void *_p_wxFontDataTo_p_wxObject(void *x) {
16871 return (void *)((wxObject *) ((wxFontData *) x));
16872 }
16873 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
16874 return (void *)((wxObject *) ((wxPrintData *) x));
16875 }
16876 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
16877 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
16878 }
16879 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
16880 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
16881 }
16882 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
16883 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
16884 }
16885 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
16886 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
16887 }
16888 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
16889 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
16890 }
16891 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
16892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
16893 }
16894 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
16895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
16896 }
16897 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
16898 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
16899 }
16900 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
16901 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
16902 }
16903 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
16904 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
16905 }
16906 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
16907 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
16908 }
16909 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
16910 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
16911 }
16912 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
16913 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
16914 }
16915 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
16916 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
16917 }
16918 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
16919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
16920 }
16921 static void *_p_wxControlTo_p_wxObject(void *x) {
16922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
16923 }
16924 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
16925 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
16926 }
16927 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
16928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
16929 }
16930 static void *_p_wxAuiManagerEventTo_p_wxObject(void *x) {
16931 return (void *)((wxObject *) (wxEvent *) ((wxAuiManagerEvent *) x));
16932 }
16933 static void *_p_wxFSFileTo_p_wxObject(void *x) {
16934 return (void *)((wxObject *) ((wxFSFile *) x));
16935 }
16936 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
16937 return (void *)((wxObject *) ((wxFindReplaceData *) x));
16938 }
16939 static void *_p_wxAuiFloatingFrameTo_p_wxObject(void *x) {
16940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
16941 }
16942 static void *_p_wxPySizerTo_p_wxObject(void *x) {
16943 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
16944 }
16945 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
16946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
16947 }
16948 static void *_p_wxAuiNotebookTo_p_wxObject(void *x) {
16949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiNotebook *) x));
16950 }
16951 static void *_p_wxColourDataTo_p_wxObject(void *x) {
16952 return (void *)((wxObject *) ((wxColourData *) x));
16953 }
16954 static void *_p_wxPyEventTo_p_wxObject(void *x) {
16955 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
16956 }
16957 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
16958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
16959 }
16960 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
16961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
16962 }
16963 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
16964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
16965 }
16966 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
16967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
16968 }
16969 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
16970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
16971 }
16972 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
16973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
16974 }
16975 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
16976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
16977 }
16978 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
16979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
16980 }
16981 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
16982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
16983 }
16984 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
16985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
16986 }
16987 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
16988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
16989 }
16990 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
16991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
16992 }
16993 static void *_p_wxShowEventTo_p_wxObject(void *x) {
16994 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
16995 }
16996 static void *_p_wxPrinterTo_p_wxObject(void *x) {
16997 return (void *)((wxObject *) ((wxPrinter *) x));
16998 }
16999 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17000 return (void *)((wxObject *) ((wxMenuItem *) x));
17001 }
17002 static void *_p_wxDateEventTo_p_wxObject(void *x) {
17003 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17004 }
17005 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17006 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17007 }
17008 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17010 }
17011 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17012 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17013 }
17014 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17015 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17016 }
17017 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17018 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17019 }
17020 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17021 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17022 }
17023 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17024 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17025 }
17026 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17027 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17028 }
17029 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17030 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17031 }
17032 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17033 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17034 }
17035 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17036 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17037 }
17038 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17039 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17040 }
17041 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17042 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17043 }
17044 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17045 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17046 }
17047 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17048 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17049 }
17050 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17051 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17052 }
17053 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17054 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17055 }
17056 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
17057 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
17058 }
17059 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17060 return (void *)((wxObject *) ((wxImageHandler *) x));
17061 }
17062 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17063 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17064 }
17065 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17066 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17067 }
17068 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
17069 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
17070 }
17071 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17072 return (void *)((wxObject *) ((wxEvtHandler *) x));
17073 }
17074 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
17075 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
17076 }
17077 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
17078 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
17079 }
17080 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
17081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17082 }
17083 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
17084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17085 }
17086 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
17087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
17088 }
17089 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17090 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17091 }
17092 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17093 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17094 }
17095 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
17096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
17097 }
17098 static void *_p_wxImageTo_p_wxObject(void *x) {
17099 return (void *)((wxObject *) ((wxImage *) x));
17100 }
17101 static void *_p_wxFrameTo_p_wxObject(void *x) {
17102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17103 }
17104 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
17105 return (void *)((wxObject *) ((wxPyPrintout *) x));
17106 }
17107 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17108 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17109 }
17110 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
17111 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
17112 }
17113 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
17114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
17115 }
17116 static void *_p_wxAuiManagerTo_p_wxObject(void *x) {
17117 return (void *)((wxObject *) (wxEvtHandler *) ((wxAuiManager *) x));
17118 }
17119 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
17120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17121 }
17122 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
17123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
17124 }
17125 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17126 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17127 }
17128 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17129 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17130 }
17131 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17132 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17133 }
17134 static void *_p_wxWindowTo_p_wxObject(void *x) {
17135 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17136 }
17137 static void *_p_wxMenuTo_p_wxObject(void *x) {
17138 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17139 }
17140 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17142 }
17143 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
17144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
17145 }
17146 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
17147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
17148 }
17149 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
17150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
17151 }
17152 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
17153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
17154 }
17155 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
17156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
17157 }
17158 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
17159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
17160 }
17161 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
17162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
17163 }
17164 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
17165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
17166 }
17167 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
17168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
17169 }
17170 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
17171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17172 }
17173 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
17174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
17175 }
17176 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
17177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17178 }
17179 static void *_p_wxSashEventTo_p_wxObject(void *x) {
17180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
17181 }
17182 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
17183 return (void *)((wxObject *) ((wxPrintPreview *) x));
17184 }
17185 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
17186 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
17187 }
17188 static void *_p_wxPanelTo_p_wxObject(void *x) {
17189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
17190 }
17191 static void *_p_wxDialogTo_p_wxObject(void *x) {
17192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17193 }
17194 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
17195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17196 }
17197 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
17198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17199 }
17200 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
17201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17202 }
17203 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
17204 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
17205 }
17206 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
17207 return (void *)((wxObject *) ((wxPrintDialog *) x));
17208 }
17209 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17210 return (void *)((wxObject *) ((wxFileSystem *) x));
17211 }
17212 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17213 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17214 }
17215 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17216 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17217 }
17218 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17219 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17220 }
17221 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17222 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17223 }
17224 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17225 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17226 }
17227 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17228 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17229 }
17230 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17231 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17232 }
17233 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17234 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17235 }
17236 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
17237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17238 }
17239 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
17240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17241 }
17242 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17243 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17244 }
17245 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17246 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17247 }
17248 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17249 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17250 }
17251 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17253 }
17254 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
17255 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
17256 }
17257 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
17258 return (void *)((wxObject *) ((wxPrintDialogData *) x));
17259 }
17260 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17261 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17262 }
17263 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17264 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17265 }
17266 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
17267 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
17268 }
17269 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
17270 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
17271 }
17272 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
17273 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
17274 }
17275 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17276 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17277 }
17278 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17279 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17280 }
17281 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17282 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17283 }
17284 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17285 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17286 }
17287 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
17288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
17289 }
17290 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
17291 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
17292 }
17293 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
17294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
17295 }
17296 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
17297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
17298 }
17299 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
17300 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
17301 }
17302 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
17303 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
17304 }
17305 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
17306 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
17307 }
17308 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
17309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
17310 }
17311 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
17312 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
17313 }
17314 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
17315 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
17316 }
17317 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
17318 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
17319 }
17320 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
17321 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
17322 }
17323 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
17324 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
17325 }
17326 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
17327 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
17328 }
17329 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
17330 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
17331 }
17332 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
17333 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
17334 }
17335 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
17336 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
17337 }
17338 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
17339 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
17340 }
17341 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
17342 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
17343 }
17344 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17345 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17346 }
17347 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
17348 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
17349 }
17350 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
17351 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
17352 }
17353 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
17354 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
17355 }
17356 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
17357 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
17358 }
17359 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17360 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17361 }
17362 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
17363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
17364 }
17365 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
17366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17367 }
17368 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
17369 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
17370 }
17371 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17372 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17373 }
17374 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17376 }
17377 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
17378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
17379 }
17380 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
17381 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
17382 }
17383 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
17384 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
17385 }
17386 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
17387 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
17388 }
17389 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
17390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
17391 }
17392 static void *_p_wxAuiNotebookTo_p_wxEvtHandler(void *x) {
17393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiNotebook *) x));
17394 }
17395 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
17396 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
17397 }
17398 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
17399 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
17400 }
17401 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
17402 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
17403 }
17404 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
17405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
17406 }
17407 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
17408 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
17409 }
17410 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
17411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
17412 }
17413 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
17414 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
17415 }
17416 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
17417 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
17418 }
17419 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
17420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
17421 }
17422 static void *_p_wxAuiFloatingFrameTo_p_wxEvtHandler(void *x) {
17423 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxAuiFloatingFrame *) x));
17424 }
17425 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
17426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
17427 }
17428 static void *_p_wxAuiManagerTo_p_wxEvtHandler(void *x) {
17429 return (void *)((wxEvtHandler *) ((wxAuiManager *) x));
17430 }
17431 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
17432 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
17433 }
17434 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
17435 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
17436 }
17437 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
17438 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
17439 }
17440 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
17441 return (void *)((wxFrame *) ((wxProgressDialog *) x));
17442 }
17443 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
17444 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
17445 }
17446 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
17447 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
17448 }
17449 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
17450 return (void *)((wxFrame *) ((wxMiniFrame *) x));
17451 }
17452 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
17453 return (void *)((wxFrame *) ((wxSplashScreen *) x));
17454 }
17455 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
17456 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
17457 }
17458 static void *_p_wxAuiFloatingFrameTo_p_wxFrame(void *x) {
17459 return (void *)((wxFrame *) (wxMiniFrame *) ((wxAuiFloatingFrame *) x));
17460 }
17461 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
17462 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
17463 }
17464 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17465 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17466 }
17467 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
17468 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
17469 }
17470 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
17471 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
17472 }
17473 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17474 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17475 }
17476 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17477 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17478 }
17479 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17480 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17481 }
17482 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17483 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17484 }
17485 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
17486 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
17487 }
17488 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17489 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
17490 }
17491 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17492 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17493 }
17494 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17495 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17496 }
17497 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
17498 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
17499 }
17500 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17501 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17502 }
17503 static void *_p_wxAuiDefaultDockArtTo_p_wxAuiDockArt(void *x) {
17504 return (void *)((wxAuiDockArt *) ((wxAuiDefaultDockArt *) x));
17505 }
17506 static void *_p_wxPyAuiDockArtTo_p_wxAuiDockArt(void *x) {
17507 return (void *)((wxAuiDockArt *) (wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x));
17508 }
17509 static void *_p_wxPyAuiDockArtTo_p_wxAuiDefaultDockArt(void *x) {
17510 return (void *)((wxAuiDefaultDockArt *) ((wxPyAuiDockArt *) x));
17511 }
17512 static void *_p_wxPyAuiTabArtTo_p_wxAuiDefaultTabArt(void *x) {
17513 return (void *)((wxAuiDefaultTabArt *) ((wxPyAuiTabArt *) x));
17514 }
17515 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
17516 static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
17517 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};
17518 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
17519 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
17520 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
17521 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
17522 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
17523 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
17524 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
17525 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
17526 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
17527 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
17528 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
17529 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
17530 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
17531 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
17532 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
17533 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
17534 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
17535 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
17536 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
17537 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
17538 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
17539 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
17540 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
17541 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
17542 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
17543 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
17544 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
17545 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
17546 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
17547 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
17548 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
17549 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
17550 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
17551 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
17552 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
17553 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
17554 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
17555 static swig_type_info _swigt__p_p_wxSimpleHtmlListBox = {"_p_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
17556 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
17557 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
17558 static swig_type_info _swigt__p_p_wxAuiNotebook = {"_p_p_wxAuiNotebook", 0, 0, 0, 0, 0};
17559 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
17560 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
17561 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
17562 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
17563 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
17564 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
17565 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
17566 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
17567 static swig_type_info _swigt__p_p_wxAuiFloatingFrame = {"_p_p_wxAuiFloatingFrame", 0, 0, 0, 0, 0};
17568 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
17569 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
17570 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
17571 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
17572 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
17573 static swig_type_info _swigt__p_wxAuiDefaultDockArt = {"_p_wxAuiDefaultDockArt", "wxAuiDefaultDockArt *", 0, 0, (void*)0, 0};
17574 static swig_type_info _swigt__p_wxAuiDefaultTabArt = {"_p_wxAuiDefaultTabArt", "wxAuiDefaultTabArt *", 0, 0, (void*)0, 0};
17575 static swig_type_info _swigt__p_wxAuiDockArt = {"_p_wxAuiDockArt", "wxAuiDockArt *", 0, 0, (void*)0, 0};
17576 static swig_type_info _swigt__p_wxAuiDockInfo = {"_p_wxAuiDockInfo", "wxAuiDockInfo *", 0, 0, (void*)0, 0};
17577 static swig_type_info _swigt__p_wxAuiDockUIPart = {"_p_wxAuiDockUIPart", "wxAuiDockUIPart *", 0, 0, (void*)0, 0};
17578 static swig_type_info _swigt__p_wxAuiFloatingFrame = {"_p_wxAuiFloatingFrame", "wxAuiFloatingFrame *", 0, 0, (void*)0, 0};
17579 static swig_type_info _swigt__p_wxAuiManager = {"_p_wxAuiManager", "wxAuiManager *", 0, 0, (void*)0, 0};
17580 static swig_type_info _swigt__p_wxAuiManagerEvent = {"_p_wxAuiManagerEvent", "wxAuiManagerEvent *", 0, 0, (void*)0, 0};
17581 static swig_type_info _swigt__p_wxAuiNotebook = {"_p_wxAuiNotebook", "wxAuiNotebook *", 0, 0, (void*)0, 0};
17582 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
17583 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
17584 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
17585 static swig_type_info _swigt__p_wxAuiPaneButton = {"_p_wxAuiPaneButton", "wxAuiPaneButton *", 0, 0, (void*)0, 0};
17586 static swig_type_info _swigt__p_wxAuiPaneButtonArray = {"_p_wxAuiPaneButtonArray", "wxAuiPaneButtonArray *", 0, 0, (void*)0, 0};
17587 static swig_type_info _swigt__p_wxAuiPaneInfo = {"_p_wxAuiPaneInfo", "wxAuiPaneInfo *", 0, 0, (void*)0, 0};
17588 static swig_type_info _swigt__p_wxAuiPaneInfoPtrArray = {"_p_wxAuiPaneInfoPtrArray", "wxAuiPaneInfoPtrArray *", 0, 0, (void*)0, 0};
17589 static swig_type_info _swigt__p_wxAuiSimpleTabArt = {"_p_wxAuiSimpleTabArt", "wxAuiSimpleTabArt *", 0, 0, (void*)0, 0};
17590 static swig_type_info _swigt__p_wxAuiTabArt = {"_p_wxAuiTabArt", "wxAuiTabArt *", 0, 0, (void*)0, 0};
17591 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
17592 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
17593 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
17594 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
17595 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
17596 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
17597 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
17598 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
17599 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
17600 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
17601 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
17602 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
17603 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
17604 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
17605 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
17606 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
17607 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
17608 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
17609 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
17610 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
17611 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
17612 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
17613 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
17614 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
17615 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
17616 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
17617 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
17618 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
17619 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
17620 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
17621 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
17622 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
17623 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
17624 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
17625 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
17626 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
17627 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
17628 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
17629 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
17630 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
17631 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
17632 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
17633 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
17634 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
17635 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
17636 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
17637 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
17638 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
17639 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
17640 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
17641 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
17642 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
17643 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
17644 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
17645 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
17646 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
17647 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
17648 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
17649 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
17650 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
17651 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
17652 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
17653 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
17654 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
17655 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
17656 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
17657 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
17658 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
17659 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
17660 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
17661 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
17662 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
17663 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
17664 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
17665 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
17666 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
17667 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
17668 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
17669 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
17670 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
17671 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
17672 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
17673 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
17674 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
17675 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
17676 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
17677 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
17678 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
17679 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
17680 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
17681 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
17682 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
17683 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
17684 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
17685 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
17686 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
17687 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
17688 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
17689 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
17690 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
17691 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
17692 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
17693 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
17694 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
17695 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
17696 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
17697 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
17698 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
17699 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
17700 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
17701 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
17702 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
17703 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
17704 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
17705 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
17706 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
17707 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
17708 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
17709 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
17710 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
17711 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
17712 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
17713 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
17714 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
17715 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
17716 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
17717 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
17718 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
17719 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
17720 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
17721 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
17722 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
17723 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
17724 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
17725 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
17726 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
17727 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
17728 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
17729 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
17730 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
17731 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
17732 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
17733 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
17734 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
17735 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
17736 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
17737 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
17738 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
17739 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
17740 static swig_type_info _swigt__p_wxPyAuiDockArt = {"_p_wxPyAuiDockArt", "wxPyAuiDockArt *", 0, 0, (void*)0, 0};
17741 static swig_type_info _swigt__p_wxPyAuiTabArt = {"_p_wxPyAuiTabArt", "wxPyAuiTabArt *", 0, 0, (void*)0, 0};
17742 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
17743 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
17744 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
17745 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
17746 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
17747 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
17748 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
17749
17750 static swig_type_info *swig_type_initial[] = {
17751 &_swigt__p_char,
17752 &_swigt__p_double,
17753 &_swigt__p_form_ops_t,
17754 &_swigt__p_int,
17755 &_swigt__p_p_wxAuiFloatingFrame,
17756 &_swigt__p_p_wxAuiNotebook,
17757 &_swigt__p_p_wxAuiTabContainerButton,
17758 &_swigt__p_p_wxAuiTabCtrl,
17759 &_swigt__p_p_wxColourDialog,
17760 &_swigt__p_p_wxControl,
17761 &_swigt__p_p_wxControlWithItems,
17762 &_swigt__p_p_wxDialog,
17763 &_swigt__p_p_wxDirDialog,
17764 &_swigt__p_p_wxFileDialog,
17765 &_swigt__p_p_wxFindReplaceDialog,
17766 &_swigt__p_p_wxFontDialog,
17767 &_swigt__p_p_wxFrame,
17768 &_swigt__p_p_wxMDIChildFrame,
17769 &_swigt__p_p_wxMDIClientWindow,
17770 &_swigt__p_p_wxMDIParentFrame,
17771 &_swigt__p_p_wxMenuBar,
17772 &_swigt__p_p_wxMessageDialog,
17773 &_swigt__p_p_wxMiniFrame,
17774 &_swigt__p_p_wxMultiChoiceDialog,
17775 &_swigt__p_p_wxNumberEntryDialog,
17776 &_swigt__p_p_wxPanel,
17777 &_swigt__p_p_wxPasswordEntryDialog,
17778 &_swigt__p_p_wxPopupWindow,
17779 &_swigt__p_p_wxPreviewCanvas,
17780 &_swigt__p_p_wxPreviewControlBar,
17781 &_swigt__p_p_wxPreviewFrame,
17782 &_swigt__p_p_wxProgressDialog,
17783 &_swigt__p_p_wxPyHtmlListBox,
17784 &_swigt__p_p_wxPyPanel,
17785 &_swigt__p_p_wxPyPopupTransientWindow,
17786 &_swigt__p_p_wxPyPreviewControlBar,
17787 &_swigt__p_p_wxPyPreviewFrame,
17788 &_swigt__p_p_wxPyScrolledWindow,
17789 &_swigt__p_p_wxPyVListBox,
17790 &_swigt__p_p_wxPyVScrolledWindow,
17791 &_swigt__p_p_wxPyWindow,
17792 &_swigt__p_p_wxSashLayoutWindow,
17793 &_swigt__p_p_wxSashWindow,
17794 &_swigt__p_p_wxScrolledWindow,
17795 &_swigt__p_p_wxSimpleHtmlListBox,
17796 &_swigt__p_p_wxSingleChoiceDialog,
17797 &_swigt__p_p_wxSplashScreen,
17798 &_swigt__p_p_wxSplashScreenWindow,
17799 &_swigt__p_p_wxSplitterWindow,
17800 &_swigt__p_p_wxStatusBar,
17801 &_swigt__p_p_wxTextEntryDialog,
17802 &_swigt__p_p_wxTipWindow,
17803 &_swigt__p_p_wxTopLevelWindow,
17804 &_swigt__p_p_wxWindow,
17805 &_swigt__p_unsigned_char,
17806 &_swigt__p_unsigned_int,
17807 &_swigt__p_unsigned_long,
17808 &_swigt__p_wxANIHandler,
17809 &_swigt__p_wxAcceleratorTable,
17810 &_swigt__p_wxActivateEvent,
17811 &_swigt__p_wxArrayString,
17812 &_swigt__p_wxAuiDefaultDockArt,
17813 &_swigt__p_wxAuiDefaultTabArt,
17814 &_swigt__p_wxAuiDockArt,
17815 &_swigt__p_wxAuiDockInfo,
17816 &_swigt__p_wxAuiDockUIPart,
17817 &_swigt__p_wxAuiFloatingFrame,
17818 &_swigt__p_wxAuiManager,
17819 &_swigt__p_wxAuiManagerEvent,
17820 &_swigt__p_wxAuiNotebook,
17821 &_swigt__p_wxAuiNotebookEvent,
17822 &_swigt__p_wxAuiNotebookPage,
17823 &_swigt__p_wxAuiNotebookPageArray,
17824 &_swigt__p_wxAuiPaneButton,
17825 &_swigt__p_wxAuiPaneButtonArray,
17826 &_swigt__p_wxAuiPaneInfo,
17827 &_swigt__p_wxAuiPaneInfoPtrArray,
17828 &_swigt__p_wxAuiSimpleTabArt,
17829 &_swigt__p_wxAuiTabArt,
17830 &_swigt__p_wxAuiTabContainer,
17831 &_swigt__p_wxAuiTabContainerButton,
17832 &_swigt__p_wxAuiTabCtrl,
17833 &_swigt__p_wxBMPHandler,
17834 &_swigt__p_wxBitmap,
17835 &_swigt__p_wxBoxSizer,
17836 &_swigt__p_wxCURHandler,
17837 &_swigt__p_wxCalculateLayoutEvent,
17838 &_swigt__p_wxChildFocusEvent,
17839 &_swigt__p_wxClipboardTextEvent,
17840 &_swigt__p_wxCloseEvent,
17841 &_swigt__p_wxColor,
17842 &_swigt__p_wxColour,
17843 &_swigt__p_wxColourData,
17844 &_swigt__p_wxColourDialog,
17845 &_swigt__p_wxCommandEvent,
17846 &_swigt__p_wxContextMenuEvent,
17847 &_swigt__p_wxControl,
17848 &_swigt__p_wxControlWithItems,
17849 &_swigt__p_wxDC,
17850 &_swigt__p_wxDateEvent,
17851 &_swigt__p_wxDialog,
17852 &_swigt__p_wxDirDialog,
17853 &_swigt__p_wxDisplayChangedEvent,
17854 &_swigt__p_wxDropFilesEvent,
17855 &_swigt__p_wxDuplexMode,
17856 &_swigt__p_wxEraseEvent,
17857 &_swigt__p_wxEvent,
17858 &_swigt__p_wxEvtHandler,
17859 &_swigt__p_wxFSFile,
17860 &_swigt__p_wxFileDialog,
17861 &_swigt__p_wxFileSystem,
17862 &_swigt__p_wxFindDialogEvent,
17863 &_swigt__p_wxFindReplaceData,
17864 &_swigt__p_wxFindReplaceDialog,
17865 &_swigt__p_wxFlexGridSizer,
17866 &_swigt__p_wxFocusEvent,
17867 &_swigt__p_wxFont,
17868 &_swigt__p_wxFontData,
17869 &_swigt__p_wxFontDialog,
17870 &_swigt__p_wxFrame,
17871 &_swigt__p_wxGBSizerItem,
17872 &_swigt__p_wxGIFHandler,
17873 &_swigt__p_wxGridBagSizer,
17874 &_swigt__p_wxGridSizer,
17875 &_swigt__p_wxICOHandler,
17876 &_swigt__p_wxIconizeEvent,
17877 &_swigt__p_wxIdleEvent,
17878 &_swigt__p_wxImage,
17879 &_swigt__p_wxImageHandler,
17880 &_swigt__p_wxIndividualLayoutConstraint,
17881 &_swigt__p_wxInitDialogEvent,
17882 &_swigt__p_wxJPEGHandler,
17883 &_swigt__p_wxKeyEvent,
17884 &_swigt__p_wxLayoutAlgorithm,
17885 &_swigt__p_wxLayoutConstraints,
17886 &_swigt__p_wxMDIChildFrame,
17887 &_swigt__p_wxMDIClientWindow,
17888 &_swigt__p_wxMDIParentFrame,
17889 &_swigt__p_wxMaximizeEvent,
17890 &_swigt__p_wxMenu,
17891 &_swigt__p_wxMenuBar,
17892 &_swigt__p_wxMenuEvent,
17893 &_swigt__p_wxMenuItem,
17894 &_swigt__p_wxMessageDialog,
17895 &_swigt__p_wxMiniFrame,
17896 &_swigt__p_wxMouseCaptureChangedEvent,
17897 &_swigt__p_wxMouseCaptureLostEvent,
17898 &_swigt__p_wxMouseEvent,
17899 &_swigt__p_wxMoveEvent,
17900 &_swigt__p_wxMultiChoiceDialog,
17901 &_swigt__p_wxNavigationKeyEvent,
17902 &_swigt__p_wxNcPaintEvent,
17903 &_swigt__p_wxNotifyEvent,
17904 &_swigt__p_wxNumberEntryDialog,
17905 &_swigt__p_wxObject,
17906 &_swigt__p_wxPCXHandler,
17907 &_swigt__p_wxPNGHandler,
17908 &_swigt__p_wxPNMHandler,
17909 &_swigt__p_wxPageSetupDialog,
17910 &_swigt__p_wxPageSetupDialogData,
17911 &_swigt__p_wxPaintEvent,
17912 &_swigt__p_wxPaletteChangedEvent,
17913 &_swigt__p_wxPanel,
17914 &_swigt__p_wxPaperSize,
17915 &_swigt__p_wxPasswordEntryDialog,
17916 &_swigt__p_wxPoint,
17917 &_swigt__p_wxPopupWindow,
17918 &_swigt__p_wxPreviewCanvas,
17919 &_swigt__p_wxPreviewControlBar,
17920 &_swigt__p_wxPreviewFrame,
17921 &_swigt__p_wxPrintData,
17922 &_swigt__p_wxPrintDialog,
17923 &_swigt__p_wxPrintDialogData,
17924 &_swigt__p_wxPrintPreview,
17925 &_swigt__p_wxPrinter,
17926 &_swigt__p_wxProgressDialog,
17927 &_swigt__p_wxPyApp,
17928 &_swigt__p_wxPyAuiDockArt,
17929 &_swigt__p_wxPyAuiTabArt,
17930 &_swigt__p_wxPyCommandEvent,
17931 &_swigt__p_wxPyEvent,
17932 &_swigt__p_wxPyHtmlListBox,
17933 &_swigt__p_wxPyImageHandler,
17934 &_swigt__p_wxPyPanel,
17935 &_swigt__p_wxPyPopupTransientWindow,
17936 &_swigt__p_wxPyPreviewControlBar,
17937 &_swigt__p_wxPyPreviewFrame,
17938 &_swigt__p_wxPyPrintPreview,
17939 &_swigt__p_wxPyPrintout,
17940 &_swigt__p_wxPyScrolledWindow,
17941 &_swigt__p_wxPySizer,
17942 &_swigt__p_wxPyTaskBarIcon,
17943 &_swigt__p_wxPyVListBox,
17944 &_swigt__p_wxPyVScrolledWindow,
17945 &_swigt__p_wxPyValidator,
17946 &_swigt__p_wxPyWindow,
17947 &_swigt__p_wxQueryLayoutInfoEvent,
17948 &_swigt__p_wxQueryNewPaletteEvent,
17949 &_swigt__p_wxRect,
17950 &_swigt__p_wxSashEvent,
17951 &_swigt__p_wxSashLayoutWindow,
17952 &_swigt__p_wxSashWindow,
17953 &_swigt__p_wxScrollEvent,
17954 &_swigt__p_wxScrollWinEvent,
17955 &_swigt__p_wxScrolledWindow,
17956 &_swigt__p_wxSetCursorEvent,
17957 &_swigt__p_wxShowEvent,
17958 &_swigt__p_wxSimpleHtmlListBox,
17959 &_swigt__p_wxSingleChoiceDialog,
17960 &_swigt__p_wxSize,
17961 &_swigt__p_wxSizeEvent,
17962 &_swigt__p_wxSizer,
17963 &_swigt__p_wxSizerItem,
17964 &_swigt__p_wxSplashScreen,
17965 &_swigt__p_wxSplashScreenWindow,
17966 &_swigt__p_wxSplitterEvent,
17967 &_swigt__p_wxSplitterWindow,
17968 &_swigt__p_wxStaticBoxSizer,
17969 &_swigt__p_wxStatusBar,
17970 &_swigt__p_wxStdDialogButtonSizer,
17971 &_swigt__p_wxString,
17972 &_swigt__p_wxSysColourChangedEvent,
17973 &_swigt__p_wxTGAHandler,
17974 &_swigt__p_wxTIFFHandler,
17975 &_swigt__p_wxTaskBarIconEvent,
17976 &_swigt__p_wxTextEntryDialog,
17977 &_swigt__p_wxTipWindow,
17978 &_swigt__p_wxTopLevelWindow,
17979 &_swigt__p_wxUpdateUIEvent,
17980 &_swigt__p_wxValidator,
17981 &_swigt__p_wxWindow,
17982 &_swigt__p_wxWindowCreateEvent,
17983 &_swigt__p_wxWindowDestroyEvent,
17984 &_swigt__p_wxXPMHandler,
17985 };
17986
17987 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
17988 static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
17989 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
17990 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
17991 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
17992 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
17993 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
17994 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
17995 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
17996 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
17997 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
17998 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
17999 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18000 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18001 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18002 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
18003 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
18004 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
18005 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
18006 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
18007 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18008 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
18009 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
18010 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
18011 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
18012 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18013 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
18014 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
18015 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
18016 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
18017 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
18018 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18019 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
18020 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
18021 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
18022 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
18023 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
18024 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
18025 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
18026 static swig_cast_info _swigc__p_p_wxSimpleHtmlListBox[] = {{&_swigt__p_p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
18027 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
18028 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
18029 static swig_cast_info _swigc__p_p_wxAuiNotebook[] = {{&_swigt__p_p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}};
18030 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
18031 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
18032 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
18033 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
18034 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
18035 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
18036 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
18037 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
18038 static swig_cast_info _swigc__p_p_wxAuiFloatingFrame[] = {{&_swigt__p_p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}};
18039 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
18040 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_wxSimpleHtmlListBox, _p_p_wxSimpleHtmlListBoxTo_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}};
18041 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
18042 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
18043 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
18044 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
18045 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}};
18046 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}};
18047 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}};
18048 static swig_cast_info _swigc__p_wxAuiDockInfo[] = { {&_swigt__p_wxAuiDockInfo, 0, 0, 0},{0, 0, 0, 0}};
18049 static swig_cast_info _swigc__p_wxAuiDockUIPart[] = { {&_swigt__p_wxAuiDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
18050 static swig_cast_info _swigc__p_wxAuiFloatingFrame[] = { {&_swigt__p_wxAuiFloatingFrame, 0, 0, 0},{0, 0, 0, 0}};
18051 static swig_cast_info _swigc__p_wxAuiManager[] = { {&_swigt__p_wxAuiManager, 0, 0, 0},{0, 0, 0, 0}};
18052 static swig_cast_info _swigc__p_wxAuiManagerEvent[] = { {&_swigt__p_wxAuiManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
18053 static swig_cast_info _swigc__p_wxAuiNotebook[] = { {&_swigt__p_wxAuiNotebook, 0, 0, 0},{0, 0, 0, 0}};
18054 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
18055 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
18056 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
18057 static swig_cast_info _swigc__p_wxAuiPaneButton[] = { {&_swigt__p_wxAuiPaneButton, 0, 0, 0},{0, 0, 0, 0}};
18058 static swig_cast_info _swigc__p_wxAuiPaneButtonArray[] = { {&_swigt__p_wxAuiPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
18059 static swig_cast_info _swigc__p_wxAuiPaneInfo[] = { {&_swigt__p_wxAuiPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
18060 static swig_cast_info _swigc__p_wxAuiPaneInfoPtrArray[] = { {&_swigt__p_wxAuiPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
18061 static swig_cast_info _swigc__p_wxAuiSimpleTabArt[] = { {&_swigt__p_wxAuiSimpleTabArt, 0, 0, 0},{0, 0, 0, 0}};
18062 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}};
18063 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}};
18064 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
18065 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
18066 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
18067 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
18068 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
18069 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
18070 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
18071 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
18072 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
18073 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
18074 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
18075 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18076 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18077 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
18078 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
18079 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
18080 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
18081 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}};
18082 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
18083 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}};
18084 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
18085 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
18086 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
18087 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
18088 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
18089 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
18090 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
18091 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
18092 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
18093 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
18094 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
18095 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
18096 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
18097 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18098 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18099 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
18100 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
18101 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
18102 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18103 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
18104 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18105 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18106 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18107 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
18108 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
18109 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
18110 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
18111 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
18112 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18113 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
18114 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
18115 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
18116 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}};
18117 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
18118 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
18119 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
18120 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
18121 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
18122 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18123 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18124 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
18125 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
18126 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
18127 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
18128 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
18129 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
18130 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
18131 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
18132 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
18133 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
18134 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18135 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
18136 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18137 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
18138 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
18139 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
18140 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
18141 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
18142 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
18143 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
18144 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
18145 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
18146 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
18147 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
18148 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
18149 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
18150 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
18151 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
18152 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
18153 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
18154 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
18155 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
18156 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
18157 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
18158 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
18159 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
18160 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
18161 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
18162 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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
18163 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
18164 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}};
18165 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}};
18166 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}};
18167 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
18168 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
18169 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
18170 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18171 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
18172 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
18173 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
18174 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
18175 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18176 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
18177 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
18178 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
18179 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
18180 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
18181 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
18182 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
18183 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
18184 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
18185 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
18186 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
18187 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
18188 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
18189 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
18190 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
18191 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
18192 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
18193 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18194 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
18195 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
18196 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
18197 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
18198 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
18199 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
18200 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
18201 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
18202 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
18203 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
18204 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
18205 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
18206 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
18207 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
18208 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
18209 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
18210 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
18211 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
18212 static swig_cast_info _swigc__p_wxPyAuiDockArt[] = { {&_swigt__p_wxPyAuiDockArt, 0, 0, 0},{0, 0, 0, 0}};
18213 static swig_cast_info _swigc__p_wxPyAuiTabArt[] = { {&_swigt__p_wxPyAuiTabArt, 0, 0, 0},{0, 0, 0, 0}};
18214 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
18215 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
18216 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}};
18217 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}};
18218 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
18219 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}};
18220 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
18221
18222 static swig_cast_info *swig_cast_initial[] = {
18223 _swigc__p_char,
18224 _swigc__p_double,
18225 _swigc__p_form_ops_t,
18226 _swigc__p_int,
18227 _swigc__p_p_wxAuiFloatingFrame,
18228 _swigc__p_p_wxAuiNotebook,
18229 _swigc__p_p_wxAuiTabContainerButton,
18230 _swigc__p_p_wxAuiTabCtrl,
18231 _swigc__p_p_wxColourDialog,
18232 _swigc__p_p_wxControl,
18233 _swigc__p_p_wxControlWithItems,
18234 _swigc__p_p_wxDialog,
18235 _swigc__p_p_wxDirDialog,
18236 _swigc__p_p_wxFileDialog,
18237 _swigc__p_p_wxFindReplaceDialog,
18238 _swigc__p_p_wxFontDialog,
18239 _swigc__p_p_wxFrame,
18240 _swigc__p_p_wxMDIChildFrame,
18241 _swigc__p_p_wxMDIClientWindow,
18242 _swigc__p_p_wxMDIParentFrame,
18243 _swigc__p_p_wxMenuBar,
18244 _swigc__p_p_wxMessageDialog,
18245 _swigc__p_p_wxMiniFrame,
18246 _swigc__p_p_wxMultiChoiceDialog,
18247 _swigc__p_p_wxNumberEntryDialog,
18248 _swigc__p_p_wxPanel,
18249 _swigc__p_p_wxPasswordEntryDialog,
18250 _swigc__p_p_wxPopupWindow,
18251 _swigc__p_p_wxPreviewCanvas,
18252 _swigc__p_p_wxPreviewControlBar,
18253 _swigc__p_p_wxPreviewFrame,
18254 _swigc__p_p_wxProgressDialog,
18255 _swigc__p_p_wxPyHtmlListBox,
18256 _swigc__p_p_wxPyPanel,
18257 _swigc__p_p_wxPyPopupTransientWindow,
18258 _swigc__p_p_wxPyPreviewControlBar,
18259 _swigc__p_p_wxPyPreviewFrame,
18260 _swigc__p_p_wxPyScrolledWindow,
18261 _swigc__p_p_wxPyVListBox,
18262 _swigc__p_p_wxPyVScrolledWindow,
18263 _swigc__p_p_wxPyWindow,
18264 _swigc__p_p_wxSashLayoutWindow,
18265 _swigc__p_p_wxSashWindow,
18266 _swigc__p_p_wxScrolledWindow,
18267 _swigc__p_p_wxSimpleHtmlListBox,
18268 _swigc__p_p_wxSingleChoiceDialog,
18269 _swigc__p_p_wxSplashScreen,
18270 _swigc__p_p_wxSplashScreenWindow,
18271 _swigc__p_p_wxSplitterWindow,
18272 _swigc__p_p_wxStatusBar,
18273 _swigc__p_p_wxTextEntryDialog,
18274 _swigc__p_p_wxTipWindow,
18275 _swigc__p_p_wxTopLevelWindow,
18276 _swigc__p_p_wxWindow,
18277 _swigc__p_unsigned_char,
18278 _swigc__p_unsigned_int,
18279 _swigc__p_unsigned_long,
18280 _swigc__p_wxANIHandler,
18281 _swigc__p_wxAcceleratorTable,
18282 _swigc__p_wxActivateEvent,
18283 _swigc__p_wxArrayString,
18284 _swigc__p_wxAuiDefaultDockArt,
18285 _swigc__p_wxAuiDefaultTabArt,
18286 _swigc__p_wxAuiDockArt,
18287 _swigc__p_wxAuiDockInfo,
18288 _swigc__p_wxAuiDockUIPart,
18289 _swigc__p_wxAuiFloatingFrame,
18290 _swigc__p_wxAuiManager,
18291 _swigc__p_wxAuiManagerEvent,
18292 _swigc__p_wxAuiNotebook,
18293 _swigc__p_wxAuiNotebookEvent,
18294 _swigc__p_wxAuiNotebookPage,
18295 _swigc__p_wxAuiNotebookPageArray,
18296 _swigc__p_wxAuiPaneButton,
18297 _swigc__p_wxAuiPaneButtonArray,
18298 _swigc__p_wxAuiPaneInfo,
18299 _swigc__p_wxAuiPaneInfoPtrArray,
18300 _swigc__p_wxAuiSimpleTabArt,
18301 _swigc__p_wxAuiTabArt,
18302 _swigc__p_wxAuiTabContainer,
18303 _swigc__p_wxAuiTabContainerButton,
18304 _swigc__p_wxAuiTabCtrl,
18305 _swigc__p_wxBMPHandler,
18306 _swigc__p_wxBitmap,
18307 _swigc__p_wxBoxSizer,
18308 _swigc__p_wxCURHandler,
18309 _swigc__p_wxCalculateLayoutEvent,
18310 _swigc__p_wxChildFocusEvent,
18311 _swigc__p_wxClipboardTextEvent,
18312 _swigc__p_wxCloseEvent,
18313 _swigc__p_wxColor,
18314 _swigc__p_wxColour,
18315 _swigc__p_wxColourData,
18316 _swigc__p_wxColourDialog,
18317 _swigc__p_wxCommandEvent,
18318 _swigc__p_wxContextMenuEvent,
18319 _swigc__p_wxControl,
18320 _swigc__p_wxControlWithItems,
18321 _swigc__p_wxDC,
18322 _swigc__p_wxDateEvent,
18323 _swigc__p_wxDialog,
18324 _swigc__p_wxDirDialog,
18325 _swigc__p_wxDisplayChangedEvent,
18326 _swigc__p_wxDropFilesEvent,
18327 _swigc__p_wxDuplexMode,
18328 _swigc__p_wxEraseEvent,
18329 _swigc__p_wxEvent,
18330 _swigc__p_wxEvtHandler,
18331 _swigc__p_wxFSFile,
18332 _swigc__p_wxFileDialog,
18333 _swigc__p_wxFileSystem,
18334 _swigc__p_wxFindDialogEvent,
18335 _swigc__p_wxFindReplaceData,
18336 _swigc__p_wxFindReplaceDialog,
18337 _swigc__p_wxFlexGridSizer,
18338 _swigc__p_wxFocusEvent,
18339 _swigc__p_wxFont,
18340 _swigc__p_wxFontData,
18341 _swigc__p_wxFontDialog,
18342 _swigc__p_wxFrame,
18343 _swigc__p_wxGBSizerItem,
18344 _swigc__p_wxGIFHandler,
18345 _swigc__p_wxGridBagSizer,
18346 _swigc__p_wxGridSizer,
18347 _swigc__p_wxICOHandler,
18348 _swigc__p_wxIconizeEvent,
18349 _swigc__p_wxIdleEvent,
18350 _swigc__p_wxImage,
18351 _swigc__p_wxImageHandler,
18352 _swigc__p_wxIndividualLayoutConstraint,
18353 _swigc__p_wxInitDialogEvent,
18354 _swigc__p_wxJPEGHandler,
18355 _swigc__p_wxKeyEvent,
18356 _swigc__p_wxLayoutAlgorithm,
18357 _swigc__p_wxLayoutConstraints,
18358 _swigc__p_wxMDIChildFrame,
18359 _swigc__p_wxMDIClientWindow,
18360 _swigc__p_wxMDIParentFrame,
18361 _swigc__p_wxMaximizeEvent,
18362 _swigc__p_wxMenu,
18363 _swigc__p_wxMenuBar,
18364 _swigc__p_wxMenuEvent,
18365 _swigc__p_wxMenuItem,
18366 _swigc__p_wxMessageDialog,
18367 _swigc__p_wxMiniFrame,
18368 _swigc__p_wxMouseCaptureChangedEvent,
18369 _swigc__p_wxMouseCaptureLostEvent,
18370 _swigc__p_wxMouseEvent,
18371 _swigc__p_wxMoveEvent,
18372 _swigc__p_wxMultiChoiceDialog,
18373 _swigc__p_wxNavigationKeyEvent,
18374 _swigc__p_wxNcPaintEvent,
18375 _swigc__p_wxNotifyEvent,
18376 _swigc__p_wxNumberEntryDialog,
18377 _swigc__p_wxObject,
18378 _swigc__p_wxPCXHandler,
18379 _swigc__p_wxPNGHandler,
18380 _swigc__p_wxPNMHandler,
18381 _swigc__p_wxPageSetupDialog,
18382 _swigc__p_wxPageSetupDialogData,
18383 _swigc__p_wxPaintEvent,
18384 _swigc__p_wxPaletteChangedEvent,
18385 _swigc__p_wxPanel,
18386 _swigc__p_wxPaperSize,
18387 _swigc__p_wxPasswordEntryDialog,
18388 _swigc__p_wxPoint,
18389 _swigc__p_wxPopupWindow,
18390 _swigc__p_wxPreviewCanvas,
18391 _swigc__p_wxPreviewControlBar,
18392 _swigc__p_wxPreviewFrame,
18393 _swigc__p_wxPrintData,
18394 _swigc__p_wxPrintDialog,
18395 _swigc__p_wxPrintDialogData,
18396 _swigc__p_wxPrintPreview,
18397 _swigc__p_wxPrinter,
18398 _swigc__p_wxProgressDialog,
18399 _swigc__p_wxPyApp,
18400 _swigc__p_wxPyAuiDockArt,
18401 _swigc__p_wxPyAuiTabArt,
18402 _swigc__p_wxPyCommandEvent,
18403 _swigc__p_wxPyEvent,
18404 _swigc__p_wxPyHtmlListBox,
18405 _swigc__p_wxPyImageHandler,
18406 _swigc__p_wxPyPanel,
18407 _swigc__p_wxPyPopupTransientWindow,
18408 _swigc__p_wxPyPreviewControlBar,
18409 _swigc__p_wxPyPreviewFrame,
18410 _swigc__p_wxPyPrintPreview,
18411 _swigc__p_wxPyPrintout,
18412 _swigc__p_wxPyScrolledWindow,
18413 _swigc__p_wxPySizer,
18414 _swigc__p_wxPyTaskBarIcon,
18415 _swigc__p_wxPyVListBox,
18416 _swigc__p_wxPyVScrolledWindow,
18417 _swigc__p_wxPyValidator,
18418 _swigc__p_wxPyWindow,
18419 _swigc__p_wxQueryLayoutInfoEvent,
18420 _swigc__p_wxQueryNewPaletteEvent,
18421 _swigc__p_wxRect,
18422 _swigc__p_wxSashEvent,
18423 _swigc__p_wxSashLayoutWindow,
18424 _swigc__p_wxSashWindow,
18425 _swigc__p_wxScrollEvent,
18426 _swigc__p_wxScrollWinEvent,
18427 _swigc__p_wxScrolledWindow,
18428 _swigc__p_wxSetCursorEvent,
18429 _swigc__p_wxShowEvent,
18430 _swigc__p_wxSimpleHtmlListBox,
18431 _swigc__p_wxSingleChoiceDialog,
18432 _swigc__p_wxSize,
18433 _swigc__p_wxSizeEvent,
18434 _swigc__p_wxSizer,
18435 _swigc__p_wxSizerItem,
18436 _swigc__p_wxSplashScreen,
18437 _swigc__p_wxSplashScreenWindow,
18438 _swigc__p_wxSplitterEvent,
18439 _swigc__p_wxSplitterWindow,
18440 _swigc__p_wxStaticBoxSizer,
18441 _swigc__p_wxStatusBar,
18442 _swigc__p_wxStdDialogButtonSizer,
18443 _swigc__p_wxString,
18444 _swigc__p_wxSysColourChangedEvent,
18445 _swigc__p_wxTGAHandler,
18446 _swigc__p_wxTIFFHandler,
18447 _swigc__p_wxTaskBarIconEvent,
18448 _swigc__p_wxTextEntryDialog,
18449 _swigc__p_wxTipWindow,
18450 _swigc__p_wxTopLevelWindow,
18451 _swigc__p_wxUpdateUIEvent,
18452 _swigc__p_wxValidator,
18453 _swigc__p_wxWindow,
18454 _swigc__p_wxWindowCreateEvent,
18455 _swigc__p_wxWindowDestroyEvent,
18456 _swigc__p_wxXPMHandler,
18457 };
18458
18459
18460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
18461
18462 static swig_const_info swig_const_table[] = {
18463 {0, 0, 0, 0.0, 0, 0}};
18464
18465 #ifdef __cplusplus
18466 }
18467 #endif
18468 /* -----------------------------------------------------------------------------
18469 * Type initialization:
18470 * This problem is tough by the requirement that no dynamic
18471 * memory is used. Also, since swig_type_info structures store pointers to
18472 * swig_cast_info structures and swig_cast_info structures store pointers back
18473 * to swig_type_info structures, we need some lookup code at initialization.
18474 * The idea is that swig generates all the structures that are needed.
18475 * The runtime then collects these partially filled structures.
18476 * The SWIG_InitializeModule function takes these initial arrays out of
18477 * swig_module, and does all the lookup, filling in the swig_module.types
18478 * array with the correct data and linking the correct swig_cast_info
18479 * structures together.
18480 *
18481 * The generated swig_type_info structures are assigned staticly to an initial
18482 * array. We just loop though that array, and handle each type individually.
18483 * First we lookup if this type has been already loaded, and if so, use the
18484 * loaded structure instead of the generated one. Then we have to fill in the
18485 * cast linked list. The cast data is initially stored in something like a
18486 * two-dimensional array. Each row corresponds to a type (there are the same
18487 * number of rows as there are in the swig_type_initial array). Each entry in
18488 * a column is one of the swig_cast_info structures for that type.
18489 * The cast_initial array is actually an array of arrays, because each row has
18490 * a variable number of columns. So to actually build the cast linked list,
18491 * we find the array of casts associated with the type, and loop through it
18492 * adding the casts to the list. The one last trick we need to do is making
18493 * sure the type pointer in the swig_cast_info struct is correct.
18494 *
18495 * First off, we lookup the cast->type name to see if it is already loaded.
18496 * There are three cases to handle:
18497 * 1) If the cast->type has already been loaded AND the type we are adding
18498 * casting info to has not been loaded (it is in this module), THEN we
18499 * replace the cast->type pointer with the type pointer that has already
18500 * been loaded.
18501 * 2) If BOTH types (the one we are adding casting info to, and the
18502 * cast->type) are loaded, THEN the cast info has already been loaded by
18503 * the previous module so we just ignore it.
18504 * 3) Finally, if cast->type has not already been loaded, then we add that
18505 * swig_cast_info to the linked list (because the cast->type) pointer will
18506 * be correct.
18507 * ----------------------------------------------------------------------------- */
18508
18509 #ifdef __cplusplus
18510 extern "C" {
18511 #if 0
18512 } /* c-mode */
18513 #endif
18514 #endif
18515
18516 #if 0
18517 #define SWIGRUNTIME_DEBUG
18518 #endif
18519
18520 SWIGRUNTIME void
18521 SWIG_InitializeModule(void *clientdata) {
18522 size_t i;
18523 swig_module_info *module_head;
18524 static int init_run = 0;
18525
18526 clientdata = clientdata;
18527
18528 if (init_run) return;
18529 init_run = 1;
18530
18531 /* Initialize the swig_module */
18532 swig_module.type_initial = swig_type_initial;
18533 swig_module.cast_initial = swig_cast_initial;
18534
18535 /* Try and load any already created modules */
18536 module_head = SWIG_GetModule(clientdata);
18537 if (module_head) {
18538 swig_module.next = module_head->next;
18539 module_head->next = &swig_module;
18540 } else {
18541 /* This is the first module loaded */
18542 swig_module.next = &swig_module;
18543 SWIG_SetModule(clientdata, &swig_module);
18544 }
18545
18546 /* Now work on filling in swig_module.types */
18547 #ifdef SWIGRUNTIME_DEBUG
18548 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
18549 #endif
18550 for (i = 0; i < swig_module.size; ++i) {
18551 swig_type_info *type = 0;
18552 swig_type_info *ret;
18553 swig_cast_info *cast;
18554
18555 #ifdef SWIGRUNTIME_DEBUG
18556 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18557 #endif
18558
18559 /* if there is another module already loaded */
18560 if (swig_module.next != &swig_module) {
18561 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
18562 }
18563 if (type) {
18564 /* Overwrite clientdata field */
18565 #ifdef SWIGRUNTIME_DEBUG
18566 printf("SWIG_InitializeModule: found type %s\n", type->name);
18567 #endif
18568 if (swig_module.type_initial[i]->clientdata) {
18569 type->clientdata = swig_module.type_initial[i]->clientdata;
18570 #ifdef SWIGRUNTIME_DEBUG
18571 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
18572 #endif
18573 }
18574 } else {
18575 type = swig_module.type_initial[i];
18576 }
18577
18578 /* Insert casting types */
18579 cast = swig_module.cast_initial[i];
18580 while (cast->type) {
18581 /* Don't need to add information already in the list */
18582 ret = 0;
18583 #ifdef SWIGRUNTIME_DEBUG
18584 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
18585 #endif
18586 if (swig_module.next != &swig_module) {
18587 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
18588 #ifdef SWIGRUNTIME_DEBUG
18589 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
18590 #endif
18591 }
18592 if (ret) {
18593 if (type == swig_module.type_initial[i]) {
18594 #ifdef SWIGRUNTIME_DEBUG
18595 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
18596 #endif
18597 cast->type = ret;
18598 ret = 0;
18599 } else {
18600 /* Check for casting already in the list */
18601 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
18602 #ifdef SWIGRUNTIME_DEBUG
18603 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
18604 #endif
18605 if (!ocast) ret = 0;
18606 }
18607 }
18608
18609 if (!ret) {
18610 #ifdef SWIGRUNTIME_DEBUG
18611 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
18612 #endif
18613 if (type->cast) {
18614 type->cast->prev = cast;
18615 cast->next = type->cast;
18616 }
18617 type->cast = cast;
18618 }
18619 cast++;
18620 }
18621 /* Set entry in modules->types array equal to the type */
18622 swig_module.types[i] = type;
18623 }
18624 swig_module.types[i] = 0;
18625
18626 #ifdef SWIGRUNTIME_DEBUG
18627 printf("**** SWIG_InitializeModule: Cast List ******\n");
18628 for (i = 0; i < swig_module.size; ++i) {
18629 int j = 0;
18630 swig_cast_info *cast = swig_module.cast_initial[i];
18631 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
18632 while (cast->type) {
18633 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
18634 cast++;
18635 ++j;
18636 }
18637 printf("---- Total casts: %d\n",j);
18638 }
18639 printf("**** SWIG_InitializeModule: Cast List ******\n");
18640 #endif
18641 }
18642
18643 /* This function will propagate the clientdata field of type to
18644 * any new swig_type_info structures that have been added into the list
18645 * of equivalent types. It is like calling
18646 * SWIG_TypeClientData(type, clientdata) a second time.
18647 */
18648 SWIGRUNTIME void
18649 SWIG_PropagateClientData(void) {
18650 size_t i;
18651 swig_cast_info *equiv;
18652 static int init_run = 0;
18653
18654 if (init_run) return;
18655 init_run = 1;
18656
18657 for (i = 0; i < swig_module.size; i++) {
18658 if (swig_module.types[i]->clientdata) {
18659 equiv = swig_module.types[i]->cast;
18660 while (equiv) {
18661 if (!equiv->converter) {
18662 if (equiv->type && !equiv->type->clientdata)
18663 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
18664 }
18665 equiv = equiv->next;
18666 }
18667 }
18668 }
18669 }
18670
18671 #ifdef __cplusplus
18672 #if 0
18673 {
18674 /* c-mode */
18675 #endif
18676 }
18677 #endif
18678
18679
18680
18681 #ifdef __cplusplus
18682 extern "C" {
18683 #endif
18684
18685 /* Python-specific SWIG API */
18686 #define SWIG_newvarlink() SWIG_Python_newvarlink()
18687 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
18688 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
18689
18690 /* -----------------------------------------------------------------------------
18691 * global variable support code.
18692 * ----------------------------------------------------------------------------- */
18693
18694 typedef struct swig_globalvar {
18695 char *name; /* Name of global variable */
18696 PyObject *(*get_attr)(void); /* Return the current value */
18697 int (*set_attr)(PyObject *); /* Set the value */
18698 struct swig_globalvar *next;
18699 } swig_globalvar;
18700
18701 typedef struct swig_varlinkobject {
18702 PyObject_HEAD
18703 swig_globalvar *vars;
18704 } swig_varlinkobject;
18705
18706 SWIGINTERN PyObject *
18707 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
18708 return PyString_FromString("<Swig global variables>");
18709 }
18710
18711 SWIGINTERN PyObject *
18712 swig_varlink_str(swig_varlinkobject *v) {
18713 PyObject *str = PyString_FromString("(");
18714 swig_globalvar *var;
18715 for (var = v->vars; var; var=var->next) {
18716 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
18717 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
18718 }
18719 PyString_ConcatAndDel(&str,PyString_FromString(")"));
18720 return str;
18721 }
18722
18723 SWIGINTERN int
18724 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
18725 PyObject *str = swig_varlink_str(v);
18726 fprintf(fp,"Swig global variables ");
18727 fprintf(fp,"%s\n", PyString_AsString(str));
18728 Py_DECREF(str);
18729 return 0;
18730 }
18731
18732 SWIGINTERN void
18733 swig_varlink_dealloc(swig_varlinkobject *v) {
18734 swig_globalvar *var = v->vars;
18735 while (var) {
18736 swig_globalvar *n = var->next;
18737 free(var->name);
18738 free(var);
18739 var = n;
18740 }
18741 }
18742
18743 SWIGINTERN PyObject *
18744 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
18745 PyObject *res = NULL;
18746 swig_globalvar *var = v->vars;
18747 while (var) {
18748 if (strcmp(var->name,n) == 0) {
18749 res = (*var->get_attr)();
18750 break;
18751 }
18752 var = var->next;
18753 }
18754 if (res == NULL && !PyErr_Occurred()) {
18755 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18756 }
18757 return res;
18758 }
18759
18760 SWIGINTERN int
18761 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
18762 int res = 1;
18763 swig_globalvar *var = v->vars;
18764 while (var) {
18765 if (strcmp(var->name,n) == 0) {
18766 res = (*var->set_attr)(p);
18767 break;
18768 }
18769 var = var->next;
18770 }
18771 if (res == 1 && !PyErr_Occurred()) {
18772 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
18773 }
18774 return res;
18775 }
18776
18777 SWIGINTERN PyTypeObject*
18778 swig_varlink_type(void) {
18779 static char varlink__doc__[] = "Swig var link object";
18780 static PyTypeObject varlink_type;
18781 static int type_init = 0;
18782 if (!type_init) {
18783 const PyTypeObject tmp
18784 = {
18785 PyObject_HEAD_INIT(NULL)
18786 0, /* Number of items in variable part (ob_size) */
18787 (char *)"swigvarlink", /* Type name (tp_name) */
18788 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
18789 0, /* Itemsize (tp_itemsize) */
18790 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
18791 (printfunc) swig_varlink_print, /* Print (tp_print) */
18792 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
18793 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
18794 0, /* tp_compare */
18795 (reprfunc) swig_varlink_repr, /* tp_repr */
18796 0, /* tp_as_number */
18797 0, /* tp_as_sequence */
18798 0, /* tp_as_mapping */
18799 0, /* tp_hash */
18800 0, /* tp_call */
18801 (reprfunc)swig_varlink_str, /* tp_str */
18802 0, /* tp_getattro */
18803 0, /* tp_setattro */
18804 0, /* tp_as_buffer */
18805 0, /* tp_flags */
18806 varlink__doc__, /* tp_doc */
18807 0, /* tp_traverse */
18808 0, /* tp_clear */
18809 0, /* tp_richcompare */
18810 0, /* tp_weaklistoffset */
18811 #if PY_VERSION_HEX >= 0x02020000
18812 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
18813 #endif
18814 #if PY_VERSION_HEX >= 0x02030000
18815 0, /* tp_del */
18816 #endif
18817 #ifdef COUNT_ALLOCS
18818 0,0,0,0 /* tp_alloc -> tp_next */
18819 #endif
18820 };
18821 varlink_type = tmp;
18822 varlink_type.ob_type = &PyType_Type;
18823 type_init = 1;
18824 }
18825 return &varlink_type;
18826 }
18827
18828 /* Create a variable linking object for use later */
18829 SWIGINTERN PyObject *
18830 SWIG_Python_newvarlink(void) {
18831 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
18832 if (result) {
18833 result->vars = 0;
18834 }
18835 return ((PyObject*) result);
18836 }
18837
18838 SWIGINTERN void
18839 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
18840 swig_varlinkobject *v = (swig_varlinkobject *) p;
18841 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
18842 if (gv) {
18843 size_t size = strlen(name)+1;
18844 gv->name = (char *)malloc(size);
18845 if (gv->name) {
18846 strncpy(gv->name,name,size);
18847 gv->get_attr = get_attr;
18848 gv->set_attr = set_attr;
18849 gv->next = v->vars;
18850 }
18851 }
18852 v->vars = gv;
18853 }
18854
18855 SWIGINTERN PyObject *
18856 SWIG_globals() {
18857 static PyObject *_SWIG_globals = 0;
18858 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
18859 return _SWIG_globals;
18860 }
18861
18862 /* -----------------------------------------------------------------------------
18863 * constants/methods manipulation
18864 * ----------------------------------------------------------------------------- */
18865
18866 /* Install Constants */
18867 SWIGINTERN void
18868 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
18869 PyObject *obj = 0;
18870 size_t i;
18871 for (i = 0; constants[i].type; ++i) {
18872 switch(constants[i].type) {
18873 case SWIG_PY_POINTER:
18874 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
18875 break;
18876 case SWIG_PY_BINARY:
18877 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
18878 break;
18879 default:
18880 obj = 0;
18881 break;
18882 }
18883 if (obj) {
18884 PyDict_SetItemString(d, constants[i].name, obj);
18885 Py_DECREF(obj);
18886 }
18887 }
18888 }
18889
18890 /* -----------------------------------------------------------------------------*/
18891 /* Fix SwigMethods to carry the callback ptrs when needed */
18892 /* -----------------------------------------------------------------------------*/
18893
18894 SWIGINTERN void
18895 SWIG_Python_FixMethods(PyMethodDef *methods,
18896 swig_const_info *const_table,
18897 swig_type_info **types,
18898 swig_type_info **types_initial) {
18899 size_t i;
18900 for (i = 0; methods[i].ml_name; ++i) {
18901 const char *c = methods[i].ml_doc;
18902 if (c && (c = strstr(c, "swig_ptr: "))) {
18903 int j;
18904 swig_const_info *ci = 0;
18905 const char *name = c + 10;
18906 for (j = 0; const_table[j].type; ++j) {
18907 if (strncmp(const_table[j].name, name,
18908 strlen(const_table[j].name)) == 0) {
18909 ci = &(const_table[j]);
18910 break;
18911 }
18912 }
18913 if (ci) {
18914 size_t shift = (ci->ptype) - types;
18915 swig_type_info *ty = types_initial[shift];
18916 size_t ldoc = (c - methods[i].ml_doc);
18917 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
18918 char *ndoc = (char*)malloc(ldoc + lptr + 10);
18919 if (ndoc) {
18920 char *buff = ndoc;
18921 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
18922 if (ptr) {
18923 strncpy(buff, methods[i].ml_doc, ldoc);
18924 buff += ldoc;
18925 strncpy(buff, "swig_ptr: ", 10);
18926 buff += 10;
18927 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
18928 methods[i].ml_doc = ndoc;
18929 }
18930 }
18931 }
18932 }
18933 }
18934 }
18935
18936 #ifdef __cplusplus
18937 }
18938 #endif
18939
18940 /* -----------------------------------------------------------------------------*
18941 * Partial Init method
18942 * -----------------------------------------------------------------------------*/
18943
18944 #ifdef __cplusplus
18945 extern "C"
18946 #endif
18947 SWIGEXPORT void SWIG_init(void) {
18948 PyObject *m, *d;
18949
18950 /* Fix SwigMethods to carry the callback ptrs when needed */
18951 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
18952
18953 m = Py_InitModule((char *) SWIG_name, SwigMethods);
18954 d = PyModule_GetDict(m);
18955
18956 SWIG_InitializeModule(0);
18957 SWIG_InstallConstants(d,swig_const_table);
18958
18959
18960 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
18961 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
18962 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
18963 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
18964 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
18965 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
18966 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
18967 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
18968 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
18969 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
18970 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
18971 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
18972 SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT)));
18973 SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT)));
18974 SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE)));
18975 SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)));
18976 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
18977 SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_SIZE)));
18978 SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_SIZE)));
18979 SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_SIZE)));
18980 SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BORDER_SIZE)));
18981 SWIG_Python_SetConstant(d, "AUI_DOCKART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_PANE_BUTTON_SIZE)));
18982 SWIG_Python_SetConstant(d, "AUI_DOCKART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BACKGROUND_COLOUR)));
18983 SWIG_Python_SetConstant(d, "AUI_DOCKART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_SASH_COLOUR)));
18984 SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_COLOUR)));
18985 SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
18986 SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_COLOUR)));
18987 SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
18988 SWIG_Python_SetConstant(d, "AUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_ACTIVE_CAPTION_TEXT_COLOUR)));
18989 SWIG_Python_SetConstant(d, "AUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_INACTIVE_CAPTION_TEXT_COLOUR)));
18990 SWIG_Python_SetConstant(d, "AUI_DOCKART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_BORDER_COLOUR)));
18991 SWIG_Python_SetConstant(d, "AUI_DOCKART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRIPPER_COLOUR)));
18992 SWIG_Python_SetConstant(d, "AUI_DOCKART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_CAPTION_FONT)));
18993 SWIG_Python_SetConstant(d, "AUI_DOCKART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_DOCKART_GRADIENT_TYPE)));
18994 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
18995 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
18996 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
18997 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
18998 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
18999 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
19000 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED)));
19001 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN)));
19002 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_CHECKED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_CHECKED)));
19003 SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE)));
19004 SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE_RESTORE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE_RESTORE)));
19005 SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE)));
19006 SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN)));
19007 SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS)));
19008 SWIG_Python_SetConstant(d, "AUI_BUTTON_WINDOWLIST",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_WINDOWLIST)));
19009 SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT)));
19010 SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT)));
19011 SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP)));
19012 SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN)));
19013 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1)));
19014 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2)));
19015 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3)));
19016 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
19017 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
19018 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
19019 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
19020 SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullDockInfo",AuiNullDockInfo_get, AuiNullDockInfo_set);
19021 SWIG_addvarlink(SWIG_globals(),(char*)"AuiNullPaneInfo",AuiNullPaneInfo_get, AuiNullPaneInfo_set);
19022 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloating)));
19023 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionHidden)));
19024 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionLeftDockable)));
19025 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionRightDockable)));
19026 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionTopDockable)));
19027 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionBottomDockable)));
19028 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionFloatable)));
19029 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMovable)));
19030 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionResizable)));
19031 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionPaneBorder)));
19032 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionCaption)));
19033 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripper)));
19034 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionDestroyOnClose)));
19035 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionToolbar)));
19036 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionActive)));
19037 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionGripperTop)));
19038 SWIG_Python_SetConstant(d, "AuiPaneInfo_optionMaximized",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::optionMaximized)));
19039 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonClose)));
19040 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMaximize)));
19041 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonMinimize)));
19042 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonPin)));
19043 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom1)));
19044 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom2)));
19045 SWIG_Python_SetConstant(d, "AuiPaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::buttonCustom3)));
19046 SWIG_Python_SetConstant(d, "AuiPaneInfo_savedHiddenState",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::savedHiddenState)));
19047 SWIG_Python_SetConstant(d, "AuiPaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxAuiPaneInfo::actionPane)));
19048 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeCaption)));
19049 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeGripper)));
19050 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDock)));
19051 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeDockSizer)));
19052 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePane",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePane)));
19053 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneSizer)));
19054 SWIG_Python_SetConstant(d, "AuiDockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typeBackground)));
19055 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneBorder)));
19056 SWIG_Python_SetConstant(d, "AuiDockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxAuiDockUIPart::typePaneButton)));
19057 PyDict_SetItemString(d, "wxEVT_AUI_PANE_BUTTON", PyInt_FromLong(wxEVT_AUI_PANE_BUTTON));
19058 PyDict_SetItemString(d, "wxEVT_AUI_PANE_CLOSE", PyInt_FromLong(wxEVT_AUI_PANE_CLOSE));
19059 PyDict_SetItemString(d, "wxEVT_AUI_PANE_MAXIMIZE", PyInt_FromLong(wxEVT_AUI_PANE_MAXIMIZE));
19060 PyDict_SetItemString(d, "wxEVT_AUI_PANE_RESTORE", PyInt_FromLong(wxEVT_AUI_PANE_RESTORE));
19061 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
19062 PyDict_SetItemString(d, "wxEVT_AUI_FIND_MANAGER", PyInt_FromLong(wxEVT_AUI_FIND_MANAGER));
19063 SWIG_Python_SetConstant(d, "AUI_NB_TOP",SWIG_From_int(static_cast< int >(wxAUI_NB_TOP)));
19064 SWIG_Python_SetConstant(d, "AUI_NB_LEFT",SWIG_From_int(static_cast< int >(wxAUI_NB_LEFT)));
19065 SWIG_Python_SetConstant(d, "AUI_NB_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_NB_RIGHT)));
19066 SWIG_Python_SetConstant(d, "AUI_NB_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_NB_BOTTOM)));
19067 SWIG_Python_SetConstant(d, "AUI_NB_TAB_SPLIT",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_SPLIT)));
19068 SWIG_Python_SetConstant(d, "AUI_NB_TAB_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_MOVE)));
19069 SWIG_Python_SetConstant(d, "AUI_NB_TAB_EXTERNAL_MOVE",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_EXTERNAL_MOVE)));
19070 SWIG_Python_SetConstant(d, "AUI_NB_TAB_FIXED_WIDTH",SWIG_From_int(static_cast< int >(wxAUI_NB_TAB_FIXED_WIDTH)));
19071 SWIG_Python_SetConstant(d, "AUI_NB_SCROLL_BUTTONS",SWIG_From_int(static_cast< int >(wxAUI_NB_SCROLL_BUTTONS)));
19072 SWIG_Python_SetConstant(d, "AUI_NB_WINDOWLIST_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_WINDOWLIST_BUTTON)));
19073 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_BUTTON",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_BUTTON)));
19074 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ACTIVE_TAB",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ACTIVE_TAB)));
19075 SWIG_Python_SetConstant(d, "AUI_NB_CLOSE_ON_ALL_TABS",SWIG_From_int(static_cast< int >(wxAUI_NB_CLOSE_ON_ALL_TABS)));
19076 SWIG_Python_SetConstant(d, "AUI_NB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxAUI_NB_DEFAULT_STYLE)));
19077 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE));
19078 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
19079 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
19080 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
19081 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
19082 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
19083 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
19084 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND));
19085 }
19086