]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/aui_wrap.cpp
GetBestFittingSize --> GetEffectiveMinSize
[wxWidgets.git] / wxPython / src / gtk / aui_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_p_wxAuiMultiNotebook swig_types[3]
2470 #define SWIGTYPE_p_p_wxAuiTabContainerButton swig_types[4]
2471 #define SWIGTYPE_p_p_wxAuiTabCtrl swig_types[5]
2472 #define SWIGTYPE_p_p_wxColourDialog swig_types[6]
2473 #define SWIGTYPE_p_p_wxControl swig_types[7]
2474 #define SWIGTYPE_p_p_wxControlWithItems swig_types[8]
2475 #define SWIGTYPE_p_p_wxDialog swig_types[9]
2476 #define SWIGTYPE_p_p_wxDirDialog swig_types[10]
2477 #define SWIGTYPE_p_p_wxFileDialog swig_types[11]
2478 #define SWIGTYPE_p_p_wxFindReplaceDialog swig_types[12]
2479 #define SWIGTYPE_p_p_wxFloatingPane swig_types[13]
2480 #define SWIGTYPE_p_p_wxFontDialog swig_types[14]
2481 #define SWIGTYPE_p_p_wxFrame swig_types[15]
2482 #define SWIGTYPE_p_p_wxMDIChildFrame swig_types[16]
2483 #define SWIGTYPE_p_p_wxMDIClientWindow swig_types[17]
2484 #define SWIGTYPE_p_p_wxMDIParentFrame swig_types[18]
2485 #define SWIGTYPE_p_p_wxMenuBar swig_types[19]
2486 #define SWIGTYPE_p_p_wxMessageDialog swig_types[20]
2487 #define SWIGTYPE_p_p_wxMiniFrame swig_types[21]
2488 #define SWIGTYPE_p_p_wxMultiChoiceDialog swig_types[22]
2489 #define SWIGTYPE_p_p_wxNumberEntryDialog swig_types[23]
2490 #define SWIGTYPE_p_p_wxPanel swig_types[24]
2491 #define SWIGTYPE_p_p_wxPasswordEntryDialog swig_types[25]
2492 #define SWIGTYPE_p_p_wxPopupWindow swig_types[26]
2493 #define SWIGTYPE_p_p_wxPreviewCanvas swig_types[27]
2494 #define SWIGTYPE_p_p_wxPreviewControlBar swig_types[28]
2495 #define SWIGTYPE_p_p_wxPreviewFrame swig_types[29]
2496 #define SWIGTYPE_p_p_wxProgressDialog swig_types[30]
2497 #define SWIGTYPE_p_p_wxPyHtmlListBox swig_types[31]
2498 #define SWIGTYPE_p_p_wxPyPanel swig_types[32]
2499 #define SWIGTYPE_p_p_wxPyPopupTransientWindow swig_types[33]
2500 #define SWIGTYPE_p_p_wxPyPreviewControlBar swig_types[34]
2501 #define SWIGTYPE_p_p_wxPyPreviewFrame swig_types[35]
2502 #define SWIGTYPE_p_p_wxPyScrolledWindow swig_types[36]
2503 #define SWIGTYPE_p_p_wxPyVListBox swig_types[37]
2504 #define SWIGTYPE_p_p_wxPyVScrolledWindow swig_types[38]
2505 #define SWIGTYPE_p_p_wxPyWindow swig_types[39]
2506 #define SWIGTYPE_p_p_wxSashLayoutWindow swig_types[40]
2507 #define SWIGTYPE_p_p_wxSashWindow swig_types[41]
2508 #define SWIGTYPE_p_p_wxScrolledWindow swig_types[42]
2509 #define SWIGTYPE_p_p_wxSingleChoiceDialog swig_types[43]
2510 #define SWIGTYPE_p_p_wxSplashScreen swig_types[44]
2511 #define SWIGTYPE_p_p_wxSplashScreenWindow swig_types[45]
2512 #define SWIGTYPE_p_p_wxSplitterWindow swig_types[46]
2513 #define SWIGTYPE_p_p_wxStatusBar swig_types[47]
2514 #define SWIGTYPE_p_p_wxTextEntryDialog swig_types[48]
2515 #define SWIGTYPE_p_p_wxTipWindow swig_types[49]
2516 #define SWIGTYPE_p_p_wxTopLevelWindow swig_types[50]
2517 #define SWIGTYPE_p_p_wxWindow swig_types[51]
2518 #define SWIGTYPE_p_unsigned_char swig_types[52]
2519 #define SWIGTYPE_p_unsigned_int swig_types[53]
2520 #define SWIGTYPE_p_unsigned_long swig_types[54]
2521 #define SWIGTYPE_p_wxANIHandler swig_types[55]
2522 #define SWIGTYPE_p_wxAcceleratorTable swig_types[56]
2523 #define SWIGTYPE_p_wxActivateEvent swig_types[57]
2524 #define SWIGTYPE_p_wxAuiMultiNotebook swig_types[58]
2525 #define SWIGTYPE_p_wxAuiNotebookEvent swig_types[59]
2526 #define SWIGTYPE_p_wxAuiNotebookPage swig_types[60]
2527 #define SWIGTYPE_p_wxAuiNotebookPageArray swig_types[61]
2528 #define SWIGTYPE_p_wxAuiTabContainer swig_types[62]
2529 #define SWIGTYPE_p_wxAuiTabContainerButton swig_types[63]
2530 #define SWIGTYPE_p_wxAuiTabCtrl swig_types[64]
2531 #define SWIGTYPE_p_wxBMPHandler swig_types[65]
2532 #define SWIGTYPE_p_wxBitmap swig_types[66]
2533 #define SWIGTYPE_p_wxBoxSizer swig_types[67]
2534 #define SWIGTYPE_p_wxCURHandler swig_types[68]
2535 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[69]
2536 #define SWIGTYPE_p_wxChildFocusEvent swig_types[70]
2537 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[71]
2538 #define SWIGTYPE_p_wxCloseEvent swig_types[72]
2539 #define SWIGTYPE_p_wxColor swig_types[73]
2540 #define SWIGTYPE_p_wxColour swig_types[74]
2541 #define SWIGTYPE_p_wxColourData swig_types[75]
2542 #define SWIGTYPE_p_wxColourDialog swig_types[76]
2543 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
2544 #define SWIGTYPE_p_wxContextMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxControl swig_types[79]
2546 #define SWIGTYPE_p_wxControlWithItems swig_types[80]
2547 #define SWIGTYPE_p_wxDC swig_types[81]
2548 #define SWIGTYPE_p_wxDateEvent swig_types[82]
2549 #define SWIGTYPE_p_wxDefaultDockArt swig_types[83]
2550 #define SWIGTYPE_p_wxDefaultTabArt swig_types[84]
2551 #define SWIGTYPE_p_wxDialog swig_types[85]
2552 #define SWIGTYPE_p_wxDirDialog swig_types[86]
2553 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[87]
2554 #define SWIGTYPE_p_wxDockArt swig_types[88]
2555 #define SWIGTYPE_p_wxDockInfo swig_types[89]
2556 #define SWIGTYPE_p_wxDockUIPart swig_types[90]
2557 #define SWIGTYPE_p_wxDropFilesEvent swig_types[91]
2558 #define SWIGTYPE_p_wxDuplexMode swig_types[92]
2559 #define SWIGTYPE_p_wxEraseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxEvent swig_types[94]
2561 #define SWIGTYPE_p_wxEvtHandler swig_types[95]
2562 #define SWIGTYPE_p_wxFSFile swig_types[96]
2563 #define SWIGTYPE_p_wxFileDialog swig_types[97]
2564 #define SWIGTYPE_p_wxFileSystem swig_types[98]
2565 #define SWIGTYPE_p_wxFindDialogEvent swig_types[99]
2566 #define SWIGTYPE_p_wxFindReplaceData swig_types[100]
2567 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[101]
2568 #define SWIGTYPE_p_wxFlexGridSizer swig_types[102]
2569 #define SWIGTYPE_p_wxFloatingPane swig_types[103]
2570 #define SWIGTYPE_p_wxFocusEvent swig_types[104]
2571 #define SWIGTYPE_p_wxFont swig_types[105]
2572 #define SWIGTYPE_p_wxFontData swig_types[106]
2573 #define SWIGTYPE_p_wxFontDialog swig_types[107]
2574 #define SWIGTYPE_p_wxFrame swig_types[108]
2575 #define SWIGTYPE_p_wxFrameManager swig_types[109]
2576 #define SWIGTYPE_p_wxFrameManagerEvent swig_types[110]
2577 #define SWIGTYPE_p_wxGBSizerItem swig_types[111]
2578 #define SWIGTYPE_p_wxGIFHandler swig_types[112]
2579 #define SWIGTYPE_p_wxGridBagSizer swig_types[113]
2580 #define SWIGTYPE_p_wxGridSizer swig_types[114]
2581 #define SWIGTYPE_p_wxICOHandler swig_types[115]
2582 #define SWIGTYPE_p_wxIconizeEvent swig_types[116]
2583 #define SWIGTYPE_p_wxIdleEvent swig_types[117]
2584 #define SWIGTYPE_p_wxImage swig_types[118]
2585 #define SWIGTYPE_p_wxImageHandler swig_types[119]
2586 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[120]
2587 #define SWIGTYPE_p_wxInitDialogEvent swig_types[121]
2588 #define SWIGTYPE_p_wxJPEGHandler swig_types[122]
2589 #define SWIGTYPE_p_wxKeyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[124]
2591 #define SWIGTYPE_p_wxLayoutConstraints swig_types[125]
2592 #define SWIGTYPE_p_wxMDIChildFrame swig_types[126]
2593 #define SWIGTYPE_p_wxMDIClientWindow swig_types[127]
2594 #define SWIGTYPE_p_wxMDIParentFrame swig_types[128]
2595 #define SWIGTYPE_p_wxMaximizeEvent swig_types[129]
2596 #define SWIGTYPE_p_wxMenu swig_types[130]
2597 #define SWIGTYPE_p_wxMenuBar swig_types[131]
2598 #define SWIGTYPE_p_wxMenuEvent swig_types[132]
2599 #define SWIGTYPE_p_wxMenuItem swig_types[133]
2600 #define SWIGTYPE_p_wxMessageDialog swig_types[134]
2601 #define SWIGTYPE_p_wxMiniFrame swig_types[135]
2602 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[136]
2603 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[137]
2604 #define SWIGTYPE_p_wxMouseEvent swig_types[138]
2605 #define SWIGTYPE_p_wxMoveEvent swig_types[139]
2606 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[140]
2607 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[141]
2608 #define SWIGTYPE_p_wxNcPaintEvent swig_types[142]
2609 #define SWIGTYPE_p_wxNotifyEvent swig_types[143]
2610 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[144]
2611 #define SWIGTYPE_p_wxObject swig_types[145]
2612 #define SWIGTYPE_p_wxPCXHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPNGHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPNMHandler swig_types[148]
2615 #define SWIGTYPE_p_wxPageSetupDialog swig_types[149]
2616 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[150]
2617 #define SWIGTYPE_p_wxPaintEvent swig_types[151]
2618 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[152]
2619 #define SWIGTYPE_p_wxPaneButton swig_types[153]
2620 #define SWIGTYPE_p_wxPaneButtonArray swig_types[154]
2621 #define SWIGTYPE_p_wxPaneInfo swig_types[155]
2622 #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[156]
2623 #define SWIGTYPE_p_wxPanel swig_types[157]
2624 #define SWIGTYPE_p_wxPaperSize swig_types[158]
2625 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxPoint swig_types[160]
2627 #define SWIGTYPE_p_wxPopupWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPreviewCanvas swig_types[162]
2629 #define SWIGTYPE_p_wxPreviewControlBar swig_types[163]
2630 #define SWIGTYPE_p_wxPreviewFrame swig_types[164]
2631 #define SWIGTYPE_p_wxPrintData swig_types[165]
2632 #define SWIGTYPE_p_wxPrintDialog swig_types[166]
2633 #define SWIGTYPE_p_wxPrintDialogData swig_types[167]
2634 #define SWIGTYPE_p_wxPrintPreview swig_types[168]
2635 #define SWIGTYPE_p_wxPrinter swig_types[169]
2636 #define SWIGTYPE_p_wxProgressDialog swig_types[170]
2637 #define SWIGTYPE_p_wxPyApp swig_types[171]
2638 #define SWIGTYPE_p_wxPyCommandEvent swig_types[172]
2639 #define SWIGTYPE_p_wxPyDockArt swig_types[173]
2640 #define SWIGTYPE_p_wxPyEvent swig_types[174]
2641 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[175]
2642 #define SWIGTYPE_p_wxPyImageHandler swig_types[176]
2643 #define SWIGTYPE_p_wxPyPanel swig_types[177]
2644 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[178]
2645 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[179]
2646 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[180]
2647 #define SWIGTYPE_p_wxPyPrintPreview swig_types[181]
2648 #define SWIGTYPE_p_wxPyPrintout swig_types[182]
2649 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[183]
2650 #define SWIGTYPE_p_wxPySizer swig_types[184]
2651 #define SWIGTYPE_p_wxPyTabArt swig_types[185]
2652 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[186]
2653 #define SWIGTYPE_p_wxPyVListBox swig_types[187]
2654 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[188]
2655 #define SWIGTYPE_p_wxPyValidator swig_types[189]
2656 #define SWIGTYPE_p_wxPyWindow swig_types[190]
2657 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[191]
2658 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[192]
2659 #define SWIGTYPE_p_wxRect swig_types[193]
2660 #define SWIGTYPE_p_wxSashEvent swig_types[194]
2661 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[195]
2662 #define SWIGTYPE_p_wxSashWindow swig_types[196]
2663 #define SWIGTYPE_p_wxScrollEvent swig_types[197]
2664 #define SWIGTYPE_p_wxScrollWinEvent swig_types[198]
2665 #define SWIGTYPE_p_wxScrolledWindow swig_types[199]
2666 #define SWIGTYPE_p_wxSetCursorEvent swig_types[200]
2667 #define SWIGTYPE_p_wxShowEvent swig_types[201]
2668 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[202]
2669 #define SWIGTYPE_p_wxSize swig_types[203]
2670 #define SWIGTYPE_p_wxSizeEvent swig_types[204]
2671 #define SWIGTYPE_p_wxSizer swig_types[205]
2672 #define SWIGTYPE_p_wxSizerItem swig_types[206]
2673 #define SWIGTYPE_p_wxSplashScreen swig_types[207]
2674 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[208]
2675 #define SWIGTYPE_p_wxSplitterEvent swig_types[209]
2676 #define SWIGTYPE_p_wxSplitterWindow swig_types[210]
2677 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[211]
2678 #define SWIGTYPE_p_wxStatusBar swig_types[212]
2679 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[213]
2680 #define SWIGTYPE_p_wxString swig_types[214]
2681 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[215]
2682 #define SWIGTYPE_p_wxTIFFHandler swig_types[216]
2683 #define SWIGTYPE_p_wxTabArt swig_types[217]
2684 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[218]
2685 #define SWIGTYPE_p_wxTextEntryDialog swig_types[219]
2686 #define SWIGTYPE_p_wxTipWindow swig_types[220]
2687 #define SWIGTYPE_p_wxTopLevelWindow swig_types[221]
2688 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[222]
2689 #define SWIGTYPE_p_wxValidator swig_types[223]
2690 #define SWIGTYPE_p_wxWindow swig_types[224]
2691 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[225]
2692 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[226]
2693 #define SWIGTYPE_p_wxXPMHandler swig_types[227]
2694 static swig_type_info *swig_types[229];
2695 static swig_module_info swig_module = {swig_types, 228, 0, 0, 0, 0};
2696 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2697 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2698
2699 /* -------- TYPES TABLE (END) -------- */
2700
2701 #if (PY_VERSION_HEX <= 0x02000000)
2702 # if !defined(SWIG_PYTHON_CLASSIC)
2703 # error "This python version requires to use swig with the '-classic' option"
2704 # endif
2705 #endif
2706 #if (PY_VERSION_HEX <= 0x02020000)
2707 # error "This python version requires to use swig with the '-nomodern' option"
2708 #endif
2709 #if (PY_VERSION_HEX <= 0x02020000)
2710 # error "This python version requires to use swig with the '-nomodernargs' option"
2711 #endif
2712 #ifndef METH_O
2713 # error "This python version requires to use swig with the '-nofastunpack' option"
2714 #endif
2715
2716 /*-----------------------------------------------
2717 @(target):= _aui.so
2718 ------------------------------------------------*/
2719 #define SWIG_init init_aui
2720
2721 #define SWIG_name "_aui"
2722
2723 #define SWIGVERSION 0x010329
2724
2725
2726 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2727 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2728
2729
2730 #include <stdexcept>
2731
2732
2733 namespace swig {
2734 class PyObject_ptr {
2735 protected:
2736 PyObject *_obj;
2737
2738 public:
2739 PyObject_ptr() :_obj(0)
2740 {
2741 }
2742
2743 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2744 {
2745 Py_XINCREF(_obj);
2746 }
2747
2748 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2749 {
2750 if (initial_ref) Py_XINCREF(_obj);
2751 }
2752
2753 PyObject_ptr & operator=(const PyObject_ptr& item)
2754 {
2755 Py_XINCREF(item._obj);
2756 Py_XDECREF(_obj);
2757 _obj = item._obj;
2758 return *this;
2759 }
2760
2761 ~PyObject_ptr()
2762 {
2763 Py_XDECREF(_obj);
2764 }
2765
2766 operator PyObject *() const
2767 {
2768 return _obj;
2769 }
2770
2771 PyObject *operator->() const
2772 {
2773 return _obj;
2774 }
2775 };
2776 }
2777
2778
2779 namespace swig {
2780 struct PyObject_var : PyObject_ptr {
2781 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2782
2783 PyObject_var & operator = (PyObject* obj)
2784 {
2785 Py_XDECREF(_obj);
2786 _obj = obj;
2787 return *this;
2788 }
2789 };
2790 }
2791
2792
2793 #include "wx/wxPython/wxPython.h"
2794 #include "wx/wxPython/pyclasses.h"
2795 #include <wx/aui/aui.h>
2796
2797
2798 #define SWIG_From_long PyInt_FromLong
2799
2800
2801 SWIGINTERNINLINE PyObject *
2802 SWIG_From_int (int value)
2803 {
2804 return SWIG_From_long (value);
2805 }
2806
2807
2808 #include <limits.h>
2809 #ifndef LLONG_MIN
2810 # define LLONG_MIN LONG_LONG_MIN
2811 #endif
2812 #ifndef LLONG_MAX
2813 # define LLONG_MAX LONG_LONG_MAX
2814 #endif
2815 #ifndef ULLONG_MAX
2816 # define ULLONG_MAX ULONG_LONG_MAX
2817 #endif
2818
2819
2820 SWIGINTERN int
2821 SWIG_AsVal_long (PyObject* obj, long* val)
2822 {
2823 if (PyNumber_Check(obj)) {
2824 if (val) *val = PyInt_AsLong(obj);
2825 return SWIG_OK;
2826 }
2827 return SWIG_TypeError;
2828 }
2829
2830
2831 SWIGINTERN int
2832 SWIG_AsVal_int (PyObject * obj, int *val)
2833 {
2834 long v;
2835 int res = SWIG_AsVal_long (obj, &v);
2836 if (SWIG_IsOK(res)) {
2837 if ((v < INT_MIN || v > INT_MAX)) {
2838 return SWIG_OverflowError;
2839 } else {
2840 if (val) *val = static_cast< int >(v);
2841 }
2842 }
2843 return res;
2844 }
2845
2846
2847 SWIGINTERN int
2848 SWIG_AsVal_bool (PyObject *obj, bool *val)
2849 {
2850 if (obj == Py_True) {
2851 if (val) *val = true;
2852 return SWIG_OK;
2853 } else if (obj == Py_False) {
2854 if (val) *val = false;
2855 return SWIG_OK;
2856 } else {
2857 long v = 0;
2858 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2859 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2860 return res;
2861 }
2862 }
2863
2864 SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){}
2865 SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){}
2866 SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){}
2867
2868 SWIGINTERN int
2869 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2870 {
2871 long v = 0;
2872 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2873 return SWIG_TypeError;
2874 }
2875 else if (val)
2876 *val = (unsigned long)v;
2877 return SWIG_OK;
2878 }
2879
2880
2881 SWIGINTERNINLINE int
2882 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2883 {
2884 unsigned long v;
2885 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2886 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2887 return res;
2888 }
2889
2890
2891 SWIGINTERNINLINE PyObject*
2892 SWIG_From_unsigned_SS_long (unsigned long value)
2893 {
2894 return (value > LONG_MAX) ?
2895 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2896 }
2897
2898
2899 SWIGINTERNINLINE PyObject *
2900 SWIG_From_size_t (size_t value)
2901 {
2902 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2903 }
2904
2905
2906 // A wxDocArt class that knows how to forward virtuals to Python methods
2907 class wxPyDockArt : public wxDefaultDockArt
2908 {
2909 wxPyDockArt() : wxDefaultDockArt() {}
2910
2911 DEC_PYCALLBACK_INT_INT(GetMetric);
2912 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2913 DEC_PYCALLBACK__INTFONT(SetFont);
2914 DEC_PYCALLBACK_FONT_INT(GetFont);
2915 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2916 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2917
2918 virtual void DrawSash(wxDC& dc,
2919 wxWindow* window,
2920 int orientation,
2921 const wxRect& rect)
2922 {
2923 bool found;
2924 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2925 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2926 PyObject* odc = wxPyMake_wxObject(&dc, false);
2927 PyObject* owin = wxPyMake_wxObject(window, false);
2928 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2929 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2930 odc, owin, orientation, orect));
2931 Py_DECREF(odc);
2932 Py_DECREF(owin);
2933 Py_DECREF(orect);
2934 }
2935 wxPyEndBlockThreads(blocked);
2936 if (! found)
2937 wxDefaultDockArt::DrawSash(dc, window, orientation, rect);
2938 }
2939
2940 virtual void DrawBackground(wxDC& dc,
2941 wxWindow* window,
2942 int orientation,
2943 const wxRect& rect)
2944 {
2945 bool found;
2946 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2947 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2948 PyObject* odc = wxPyMake_wxObject(&dc, false);
2949 PyObject* owin = wxPyMake_wxObject(window, false);
2950 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2951 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2952 odc, owin, orientation, orect));
2953 Py_DECREF(odc);
2954 Py_DECREF(owin);
2955 Py_DECREF(orect);
2956 }
2957 wxPyEndBlockThreads(blocked);
2958 if (! found)
2959 wxDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2960 }
2961
2962 virtual void DrawCaption(wxDC& dc,
2963 wxWindow* window,
2964 const wxString& text,
2965 const wxRect& rect,
2966 wxPaneInfo& pane)
2967 {
2968 bool found;
2969 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2970 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2971 PyObject* odc = wxPyMake_wxObject(&dc, false);
2972 PyObject* owin = wxPyMake_wxObject(window, false);
2973 PyObject* otext = wx2PyString(text);
2974 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2975 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2976 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2977 odc, owin, otext, orect, opane));
2978 Py_DECREF(odc);
2979 Py_DECREF(owin);
2980 Py_DECREF(otext);
2981 Py_DECREF(orect);
2982 Py_DECREF(opane);
2983 }
2984 wxPyEndBlockThreads(blocked);
2985 if (! found)
2986 wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
2987 }
2988
2989 virtual void DrawGripper(wxDC& dc,
2990 wxWindow* window,
2991 const wxRect& rect,
2992 wxPaneInfo& pane)
2993 {
2994 bool found;
2995 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2996 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
2997 PyObject* odc = wxPyMake_wxObject(&dc, false);
2998 PyObject* owin = wxPyMake_wxObject(window, false);
2999 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3000 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3001 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
3002 Py_DECREF(odc);
3003 Py_DECREF(orect);
3004 Py_DECREF(opane);
3005 }
3006 wxPyEndBlockThreads(blocked);
3007 if (! found)
3008 wxDefaultDockArt::DrawGripper(dc, window, rect, pane);
3009 }
3010
3011 virtual void DrawBorder(wxDC& dc,
3012 wxWindow* window,
3013 const wxRect& rect,
3014 wxPaneInfo& pane)
3015 {
3016 bool found;
3017 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3018 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3019 PyObject* odc = wxPyMake_wxObject(&dc, false);
3020 PyObject* owin = wxPyMake_wxObject(window, false);
3021 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3022 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3023 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3024 Py_DECREF(odc);
3025 Py_DECREF(owin);
3026 Py_DECREF(orect);
3027 Py_DECREF(opane);
3028 }
3029 wxPyEndBlockThreads(blocked);
3030 if (! found)
3031 wxDefaultDockArt::DrawBorder(dc, window, rect, pane);
3032 }
3033
3034 virtual void DrawPaneButton(wxDC& dc,
3035 wxWindow* window,
3036 int button,
3037 int button_state,
3038 const wxRect& rect,
3039 wxPaneInfo& pane)
3040 {
3041 bool found;
3042 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3043 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3044 PyObject* odc = wxPyMake_wxObject(&dc, false);
3045 PyObject* owin = wxPyMake_wxObject(window, false);
3046 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3047 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3048 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3049 odc, owin, button, button_state,
3050 orect, opane));
3051 Py_DECREF(odc);
3052 Py_DECREF(owin);
3053 Py_DECREF(orect);
3054 Py_DECREF(opane);
3055 }
3056 wxPyEndBlockThreads(blocked);
3057 if (! found)
3058 wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3059 }
3060
3061 PYPRIVATE;
3062
3063 };
3064
3065 IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric);
3066 IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric);
3067 IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont);
3068 IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont);
3069 IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour);
3070 IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour);
3071
3072
3073
3074 // A wxTabArt class that knows how to forward virtuals to Python methods
3075 class wxPyTabArt : public wxDefaultTabArt
3076 {
3077 wxPyTabArt() : wxDefaultTabArt() {}
3078
3079
3080 virtual void DrawBackground( wxDC* dc,
3081 const wxRect& rect )
3082 {
3083 bool found;
3084 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3085 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
3086 PyObject* odc = wxPyMake_wxObject(dc, false);
3087 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3088 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", odc, orect));
3089 Py_DECREF(odc);
3090 Py_DECREF(orect);
3091 }
3092 wxPyEndBlockThreads(blocked);
3093 if (!found)
3094 wxDefaultTabArt::DrawBackground(dc, rect);
3095 }
3096
3097 virtual void DrawTab( wxDC* dc,
3098 const wxRect& in_rect,
3099 const wxString& caption,
3100 bool active,
3101 wxRect* out_rect,
3102 int* x_extent)
3103 {
3104 bool found;
3105 const char* errmsg = "DrawTab should return a sequence containing (out_rect, x_extent)";
3106 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3107 if ((found = wxPyCBH_findCallback(m_myInst, "DrawTab"))) {
3108 PyObject* odc = wxPyMake_wxObject(dc, false);
3109 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3110 PyObject* otext = wx2PyString(caption);
3111 PyObject* ro;
3112 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOOi)", odc, orect, otext, (int)active));
3113 if (ro) {
3114 if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
3115 PyObject* o1 = PySequence_GetItem(ro, 0);
3116 PyObject* o2 = PySequence_GetItem(ro, 1);
3117 if (!wxRect_helper(o1, &out_rect))
3118 PyErr_SetString(PyExc_TypeError, errmsg);
3119 else if (!PyInt_Check(o2))
3120 PyErr_SetString(PyExc_TypeError, errmsg);
3121 else
3122 *x_extent = PyInt_AsLong(o2);
3123
3124 Py_DECREF(o1);
3125 Py_DECREF(o2);
3126 }
3127 else {
3128 PyErr_SetString(PyExc_TypeError, errmsg);
3129 }
3130 Py_DECREF(ro);
3131 }
3132
3133 Py_DECREF(odc);
3134 Py_DECREF(orect);
3135 Py_DECREF(otext);
3136 }
3137 wxPyEndBlockThreads(blocked);
3138 if (!found)
3139 wxDefaultTabArt::DrawTab(dc, in_rect, caption, active, out_rect, x_extent);
3140 }
3141
3142
3143 virtual void DrawButton( wxDC* dc,
3144 const wxRect& in_rect,
3145 int bitmap_id,
3146 int button_state,
3147 int orientation,
3148 const wxBitmap& bitmap_override,
3149 wxRect* out_rect)
3150 {
3151 bool found;
3152 const char* errmsg = "DrawButton should return a wxRect";
3153 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3154 if ((found = wxPyCBH_findCallback(m_myInst, "DrawButton"))) {
3155 PyObject* odc = wxPyMake_wxObject(dc, false);
3156 PyObject* orect = wxPyConstructObject((void*)&in_rect, wxT("wxRect"), 0);
3157 PyObject* obmp = wxPyConstructObject((void*)&bitmap_override, wxT("wxBitmap"), 0);
3158 PyObject* ro;
3159 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOiiiO)", odc, orect,
3160 bitmap_id, button_state, orientation,
3161 obmp));
3162 if (ro) {
3163 if (!wxRect_helper(ro, &out_rect))
3164 PyErr_SetString(PyExc_TypeError, errmsg);
3165 Py_DECREF(ro);
3166 }
3167
3168 Py_DECREF(odc);
3169 Py_DECREF(orect);
3170 Py_DECREF(obmp);
3171 }
3172 wxPyEndBlockThreads(blocked);
3173 if (!found)
3174 wxDefaultTabArt::DrawButton(dc, in_rect, bitmap_id, button_state, orientation, bitmap_override, out_rect);
3175 }
3176
3177
3178 virtual wxSize GetTabSize( wxDC* dc,
3179 const wxString& caption,
3180 bool active,
3181 int* x_extent)
3182 {
3183 bool found;
3184 wxSize rv, *prv = &rv;
3185 const char* errmsg = "GetTabSize should return a sequence containing (size, x_extent)";
3186 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3187 if ((found = wxPyCBH_findCallback(m_myInst, "GetTabSize"))) {
3188 PyObject* odc = wxPyMake_wxObject(dc, false);
3189 PyObject* otext = wx2PyString(caption);
3190 PyObject* ro;
3191 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOi)", odc, otext, (int)active));
3192 if (ro) {
3193 if (PySequence_Check(ro) && PyObject_Length(ro) == 2) {
3194 PyObject* o1 = PySequence_GetItem(ro, 0);
3195 PyObject* o2 = PySequence_GetItem(ro, 1);
3196 if (!wxSize_helper(o1, &prv))
3197 PyErr_SetString(PyExc_TypeError, errmsg);
3198 else if (!PyInt_Check(o2))
3199 PyErr_SetString(PyExc_TypeError, errmsg);
3200 else
3201 *x_extent = PyInt_AsLong(o2);
3202
3203 Py_DECREF(o1);
3204 Py_DECREF(o2);
3205 }
3206 else {
3207 PyErr_SetString(PyExc_TypeError, errmsg);
3208 }
3209 Py_DECREF(ro);
3210 }
3211
3212 Py_DECREF(odc);
3213 Py_DECREF(otext);
3214 }
3215 wxPyEndBlockThreads(blocked);
3216 if (!found)
3217 rv = wxDefaultTabArt::GetTabSize(dc, caption, active, x_extent);
3218 return rv;
3219 }
3220
3221
3222
3223 DEC_PYCALLBACK__FONT(SetNormalFont);
3224 DEC_PYCALLBACK__FONT(SetSelectedFont);
3225 DEC_PYCALLBACK__FONT(SetMeasuringFont);
3226 DEC_PYCALLBACK_INT_WIN(GetBestTabCtrlSize);
3227
3228 PYPRIVATE;
3229 };
3230
3231
3232 IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetNormalFont);
3233 IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetSelectedFont);
3234 IMP_PYCALLBACK__FONT(wxPyTabArt, wxDefaultTabArt, SetMeasuringFont);
3235 IMP_PYCALLBACK_INT_WIN(wxPyTabArt, wxDefaultTabArt, GetBestTabCtrlSize);
3236
3237 #ifdef __cplusplus
3238 extern "C" {
3239 #endif
3240 SWIGINTERN int NullDockInfo_set(PyObject *_val) {
3241 {
3242 void *argp = 0;
3243 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0);
3244 if (!SWIG_IsOK(res)) {
3245 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3246 }
3247 if (!argp) {
3248 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3249 } else {
3250 wxDockInfo * temp;
3251 temp = reinterpret_cast< wxDockInfo * >(argp);
3252 wxNullDockInfo = *temp;
3253 if (SWIG_IsNewObj(res)) delete temp;
3254 }
3255 }
3256 return 0;
3257 fail:
3258 return 1;
3259 }
3260
3261
3262 SWIGINTERN PyObject *NullDockInfo_get(void) {
3263 PyObject *pyobj = 0;
3264
3265 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 );
3266 return pyobj;
3267 }
3268
3269
3270 SWIGINTERN int NullPaneInfo_set(PyObject *_val) {
3271 {
3272 void *argp = 0;
3273 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3274 if (!SWIG_IsOK(res)) {
3275 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3276 }
3277 if (!argp) {
3278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3279 } else {
3280 wxPaneInfo * temp;
3281 temp = reinterpret_cast< wxPaneInfo * >(argp);
3282 wxNullPaneInfo = *temp;
3283 if (SWIG_IsNewObj(res)) delete temp;
3284 }
3285 }
3286 return 0;
3287 fail:
3288 return 1;
3289 }
3290
3291
3292 SWIGINTERN PyObject *NullPaneInfo_get(void) {
3293 PyObject *pyobj = 0;
3294
3295 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 );
3296 return pyobj;
3297 }
3298
3299
3300 SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3301 PyObject *resultobj = 0;
3302 wxPaneInfo *result = 0 ;
3303
3304 if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 result = (wxPaneInfo *)new wxPaneInfo();
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 );
3312 return resultobj;
3313 fail:
3314 return NULL;
3315 }
3316
3317
3318 SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3319 PyObject *resultobj = 0;
3320 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3321 void *argp1 = 0 ;
3322 int res1 = 0 ;
3323 PyObject *swig_obj[1] ;
3324
3325 if (!args) SWIG_fail;
3326 swig_obj[0] = args;
3327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
3328 if (!SWIG_IsOK(res1)) {
3329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3330 }
3331 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 delete arg1;
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 resultobj = SWIG_Py_Void();
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj = 0;
3348 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3349 wxPaneInfo arg2 ;
3350 void *argp1 = 0 ;
3351 int res1 = 0 ;
3352 void *argp2 ;
3353 int res2 = 0 ;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 char * kwnames[] = {
3357 (char *) "self",(char *) "source", NULL
3358 };
3359
3360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3362 if (!SWIG_IsOK(res1)) {
3363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3364 }
3365 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3366 {
3367 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3368 if (!SWIG_IsOK(res2)) {
3369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3370 }
3371 if (!argp2) {
3372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3373 } else {
3374 wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2);
3375 arg2 = *temp;
3376 if (SWIG_IsNewObj(res2)) delete temp;
3377 }
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->SafeSet(arg2);
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 resultobj = SWIG_Py_Void();
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3393 PyObject *resultobj = 0;
3394 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3395 bool result;
3396 void *argp1 = 0 ;
3397 int res1 = 0 ;
3398 PyObject *swig_obj[1] ;
3399
3400 if (!args) SWIG_fail;
3401 swig_obj[0] = args;
3402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3403 if (!SWIG_IsOK(res1)) {
3404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3405 }
3406 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 result = (bool)((wxPaneInfo const *)arg1)->IsOk();
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3415 }
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3423 PyObject *resultobj = 0;
3424 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3425 bool result;
3426 void *argp1 = 0 ;
3427 int res1 = 0 ;
3428 PyObject *swig_obj[1] ;
3429
3430 if (!args) SWIG_fail;
3431 swig_obj[0] = args;
3432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3433 if (!SWIG_IsOK(res1)) {
3434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3435 }
3436 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (bool)((wxPaneInfo const *)arg1)->IsFixed();
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 {
3444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3445 }
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3453 PyObject *resultobj = 0;
3454 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3463 if (!SWIG_IsOK(res1)) {
3464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3465 }
3466 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (bool)((wxPaneInfo const *)arg1)->IsResizable();
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_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3483 PyObject *resultobj = 0;
3484 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3495 }
3496 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (bool)((wxPaneInfo const *)arg1)->IsShown();
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_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3513 PyObject *resultobj = 0;
3514 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3523 if (!SWIG_IsOK(res1)) {
3524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3525 }
3526 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (bool)((wxPaneInfo const *)arg1)->IsFloating();
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_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3543 PyObject *resultobj = 0;
3544 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3553 if (!SWIG_IsOK(res1)) {
3554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3555 }
3556 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (bool)((wxPaneInfo const *)arg1)->IsDocked();
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_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3573 PyObject *resultobj = 0;
3574 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3583 if (!SWIG_IsOK(res1)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3585 }
3586 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (bool)((wxPaneInfo const *)arg1)->IsToolbar();
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_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3603 PyObject *resultobj = 0;
3604 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3613 if (!SWIG_IsOK(res1)) {
3614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3615 }
3616 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable();
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_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3633 PyObject *resultobj = 0;
3634 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3643 if (!SWIG_IsOK(res1)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3645 }
3646 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable();
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_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3663 PyObject *resultobj = 0;
3664 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3673 if (!SWIG_IsOK(res1)) {
3674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3675 }
3676 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable();
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_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3693 PyObject *resultobj = 0;
3694 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3703 if (!SWIG_IsOK(res1)) {
3704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3705 }
3706 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable();
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_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3723 PyObject *resultobj = 0;
3724 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3735 }
3736 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3737 {
3738 PyThreadState* __tstate = wxPyBeginAllowThreads();
3739 result = (bool)((wxPaneInfo const *)arg1)->IsFloatable();
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_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3753 PyObject *resultobj = 0;
3754 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3763 if (!SWIG_IsOK(res1)) {
3764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3765 }
3766 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (bool)((wxPaneInfo const *)arg1)->IsMovable();
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_PaneInfo_IsDestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3783 PyObject *resultobj = 0;
3784 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3793 if (!SWIG_IsOK(res1)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3795 }
3796 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (bool)((wxPaneInfo const *)arg1)->IsDestroyOnClose();
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_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3813 PyObject *resultobj = 0;
3814 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3823 if (!SWIG_IsOK(res1)) {
3824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3825 }
3826 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 result = (bool)((wxPaneInfo const *)arg1)->HasCaption();
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_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3853 if (!SWIG_IsOK(res1)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3855 }
3856 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)((wxPaneInfo const *)arg1)->HasGripper();
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_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3873 PyObject *resultobj = 0;
3874 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3883 if (!SWIG_IsOK(res1)) {
3884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3885 }
3886 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (bool)((wxPaneInfo const *)arg1)->HasBorder();
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_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3903 PyObject *resultobj = 0;
3904 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3913 if (!SWIG_IsOK(res1)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3915 }
3916 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton();
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_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3933 PyObject *resultobj = 0;
3934 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3943 if (!SWIG_IsOK(res1)) {
3944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3945 }
3946 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton();
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_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton();
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_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3993 PyObject *resultobj = 0;
3994 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
4003 if (!SWIG_IsOK(res1)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
4005 }
4006 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (bool)((wxPaneInfo const *)arg1)->HasPinButton();
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_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *resultobj = 0;
4024 wxPaneInfo *arg1 = (wxPaneInfo *) 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_wxPaneInfo, 0 | 0 );
4033 if (!SWIG_IsOK(res1)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
4035 }
4036 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop();
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_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj = 0;
4054 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4055 wxWindow *arg2 = (wxWindow *) 0 ;
4056 wxPaneInfo *result = 0 ;
4057 void *argp1 = 0 ;
4058 int res1 = 0 ;
4059 void *argp2 = 0 ;
4060 int res2 = 0 ;
4061 PyObject * obj0 = 0 ;
4062 PyObject * obj1 = 0 ;
4063 char * kwnames[] = {
4064 (char *) "self",(char *) "w", NULL
4065 };
4066
4067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
4068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4071 }
4072 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4074 if (!SWIG_IsOK(res2)) {
4075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
4076 }
4077 arg2 = reinterpret_cast< wxWindow * >(argp2);
4078 {
4079 PyThreadState* __tstate = wxPyBeginAllowThreads();
4080 {
4081 wxPaneInfo &_result_ref = (arg1)->Window(arg2);
4082 result = (wxPaneInfo *) &_result_ref;
4083 }
4084 wxPyEndAllowThreads(__tstate);
4085 if (PyErr_Occurred()) SWIG_fail;
4086 }
4087 {
4088 resultobj = obj0; Py_INCREF(resultobj);
4089 }
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4097 PyObject *resultobj = 0;
4098 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4099 wxString *arg2 = 0 ;
4100 wxPaneInfo *result = 0 ;
4101 void *argp1 = 0 ;
4102 int res1 = 0 ;
4103 bool temp2 = false ;
4104 PyObject * obj0 = 0 ;
4105 PyObject * obj1 = 0 ;
4106 char * kwnames[] = {
4107 (char *) "self",(char *) "n", NULL
4108 };
4109
4110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
4111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4112 if (!SWIG_IsOK(res1)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4114 }
4115 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4116 {
4117 arg2 = wxString_in_helper(obj1);
4118 if (arg2 == NULL) SWIG_fail;
4119 temp2 = true;
4120 }
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 {
4124 wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
4125 result = (wxPaneInfo *) &_result_ref;
4126 }
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 {
4131 resultobj = obj0; Py_INCREF(resultobj);
4132 }
4133 {
4134 if (temp2)
4135 delete arg2;
4136 }
4137 return resultobj;
4138 fail:
4139 {
4140 if (temp2)
4141 delete arg2;
4142 }
4143 return NULL;
4144 }
4145
4146
4147 SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj = 0;
4149 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4150 wxString *arg2 = 0 ;
4151 wxPaneInfo *result = 0 ;
4152 void *argp1 = 0 ;
4153 int res1 = 0 ;
4154 bool temp2 = false ;
4155 PyObject * obj0 = 0 ;
4156 PyObject * obj1 = 0 ;
4157 char * kwnames[] = {
4158 (char *) "self",(char *) "c", NULL
4159 };
4160
4161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
4162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4163 if (!SWIG_IsOK(res1)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4165 }
4166 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4167 {
4168 arg2 = wxString_in_helper(obj1);
4169 if (arg2 == NULL) SWIG_fail;
4170 temp2 = true;
4171 }
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 {
4175 wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
4176 result = (wxPaneInfo *) &_result_ref;
4177 }
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 {
4182 resultobj = obj0; Py_INCREF(resultobj);
4183 }
4184 {
4185 if (temp2)
4186 delete arg2;
4187 }
4188 return resultobj;
4189 fail:
4190 {
4191 if (temp2)
4192 delete arg2;
4193 }
4194 return NULL;
4195 }
4196
4197
4198 SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4199 PyObject *resultobj = 0;
4200 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4201 wxPaneInfo *result = 0 ;
4202 void *argp1 = 0 ;
4203 int res1 = 0 ;
4204 PyObject *swig_obj[1] ;
4205
4206 if (!args) SWIG_fail;
4207 swig_obj[0] = args;
4208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4209 if (!SWIG_IsOK(res1)) {
4210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4211 }
4212 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 {
4216 wxPaneInfo &_result_ref = (arg1)->Left();
4217 result = (wxPaneInfo *) &_result_ref;
4218 }
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 {
4223 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4224 }
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4232 PyObject *resultobj = 0;
4233 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4234 wxPaneInfo *result = 0 ;
4235 void *argp1 = 0 ;
4236 int res1 = 0 ;
4237 PyObject *swig_obj[1] ;
4238
4239 if (!args) SWIG_fail;
4240 swig_obj[0] = args;
4241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4242 if (!SWIG_IsOK(res1)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4244 }
4245 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 {
4249 wxPaneInfo &_result_ref = (arg1)->Right();
4250 result = (wxPaneInfo *) &_result_ref;
4251 }
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4257 }
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4265 PyObject *resultobj = 0;
4266 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4267 wxPaneInfo *result = 0 ;
4268 void *argp1 = 0 ;
4269 int res1 = 0 ;
4270 PyObject *swig_obj[1] ;
4271
4272 if (!args) SWIG_fail;
4273 swig_obj[0] = args;
4274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4275 if (!SWIG_IsOK(res1)) {
4276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4277 }
4278 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 {
4282 wxPaneInfo &_result_ref = (arg1)->Top();
4283 result = (wxPaneInfo *) &_result_ref;
4284 }
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 {
4289 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4290 }
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4298 PyObject *resultobj = 0;
4299 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4300 wxPaneInfo *result = 0 ;
4301 void *argp1 = 0 ;
4302 int res1 = 0 ;
4303 PyObject *swig_obj[1] ;
4304
4305 if (!args) SWIG_fail;
4306 swig_obj[0] = args;
4307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4308 if (!SWIG_IsOK(res1)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4310 }
4311 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 {
4315 wxPaneInfo &_result_ref = (arg1)->Bottom();
4316 result = (wxPaneInfo *) &_result_ref;
4317 }
4318 wxPyEndAllowThreads(__tstate);
4319 if (PyErr_Occurred()) SWIG_fail;
4320 }
4321 {
4322 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4323 }
4324 return resultobj;
4325 fail:
4326 return NULL;
4327 }
4328
4329
4330 SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4331 PyObject *resultobj = 0;
4332 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4333 wxPaneInfo *result = 0 ;
4334 void *argp1 = 0 ;
4335 int res1 = 0 ;
4336 PyObject *swig_obj[1] ;
4337
4338 if (!args) SWIG_fail;
4339 swig_obj[0] = args;
4340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4341 if (!SWIG_IsOK(res1)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4343 }
4344 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 {
4348 wxPaneInfo &_result_ref = (arg1)->Center();
4349 result = (wxPaneInfo *) &_result_ref;
4350 }
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) SWIG_fail;
4353 }
4354 {
4355 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4356 }
4357 return resultobj;
4358 fail:
4359 return NULL;
4360 }
4361
4362
4363 SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4364 PyObject *resultobj = 0;
4365 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4366 wxPaneInfo *result = 0 ;
4367 void *argp1 = 0 ;
4368 int res1 = 0 ;
4369 PyObject *swig_obj[1] ;
4370
4371 if (!args) SWIG_fail;
4372 swig_obj[0] = args;
4373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4376 }
4377 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 {
4381 wxPaneInfo &_result_ref = (arg1)->Centre();
4382 result = (wxPaneInfo *) &_result_ref;
4383 }
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 {
4388 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4389 }
4390 return resultobj;
4391 fail:
4392 return NULL;
4393 }
4394
4395
4396 SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4397 PyObject *resultobj = 0;
4398 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4399 int arg2 ;
4400 wxPaneInfo *result = 0 ;
4401 void *argp1 = 0 ;
4402 int res1 = 0 ;
4403 int val2 ;
4404 int ecode2 = 0 ;
4405 PyObject * obj0 = 0 ;
4406 PyObject * obj1 = 0 ;
4407 char * kwnames[] = {
4408 (char *) "self",(char *) "direction", NULL
4409 };
4410
4411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4413 if (!SWIG_IsOK(res1)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4415 }
4416 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4417 ecode2 = SWIG_AsVal_int(obj1, &val2);
4418 if (!SWIG_IsOK(ecode2)) {
4419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4420 }
4421 arg2 = static_cast< int >(val2);
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 {
4425 wxPaneInfo &_result_ref = (arg1)->Direction(arg2);
4426 result = (wxPaneInfo *) &_result_ref;
4427 }
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 {
4432 resultobj = obj0; Py_INCREF(resultobj);
4433 }
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4443 int arg2 ;
4444 wxPaneInfo *result = 0 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 PyObject * obj0 = 0 ;
4450 PyObject * obj1 = 0 ;
4451 char * kwnames[] = {
4452 (char *) "self",(char *) "layer", NULL
4453 };
4454
4455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4457 if (!SWIG_IsOK(res1)) {
4458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4459 }
4460 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4461 ecode2 = SWIG_AsVal_int(obj1, &val2);
4462 if (!SWIG_IsOK(ecode2)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4464 }
4465 arg2 = static_cast< int >(val2);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 {
4469 wxPaneInfo &_result_ref = (arg1)->Layer(arg2);
4470 result = (wxPaneInfo *) &_result_ref;
4471 }
4472 wxPyEndAllowThreads(__tstate);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 }
4475 {
4476 resultobj = obj0; Py_INCREF(resultobj);
4477 }
4478 return resultobj;
4479 fail:
4480 return NULL;
4481 }
4482
4483
4484 SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj = 0;
4486 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4487 int arg2 ;
4488 wxPaneInfo *result = 0 ;
4489 void *argp1 = 0 ;
4490 int res1 = 0 ;
4491 int val2 ;
4492 int ecode2 = 0 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char * kwnames[] = {
4496 (char *) "self",(char *) "row", NULL
4497 };
4498
4499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4501 if (!SWIG_IsOK(res1)) {
4502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4503 }
4504 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4505 ecode2 = SWIG_AsVal_int(obj1, &val2);
4506 if (!SWIG_IsOK(ecode2)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4508 }
4509 arg2 = static_cast< int >(val2);
4510 {
4511 PyThreadState* __tstate = wxPyBeginAllowThreads();
4512 {
4513 wxPaneInfo &_result_ref = (arg1)->Row(arg2);
4514 result = (wxPaneInfo *) &_result_ref;
4515 }
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 {
4520 resultobj = obj0; Py_INCREF(resultobj);
4521 }
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj = 0;
4530 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4531 int arg2 ;
4532 wxPaneInfo *result = 0 ;
4533 void *argp1 = 0 ;
4534 int res1 = 0 ;
4535 int val2 ;
4536 int ecode2 = 0 ;
4537 PyObject * obj0 = 0 ;
4538 PyObject * obj1 = 0 ;
4539 char * kwnames[] = {
4540 (char *) "self",(char *) "pos", NULL
4541 };
4542
4543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4547 }
4548 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4549 ecode2 = SWIG_AsVal_int(obj1, &val2);
4550 if (!SWIG_IsOK(ecode2)) {
4551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4552 }
4553 arg2 = static_cast< int >(val2);
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 {
4557 wxPaneInfo &_result_ref = (arg1)->Position(arg2);
4558 result = (wxPaneInfo *) &_result_ref;
4559 }
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) SWIG_fail;
4562 }
4563 {
4564 resultobj = obj0; Py_INCREF(resultobj);
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4575 wxSize *arg2 = 0 ;
4576 wxPaneInfo *result = 0 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 wxSize temp2 ;
4580 PyObject * obj0 = 0 ;
4581 PyObject * obj1 = 0 ;
4582 char * kwnames[] = {
4583 (char *) "self",(char *) "size", NULL
4584 };
4585
4586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4588 if (!SWIG_IsOK(res1)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4590 }
4591 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4592 {
4593 arg2 = &temp2;
4594 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4595 }
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 {
4599 wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4600 result = (wxPaneInfo *) &_result_ref;
4601 }
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 {
4606 resultobj = obj0; Py_INCREF(resultobj);
4607 }
4608 return resultobj;
4609 fail:
4610 return NULL;
4611 }
4612
4613
4614 SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj = 0;
4616 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4617 wxSize *arg2 = 0 ;
4618 wxPaneInfo *result = 0 ;
4619 void *argp1 = 0 ;
4620 int res1 = 0 ;
4621 wxSize temp2 ;
4622 PyObject * obj0 = 0 ;
4623 PyObject * obj1 = 0 ;
4624 char * kwnames[] = {
4625 (char *) "self",(char *) "size", NULL
4626 };
4627
4628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4630 if (!SWIG_IsOK(res1)) {
4631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4632 }
4633 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4634 {
4635 arg2 = &temp2;
4636 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4637 }
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 {
4641 wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4642 result = (wxPaneInfo *) &_result_ref;
4643 }
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 {
4648 resultobj = obj0; Py_INCREF(resultobj);
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = 0;
4658 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4659 wxSize *arg2 = 0 ;
4660 wxPaneInfo *result = 0 ;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 wxSize temp2 ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 char * kwnames[] = {
4667 (char *) "self",(char *) "size", NULL
4668 };
4669
4670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4672 if (!SWIG_IsOK(res1)) {
4673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4674 }
4675 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4676 {
4677 arg2 = &temp2;
4678 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4679 }
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 {
4683 wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4684 result = (wxPaneInfo *) &_result_ref;
4685 }
4686 wxPyEndAllowThreads(__tstate);
4687 if (PyErr_Occurred()) SWIG_fail;
4688 }
4689 {
4690 resultobj = obj0; Py_INCREF(resultobj);
4691 }
4692 return resultobj;
4693 fail:
4694 return NULL;
4695 }
4696
4697
4698 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4699 PyObject *resultobj = 0;
4700 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4701 wxPoint *arg2 = 0 ;
4702 wxPaneInfo *result = 0 ;
4703 void *argp1 = 0 ;
4704 int res1 = 0 ;
4705 wxPoint temp2 ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 char * kwnames[] = {
4709 (char *) "self",(char *) "pos", NULL
4710 };
4711
4712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4714 if (!SWIG_IsOK(res1)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4716 }
4717 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4718 {
4719 arg2 = &temp2;
4720 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4721 }
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 {
4725 wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4726 result = (wxPaneInfo *) &_result_ref;
4727 }
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 {
4732 resultobj = obj0; Py_INCREF(resultobj);
4733 }
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4741 PyObject *resultobj = 0;
4742 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4743 wxSize *arg2 = 0 ;
4744 wxPaneInfo *result = 0 ;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 wxSize temp2 ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 char * kwnames[] = {
4751 (char *) "self",(char *) "size", NULL
4752 };
4753
4754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4756 if (!SWIG_IsOK(res1)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4758 }
4759 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4760 {
4761 arg2 = &temp2;
4762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 {
4767 wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4768 result = (wxPaneInfo *) &_result_ref;
4769 }
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 {
4774 resultobj = obj0; Py_INCREF(resultobj);
4775 }
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4783 PyObject *resultobj = 0;
4784 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4785 wxPaneInfo *result = 0 ;
4786 void *argp1 = 0 ;
4787 int res1 = 0 ;
4788 PyObject *swig_obj[1] ;
4789
4790 if (!args) SWIG_fail;
4791 swig_obj[0] = args;
4792 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4793 if (!SWIG_IsOK(res1)) {
4794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4795 }
4796 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 {
4800 wxPaneInfo &_result_ref = (arg1)->Fixed();
4801 result = (wxPaneInfo *) &_result_ref;
4802 }
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 {
4807 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4808 }
4809 return resultobj;
4810 fail:
4811 return NULL;
4812 }
4813
4814
4815 SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj = 0;
4817 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4818 bool arg2 = (bool) true ;
4819 wxPaneInfo *result = 0 ;
4820 void *argp1 = 0 ;
4821 int res1 = 0 ;
4822 bool val2 ;
4823 int ecode2 = 0 ;
4824 PyObject * obj0 = 0 ;
4825 PyObject * obj1 = 0 ;
4826 char * kwnames[] = {
4827 (char *) "self",(char *) "resizable", NULL
4828 };
4829
4830 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4834 }
4835 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4836 if (obj1) {
4837 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4838 if (!SWIG_IsOK(ecode2)) {
4839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4840 }
4841 arg2 = static_cast< bool >(val2);
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 {
4846 wxPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4847 result = (wxPaneInfo *) &_result_ref;
4848 }
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 {
4853 resultobj = obj0; Py_INCREF(resultobj);
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4862 PyObject *resultobj = 0;
4863 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4864 wxPaneInfo *result = 0 ;
4865 void *argp1 = 0 ;
4866 int res1 = 0 ;
4867 PyObject *swig_obj[1] ;
4868
4869 if (!args) SWIG_fail;
4870 swig_obj[0] = args;
4871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4872 if (!SWIG_IsOK(res1)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4874 }
4875 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 {
4879 wxPaneInfo &_result_ref = (arg1)->Dock();
4880 result = (wxPaneInfo *) &_result_ref;
4881 }
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 {
4886 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4887 }
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4895 PyObject *resultobj = 0;
4896 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4897 wxPaneInfo *result = 0 ;
4898 void *argp1 = 0 ;
4899 int res1 = 0 ;
4900 PyObject *swig_obj[1] ;
4901
4902 if (!args) SWIG_fail;
4903 swig_obj[0] = args;
4904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4905 if (!SWIG_IsOK(res1)) {
4906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4907 }
4908 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 {
4912 wxPaneInfo &_result_ref = (arg1)->Float();
4913 result = (wxPaneInfo *) &_result_ref;
4914 }
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 {
4919 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4920 }
4921 return resultobj;
4922 fail:
4923 return NULL;
4924 }
4925
4926
4927 SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4928 PyObject *resultobj = 0;
4929 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4930 wxPaneInfo *result = 0 ;
4931 void *argp1 = 0 ;
4932 int res1 = 0 ;
4933 PyObject *swig_obj[1] ;
4934
4935 if (!args) SWIG_fail;
4936 swig_obj[0] = args;
4937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4938 if (!SWIG_IsOK(res1)) {
4939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4940 }
4941 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 {
4945 wxPaneInfo &_result_ref = (arg1)->Hide();
4946 result = (wxPaneInfo *) &_result_ref;
4947 }
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4953 }
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj = 0;
4962 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4963 bool arg2 = (bool) true ;
4964 wxPaneInfo *result = 0 ;
4965 void *argp1 = 0 ;
4966 int res1 = 0 ;
4967 bool val2 ;
4968 int ecode2 = 0 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char * kwnames[] = {
4972 (char *) "self",(char *) "show", NULL
4973 };
4974
4975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
4976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4977 if (!SWIG_IsOK(res1)) {
4978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4979 }
4980 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4981 if (obj1) {
4982 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4983 if (!SWIG_IsOK(ecode2)) {
4984 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
4985 }
4986 arg2 = static_cast< bool >(val2);
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 {
4991 wxPaneInfo &_result_ref = (arg1)->Show(arg2);
4992 result = (wxPaneInfo *) &_result_ref;
4993 }
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 {
4998 resultobj = obj0; Py_INCREF(resultobj);
4999 }
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj = 0;
5008 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5009 bool arg2 = (bool) true ;
5010 wxPaneInfo *result = 0 ;
5011 void *argp1 = 0 ;
5012 int res1 = 0 ;
5013 bool val2 ;
5014 int ecode2 = 0 ;
5015 PyObject * obj0 = 0 ;
5016 PyObject * obj1 = 0 ;
5017 char * kwnames[] = {
5018 (char *) "self",(char *) "visible", NULL
5019 };
5020
5021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
5022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5023 if (!SWIG_IsOK(res1)) {
5024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5025 }
5026 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5027 if (obj1) {
5028 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5029 if (!SWIG_IsOK(ecode2)) {
5030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
5031 }
5032 arg2 = static_cast< bool >(val2);
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 {
5037 wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
5038 result = (wxPaneInfo *) &_result_ref;
5039 }
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 {
5044 resultobj = obj0; Py_INCREF(resultobj);
5045 }
5046 return resultobj;
5047 fail:
5048 return NULL;
5049 }
5050
5051
5052 SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj = 0;
5054 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5055 bool arg2 = (bool) true ;
5056 wxPaneInfo *result = 0 ;
5057 void *argp1 = 0 ;
5058 int res1 = 0 ;
5059 bool val2 ;
5060 int ecode2 = 0 ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char * kwnames[] = {
5064 (char *) "self",(char *) "visible", NULL
5065 };
5066
5067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
5068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5069 if (!SWIG_IsOK(res1)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5071 }
5072 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5073 if (obj1) {
5074 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5075 if (!SWIG_IsOK(ecode2)) {
5076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
5077 }
5078 arg2 = static_cast< bool >(val2);
5079 }
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 {
5083 wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
5084 result = (wxPaneInfo *) &_result_ref;
5085 }
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 {
5090 resultobj = obj0; Py_INCREF(resultobj);
5091 }
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj = 0;
5100 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5101 bool arg2 = (bool) true ;
5102 wxPaneInfo *result = 0 ;
5103 void *argp1 = 0 ;
5104 int res1 = 0 ;
5105 bool val2 ;
5106 int ecode2 = 0 ;
5107 PyObject * obj0 = 0 ;
5108 PyObject * obj1 = 0 ;
5109 char * kwnames[] = {
5110 (char *) "self",(char *) "visible", NULL
5111 };
5112
5113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
5114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5115 if (!SWIG_IsOK(res1)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5117 }
5118 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5119 if (obj1) {
5120 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5121 if (!SWIG_IsOK(ecode2)) {
5122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
5123 }
5124 arg2 = static_cast< bool >(val2);
5125 }
5126 {
5127 PyThreadState* __tstate = wxPyBeginAllowThreads();
5128 {
5129 wxPaneInfo &_result_ref = (arg1)->Gripper(arg2);
5130 result = (wxPaneInfo *) &_result_ref;
5131 }
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 {
5136 resultobj = obj0; Py_INCREF(resultobj);
5137 }
5138 return resultobj;
5139 fail:
5140 return NULL;
5141 }
5142
5143
5144 SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5145 PyObject *resultobj = 0;
5146 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5147 bool arg2 = (bool) true ;
5148 wxPaneInfo *result = 0 ;
5149 void *argp1 = 0 ;
5150 int res1 = 0 ;
5151 bool val2 ;
5152 int ecode2 = 0 ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 char * kwnames[] = {
5156 (char *) "self",(char *) "attop", NULL
5157 };
5158
5159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
5160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5161 if (!SWIG_IsOK(res1)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5163 }
5164 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5165 if (obj1) {
5166 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5167 if (!SWIG_IsOK(ecode2)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
5169 }
5170 arg2 = static_cast< bool >(val2);
5171 }
5172 {
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 {
5175 wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
5176 result = (wxPaneInfo *) &_result_ref;
5177 }
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 {
5182 resultobj = obj0; Py_INCREF(resultobj);
5183 }
5184 return resultobj;
5185 fail:
5186 return NULL;
5187 }
5188
5189
5190 SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj = 0;
5192 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5193 bool arg2 = (bool) true ;
5194 wxPaneInfo *result = 0 ;
5195 void *argp1 = 0 ;
5196 int res1 = 0 ;
5197 bool val2 ;
5198 int ecode2 = 0 ;
5199 PyObject * obj0 = 0 ;
5200 PyObject * obj1 = 0 ;
5201 char * kwnames[] = {
5202 (char *) "self",(char *) "visible", NULL
5203 };
5204
5205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5207 if (!SWIG_IsOK(res1)) {
5208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5209 }
5210 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5211 if (obj1) {
5212 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5213 if (!SWIG_IsOK(ecode2)) {
5214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5215 }
5216 arg2 = static_cast< bool >(val2);
5217 }
5218 {
5219 PyThreadState* __tstate = wxPyBeginAllowThreads();
5220 {
5221 wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5222 result = (wxPaneInfo *) &_result_ref;
5223 }
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 {
5228 resultobj = obj0; Py_INCREF(resultobj);
5229 }
5230 return resultobj;
5231 fail:
5232 return NULL;
5233 }
5234
5235
5236 SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj = 0;
5238 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5239 bool arg2 = (bool) true ;
5240 wxPaneInfo *result = 0 ;
5241 void *argp1 = 0 ;
5242 int res1 = 0 ;
5243 bool val2 ;
5244 int ecode2 = 0 ;
5245 PyObject * obj0 = 0 ;
5246 PyObject * obj1 = 0 ;
5247 char * kwnames[] = {
5248 (char *) "self",(char *) "visible", NULL
5249 };
5250
5251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5253 if (!SWIG_IsOK(res1)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5255 }
5256 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5257 if (obj1) {
5258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5259 if (!SWIG_IsOK(ecode2)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5261 }
5262 arg2 = static_cast< bool >(val2);
5263 }
5264 {
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 {
5267 wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5268 result = (wxPaneInfo *) &_result_ref;
5269 }
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 {
5274 resultobj = obj0; Py_INCREF(resultobj);
5275 }
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj = 0;
5284 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5285 bool arg2 = (bool) true ;
5286 wxPaneInfo *result = 0 ;
5287 void *argp1 = 0 ;
5288 int res1 = 0 ;
5289 bool val2 ;
5290 int ecode2 = 0 ;
5291 PyObject * obj0 = 0 ;
5292 PyObject * obj1 = 0 ;
5293 char * kwnames[] = {
5294 (char *) "self",(char *) "visible", NULL
5295 };
5296
5297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5299 if (!SWIG_IsOK(res1)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5301 }
5302 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5303 if (obj1) {
5304 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5305 if (!SWIG_IsOK(ecode2)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5307 }
5308 arg2 = static_cast< bool >(val2);
5309 }
5310 {
5311 PyThreadState* __tstate = wxPyBeginAllowThreads();
5312 {
5313 wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5314 result = (wxPaneInfo *) &_result_ref;
5315 }
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
5319 {
5320 resultobj = obj0; Py_INCREF(resultobj);
5321 }
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj = 0;
5330 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5331 bool arg2 = (bool) true ;
5332 wxPaneInfo *result = 0 ;
5333 void *argp1 = 0 ;
5334 int res1 = 0 ;
5335 bool val2 ;
5336 int ecode2 = 0 ;
5337 PyObject * obj0 = 0 ;
5338 PyObject * obj1 = 0 ;
5339 char * kwnames[] = {
5340 (char *) "self",(char *) "visible", NULL
5341 };
5342
5343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5345 if (!SWIG_IsOK(res1)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5347 }
5348 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5349 if (obj1) {
5350 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5351 if (!SWIG_IsOK(ecode2)) {
5352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5353 }
5354 arg2 = static_cast< bool >(val2);
5355 }
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 {
5359 wxPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5360 result = (wxPaneInfo *) &_result_ref;
5361 }
5362 wxPyEndAllowThreads(__tstate);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 }
5365 {
5366 resultobj = obj0; Py_INCREF(resultobj);
5367 }
5368 return resultobj;
5369 fail:
5370 return NULL;
5371 }
5372
5373
5374 SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5375 PyObject *resultobj = 0;
5376 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5377 bool arg2 = (bool) true ;
5378 wxPaneInfo *result = 0 ;
5379 void *argp1 = 0 ;
5380 int res1 = 0 ;
5381 bool val2 ;
5382 int ecode2 = 0 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char * kwnames[] = {
5386 (char *) "self",(char *) "b", NULL
5387 };
5388
5389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5391 if (!SWIG_IsOK(res1)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5393 }
5394 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5395 if (obj1) {
5396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5397 if (!SWIG_IsOK(ecode2)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5399 }
5400 arg2 = static_cast< bool >(val2);
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 {
5405 wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5406 result = (wxPaneInfo *) &_result_ref;
5407 }
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 {
5412 resultobj = obj0; Py_INCREF(resultobj);
5413 }
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj = 0;
5422 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5423 bool arg2 = (bool) true ;
5424 wxPaneInfo *result = 0 ;
5425 void *argp1 = 0 ;
5426 int res1 = 0 ;
5427 bool val2 ;
5428 int ecode2 = 0 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 char * kwnames[] = {
5432 (char *) "self",(char *) "b", NULL
5433 };
5434
5435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5437 if (!SWIG_IsOK(res1)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5439 }
5440 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5441 if (obj1) {
5442 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5443 if (!SWIG_IsOK(ecode2)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5445 }
5446 arg2 = static_cast< bool >(val2);
5447 }
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 {
5451 wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5452 result = (wxPaneInfo *) &_result_ref;
5453 }
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 {
5458 resultobj = obj0; Py_INCREF(resultobj);
5459 }
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj = 0;
5468 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5469 bool arg2 = (bool) true ;
5470 wxPaneInfo *result = 0 ;
5471 void *argp1 = 0 ;
5472 int res1 = 0 ;
5473 bool val2 ;
5474 int ecode2 = 0 ;
5475 PyObject * obj0 = 0 ;
5476 PyObject * obj1 = 0 ;
5477 char * kwnames[] = {
5478 (char *) "self",(char *) "b", NULL
5479 };
5480
5481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5483 if (!SWIG_IsOK(res1)) {
5484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5485 }
5486 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5487 if (obj1) {
5488 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5489 if (!SWIG_IsOK(ecode2)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5491 }
5492 arg2 = static_cast< bool >(val2);
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 {
5497 wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5498 result = (wxPaneInfo *) &_result_ref;
5499 }
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 {
5504 resultobj = obj0; Py_INCREF(resultobj);
5505 }
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = 0;
5514 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5515 bool arg2 = (bool) true ;
5516 wxPaneInfo *result = 0 ;
5517 void *argp1 = 0 ;
5518 int res1 = 0 ;
5519 bool val2 ;
5520 int ecode2 = 0 ;
5521 PyObject * obj0 = 0 ;
5522 PyObject * obj1 = 0 ;
5523 char * kwnames[] = {
5524 (char *) "self",(char *) "b", NULL
5525 };
5526
5527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5529 if (!SWIG_IsOK(res1)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5531 }
5532 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5533 if (obj1) {
5534 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5535 if (!SWIG_IsOK(ecode2)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5537 }
5538 arg2 = static_cast< bool >(val2);
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 {
5543 wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5544 result = (wxPaneInfo *) &_result_ref;
5545 }
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 {
5550 resultobj = obj0; Py_INCREF(resultobj);
5551 }
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj = 0;
5560 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5561 bool arg2 = (bool) true ;
5562 wxPaneInfo *result = 0 ;
5563 void *argp1 = 0 ;
5564 int res1 = 0 ;
5565 bool val2 ;
5566 int ecode2 = 0 ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char * kwnames[] = {
5570 (char *) "self",(char *) "b", NULL
5571 };
5572
5573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5575 if (!SWIG_IsOK(res1)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5577 }
5578 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5579 if (obj1) {
5580 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5581 if (!SWIG_IsOK(ecode2)) {
5582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5583 }
5584 arg2 = static_cast< bool >(val2);
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 {
5589 wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5590 result = (wxPaneInfo *) &_result_ref;
5591 }
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 {
5596 resultobj = obj0; Py_INCREF(resultobj);
5597 }
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj = 0;
5606 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5607 bool arg2 = (bool) true ;
5608 wxPaneInfo *result = 0 ;
5609 void *argp1 = 0 ;
5610 int res1 = 0 ;
5611 bool val2 ;
5612 int ecode2 = 0 ;
5613 PyObject * obj0 = 0 ;
5614 PyObject * obj1 = 0 ;
5615 char * kwnames[] = {
5616 (char *) "self",(char *) "b", NULL
5617 };
5618
5619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5621 if (!SWIG_IsOK(res1)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5623 }
5624 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5625 if (obj1) {
5626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5627 if (!SWIG_IsOK(ecode2)) {
5628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5629 }
5630 arg2 = static_cast< bool >(val2);
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 {
5635 wxPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5636 result = (wxPaneInfo *) &_result_ref;
5637 }
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 {
5642 resultobj = obj0; Py_INCREF(resultobj);
5643 }
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj = 0;
5652 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5653 bool arg2 = (bool) true ;
5654 wxPaneInfo *result = 0 ;
5655 void *argp1 = 0 ;
5656 int res1 = 0 ;
5657 bool val2 ;
5658 int ecode2 = 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char * kwnames[] = {
5662 (char *) "self",(char *) "b", NULL
5663 };
5664
5665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5667 if (!SWIG_IsOK(res1)) {
5668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5669 }
5670 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5671 if (obj1) {
5672 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5673 if (!SWIG_IsOK(ecode2)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5675 }
5676 arg2 = static_cast< bool >(val2);
5677 }
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 {
5681 wxPaneInfo &_result_ref = (arg1)->Movable(arg2);
5682 result = (wxPaneInfo *) &_result_ref;
5683 }
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 {
5688 resultobj = obj0; Py_INCREF(resultobj);
5689 }
5690 return resultobj;
5691 fail:
5692 return NULL;
5693 }
5694
5695
5696 SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj = 0;
5698 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5699 bool arg2 = (bool) true ;
5700 wxPaneInfo *result = 0 ;
5701 void *argp1 = 0 ;
5702 int res1 = 0 ;
5703 bool val2 ;
5704 int ecode2 = 0 ;
5705 PyObject * obj0 = 0 ;
5706 PyObject * obj1 = 0 ;
5707 char * kwnames[] = {
5708 (char *) "self",(char *) "b", NULL
5709 };
5710
5711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5713 if (!SWIG_IsOK(res1)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5715 }
5716 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5717 if (obj1) {
5718 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5719 if (!SWIG_IsOK(ecode2)) {
5720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5721 }
5722 arg2 = static_cast< bool >(val2);
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 {
5727 wxPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5728 result = (wxPaneInfo *) &_result_ref;
5729 }
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 {
5734 resultobj = obj0; Py_INCREF(resultobj);
5735 }
5736 return resultobj;
5737 fail:
5738 return NULL;
5739 }
5740
5741
5742 SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5743 PyObject *resultobj = 0;
5744 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5745 wxPaneInfo *result = 0 ;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 PyObject *swig_obj[1] ;
5749
5750 if (!args) SWIG_fail;
5751 swig_obj[0] = args;
5752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5753 if (!SWIG_IsOK(res1)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5755 }
5756 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 {
5760 wxPaneInfo &_result_ref = (arg1)->DefaultPane();
5761 result = (wxPaneInfo *) &_result_ref;
5762 }
5763 wxPyEndAllowThreads(__tstate);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5768 }
5769 return resultobj;
5770 fail:
5771 return NULL;
5772 }
5773
5774
5775 SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5776 PyObject *resultobj = 0;
5777 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5778 wxPaneInfo *result = 0 ;
5779 void *argp1 = 0 ;
5780 int res1 = 0 ;
5781 PyObject *swig_obj[1] ;
5782
5783 if (!args) SWIG_fail;
5784 swig_obj[0] = args;
5785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5786 if (!SWIG_IsOK(res1)) {
5787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5788 }
5789 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 {
5793 wxPaneInfo &_result_ref = (arg1)->CentrePane();
5794 result = (wxPaneInfo *) &_result_ref;
5795 }
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 {
5800 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5801 }
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5809 PyObject *resultobj = 0;
5810 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5811 wxPaneInfo *result = 0 ;
5812 void *argp1 = 0 ;
5813 int res1 = 0 ;
5814 PyObject *swig_obj[1] ;
5815
5816 if (!args) SWIG_fail;
5817 swig_obj[0] = args;
5818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5819 if (!SWIG_IsOK(res1)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5821 }
5822 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 {
5826 wxPaneInfo &_result_ref = (arg1)->CenterPane();
5827 result = (wxPaneInfo *) &_result_ref;
5828 }
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 {
5833 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5834 }
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5842 PyObject *resultobj = 0;
5843 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5844 wxPaneInfo *result = 0 ;
5845 void *argp1 = 0 ;
5846 int res1 = 0 ;
5847 PyObject *swig_obj[1] ;
5848
5849 if (!args) SWIG_fail;
5850 swig_obj[0] = args;
5851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5852 if (!SWIG_IsOK(res1)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5854 }
5855 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 {
5859 wxPaneInfo &_result_ref = (arg1)->ToolbarPane();
5860 result = (wxPaneInfo *) &_result_ref;
5861 }
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 {
5866 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5867 }
5868 return resultobj;
5869 fail:
5870 return NULL;
5871 }
5872
5873
5874 SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5875 PyObject *resultobj = 0;
5876 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5877 int arg2 ;
5878 bool arg3 ;
5879 wxPaneInfo *result = 0 ;
5880 void *argp1 = 0 ;
5881 int res1 = 0 ;
5882 int val2 ;
5883 int ecode2 = 0 ;
5884 bool val3 ;
5885 int ecode3 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 PyObject * obj2 = 0 ;
5889 char * kwnames[] = {
5890 (char *) "self",(char *) "flag",(char *) "option_state", NULL
5891 };
5892
5893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5895 if (!SWIG_IsOK(res1)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5897 }
5898 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5899 ecode2 = SWIG_AsVal_int(obj1, &val2);
5900 if (!SWIG_IsOK(ecode2)) {
5901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
5902 }
5903 arg2 = static_cast< int >(val2);
5904 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5905 if (!SWIG_IsOK(ecode3)) {
5906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
5907 }
5908 arg3 = static_cast< bool >(val3);
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 {
5912 wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
5913 result = (wxPaneInfo *) &_result_ref;
5914 }
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 {
5919 resultobj = obj0; Py_INCREF(resultobj);
5920 }
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj = 0;
5929 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5930 int arg2 ;
5931 bool result;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 int val2 ;
5935 int ecode2 = 0 ;
5936 PyObject * obj0 = 0 ;
5937 PyObject * obj1 = 0 ;
5938 char * kwnames[] = {
5939 (char *) "self",(char *) "flag", NULL
5940 };
5941
5942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
5946 }
5947 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5948 ecode2 = SWIG_AsVal_int(obj1, &val2);
5949 if (!SWIG_IsOK(ecode2)) {
5950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
5951 }
5952 arg2 = static_cast< int >(val2);
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2);
5956 wxPyEndAllowThreads(__tstate);
5957 if (PyErr_Occurred()) SWIG_fail;
5958 }
5959 {
5960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5961 }
5962 return resultobj;
5963 fail:
5964 return NULL;
5965 }
5966
5967
5968 SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5969 PyObject *resultobj = 0;
5970 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5971 wxString *arg2 = (wxString *) 0 ;
5972 void *argp1 = 0 ;
5973 int res1 = 0 ;
5974 bool temp2 = false ;
5975 PyObject *swig_obj[2] ;
5976
5977 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
5978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5979 if (!SWIG_IsOK(res1)) {
5980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5981 }
5982 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5983 {
5984 arg2 = wxString_in_helper(swig_obj[1]);
5985 if (arg2 == NULL) SWIG_fail;
5986 temp2 = true;
5987 }
5988 if (arg1) (arg1)->name = *arg2;
5989
5990 resultobj = SWIG_Py_Void();
5991 {
5992 if (temp2)
5993 delete arg2;
5994 }
5995 return resultobj;
5996 fail:
5997 {
5998 if (temp2)
5999 delete arg2;
6000 }
6001 return NULL;
6002 }
6003
6004
6005 SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6006 PyObject *resultobj = 0;
6007 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6008 wxString *result = 0 ;
6009 void *argp1 = 0 ;
6010 int res1 = 0 ;
6011 PyObject *swig_obj[1] ;
6012
6013 if (!args) SWIG_fail;
6014 swig_obj[0] = args;
6015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6016 if (!SWIG_IsOK(res1)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6018 }
6019 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6020 result = (wxString *)& ((arg1)->name);
6021 {
6022 #if wxUSE_UNICODE
6023 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6024 #else
6025 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6026 #endif
6027 }
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6035 PyObject *resultobj = 0;
6036 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6037 wxString *arg2 = (wxString *) 0 ;
6038 void *argp1 = 0 ;
6039 int res1 = 0 ;
6040 bool temp2 = false ;
6041 PyObject *swig_obj[2] ;
6042
6043 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
6044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6045 if (!SWIG_IsOK(res1)) {
6046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6047 }
6048 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6049 {
6050 arg2 = wxString_in_helper(swig_obj[1]);
6051 if (arg2 == NULL) SWIG_fail;
6052 temp2 = true;
6053 }
6054 if (arg1) (arg1)->caption = *arg2;
6055
6056 resultobj = SWIG_Py_Void();
6057 {
6058 if (temp2)
6059 delete arg2;
6060 }
6061 return resultobj;
6062 fail:
6063 {
6064 if (temp2)
6065 delete arg2;
6066 }
6067 return NULL;
6068 }
6069
6070
6071 SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6072 PyObject *resultobj = 0;
6073 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6074 wxString *result = 0 ;
6075 void *argp1 = 0 ;
6076 int res1 = 0 ;
6077 PyObject *swig_obj[1] ;
6078
6079 if (!args) SWIG_fail;
6080 swig_obj[0] = args;
6081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6084 }
6085 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6086 result = (wxString *)& ((arg1)->caption);
6087 {
6088 #if wxUSE_UNICODE
6089 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6090 #else
6091 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6092 #endif
6093 }
6094 return resultobj;
6095 fail:
6096 return NULL;
6097 }
6098
6099
6100 SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6101 PyObject *resultobj = 0;
6102 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6103 wxWindow *arg2 = (wxWindow *) 0 ;
6104 void *argp1 = 0 ;
6105 int res1 = 0 ;
6106 void *argp2 = 0 ;
6107 int res2 = 0 ;
6108 PyObject *swig_obj[2] ;
6109
6110 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
6111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6112 if (!SWIG_IsOK(res1)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6114 }
6115 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6116 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
6117 if (!SWIG_IsOK(res2)) {
6118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
6119 }
6120 arg2 = reinterpret_cast< wxWindow * >(argp2);
6121 if (arg1) (arg1)->window = arg2;
6122
6123 resultobj = SWIG_Py_Void();
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6131 PyObject *resultobj = 0;
6132 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6133 wxWindow *result = 0 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 PyObject *swig_obj[1] ;
6137
6138 if (!args) SWIG_fail;
6139 swig_obj[0] = args;
6140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6141 if (!SWIG_IsOK(res1)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6143 }
6144 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6145 result = (wxWindow *) ((arg1)->window);
6146 {
6147 resultobj = wxPyMake_wxObject(result, 0);
6148 }
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6156 PyObject *resultobj = 0;
6157 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6158 wxFrame *arg2 = (wxFrame *) 0 ;
6159 void *argp1 = 0 ;
6160 int res1 = 0 ;
6161 void *argp2 = 0 ;
6162 int res2 = 0 ;
6163 PyObject *swig_obj[2] ;
6164
6165 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
6166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6167 if (!SWIG_IsOK(res1)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6169 }
6170 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6171 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
6172 if (!SWIG_IsOK(res2)) {
6173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
6174 }
6175 arg2 = reinterpret_cast< wxFrame * >(argp2);
6176 if (arg1) (arg1)->frame = arg2;
6177
6178 resultobj = SWIG_Py_Void();
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6186 PyObject *resultobj = 0;
6187 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6188 wxFrame *result = 0 ;
6189 void *argp1 = 0 ;
6190 int res1 = 0 ;
6191 PyObject *swig_obj[1] ;
6192
6193 if (!args) SWIG_fail;
6194 swig_obj[0] = args;
6195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6196 if (!SWIG_IsOK(res1)) {
6197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6198 }
6199 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6200 result = (wxFrame *) ((arg1)->frame);
6201 {
6202 resultobj = wxPyMake_wxObject(result, 0);
6203 }
6204 return resultobj;
6205 fail:
6206 return NULL;
6207 }
6208
6209
6210 SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6211 PyObject *resultobj = 0;
6212 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6213 int arg2 ;
6214 void *argp1 = 0 ;
6215 int res1 = 0 ;
6216 int val2 ;
6217 int ecode2 = 0 ;
6218 PyObject *swig_obj[2] ;
6219
6220 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6222 if (!SWIG_IsOK(res1)) {
6223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6224 }
6225 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6226 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6227 if (!SWIG_IsOK(ecode2)) {
6228 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6229 }
6230 arg2 = static_cast< int >(val2);
6231 if (arg1) (arg1)->state = arg2;
6232
6233 resultobj = SWIG_Py_Void();
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6241 PyObject *resultobj = 0;
6242 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6243 int result;
6244 void *argp1 = 0 ;
6245 int res1 = 0 ;
6246 PyObject *swig_obj[1] ;
6247
6248 if (!args) SWIG_fail;
6249 swig_obj[0] = args;
6250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6251 if (!SWIG_IsOK(res1)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6253 }
6254 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6255 result = (int) ((arg1)->state);
6256 resultobj = SWIG_From_int(static_cast< int >(result));
6257 return resultobj;
6258 fail:
6259 return NULL;
6260 }
6261
6262
6263 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6264 PyObject *resultobj = 0;
6265 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6266 int arg2 ;
6267 void *argp1 = 0 ;
6268 int res1 = 0 ;
6269 int val2 ;
6270 int ecode2 = 0 ;
6271 PyObject *swig_obj[2] ;
6272
6273 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6277 }
6278 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6279 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6280 if (!SWIG_IsOK(ecode2)) {
6281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6282 }
6283 arg2 = static_cast< int >(val2);
6284 if (arg1) (arg1)->dock_direction = arg2;
6285
6286 resultobj = SWIG_Py_Void();
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6294 PyObject *resultobj = 0;
6295 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6296 int result;
6297 void *argp1 = 0 ;
6298 int res1 = 0 ;
6299 PyObject *swig_obj[1] ;
6300
6301 if (!args) SWIG_fail;
6302 swig_obj[0] = args;
6303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6304 if (!SWIG_IsOK(res1)) {
6305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6306 }
6307 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6308 result = (int) ((arg1)->dock_direction);
6309 resultobj = SWIG_From_int(static_cast< int >(result));
6310 return resultobj;
6311 fail:
6312 return NULL;
6313 }
6314
6315
6316 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6317 PyObject *resultobj = 0;
6318 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6319 int arg2 ;
6320 void *argp1 = 0 ;
6321 int res1 = 0 ;
6322 int val2 ;
6323 int ecode2 = 0 ;
6324 PyObject *swig_obj[2] ;
6325
6326 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6328 if (!SWIG_IsOK(res1)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6330 }
6331 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6332 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6333 if (!SWIG_IsOK(ecode2)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6335 }
6336 arg2 = static_cast< int >(val2);
6337 if (arg1) (arg1)->dock_layer = arg2;
6338
6339 resultobj = SWIG_Py_Void();
6340 return resultobj;
6341 fail:
6342 return NULL;
6343 }
6344
6345
6346 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6347 PyObject *resultobj = 0;
6348 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6349 int result;
6350 void *argp1 = 0 ;
6351 int res1 = 0 ;
6352 PyObject *swig_obj[1] ;
6353
6354 if (!args) SWIG_fail;
6355 swig_obj[0] = args;
6356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6357 if (!SWIG_IsOK(res1)) {
6358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6359 }
6360 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6361 result = (int) ((arg1)->dock_layer);
6362 resultobj = SWIG_From_int(static_cast< int >(result));
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6370 PyObject *resultobj = 0;
6371 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6372 int arg2 ;
6373 void *argp1 = 0 ;
6374 int res1 = 0 ;
6375 int val2 ;
6376 int ecode2 = 0 ;
6377 PyObject *swig_obj[2] ;
6378
6379 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6381 if (!SWIG_IsOK(res1)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6383 }
6384 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6385 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6386 if (!SWIG_IsOK(ecode2)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6388 }
6389 arg2 = static_cast< int >(val2);
6390 if (arg1) (arg1)->dock_row = arg2;
6391
6392 resultobj = SWIG_Py_Void();
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6400 PyObject *resultobj = 0;
6401 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6402 int result;
6403 void *argp1 = 0 ;
6404 int res1 = 0 ;
6405 PyObject *swig_obj[1] ;
6406
6407 if (!args) SWIG_fail;
6408 swig_obj[0] = args;
6409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6410 if (!SWIG_IsOK(res1)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6412 }
6413 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6414 result = (int) ((arg1)->dock_row);
6415 resultobj = SWIG_From_int(static_cast< int >(result));
6416 return resultobj;
6417 fail:
6418 return NULL;
6419 }
6420
6421
6422 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6423 PyObject *resultobj = 0;
6424 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6425 int arg2 ;
6426 void *argp1 = 0 ;
6427 int res1 = 0 ;
6428 int val2 ;
6429 int ecode2 = 0 ;
6430 PyObject *swig_obj[2] ;
6431
6432 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6434 if (!SWIG_IsOK(res1)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6436 }
6437 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6438 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6439 if (!SWIG_IsOK(ecode2)) {
6440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6441 }
6442 arg2 = static_cast< int >(val2);
6443 if (arg1) (arg1)->dock_pos = arg2;
6444
6445 resultobj = SWIG_Py_Void();
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6453 PyObject *resultobj = 0;
6454 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6455 int result;
6456 void *argp1 = 0 ;
6457 int res1 = 0 ;
6458 PyObject *swig_obj[1] ;
6459
6460 if (!args) SWIG_fail;
6461 swig_obj[0] = args;
6462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6465 }
6466 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6467 result = (int) ((arg1)->dock_pos);
6468 resultobj = SWIG_From_int(static_cast< int >(result));
6469 return resultobj;
6470 fail:
6471 return NULL;
6472 }
6473
6474
6475 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6476 PyObject *resultobj = 0;
6477 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6478 wxSize *arg2 = (wxSize *) 0 ;
6479 void *argp1 = 0 ;
6480 int res1 = 0 ;
6481 void *argp2 = 0 ;
6482 int res2 = 0 ;
6483 PyObject *swig_obj[2] ;
6484
6485 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6487 if (!SWIG_IsOK(res1)) {
6488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6489 }
6490 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6491 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6492 if (!SWIG_IsOK(res2)) {
6493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6494 }
6495 arg2 = reinterpret_cast< wxSize * >(argp2);
6496 if (arg1) (arg1)->best_size = *arg2;
6497
6498 resultobj = SWIG_Py_Void();
6499 return resultobj;
6500 fail:
6501 return NULL;
6502 }
6503
6504
6505 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6506 PyObject *resultobj = 0;
6507 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6508 wxSize *result = 0 ;
6509 void *argp1 = 0 ;
6510 int res1 = 0 ;
6511 PyObject *swig_obj[1] ;
6512
6513 if (!args) SWIG_fail;
6514 swig_obj[0] = args;
6515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6516 if (!SWIG_IsOK(res1)) {
6517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6518 }
6519 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6520 result = (wxSize *)& ((arg1)->best_size);
6521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6522 return resultobj;
6523 fail:
6524 return NULL;
6525 }
6526
6527
6528 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6529 PyObject *resultobj = 0;
6530 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6531 wxSize *arg2 = (wxSize *) 0 ;
6532 void *argp1 = 0 ;
6533 int res1 = 0 ;
6534 void *argp2 = 0 ;
6535 int res2 = 0 ;
6536 PyObject *swig_obj[2] ;
6537
6538 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6542 }
6543 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6544 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6545 if (!SWIG_IsOK(res2)) {
6546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6547 }
6548 arg2 = reinterpret_cast< wxSize * >(argp2);
6549 if (arg1) (arg1)->min_size = *arg2;
6550
6551 resultobj = SWIG_Py_Void();
6552 return resultobj;
6553 fail:
6554 return NULL;
6555 }
6556
6557
6558 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6559 PyObject *resultobj = 0;
6560 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6561 wxSize *result = 0 ;
6562 void *argp1 = 0 ;
6563 int res1 = 0 ;
6564 PyObject *swig_obj[1] ;
6565
6566 if (!args) SWIG_fail;
6567 swig_obj[0] = args;
6568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6569 if (!SWIG_IsOK(res1)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6571 }
6572 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6573 result = (wxSize *)& ((arg1)->min_size);
6574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6575 return resultobj;
6576 fail:
6577 return NULL;
6578 }
6579
6580
6581 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6582 PyObject *resultobj = 0;
6583 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6584 wxSize *arg2 = (wxSize *) 0 ;
6585 void *argp1 = 0 ;
6586 int res1 = 0 ;
6587 void *argp2 = 0 ;
6588 int res2 = 0 ;
6589 PyObject *swig_obj[2] ;
6590
6591 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6593 if (!SWIG_IsOK(res1)) {
6594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6595 }
6596 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6597 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6598 if (!SWIG_IsOK(res2)) {
6599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6600 }
6601 arg2 = reinterpret_cast< wxSize * >(argp2);
6602 if (arg1) (arg1)->max_size = *arg2;
6603
6604 resultobj = SWIG_Py_Void();
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6612 PyObject *resultobj = 0;
6613 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6614 wxSize *result = 0 ;
6615 void *argp1 = 0 ;
6616 int res1 = 0 ;
6617 PyObject *swig_obj[1] ;
6618
6619 if (!args) SWIG_fail;
6620 swig_obj[0] = args;
6621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6622 if (!SWIG_IsOK(res1)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6624 }
6625 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6626 result = (wxSize *)& ((arg1)->max_size);
6627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6628 return resultobj;
6629 fail:
6630 return NULL;
6631 }
6632
6633
6634 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6635 PyObject *resultobj = 0;
6636 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6637 wxPoint *arg2 = (wxPoint *) 0 ;
6638 void *argp1 = 0 ;
6639 int res1 = 0 ;
6640 void *argp2 = 0 ;
6641 int res2 = 0 ;
6642 PyObject *swig_obj[2] ;
6643
6644 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6646 if (!SWIG_IsOK(res1)) {
6647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6648 }
6649 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6650 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6651 if (!SWIG_IsOK(res2)) {
6652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6653 }
6654 arg2 = reinterpret_cast< wxPoint * >(argp2);
6655 if (arg1) (arg1)->floating_pos = *arg2;
6656
6657 resultobj = SWIG_Py_Void();
6658 return resultobj;
6659 fail:
6660 return NULL;
6661 }
6662
6663
6664 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6665 PyObject *resultobj = 0;
6666 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6667 wxPoint *result = 0 ;
6668 void *argp1 = 0 ;
6669 int res1 = 0 ;
6670 PyObject *swig_obj[1] ;
6671
6672 if (!args) SWIG_fail;
6673 swig_obj[0] = args;
6674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6675 if (!SWIG_IsOK(res1)) {
6676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6677 }
6678 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6679 result = (wxPoint *)& ((arg1)->floating_pos);
6680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6688 PyObject *resultobj = 0;
6689 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6690 wxSize *arg2 = (wxSize *) 0 ;
6691 void *argp1 = 0 ;
6692 int res1 = 0 ;
6693 void *argp2 = 0 ;
6694 int res2 = 0 ;
6695 PyObject *swig_obj[2] ;
6696
6697 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6699 if (!SWIG_IsOK(res1)) {
6700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6701 }
6702 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6703 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6704 if (!SWIG_IsOK(res2)) {
6705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6706 }
6707 arg2 = reinterpret_cast< wxSize * >(argp2);
6708 if (arg1) (arg1)->floating_size = *arg2;
6709
6710 resultobj = SWIG_Py_Void();
6711 return resultobj;
6712 fail:
6713 return NULL;
6714 }
6715
6716
6717 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6718 PyObject *resultobj = 0;
6719 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6720 wxSize *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 PyObject *swig_obj[1] ;
6724
6725 if (!args) SWIG_fail;
6726 swig_obj[0] = args;
6727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6728 if (!SWIG_IsOK(res1)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6730 }
6731 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6732 result = (wxSize *)& ((arg1)->floating_size);
6733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6734 return resultobj;
6735 fail:
6736 return NULL;
6737 }
6738
6739
6740 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6741 PyObject *resultobj = 0;
6742 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6743 int arg2 ;
6744 void *argp1 = 0 ;
6745 int res1 = 0 ;
6746 int val2 ;
6747 int ecode2 = 0 ;
6748 PyObject *swig_obj[2] ;
6749
6750 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6752 if (!SWIG_IsOK(res1)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6754 }
6755 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6756 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6757 if (!SWIG_IsOK(ecode2)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6759 }
6760 arg2 = static_cast< int >(val2);
6761 if (arg1) (arg1)->dock_proportion = arg2;
6762
6763 resultobj = SWIG_Py_Void();
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6771 PyObject *resultobj = 0;
6772 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6773 int result;
6774 void *argp1 = 0 ;
6775 int res1 = 0 ;
6776 PyObject *swig_obj[1] ;
6777
6778 if (!args) SWIG_fail;
6779 swig_obj[0] = args;
6780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6781 if (!SWIG_IsOK(res1)) {
6782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6783 }
6784 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6785 result = (int) ((arg1)->dock_proportion);
6786 resultobj = SWIG_From_int(static_cast< int >(result));
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 PyObject *resultobj = 0;
6795 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6796 wxPaneButtonArray arg2 ;
6797 void *argp1 = 0 ;
6798 int res1 = 0 ;
6799 void *argp2 ;
6800 int res2 = 0 ;
6801 PyObject *swig_obj[2] ;
6802
6803 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6807 }
6808 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6809 {
6810 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0);
6811 if (!SWIG_IsOK(res2)) {
6812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6813 }
6814 if (!argp2) {
6815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6816 } else {
6817 wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2);
6818 arg2 = *temp;
6819 if (SWIG_IsNewObj(res2)) delete temp;
6820 }
6821 }
6822 if (arg1) (arg1)->buttons = arg2;
6823
6824 resultobj = SWIG_Py_Void();
6825 return resultobj;
6826 fail:
6827 return NULL;
6828 }
6829
6830
6831 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6832 PyObject *resultobj = 0;
6833 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6834 wxPaneButtonArray result;
6835 void *argp1 = 0 ;
6836 int res1 = 0 ;
6837 PyObject *swig_obj[1] ;
6838
6839 if (!args) SWIG_fail;
6840 swig_obj[0] = args;
6841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6842 if (!SWIG_IsOK(res1)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6844 }
6845 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6846 result = ((arg1)->buttons);
6847 resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 );
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6855 PyObject *resultobj = 0;
6856 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6857 wxRect *arg2 = (wxRect *) 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 void *argp2 = 0 ;
6861 int res2 = 0 ;
6862 PyObject *swig_obj[2] ;
6863
6864 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
6865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6866 if (!SWIG_IsOK(res1)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6868 }
6869 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6870 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
6871 if (!SWIG_IsOK(res2)) {
6872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
6873 }
6874 arg2 = reinterpret_cast< wxRect * >(argp2);
6875 if (arg1) (arg1)->rect = *arg2;
6876
6877 resultobj = SWIG_Py_Void();
6878 return resultobj;
6879 fail:
6880 return NULL;
6881 }
6882
6883
6884 SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6885 PyObject *resultobj = 0;
6886 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6887 wxRect *result = 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 PyObject *swig_obj[1] ;
6891
6892 if (!args) SWIG_fail;
6893 swig_obj[0] = args;
6894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6895 if (!SWIG_IsOK(res1)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6897 }
6898 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6899 result = (wxRect *)& ((arg1)->rect);
6900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6908 PyObject *obj;
6909 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6910 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj));
6911 return SWIG_Py_Void();
6912 }
6913
6914 SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6915 return SWIG_Python_InitShadowInstance(args);
6916 }
6917
6918 SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj = 0;
6920 wxWindow *arg1 = (wxWindow *) NULL ;
6921 int arg2 = (int) wxAUI_MGR_DEFAULT ;
6922 wxFrameManager *result = 0 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 int val2 ;
6926 int ecode2 = 0 ;
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
6929 char * kwnames[] = {
6930 (char *) "managed_wnd",(char *) "flags", NULL
6931 };
6932
6933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
6934 if (obj0) {
6935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
6938 }
6939 arg1 = reinterpret_cast< wxWindow * >(argp1);
6940 }
6941 if (obj1) {
6942 ecode2 = SWIG_AsVal_int(obj1, &val2);
6943 if (!SWIG_IsOK(ecode2)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'");
6945 }
6946 arg2 = static_cast< int >(val2);
6947 }
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (wxFrameManager *)new wxFrameManager(arg1,arg2);
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 );
6955 return resultobj;
6956 fail:
6957 return NULL;
6958 }
6959
6960
6961 SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6962 PyObject *resultobj = 0;
6963 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6964 void *argp1 = 0 ;
6965 int res1 = 0 ;
6966 PyObject *swig_obj[1] ;
6967
6968 if (!args) SWIG_fail;
6969 swig_obj[0] = args;
6970 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 );
6971 if (!SWIG_IsOK(res1)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6973 }
6974 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 delete arg1;
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 resultobj = SWIG_Py_Void();
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6990 PyObject *resultobj = 0;
6991 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6992 void *argp1 = 0 ;
6993 int res1 = 0 ;
6994 PyObject *swig_obj[1] ;
6995
6996 if (!args) SWIG_fail;
6997 swig_obj[0] = args;
6998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6999 if (!SWIG_IsOK(res1)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7001 }
7002 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->UnInit();
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_Py_Void();
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7019 int arg2 ;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 int val2 ;
7023 int ecode2 = 0 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 char * kwnames[] = {
7027 (char *) "self",(char *) "flags", NULL
7028 };
7029
7030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
7031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7032 if (!SWIG_IsOK(res1)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7034 }
7035 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7036 ecode2 = SWIG_AsVal_int(obj1, &val2);
7037 if (!SWIG_IsOK(ecode2)) {
7038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
7039 }
7040 arg2 = static_cast< int >(val2);
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->SetFlags(arg2);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_Py_Void();
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7055 PyObject *resultobj = 0;
7056 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7057 int result;
7058 void *argp1 = 0 ;
7059 int res1 = 0 ;
7060 PyObject *swig_obj[1] ;
7061
7062 if (!args) SWIG_fail;
7063 swig_obj[0] = args;
7064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (int)((wxFrameManager const *)arg1)->GetFlags();
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 resultobj = SWIG_From_int(static_cast< int >(result));
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj = 0;
7084 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7085 wxWindow *arg2 = (wxWindow *) 0 ;
7086 void *argp1 = 0 ;
7087 int res1 = 0 ;
7088 void *argp2 = 0 ;
7089 int res2 = 0 ;
7090 PyObject * obj0 = 0 ;
7091 PyObject * obj1 = 0 ;
7092 char * kwnames[] = {
7093 (char *) "self",(char *) "managed_wnd", NULL
7094 };
7095
7096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
7097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7098 if (!SWIG_IsOK(res1)) {
7099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7100 }
7101 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7102 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7103 if (!SWIG_IsOK(res2)) {
7104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
7105 }
7106 arg2 = reinterpret_cast< wxWindow * >(argp2);
7107 {
7108 PyThreadState* __tstate = wxPyBeginAllowThreads();
7109 (arg1)->SetManagedWindow(arg2);
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 resultobj = SWIG_Py_Void();
7114 return resultobj;
7115 fail:
7116 return NULL;
7117 }
7118
7119
7120 SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7121 PyObject *resultobj = 0;
7122 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7123 wxWindow *result = 0 ;
7124 void *argp1 = 0 ;
7125 int res1 = 0 ;
7126 PyObject *swig_obj[1] ;
7127
7128 if (!args) SWIG_fail;
7129 swig_obj[0] = args;
7130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7131 if (!SWIG_IsOK(res1)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
7133 }
7134 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 {
7142 resultobj = wxPyMake_wxObject(result, 0);
7143 }
7144 return resultobj;
7145 fail:
7146 return NULL;
7147 }
7148
7149
7150 SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj = 0;
7152 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7153 wxDockArt *arg2 = (wxDockArt *) 0 ;
7154 void *argp1 = 0 ;
7155 int res1 = 0 ;
7156 int res2 = 0 ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 char * kwnames[] = {
7160 (char *) "self",(char *) "art_provider", NULL
7161 };
7162
7163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
7164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7165 if (!SWIG_IsOK(res1)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7167 }
7168 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7169 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
7170 if (!SWIG_IsOK(res2)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'");
7172 }
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SetArtProvider(arg2);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = SWIG_Py_Void();
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7187 PyObject *resultobj = 0;
7188 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7189 wxDockArt *result = 0 ;
7190 void *argp1 = 0 ;
7191 int res1 = 0 ;
7192 PyObject *swig_obj[1] ;
7193
7194 if (!args) SWIG_fail;
7195 swig_obj[0] = args;
7196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7197 if (!SWIG_IsOK(res1)) {
7198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
7199 }
7200 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider();
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 );
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj = 0;
7216 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7217 wxWindow *arg2 = (wxWindow *) 0 ;
7218 wxPaneInfo *result = 0 ;
7219 void *argp1 = 0 ;
7220 int res1 = 0 ;
7221 void *argp2 = 0 ;
7222 int res2 = 0 ;
7223 PyObject * obj0 = 0 ;
7224 PyObject * obj1 = 0 ;
7225 char * kwnames[] = {
7226 (char *) "self",(char *) "window", NULL
7227 };
7228
7229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7231 if (!SWIG_IsOK(res1)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7233 }
7234 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7236 if (!SWIG_IsOK(res2)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7238 }
7239 arg2 = reinterpret_cast< wxWindow * >(argp2);
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 {
7243 wxPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7244 result = (wxPaneInfo *) &_result_ref;
7245 }
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj = 0;
7258 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7259 wxString *arg2 = 0 ;
7260 wxPaneInfo *result = 0 ;
7261 void *argp1 = 0 ;
7262 int res1 = 0 ;
7263 bool temp2 = false ;
7264 PyObject * obj0 = 0 ;
7265 PyObject * obj1 = 0 ;
7266 char * kwnames[] = {
7267 (char *) "self",(char *) "name", NULL
7268 };
7269
7270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7272 if (!SWIG_IsOK(res1)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7274 }
7275 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7276 {
7277 arg2 = wxString_in_helper(obj1);
7278 if (arg2 == NULL) SWIG_fail;
7279 temp2 = true;
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 {
7284 wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7285 result = (wxPaneInfo *) &_result_ref;
7286 }
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7291 {
7292 if (temp2)
7293 delete arg2;
7294 }
7295 return resultobj;
7296 fail:
7297 {
7298 if (temp2)
7299 delete arg2;
7300 }
7301 return NULL;
7302 }
7303
7304
7305 SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7306 PyObject *resultobj = 0;
7307 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7308 wxPaneInfoArray *result = 0 ;
7309 void *argp1 = 0 ;
7310 int res1 = 0 ;
7311 PyObject *swig_obj[1] ;
7312
7313 if (!args) SWIG_fail;
7314 swig_obj[0] = args;
7315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7316 if (!SWIG_IsOK(res1)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7318 }
7319 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 {
7323 wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7324 result = (wxPaneInfoArray *) &_result_ref;
7325 }
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 {
7330 resultobj = PyList_New(0);
7331 for (size_t i=0; i < result->GetCount(); i++) {
7332 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0);
7333 PyList_Append(resultobj, pane_obj);
7334 }
7335 }
7336 return resultobj;
7337 fail:
7338 return NULL;
7339 }
7340
7341
7342 SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj = 0;
7344 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7345 wxWindow *arg2 = (wxWindow *) 0 ;
7346 wxPaneInfo *arg3 = 0 ;
7347 bool result;
7348 void *argp1 = 0 ;
7349 int res1 = 0 ;
7350 void *argp2 = 0 ;
7351 int res2 = 0 ;
7352 void *argp3 = 0 ;
7353 int res3 = 0 ;
7354 PyObject * obj0 = 0 ;
7355 PyObject * obj1 = 0 ;
7356 PyObject * obj2 = 0 ;
7357 char * kwnames[] = {
7358 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7359 };
7360
7361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7363 if (!SWIG_IsOK(res1)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7365 }
7366 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7367 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7368 if (!SWIG_IsOK(res2)) {
7369 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7370 }
7371 arg2 = reinterpret_cast< wxWindow * >(argp2);
7372 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7373 if (!SWIG_IsOK(res3)) {
7374 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7375 }
7376 if (!argp3) {
7377 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7378 }
7379 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3);
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 {
7387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7388 }
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj = 0;
7397 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7398 wxWindow *arg2 = (wxWindow *) 0 ;
7399 wxPaneInfo *arg3 = 0 ;
7400 wxPoint *arg4 = 0 ;
7401 bool result;
7402 void *argp1 = 0 ;
7403 int res1 = 0 ;
7404 void *argp2 = 0 ;
7405 int res2 = 0 ;
7406 void *argp3 = 0 ;
7407 int res3 = 0 ;
7408 wxPoint temp4 ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 PyObject * obj2 = 0 ;
7412 PyObject * obj3 = 0 ;
7413 char * kwnames[] = {
7414 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7415 };
7416
7417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7419 if (!SWIG_IsOK(res1)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7421 }
7422 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7423 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7424 if (!SWIG_IsOK(res2)) {
7425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
7426 }
7427 arg2 = reinterpret_cast< wxWindow * >(argp2);
7428 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7429 if (!SWIG_IsOK(res3)) {
7430 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7431 }
7432 if (!argp3) {
7433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7434 }
7435 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7436 {
7437 arg4 = &temp4;
7438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7448 }
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj = 0;
7457 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7458 wxWindow *arg2 = (wxWindow *) 0 ;
7459 int arg3 = (int) wxLEFT ;
7460 wxString const &arg4_defvalue = wxEmptyString ;
7461 wxString *arg4 = (wxString *) &arg4_defvalue ;
7462 bool result;
7463 void *argp1 = 0 ;
7464 int res1 = 0 ;
7465 void *argp2 = 0 ;
7466 int res2 = 0 ;
7467 int val3 ;
7468 int ecode3 = 0 ;
7469 bool temp4 = false ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 PyObject * obj3 = 0 ;
7474 char * kwnames[] = {
7475 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7476 };
7477
7478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7480 if (!SWIG_IsOK(res1)) {
7481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7482 }
7483 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7485 if (!SWIG_IsOK(res2)) {
7486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7487 }
7488 arg2 = reinterpret_cast< wxWindow * >(argp2);
7489 if (obj2) {
7490 ecode3 = SWIG_AsVal_int(obj2, &val3);
7491 if (!SWIG_IsOK(ecode3)) {
7492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7493 }
7494 arg3 = static_cast< int >(val3);
7495 }
7496 if (obj3) {
7497 {
7498 arg4 = wxString_in_helper(obj3);
7499 if (arg4 == NULL) SWIG_fail;
7500 temp4 = true;
7501 }
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7506 wxPyEndAllowThreads(__tstate);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 }
7509 {
7510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7511 }
7512 {
7513 if (temp4)
7514 delete arg4;
7515 }
7516 return resultobj;
7517 fail:
7518 {
7519 if (temp4)
7520 delete arg4;
7521 }
7522 return NULL;
7523 }
7524
7525
7526 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj = 0;
7528 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7529 wxWindow *arg2 = (wxWindow *) 0 ;
7530 wxPaneInfo *arg3 = 0 ;
7531 int arg4 = (int) wxAUI_INSERT_PANE ;
7532 bool result;
7533 void *argp1 = 0 ;
7534 int res1 = 0 ;
7535 void *argp2 = 0 ;
7536 int res2 = 0 ;
7537 void *argp3 = 0 ;
7538 int res3 = 0 ;
7539 int val4 ;
7540 int ecode4 = 0 ;
7541 PyObject * obj0 = 0 ;
7542 PyObject * obj1 = 0 ;
7543 PyObject * obj2 = 0 ;
7544 PyObject * obj3 = 0 ;
7545 char * kwnames[] = {
7546 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7547 };
7548
7549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7551 if (!SWIG_IsOK(res1)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7553 }
7554 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7555 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7556 if (!SWIG_IsOK(res2)) {
7557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7558 }
7559 arg2 = reinterpret_cast< wxWindow * >(argp2);
7560 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7561 if (!SWIG_IsOK(res3)) {
7562 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7563 }
7564 if (!argp3) {
7565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7566 }
7567 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7568 if (obj3) {
7569 ecode4 = SWIG_AsVal_int(obj3, &val4);
7570 if (!SWIG_IsOK(ecode4)) {
7571 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7572 }
7573 arg4 = static_cast< int >(val4);
7574 }
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 {
7582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7583 }
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj = 0;
7592 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7593 wxWindow *arg2 = (wxWindow *) 0 ;
7594 bool result;
7595 void *argp1 = 0 ;
7596 int res1 = 0 ;
7597 void *argp2 = 0 ;
7598 int res2 = 0 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char * kwnames[] = {
7602 (char *) "self",(char *) "window", NULL
7603 };
7604
7605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7607 if (!SWIG_IsOK(res1)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7609 }
7610 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7611 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7612 if (!SWIG_IsOK(res2)) {
7613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7614 }
7615 arg2 = reinterpret_cast< wxWindow * >(argp2);
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (bool)(arg1)->DetachPane(arg2);
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 {
7623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7624 }
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 SWIGINTERN PyObject *_wrap_FrameManager_ClosePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj = 0;
7633 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7634 wxPaneInfo *arg2 = 0 ;
7635 void *argp1 = 0 ;
7636 int res1 = 0 ;
7637 void *argp2 = 0 ;
7638 int res2 = 0 ;
7639 PyObject * obj0 = 0 ;
7640 PyObject * obj1 = 0 ;
7641 char * kwnames[] = {
7642 (char *) "self",(char *) "pane_info", NULL
7643 };
7644
7645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ClosePane",kwnames,&obj0,&obj1)) SWIG_fail;
7646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7647 if (!SWIG_IsOK(res1)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ClosePane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7649 }
7650 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7651 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 );
7652 if (!SWIG_IsOK(res2)) {
7653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7654 }
7655 if (!argp2) {
7656 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_ClosePane" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7657 }
7658 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->ClosePane(*arg2);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_Py_Void();
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj = 0;
7674 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7675 wxPaneInfo *arg2 = 0 ;
7676 wxString result;
7677 void *argp1 = 0 ;
7678 int res1 = 0 ;
7679 void *argp2 = 0 ;
7680 int res2 = 0 ;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 char * kwnames[] = {
7684 (char *) "self",(char *) "pane", NULL
7685 };
7686
7687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
7688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7689 if (!SWIG_IsOK(res1)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7691 }
7692 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7693 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 );
7694 if (!SWIG_IsOK(res2)) {
7695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7696 }
7697 if (!argp2) {
7698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7699 }
7700 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (arg1)->SavePaneInfo(*arg2);
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 {
7708 #if wxUSE_UNICODE
7709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7710 #else
7711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7712 #endif
7713 }
7714 return resultobj;
7715 fail:
7716 return NULL;
7717 }
7718
7719
7720 SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj = 0;
7722 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7723 wxString arg2 ;
7724 wxPaneInfo *arg3 = 0 ;
7725 void *argp1 = 0 ;
7726 int res1 = 0 ;
7727 void *argp3 = 0 ;
7728 int res3 = 0 ;
7729 PyObject * obj0 = 0 ;
7730 PyObject * obj1 = 0 ;
7731 PyObject * obj2 = 0 ;
7732 char * kwnames[] = {
7733 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
7734 };
7735
7736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7738 if (!SWIG_IsOK(res1)) {
7739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7740 }
7741 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7742 {
7743 wxString* sptr = wxString_in_helper(obj1);
7744 if (sptr == NULL) SWIG_fail;
7745 arg2 = *sptr;
7746 delete sptr;
7747 }
7748 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 );
7749 if (!SWIG_IsOK(res3)) {
7750 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7751 }
7752 if (!argp3) {
7753 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7754 }
7755 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 (arg1)->LoadPaneInfo(arg2,*arg3);
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_Py_Void();
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7770 PyObject *resultobj = 0;
7771 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7772 wxString result;
7773 void *argp1 = 0 ;
7774 int res1 = 0 ;
7775 PyObject *swig_obj[1] ;
7776
7777 if (!args) SWIG_fail;
7778 swig_obj[0] = args;
7779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7780 if (!SWIG_IsOK(res1)) {
7781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7782 }
7783 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (arg1)->SavePerspective();
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 #if wxUSE_UNICODE
7792 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7793 #else
7794 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7795 #endif
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj = 0;
7805 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7806 wxString *arg2 = 0 ;
7807 bool arg3 = (bool) true ;
7808 bool result;
7809 void *argp1 = 0 ;
7810 int res1 = 0 ;
7811 bool temp2 = false ;
7812 bool val3 ;
7813 int ecode3 = 0 ;
7814 PyObject * obj0 = 0 ;
7815 PyObject * obj1 = 0 ;
7816 PyObject * obj2 = 0 ;
7817 char * kwnames[] = {
7818 (char *) "self",(char *) "perspective",(char *) "update", NULL
7819 };
7820
7821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7823 if (!SWIG_IsOK(res1)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7825 }
7826 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7827 {
7828 arg2 = wxString_in_helper(obj1);
7829 if (arg2 == NULL) SWIG_fail;
7830 temp2 = true;
7831 }
7832 if (obj2) {
7833 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7834 if (!SWIG_IsOK(ecode3)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7836 }
7837 arg3 = static_cast< bool >(val3);
7838 }
7839 {
7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
7841 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 {
7846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7847 }
7848 {
7849 if (temp2)
7850 delete arg2;
7851 }
7852 return resultobj;
7853 fail:
7854 {
7855 if (temp2)
7856 delete arg2;
7857 }
7858 return NULL;
7859 }
7860
7861
7862 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7863 PyObject *resultobj = 0;
7864 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7865 void *argp1 = 0 ;
7866 int res1 = 0 ;
7867 PyObject *swig_obj[1] ;
7868
7869 if (!args) SWIG_fail;
7870 swig_obj[0] = args;
7871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7872 if (!SWIG_IsOK(res1)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7874 }
7875 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 (arg1)->Update();
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 resultobj = SWIG_Py_Void();
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 SWIGINTERN PyObject *_wrap_FrameManager_CreateFloatingFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj = 0;
7891 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7892 wxWindow *arg2 = (wxWindow *) 0 ;
7893 wxPaneInfo *arg3 = 0 ;
7894 wxFloatingPane *result = 0 ;
7895 void *argp1 = 0 ;
7896 int res1 = 0 ;
7897 void *argp2 = 0 ;
7898 int res2 = 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 *) "parent",(char *) "p", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_CreateFloatingFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7912 }
7913 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7915 if (!SWIG_IsOK(res2)) {
7916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
7917 }
7918 arg2 = reinterpret_cast< wxWindow * >(argp2);
7919 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7920 if (!SWIG_IsOK(res3)) {
7921 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7922 }
7923 if (!argp3) {
7924 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_CreateFloatingFrame" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7925 }
7926 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (wxFloatingPane *)(arg1)->CreateFloatingFrame(arg2,(wxPaneInfo const &)*arg3);
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, 0 | 0 );
7934 return resultobj;
7935 fail:
7936 return NULL;
7937 }
7938
7939
7940 SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj = 0;
7942 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7943 wxWindow *arg2 = (wxWindow *) 0 ;
7944 wxPoint *arg3 = 0 ;
7945 wxPoint *arg4 = 0 ;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 void *argp2 = 0 ;
7949 int res2 = 0 ;
7950 wxPoint temp3 ;
7951 wxPoint temp4 ;
7952 PyObject * obj0 = 0 ;
7953 PyObject * obj1 = 0 ;
7954 PyObject * obj2 = 0 ;
7955 PyObject * obj3 = 0 ;
7956 char * kwnames[] = {
7957 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
7958 };
7959
7960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7962 if (!SWIG_IsOK(res1)) {
7963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7964 }
7965 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7966 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7967 if (!SWIG_IsOK(res2)) {
7968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
7969 }
7970 arg2 = reinterpret_cast< wxWindow * >(argp2);
7971 {
7972 arg3 = &temp3;
7973 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7974 }
7975 {
7976 arg4 = &temp4;
7977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_Py_Void();
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj = 0;
7994 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7995 wxRect *arg2 = 0 ;
7996 void *argp1 = 0 ;
7997 int res1 = 0 ;
7998 wxRect temp2 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 char * kwnames[] = {
8002 (char *) "self",(char *) "rect", NULL
8003 };
8004
8005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
8006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
8009 }
8010 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
8011 {
8012 arg2 = &temp2;
8013 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->ShowHint((wxRect const &)*arg2);
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_Py_Void();
8022 return resultobj;
8023 fail:
8024 return NULL;
8025 }
8026
8027
8028 SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *resultobj = 0;
8030 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
8031 void *argp1 = 0 ;
8032 int res1 = 0 ;
8033 PyObject *swig_obj[1] ;
8034
8035 if (!args) SWIG_fail;
8036 swig_obj[0] = args;
8037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
8038 if (!SWIG_IsOK(res1)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
8040 }
8041 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 (arg1)->HideHint();
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 resultobj = SWIG_Py_Void();
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj = 0;
8057 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
8058 wxFrameManagerEvent *arg2 = 0 ;
8059 void *argp1 = 0 ;
8060 int res1 = 0 ;
8061 void *argp2 = 0 ;
8062 int res2 = 0 ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 char * kwnames[] = {
8066 (char *) "self",(char *) "evt", NULL
8067 };
8068
8069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
8070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
8071 if (!SWIG_IsOK(res1)) {
8072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
8073 }
8074 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
8075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
8076 if (!SWIG_IsOK(res2)) {
8077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
8078 }
8079 if (!argp2) {
8080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
8081 }
8082 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 (arg1)->OnRender(*arg2);
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 resultobj = SWIG_Py_Void();
8090 return resultobj;
8091 fail:
8092 return NULL;
8093 }
8094
8095
8096 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj = 0;
8098 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
8099 wxFrameManagerEvent *arg2 = 0 ;
8100 void *argp1 = 0 ;
8101 int res1 = 0 ;
8102 void *argp2 = 0 ;
8103 int res2 = 0 ;
8104 PyObject * obj0 = 0 ;
8105 PyObject * obj1 = 0 ;
8106 char * kwnames[] = {
8107 (char *) "self",(char *) "evt", NULL
8108 };
8109
8110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
8111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
8112 if (!SWIG_IsOK(res1)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
8114 }
8115 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
8116 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
8117 if (!SWIG_IsOK(res2)) {
8118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
8119 }
8120 if (!argp2) {
8121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
8122 }
8123 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 (arg1)->OnPaneButton(*arg2);
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 resultobj = SWIG_Py_Void();
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8138 PyObject *obj;
8139 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8140 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
8141 return SWIG_Py_Void();
8142 }
8143
8144 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8145 return SWIG_Python_InitShadowInstance(args);
8146 }
8147
8148 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj = 0;
8150 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8151 wxFrameManagerEvent *result = 0 ;
8152 int val1 ;
8153 int ecode1 = 0 ;
8154 PyObject * obj0 = 0 ;
8155 char * kwnames[] = {
8156 (char *) "type", NULL
8157 };
8158
8159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
8160 if (obj0) {
8161 ecode1 = SWIG_AsVal_int(obj0, &val1);
8162 if (!SWIG_IsOK(ecode1)) {
8163 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
8164 }
8165 arg1 = static_cast< wxEventType >(val1);
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
8174 return resultobj;
8175 fail:
8176 return NULL;
8177 }
8178
8179
8180 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8181 PyObject *resultobj = 0;
8182 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8183 wxEvent *result = 0 ;
8184 void *argp1 = 0 ;
8185 int res1 = 0 ;
8186 PyObject *swig_obj[1] ;
8187
8188 if (!args) SWIG_fail;
8189 swig_obj[0] = args;
8190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8191 if (!SWIG_IsOK(res1)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8193 }
8194 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj = 0;
8210 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8211 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8212 void *argp1 = 0 ;
8213 int res1 = 0 ;
8214 void *argp2 = 0 ;
8215 int res2 = 0 ;
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char * kwnames[] = {
8219 (char *) "self",(char *) "p", NULL
8220 };
8221
8222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
8223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8224 if (!SWIG_IsOK(res1)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8226 }
8227 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8229 if (!SWIG_IsOK(res2)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8231 }
8232 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 (arg1)->SetPane(arg2);
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = SWIG_Py_Void();
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj = 0;
8248 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8249 int arg2 ;
8250 void *argp1 = 0 ;
8251 int res1 = 0 ;
8252 int val2 ;
8253 int ecode2 = 0 ;
8254 PyObject * obj0 = 0 ;
8255 PyObject * obj1 = 0 ;
8256 char * kwnames[] = {
8257 (char *) "self",(char *) "b", NULL
8258 };
8259
8260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
8261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8262 if (!SWIG_IsOK(res1)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8264 }
8265 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8266 ecode2 = SWIG_AsVal_int(obj1, &val2);
8267 if (!SWIG_IsOK(ecode2)) {
8268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
8269 }
8270 arg2 = static_cast< int >(val2);
8271 {
8272 PyThreadState* __tstate = wxPyBeginAllowThreads();
8273 (arg1)->SetButton(arg2);
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 resultobj = SWIG_Py_Void();
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj = 0;
8286 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8287 wxDC *arg2 = (wxDC *) 0 ;
8288 void *argp1 = 0 ;
8289 int res1 = 0 ;
8290 void *argp2 = 0 ;
8291 int res2 = 0 ;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char * kwnames[] = {
8295 (char *) "self",(char *) "pdc", NULL
8296 };
8297
8298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8300 if (!SWIG_IsOK(res1)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8302 }
8303 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8305 if (!SWIG_IsOK(res2)) {
8306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8307 }
8308 arg2 = reinterpret_cast< wxDC * >(argp2);
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 (arg1)->SetDC(arg2);
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 resultobj = SWIG_Py_Void();
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8323 PyObject *resultobj = 0;
8324 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8325 wxPaneInfo *result = 0 ;
8326 void *argp1 = 0 ;
8327 int res1 = 0 ;
8328 PyObject *swig_obj[1] ;
8329
8330 if (!args) SWIG_fail;
8331 swig_obj[0] = args;
8332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8333 if (!SWIG_IsOK(res1)) {
8334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8335 }
8336 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxPaneInfo *)(arg1)->GetPane();
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8344 return resultobj;
8345 fail:
8346 return NULL;
8347 }
8348
8349
8350 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8351 PyObject *resultobj = 0;
8352 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8353 int result;
8354 void *argp1 = 0 ;
8355 int res1 = 0 ;
8356 PyObject *swig_obj[1] ;
8357
8358 if (!args) SWIG_fail;
8359 swig_obj[0] = args;
8360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8361 if (!SWIG_IsOK(res1)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8363 }
8364 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)(arg1)->GetButton();
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_From_int(static_cast< int >(result));
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8379 PyObject *resultobj = 0;
8380 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8381 wxDC *result = 0 ;
8382 void *argp1 = 0 ;
8383 int res1 = 0 ;
8384 PyObject *swig_obj[1] ;
8385
8386 if (!args) SWIG_fail;
8387 swig_obj[0] = args;
8388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8389 if (!SWIG_IsOK(res1)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8391 }
8392 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxDC *)(arg1)->GetDC();
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 {
8400 resultobj = wxPyMake_wxObject(result, (bool)0);
8401 }
8402 return resultobj;
8403 fail:
8404 return NULL;
8405 }
8406
8407
8408 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj = 0;
8410 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8411 bool arg2 = (bool) true ;
8412 void *argp1 = 0 ;
8413 int res1 = 0 ;
8414 bool val2 ;
8415 int ecode2 = 0 ;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char * kwnames[] = {
8419 (char *) "self",(char *) "veto", NULL
8420 };
8421
8422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8424 if (!SWIG_IsOK(res1)) {
8425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8426 }
8427 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8428 if (obj1) {
8429 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8430 if (!SWIG_IsOK(ecode2)) {
8431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8432 }
8433 arg2 = static_cast< bool >(val2);
8434 }
8435 {
8436 PyThreadState* __tstate = wxPyBeginAllowThreads();
8437 (arg1)->Veto(arg2);
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 resultobj = SWIG_Py_Void();
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8449 PyObject *resultobj = 0;
8450 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8451 bool result;
8452 void *argp1 = 0 ;
8453 int res1 = 0 ;
8454 PyObject *swig_obj[1] ;
8455
8456 if (!args) SWIG_fail;
8457 swig_obj[0] = args;
8458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8459 if (!SWIG_IsOK(res1)) {
8460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8461 }
8462 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 {
8470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8471 }
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj = 0;
8480 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8481 bool arg2 ;
8482 void *argp1 = 0 ;
8483 int res1 = 0 ;
8484 bool val2 ;
8485 int ecode2 = 0 ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 char * kwnames[] = {
8489 (char *) "self",(char *) "can_veto", NULL
8490 };
8491
8492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
8493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8494 if (!SWIG_IsOK(res1)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8496 }
8497 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8498 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8499 if (!SWIG_IsOK(ecode2)) {
8500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
8501 }
8502 arg2 = static_cast< bool >(val2);
8503 {
8504 PyThreadState* __tstate = wxPyBeginAllowThreads();
8505 (arg1)->SetCanVeto(arg2);
8506 wxPyEndAllowThreads(__tstate);
8507 if (PyErr_Occurred()) SWIG_fail;
8508 }
8509 resultobj = SWIG_Py_Void();
8510 return resultobj;
8511 fail:
8512 return NULL;
8513 }
8514
8515
8516 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8517 PyObject *resultobj = 0;
8518 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8519 bool result;
8520 void *argp1 = 0 ;
8521 int res1 = 0 ;
8522 PyObject *swig_obj[1] ;
8523
8524 if (!args) SWIG_fail;
8525 swig_obj[0] = args;
8526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8527 if (!SWIG_IsOK(res1)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8529 }
8530 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 {
8538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8539 }
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8547 PyObject *resultobj = 0;
8548 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8549 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8550 void *argp1 = 0 ;
8551 int res1 = 0 ;
8552 void *argp2 = 0 ;
8553 int res2 = 0 ;
8554 PyObject *swig_obj[2] ;
8555
8556 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8558 if (!SWIG_IsOK(res1)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8560 }
8561 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8562 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8563 if (!SWIG_IsOK(res2)) {
8564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8565 }
8566 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8567 if (arg1) (arg1)->pane = arg2;
8568
8569 resultobj = SWIG_Py_Void();
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8577 PyObject *resultobj = 0;
8578 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8579 wxPaneInfo *result = 0 ;
8580 void *argp1 = 0 ;
8581 int res1 = 0 ;
8582 PyObject *swig_obj[1] ;
8583
8584 if (!args) SWIG_fail;
8585 swig_obj[0] = args;
8586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8587 if (!SWIG_IsOK(res1)) {
8588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8589 }
8590 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8591 result = (wxPaneInfo *) ((arg1)->pane);
8592 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8600 PyObject *resultobj = 0;
8601 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8602 int arg2 ;
8603 void *argp1 = 0 ;
8604 int res1 = 0 ;
8605 int val2 ;
8606 int ecode2 = 0 ;
8607 PyObject *swig_obj[2] ;
8608
8609 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8613 }
8614 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8615 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8616 if (!SWIG_IsOK(ecode2)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8618 }
8619 arg2 = static_cast< int >(val2);
8620 if (arg1) (arg1)->button = arg2;
8621
8622 resultobj = SWIG_Py_Void();
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8630 PyObject *resultobj = 0;
8631 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8632 int result;
8633 void *argp1 = 0 ;
8634 int res1 = 0 ;
8635 PyObject *swig_obj[1] ;
8636
8637 if (!args) SWIG_fail;
8638 swig_obj[0] = args;
8639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8640 if (!SWIG_IsOK(res1)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8642 }
8643 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8644 result = (int) ((arg1)->button);
8645 resultobj = SWIG_From_int(static_cast< int >(result));
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8653 PyObject *resultobj = 0;
8654 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8655 bool arg2 ;
8656 void *argp1 = 0 ;
8657 int res1 = 0 ;
8658 bool val2 ;
8659 int ecode2 = 0 ;
8660 PyObject *swig_obj[2] ;
8661
8662 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
8663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8664 if (!SWIG_IsOK(res1)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8666 }
8667 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8668 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8669 if (!SWIG_IsOK(ecode2)) {
8670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8671 }
8672 arg2 = static_cast< bool >(val2);
8673 if (arg1) (arg1)->veto_flag = arg2;
8674
8675 resultobj = SWIG_Py_Void();
8676 return resultobj;
8677 fail:
8678 return NULL;
8679 }
8680
8681
8682 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8683 PyObject *resultobj = 0;
8684 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8685 bool result;
8686 void *argp1 = 0 ;
8687 int res1 = 0 ;
8688 PyObject *swig_obj[1] ;
8689
8690 if (!args) SWIG_fail;
8691 swig_obj[0] = args;
8692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8693 if (!SWIG_IsOK(res1)) {
8694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8695 }
8696 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8697 result = (bool) ((arg1)->veto_flag);
8698 {
8699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8700 }
8701 return resultobj;
8702 fail:
8703 return NULL;
8704 }
8705
8706
8707 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 PyObject *resultobj = 0;
8709 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8710 bool arg2 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 bool val2 ;
8714 int ecode2 = 0 ;
8715 PyObject *swig_obj[2] ;
8716
8717 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
8718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8719 if (!SWIG_IsOK(res1)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8721 }
8722 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8723 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8724 if (!SWIG_IsOK(ecode2)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8726 }
8727 arg2 = static_cast< bool >(val2);
8728 if (arg1) (arg1)->canveto_flag = arg2;
8729
8730 resultobj = SWIG_Py_Void();
8731 return resultobj;
8732 fail:
8733 return NULL;
8734 }
8735
8736
8737 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8738 PyObject *resultobj = 0;
8739 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8740 bool result;
8741 void *argp1 = 0 ;
8742 int res1 = 0 ;
8743 PyObject *swig_obj[1] ;
8744
8745 if (!args) SWIG_fail;
8746 swig_obj[0] = args;
8747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8748 if (!SWIG_IsOK(res1)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8750 }
8751 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8752 result = (bool) ((arg1)->canveto_flag);
8753 {
8754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8755 }
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8763 PyObject *resultobj = 0;
8764 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8765 wxDC *arg2 = (wxDC *) 0 ;
8766 void *argp1 = 0 ;
8767 int res1 = 0 ;
8768 void *argp2 = 0 ;
8769 int res2 = 0 ;
8770 PyObject *swig_obj[2] ;
8771
8772 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8774 if (!SWIG_IsOK(res1)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8776 }
8777 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8778 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8779 if (!SWIG_IsOK(res2)) {
8780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8781 }
8782 arg2 = reinterpret_cast< wxDC * >(argp2);
8783 if (arg1) (arg1)->dc = arg2;
8784
8785 resultobj = SWIG_Py_Void();
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8793 PyObject *resultobj = 0;
8794 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8795 wxDC *result = 0 ;
8796 void *argp1 = 0 ;
8797 int res1 = 0 ;
8798 PyObject *swig_obj[1] ;
8799
8800 if (!args) SWIG_fail;
8801 swig_obj[0] = args;
8802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8803 if (!SWIG_IsOK(res1)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8805 }
8806 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8807 result = (wxDC *) ((arg1)->dc);
8808 {
8809 resultobj = wxPyMake_wxObject(result, (bool)0);
8810 }
8811 return resultobj;
8812 fail:
8813 return NULL;
8814 }
8815
8816
8817 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8818 PyObject *obj;
8819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8821 return SWIG_Py_Void();
8822 }
8823
8824 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8825 return SWIG_Python_InitShadowInstance(args);
8826 }
8827
8828 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8829 PyObject *resultobj = 0;
8830 wxDockInfo *result = 0 ;
8831
8832 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (wxDockInfo *)new wxDockInfo();
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8847 PyObject *resultobj = 0;
8848 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8849 bool result;
8850 void *argp1 = 0 ;
8851 int res1 = 0 ;
8852 PyObject *swig_obj[1] ;
8853
8854 if (!args) SWIG_fail;
8855 swig_obj[0] = args;
8856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8857 if (!SWIG_IsOK(res1)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8859 }
8860 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8877 PyObject *resultobj = 0;
8878 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8879 bool result;
8880 void *argp1 = 0 ;
8881 int res1 = 0 ;
8882 PyObject *swig_obj[1] ;
8883
8884 if (!args) SWIG_fail;
8885 swig_obj[0] = args;
8886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8887 if (!SWIG_IsOK(res1)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8889 }
8890 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 {
8898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8899 }
8900 return resultobj;
8901 fail:
8902 return NULL;
8903 }
8904
8905
8906 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8907 PyObject *resultobj = 0;
8908 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8909 bool result;
8910 void *argp1 = 0 ;
8911 int res1 = 0 ;
8912 PyObject *swig_obj[1] ;
8913
8914 if (!args) SWIG_fail;
8915 swig_obj[0] = args;
8916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8917 if (!SWIG_IsOK(res1)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8919 }
8920 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 {
8928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8929 }
8930 return resultobj;
8931 fail:
8932 return NULL;
8933 }
8934
8935
8936 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8937 PyObject *resultobj = 0;
8938 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8939 wxPaneInfoPtrArray arg2 ;
8940 void *argp1 = 0 ;
8941 int res1 = 0 ;
8942 void *argp2 ;
8943 int res2 = 0 ;
8944 PyObject *swig_obj[2] ;
8945
8946 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8950 }
8951 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8952 {
8953 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8954 if (!SWIG_IsOK(res2)) {
8955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8956 }
8957 if (!argp2) {
8958 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8959 } else {
8960 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8961 arg2 = *temp;
8962 if (SWIG_IsNewObj(res2)) delete temp;
8963 }
8964 }
8965 if (arg1) (arg1)->panes = arg2;
8966
8967 resultobj = SWIG_Py_Void();
8968 return resultobj;
8969 fail:
8970 return NULL;
8971 }
8972
8973
8974 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8975 PyObject *resultobj = 0;
8976 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8977 wxPaneInfoPtrArray result;
8978 void *argp1 = 0 ;
8979 int res1 = 0 ;
8980 PyObject *swig_obj[1] ;
8981
8982 if (!args) SWIG_fail;
8983 swig_obj[0] = args;
8984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8985 if (!SWIG_IsOK(res1)) {
8986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8987 }
8988 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8989 result = ((arg1)->panes);
8990 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8998 PyObject *resultobj = 0;
8999 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9000 wxRect *arg2 = (wxRect *) 0 ;
9001 void *argp1 = 0 ;
9002 int res1 = 0 ;
9003 void *argp2 = 0 ;
9004 int res2 = 0 ;
9005 PyObject *swig_obj[2] ;
9006
9007 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
9008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9009 if (!SWIG_IsOK(res1)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9011 }
9012 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9013 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9014 if (!SWIG_IsOK(res2)) {
9015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9016 }
9017 arg2 = reinterpret_cast< wxRect * >(argp2);
9018 if (arg1) (arg1)->rect = *arg2;
9019
9020 resultobj = SWIG_Py_Void();
9021 return resultobj;
9022 fail:
9023 return NULL;
9024 }
9025
9026
9027 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9028 PyObject *resultobj = 0;
9029 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9030 wxRect *result = 0 ;
9031 void *argp1 = 0 ;
9032 int res1 = 0 ;
9033 PyObject *swig_obj[1] ;
9034
9035 if (!args) SWIG_fail;
9036 swig_obj[0] = args;
9037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9038 if (!SWIG_IsOK(res1)) {
9039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9040 }
9041 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9042 result = (wxRect *)& ((arg1)->rect);
9043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9051 PyObject *resultobj = 0;
9052 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9053 int arg2 ;
9054 void *argp1 = 0 ;
9055 int res1 = 0 ;
9056 int val2 ;
9057 int ecode2 = 0 ;
9058 PyObject *swig_obj[2] ;
9059
9060 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
9061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9062 if (!SWIG_IsOK(res1)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9064 }
9065 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9066 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9067 if (!SWIG_IsOK(ecode2)) {
9068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
9069 }
9070 arg2 = static_cast< int >(val2);
9071 if (arg1) (arg1)->dock_direction = arg2;
9072
9073 resultobj = SWIG_Py_Void();
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9081 PyObject *resultobj = 0;
9082 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9083 int result;
9084 void *argp1 = 0 ;
9085 int res1 = 0 ;
9086 PyObject *swig_obj[1] ;
9087
9088 if (!args) SWIG_fail;
9089 swig_obj[0] = args;
9090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9091 if (!SWIG_IsOK(res1)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9093 }
9094 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9095 result = (int) ((arg1)->dock_direction);
9096 resultobj = SWIG_From_int(static_cast< int >(result));
9097 return resultobj;
9098 fail:
9099 return NULL;
9100 }
9101
9102
9103 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9104 PyObject *resultobj = 0;
9105 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9106 int arg2 ;
9107 void *argp1 = 0 ;
9108 int res1 = 0 ;
9109 int val2 ;
9110 int ecode2 = 0 ;
9111 PyObject *swig_obj[2] ;
9112
9113 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
9114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9115 if (!SWIG_IsOK(res1)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9117 }
9118 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9119 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9120 if (!SWIG_IsOK(ecode2)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
9122 }
9123 arg2 = static_cast< int >(val2);
9124 if (arg1) (arg1)->dock_layer = arg2;
9125
9126 resultobj = SWIG_Py_Void();
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9134 PyObject *resultobj = 0;
9135 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9136 int result;
9137 void *argp1 = 0 ;
9138 int res1 = 0 ;
9139 PyObject *swig_obj[1] ;
9140
9141 if (!args) SWIG_fail;
9142 swig_obj[0] = args;
9143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9146 }
9147 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9148 result = (int) ((arg1)->dock_layer);
9149 resultobj = SWIG_From_int(static_cast< int >(result));
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9157 PyObject *resultobj = 0;
9158 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9159 int arg2 ;
9160 void *argp1 = 0 ;
9161 int res1 = 0 ;
9162 int val2 ;
9163 int ecode2 = 0 ;
9164 PyObject *swig_obj[2] ;
9165
9166 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
9167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9168 if (!SWIG_IsOK(res1)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9170 }
9171 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9172 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9173 if (!SWIG_IsOK(ecode2)) {
9174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
9175 }
9176 arg2 = static_cast< int >(val2);
9177 if (arg1) (arg1)->dock_row = arg2;
9178
9179 resultobj = SWIG_Py_Void();
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9187 PyObject *resultobj = 0;
9188 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9189 int result;
9190 void *argp1 = 0 ;
9191 int res1 = 0 ;
9192 PyObject *swig_obj[1] ;
9193
9194 if (!args) SWIG_fail;
9195 swig_obj[0] = args;
9196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9197 if (!SWIG_IsOK(res1)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9199 }
9200 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9201 result = (int) ((arg1)->dock_row);
9202 resultobj = SWIG_From_int(static_cast< int >(result));
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9210 PyObject *resultobj = 0;
9211 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9212 int arg2 ;
9213 void *argp1 = 0 ;
9214 int res1 = 0 ;
9215 int val2 ;
9216 int ecode2 = 0 ;
9217 PyObject *swig_obj[2] ;
9218
9219 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
9220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9221 if (!SWIG_IsOK(res1)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9223 }
9224 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9225 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9226 if (!SWIG_IsOK(ecode2)) {
9227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
9228 }
9229 arg2 = static_cast< int >(val2);
9230 if (arg1) (arg1)->size = arg2;
9231
9232 resultobj = SWIG_Py_Void();
9233 return resultobj;
9234 fail:
9235 return NULL;
9236 }
9237
9238
9239 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9240 PyObject *resultobj = 0;
9241 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9242 int result;
9243 void *argp1 = 0 ;
9244 int res1 = 0 ;
9245 PyObject *swig_obj[1] ;
9246
9247 if (!args) SWIG_fail;
9248 swig_obj[0] = args;
9249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9252 }
9253 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9254 result = (int) ((arg1)->size);
9255 resultobj = SWIG_From_int(static_cast< int >(result));
9256 return resultobj;
9257 fail:
9258 return NULL;
9259 }
9260
9261
9262 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9263 PyObject *resultobj = 0;
9264 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9265 int arg2 ;
9266 void *argp1 = 0 ;
9267 int res1 = 0 ;
9268 int val2 ;
9269 int ecode2 = 0 ;
9270 PyObject *swig_obj[2] ;
9271
9272 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
9273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9274 if (!SWIG_IsOK(res1)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9276 }
9277 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9278 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9279 if (!SWIG_IsOK(ecode2)) {
9280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
9281 }
9282 arg2 = static_cast< int >(val2);
9283 if (arg1) (arg1)->min_size = arg2;
9284
9285 resultobj = SWIG_Py_Void();
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9293 PyObject *resultobj = 0;
9294 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9295 int result;
9296 void *argp1 = 0 ;
9297 int res1 = 0 ;
9298 PyObject *swig_obj[1] ;
9299
9300 if (!args) SWIG_fail;
9301 swig_obj[0] = args;
9302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9303 if (!SWIG_IsOK(res1)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9305 }
9306 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9307 result = (int) ((arg1)->min_size);
9308 resultobj = SWIG_From_int(static_cast< int >(result));
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9316 PyObject *resultobj = 0;
9317 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9318 bool arg2 ;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 bool val2 ;
9322 int ecode2 = 0 ;
9323 PyObject *swig_obj[2] ;
9324
9325 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9327 if (!SWIG_IsOK(res1)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9329 }
9330 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9331 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9332 if (!SWIG_IsOK(ecode2)) {
9333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9334 }
9335 arg2 = static_cast< bool >(val2);
9336 if (arg1) (arg1)->resizable = arg2;
9337
9338 resultobj = SWIG_Py_Void();
9339 return resultobj;
9340 fail:
9341 return NULL;
9342 }
9343
9344
9345 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9346 PyObject *resultobj = 0;
9347 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9348 bool result;
9349 void *argp1 = 0 ;
9350 int res1 = 0 ;
9351 PyObject *swig_obj[1] ;
9352
9353 if (!args) SWIG_fail;
9354 swig_obj[0] = args;
9355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9356 if (!SWIG_IsOK(res1)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9358 }
9359 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9360 result = (bool) ((arg1)->resizable);
9361 {
9362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9363 }
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9373 bool arg2 ;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 bool val2 ;
9377 int ecode2 = 0 ;
9378 PyObject *swig_obj[2] ;
9379
9380 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9382 if (!SWIG_IsOK(res1)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9384 }
9385 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9386 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9387 if (!SWIG_IsOK(ecode2)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9389 }
9390 arg2 = static_cast< bool >(val2);
9391 if (arg1) (arg1)->toolbar = arg2;
9392
9393 resultobj = SWIG_Py_Void();
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9401 PyObject *resultobj = 0;
9402 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9403 bool result;
9404 void *argp1 = 0 ;
9405 int res1 = 0 ;
9406 PyObject *swig_obj[1] ;
9407
9408 if (!args) SWIG_fail;
9409 swig_obj[0] = args;
9410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9411 if (!SWIG_IsOK(res1)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9413 }
9414 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9415 result = (bool) ((arg1)->toolbar);
9416 {
9417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9418 }
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9426 PyObject *resultobj = 0;
9427 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9428 bool arg2 ;
9429 void *argp1 = 0 ;
9430 int res1 = 0 ;
9431 bool val2 ;
9432 int ecode2 = 0 ;
9433 PyObject *swig_obj[2] ;
9434
9435 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
9436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9437 if (!SWIG_IsOK(res1)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9439 }
9440 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9441 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9442 if (!SWIG_IsOK(ecode2)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
9444 }
9445 arg2 = static_cast< bool >(val2);
9446 if (arg1) (arg1)->fixed = arg2;
9447
9448 resultobj = SWIG_Py_Void();
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9456 PyObject *resultobj = 0;
9457 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9458 bool result;
9459 void *argp1 = 0 ;
9460 int res1 = 0 ;
9461 PyObject *swig_obj[1] ;
9462
9463 if (!args) SWIG_fail;
9464 swig_obj[0] = args;
9465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9466 if (!SWIG_IsOK(res1)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9468 }
9469 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9470 result = (bool) ((arg1)->fixed);
9471 {
9472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9473 }
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9481 PyObject *resultobj = 0;
9482 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9483 void *argp1 = 0 ;
9484 int res1 = 0 ;
9485 PyObject *swig_obj[1] ;
9486
9487 if (!args) SWIG_fail;
9488 swig_obj[0] = args;
9489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9490 if (!SWIG_IsOK(res1)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9492 }
9493 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9494 {
9495 PyThreadState* __tstate = wxPyBeginAllowThreads();
9496 delete_wxDockInfo(arg1);
9497
9498 wxPyEndAllowThreads(__tstate);
9499 if (PyErr_Occurred()) SWIG_fail;
9500 }
9501 resultobj = SWIG_Py_Void();
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9509 PyObject *obj;
9510 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9511 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
9512 return SWIG_Py_Void();
9513 }
9514
9515 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9516 return SWIG_Python_InitShadowInstance(args);
9517 }
9518
9519 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9520 PyObject *resultobj = 0;
9521 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9522 int arg2 ;
9523 void *argp1 = 0 ;
9524 int res1 = 0 ;
9525 int val2 ;
9526 int ecode2 = 0 ;
9527 PyObject *swig_obj[2] ;
9528
9529 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
9530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9531 if (!SWIG_IsOK(res1)) {
9532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9533 }
9534 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9535 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9536 if (!SWIG_IsOK(ecode2)) {
9537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
9538 }
9539 arg2 = static_cast< int >(val2);
9540 if (arg1) (arg1)->type = arg2;
9541
9542 resultobj = SWIG_Py_Void();
9543 return resultobj;
9544 fail:
9545 return NULL;
9546 }
9547
9548
9549 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9550 PyObject *resultobj = 0;
9551 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9552 int result;
9553 void *argp1 = 0 ;
9554 int res1 = 0 ;
9555 PyObject *swig_obj[1] ;
9556
9557 if (!args) SWIG_fail;
9558 swig_obj[0] = args;
9559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9560 if (!SWIG_IsOK(res1)) {
9561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9562 }
9563 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9564 result = (int) ((arg1)->type);
9565 resultobj = SWIG_From_int(static_cast< int >(result));
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9573 PyObject *resultobj = 0;
9574 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9575 int arg2 ;
9576 void *argp1 = 0 ;
9577 int res1 = 0 ;
9578 int val2 ;
9579 int ecode2 = 0 ;
9580 PyObject *swig_obj[2] ;
9581
9582 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9584 if (!SWIG_IsOK(res1)) {
9585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9586 }
9587 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9588 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9589 if (!SWIG_IsOK(ecode2)) {
9590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9591 }
9592 arg2 = static_cast< int >(val2);
9593 if (arg1) (arg1)->orientation = arg2;
9594
9595 resultobj = SWIG_Py_Void();
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9603 PyObject *resultobj = 0;
9604 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9605 int result;
9606 void *argp1 = 0 ;
9607 int res1 = 0 ;
9608 PyObject *swig_obj[1] ;
9609
9610 if (!args) SWIG_fail;
9611 swig_obj[0] = args;
9612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9613 if (!SWIG_IsOK(res1)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9615 }
9616 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9617 result = (int) ((arg1)->orientation);
9618 resultobj = SWIG_From_int(static_cast< int >(result));
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9626 PyObject *resultobj = 0;
9627 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9628 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
9629 void *argp1 = 0 ;
9630 int res1 = 0 ;
9631 void *argp2 = 0 ;
9632 int res2 = 0 ;
9633 PyObject *swig_obj[2] ;
9634
9635 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
9636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9637 if (!SWIG_IsOK(res1)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9639 }
9640 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9641 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9642 if (!SWIG_IsOK(res2)) {
9643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
9644 }
9645 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
9646 if (arg1) (arg1)->dock = arg2;
9647
9648 resultobj = SWIG_Py_Void();
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9656 PyObject *resultobj = 0;
9657 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9658 wxDockInfo *result = 0 ;
9659 void *argp1 = 0 ;
9660 int res1 = 0 ;
9661 PyObject *swig_obj[1] ;
9662
9663 if (!args) SWIG_fail;
9664 swig_obj[0] = args;
9665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9666 if (!SWIG_IsOK(res1)) {
9667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9668 }
9669 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9670 result = (wxDockInfo *) ((arg1)->dock);
9671 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9679 PyObject *resultobj = 0;
9680 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9681 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
9682 void *argp1 = 0 ;
9683 int res1 = 0 ;
9684 void *argp2 = 0 ;
9685 int res2 = 0 ;
9686 PyObject *swig_obj[2] ;
9687
9688 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
9689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9690 if (!SWIG_IsOK(res1)) {
9691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9692 }
9693 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9694 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
9695 if (!SWIG_IsOK(res2)) {
9696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
9697 }
9698 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9699 if (arg1) (arg1)->pane = arg2;
9700
9701 resultobj = SWIG_Py_Void();
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9709 PyObject *resultobj = 0;
9710 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9711 wxPaneInfo *result = 0 ;
9712 void *argp1 = 0 ;
9713 int res1 = 0 ;
9714 PyObject *swig_obj[1] ;
9715
9716 if (!args) SWIG_fail;
9717 swig_obj[0] = args;
9718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9721 }
9722 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9723 result = (wxPaneInfo *) ((arg1)->pane);
9724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
9725 return resultobj;
9726 fail:
9727 return NULL;
9728 }
9729
9730
9731 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9732 PyObject *resultobj = 0;
9733 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9734 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
9735 void *argp1 = 0 ;
9736 int res1 = 0 ;
9737 void *argp2 = 0 ;
9738 int res2 = 0 ;
9739 PyObject *swig_obj[2] ;
9740
9741 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
9742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9743 if (!SWIG_IsOK(res1)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9745 }
9746 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9747 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9748 if (!SWIG_IsOK(res2)) {
9749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
9750 }
9751 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9752 if (arg1) (arg1)->button = arg2;
9753
9754 resultobj = SWIG_Py_Void();
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9762 PyObject *resultobj = 0;
9763 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9764 wxPaneButton *result = 0 ;
9765 void *argp1 = 0 ;
9766 int res1 = 0 ;
9767 PyObject *swig_obj[1] ;
9768
9769 if (!args) SWIG_fail;
9770 swig_obj[0] = args;
9771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9772 if (!SWIG_IsOK(res1)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9774 }
9775 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9776 result = (wxPaneButton *) ((arg1)->button);
9777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9778 return resultobj;
9779 fail:
9780 return NULL;
9781 }
9782
9783
9784 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9785 PyObject *resultobj = 0;
9786 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9787 wxSizer *arg2 = (wxSizer *) 0 ;
9788 void *argp1 = 0 ;
9789 int res1 = 0 ;
9790 void *argp2 = 0 ;
9791 int res2 = 0 ;
9792 PyObject *swig_obj[2] ;
9793
9794 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9796 if (!SWIG_IsOK(res1)) {
9797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9798 }
9799 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9800 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9801 if (!SWIG_IsOK(res2)) {
9802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9803 }
9804 arg2 = reinterpret_cast< wxSizer * >(argp2);
9805 if (arg1) (arg1)->cont_sizer = arg2;
9806
9807 resultobj = SWIG_Py_Void();
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9815 PyObject *resultobj = 0;
9816 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9817 wxSizer *result = 0 ;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 PyObject *swig_obj[1] ;
9821
9822 if (!args) SWIG_fail;
9823 swig_obj[0] = args;
9824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9825 if (!SWIG_IsOK(res1)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9827 }
9828 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9829 result = (wxSizer *) ((arg1)->cont_sizer);
9830 {
9831 resultobj = wxPyMake_wxObject(result, (bool)0);
9832 }
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9840 PyObject *resultobj = 0;
9841 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9842 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9843 void *argp1 = 0 ;
9844 int res1 = 0 ;
9845 void *argp2 = 0 ;
9846 int res2 = 0 ;
9847 PyObject *swig_obj[2] ;
9848
9849 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9851 if (!SWIG_IsOK(res1)) {
9852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9853 }
9854 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9855 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9856 if (!SWIG_IsOK(res2)) {
9857 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9858 }
9859 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9860 if (arg1) (arg1)->sizer_item = arg2;
9861
9862 resultobj = SWIG_Py_Void();
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9870 PyObject *resultobj = 0;
9871 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9872 wxSizerItem *result = 0 ;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 PyObject *swig_obj[1] ;
9876
9877 if (!args) SWIG_fail;
9878 swig_obj[0] = args;
9879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9882 }
9883 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9884 result = (wxSizerItem *) ((arg1)->sizer_item);
9885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9893 PyObject *resultobj = 0;
9894 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9895 wxRect *arg2 = (wxRect *) 0 ;
9896 void *argp1 = 0 ;
9897 int res1 = 0 ;
9898 void *argp2 = 0 ;
9899 int res2 = 0 ;
9900 PyObject *swig_obj[2] ;
9901
9902 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9904 if (!SWIG_IsOK(res1)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9906 }
9907 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9908 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9909 if (!SWIG_IsOK(res2)) {
9910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9911 }
9912 arg2 = reinterpret_cast< wxRect * >(argp2);
9913 if (arg1) (arg1)->rect = *arg2;
9914
9915 resultobj = SWIG_Py_Void();
9916 return resultobj;
9917 fail:
9918 return NULL;
9919 }
9920
9921
9922 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9923 PyObject *resultobj = 0;
9924 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9925 wxRect *result = 0 ;
9926 void *argp1 = 0 ;
9927 int res1 = 0 ;
9928 PyObject *swig_obj[1] ;
9929
9930 if (!args) SWIG_fail;
9931 swig_obj[0] = args;
9932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9935 }
9936 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9937 result = (wxRect *)& ((arg1)->rect);
9938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9946 PyObject *resultobj = 0;
9947 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9948 void *argp1 = 0 ;
9949 int res1 = 0 ;
9950 PyObject *swig_obj[1] ;
9951
9952 if (!args) SWIG_fail;
9953 swig_obj[0] = args;
9954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 );
9955 if (!SWIG_IsOK(res1)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9957 }
9958 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 delete_wxDockUIPart(arg1);
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = SWIG_Py_Void();
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9974 PyObject *obj;
9975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9976 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9977 return SWIG_Py_Void();
9978 }
9979
9980 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9981 PyObject *resultobj = 0;
9982 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9983 int arg2 ;
9984 void *argp1 = 0 ;
9985 int res1 = 0 ;
9986 int val2 ;
9987 int ecode2 = 0 ;
9988 PyObject *swig_obj[2] ;
9989
9990 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9994 }
9995 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9996 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9997 if (!SWIG_IsOK(ecode2)) {
9998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9999 }
10000 arg2 = static_cast< int >(val2);
10001 if (arg1) (arg1)->button_id = arg2;
10002
10003 resultobj = SWIG_Py_Void();
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10011 PyObject *resultobj = 0;
10012 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
10013 int result;
10014 void *argp1 = 0 ;
10015 int res1 = 0 ;
10016 PyObject *swig_obj[1] ;
10017
10018 if (!args) SWIG_fail;
10019 swig_obj[0] = args;
10020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
10021 if (!SWIG_IsOK(res1)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
10023 }
10024 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
10025 result = (int) ((arg1)->button_id);
10026 resultobj = SWIG_From_int(static_cast< int >(result));
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10034 PyObject *resultobj = 0;
10035 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
10036 void *argp1 = 0 ;
10037 int res1 = 0 ;
10038 PyObject *swig_obj[1] ;
10039
10040 if (!args) SWIG_fail;
10041 swig_obj[0] = args;
10042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
10043 if (!SWIG_IsOK(res1)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'");
10045 }
10046 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 delete_wxPaneButton(arg1);
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 resultobj = SWIG_Py_Void();
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10062 PyObject *obj;
10063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
10065 return SWIG_Py_Void();
10066 }
10067
10068 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10069 PyObject *resultobj = 0;
10070 wxDockArt *arg1 = (wxDockArt *) 0 ;
10071 void *argp1 = 0 ;
10072 int res1 = 0 ;
10073 PyObject *swig_obj[1] ;
10074
10075 if (!args) SWIG_fail;
10076 swig_obj[0] = args;
10077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
10078 if (!SWIG_IsOK(res1)) {
10079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
10080 }
10081 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 delete arg1;
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 resultobj = SWIG_Py_Void();
10090 return resultobj;
10091 fail:
10092 return NULL;
10093 }
10094
10095
10096 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj = 0;
10098 wxDockArt *arg1 = (wxDockArt *) 0 ;
10099 int arg2 ;
10100 int result;
10101 void *argp1 = 0 ;
10102 int res1 = 0 ;
10103 int val2 ;
10104 int ecode2 = 0 ;
10105 PyObject * obj0 = 0 ;
10106 PyObject * obj1 = 0 ;
10107 char * kwnames[] = {
10108 (char *) "self",(char *) "id", NULL
10109 };
10110
10111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
10112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10113 if (!SWIG_IsOK(res1)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
10115 }
10116 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10117 ecode2 = SWIG_AsVal_int(obj1, &val2);
10118 if (!SWIG_IsOK(ecode2)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
10120 }
10121 arg2 = static_cast< int >(val2);
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)(arg1)->GetMetric(arg2);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_From_int(static_cast< int >(result));
10129 return resultobj;
10130 fail:
10131 return NULL;
10132 }
10133
10134
10135 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10136 PyObject *resultobj = 0;
10137 wxDockArt *arg1 = (wxDockArt *) 0 ;
10138 int arg2 ;
10139 int arg3 ;
10140 void *argp1 = 0 ;
10141 int res1 = 0 ;
10142 int val2 ;
10143 int ecode2 = 0 ;
10144 int val3 ;
10145 int ecode3 = 0 ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
10148 PyObject * obj2 = 0 ;
10149 char * kwnames[] = {
10150 (char *) "self",(char *) "id",(char *) "new_val", NULL
10151 };
10152
10153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10155 if (!SWIG_IsOK(res1)) {
10156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
10157 }
10158 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10159 ecode2 = SWIG_AsVal_int(obj1, &val2);
10160 if (!SWIG_IsOK(ecode2)) {
10161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
10162 }
10163 arg2 = static_cast< int >(val2);
10164 ecode3 = SWIG_AsVal_int(obj2, &val3);
10165 if (!SWIG_IsOK(ecode3)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
10167 }
10168 arg3 = static_cast< int >(val3);
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 (arg1)->SetMetric(arg2,arg3);
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 resultobj = SWIG_Py_Void();
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj = 0;
10184 wxDockArt *arg1 = (wxDockArt *) 0 ;
10185 int arg2 ;
10186 wxFont *arg3 = 0 ;
10187 void *argp1 = 0 ;
10188 int res1 = 0 ;
10189 int val2 ;
10190 int ecode2 = 0 ;
10191 void *argp3 = 0 ;
10192 int res3 = 0 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
10195 PyObject * obj2 = 0 ;
10196 char * kwnames[] = {
10197 (char *) "self",(char *) "id",(char *) "font", NULL
10198 };
10199
10200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10202 if (!SWIG_IsOK(res1)) {
10203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
10204 }
10205 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10206 ecode2 = SWIG_AsVal_int(obj1, &val2);
10207 if (!SWIG_IsOK(ecode2)) {
10208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
10209 }
10210 arg2 = static_cast< int >(val2);
10211 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10212 if (!SWIG_IsOK(res3)) {
10213 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10214 }
10215 if (!argp3) {
10216 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10217 }
10218 arg3 = reinterpret_cast< wxFont * >(argp3);
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 resultobj = SWIG_Py_Void();
10226 return resultobj;
10227 fail:
10228 return NULL;
10229 }
10230
10231
10232 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10233 PyObject *resultobj = 0;
10234 wxDockArt *arg1 = (wxDockArt *) 0 ;
10235 int arg2 ;
10236 wxFont result;
10237 void *argp1 = 0 ;
10238 int res1 = 0 ;
10239 int val2 ;
10240 int ecode2 = 0 ;
10241 PyObject * obj0 = 0 ;
10242 PyObject * obj1 = 0 ;
10243 char * kwnames[] = {
10244 (char *) "self",(char *) "id", NULL
10245 };
10246
10247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
10248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10249 if (!SWIG_IsOK(res1)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
10251 }
10252 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10253 ecode2 = SWIG_AsVal_int(obj1, &val2);
10254 if (!SWIG_IsOK(ecode2)) {
10255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
10256 }
10257 arg2 = static_cast< int >(val2);
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 result = (arg1)->GetFont(arg2);
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
10265 return resultobj;
10266 fail:
10267 return NULL;
10268 }
10269
10270
10271 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj = 0;
10273 wxDockArt *arg1 = (wxDockArt *) 0 ;
10274 int arg2 ;
10275 wxColour result;
10276 void *argp1 = 0 ;
10277 int res1 = 0 ;
10278 int val2 ;
10279 int ecode2 = 0 ;
10280 PyObject * obj0 = 0 ;
10281 PyObject * obj1 = 0 ;
10282 char * kwnames[] = {
10283 (char *) "self",(char *) "id", NULL
10284 };
10285
10286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
10287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10288 if (!SWIG_IsOK(res1)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
10290 }
10291 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10292 ecode2 = SWIG_AsVal_int(obj1, &val2);
10293 if (!SWIG_IsOK(ecode2)) {
10294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
10295 }
10296 arg2 = static_cast< int >(val2);
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (arg1)->GetColour(arg2);
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj = 0;
10312 wxDockArt *arg1 = (wxDockArt *) 0 ;
10313 int arg2 ;
10314 wxColor *arg3 = 0 ;
10315 void *argp1 = 0 ;
10316 int res1 = 0 ;
10317 int val2 ;
10318 int ecode2 = 0 ;
10319 void *argp3 = 0 ;
10320 int res3 = 0 ;
10321 PyObject * obj0 = 0 ;
10322 PyObject * obj1 = 0 ;
10323 PyObject * obj2 = 0 ;
10324 char * kwnames[] = {
10325 (char *) "self",(char *) "id",(char *) "colour", NULL
10326 };
10327
10328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10330 if (!SWIG_IsOK(res1)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
10332 }
10333 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10334 ecode2 = SWIG_AsVal_int(obj1, &val2);
10335 if (!SWIG_IsOK(ecode2)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
10337 }
10338 arg2 = static_cast< int >(val2);
10339 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
10340 if (!SWIG_IsOK(res3)) {
10341 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10342 }
10343 if (!argp3) {
10344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10345 }
10346 arg3 = reinterpret_cast< wxColor * >(argp3);
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = SWIG_Py_Void();
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj = 0;
10362 wxDockArt *arg1 = (wxDockArt *) 0 ;
10363 int arg2 ;
10364 wxColour result;
10365 void *argp1 = 0 ;
10366 int res1 = 0 ;
10367 int val2 ;
10368 int ecode2 = 0 ;
10369 PyObject * obj0 = 0 ;
10370 PyObject * obj1 = 0 ;
10371 char * kwnames[] = {
10372 (char *) "self",(char *) "id", NULL
10373 };
10374
10375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
10376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10377 if (!SWIG_IsOK(res1)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10379 }
10380 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10381 ecode2 = SWIG_AsVal_int(obj1, &val2);
10382 if (!SWIG_IsOK(ecode2)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10384 }
10385 arg2 = static_cast< int >(val2);
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 result = (arg1)->GetColor(arg2);
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10393 return resultobj;
10394 fail:
10395 return NULL;
10396 }
10397
10398
10399 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj = 0;
10401 wxDockArt *arg1 = (wxDockArt *) 0 ;
10402 int arg2 ;
10403 wxColour *arg3 = 0 ;
10404 void *argp1 = 0 ;
10405 int res1 = 0 ;
10406 int val2 ;
10407 int ecode2 = 0 ;
10408 wxColour temp3 ;
10409 PyObject * obj0 = 0 ;
10410 PyObject * obj1 = 0 ;
10411 PyObject * obj2 = 0 ;
10412 char * kwnames[] = {
10413 (char *) "self",(char *) "id",(char *) "color", NULL
10414 };
10415
10416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10418 if (!SWIG_IsOK(res1)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10420 }
10421 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10422 ecode2 = SWIG_AsVal_int(obj1, &val2);
10423 if (!SWIG_IsOK(ecode2)) {
10424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
10425 }
10426 arg2 = static_cast< int >(val2);
10427 {
10428 arg3 = &temp3;
10429 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10430 }
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 resultobj = SWIG_Py_Void();
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10445 PyObject *resultobj = 0;
10446 wxDockArt *arg1 = (wxDockArt *) 0 ;
10447 wxDC *arg2 = 0 ;
10448 wxWindow *arg3 = (wxWindow *) 0 ;
10449 int arg4 ;
10450 wxRect *arg5 = 0 ;
10451 void *argp1 = 0 ;
10452 int res1 = 0 ;
10453 void *argp2 = 0 ;
10454 int res2 = 0 ;
10455 void *argp3 = 0 ;
10456 int res3 = 0 ;
10457 int val4 ;
10458 int ecode4 = 0 ;
10459 wxRect temp5 ;
10460 PyObject * obj0 = 0 ;
10461 PyObject * obj1 = 0 ;
10462 PyObject * obj2 = 0 ;
10463 PyObject * obj3 = 0 ;
10464 PyObject * obj4 = 0 ;
10465 char * kwnames[] = {
10466 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10467 };
10468
10469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
10473 }
10474 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10475 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10476 if (!SWIG_IsOK(res2)) {
10477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10478 }
10479 if (!argp2) {
10480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10481 }
10482 arg2 = reinterpret_cast< wxDC * >(argp2);
10483 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10484 if (!SWIG_IsOK(res3)) {
10485 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
10486 }
10487 arg3 = reinterpret_cast< wxWindow * >(argp3);
10488 ecode4 = SWIG_AsVal_int(obj3, &val4);
10489 if (!SWIG_IsOK(ecode4)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
10491 }
10492 arg4 = static_cast< int >(val4);
10493 {
10494 arg5 = &temp5;
10495 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 resultobj = SWIG_Py_Void();
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10511 PyObject *resultobj = 0;
10512 wxDockArt *arg1 = (wxDockArt *) 0 ;
10513 wxDC *arg2 = 0 ;
10514 wxWindow *arg3 = (wxWindow *) 0 ;
10515 int arg4 ;
10516 wxRect *arg5 = 0 ;
10517 void *argp1 = 0 ;
10518 int res1 = 0 ;
10519 void *argp2 = 0 ;
10520 int res2 = 0 ;
10521 void *argp3 = 0 ;
10522 int res3 = 0 ;
10523 int val4 ;
10524 int ecode4 = 0 ;
10525 wxRect temp5 ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 PyObject * obj2 = 0 ;
10529 PyObject * obj3 = 0 ;
10530 PyObject * obj4 = 0 ;
10531 char * kwnames[] = {
10532 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10533 };
10534
10535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10537 if (!SWIG_IsOK(res1)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
10539 }
10540 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10542 if (!SWIG_IsOK(res2)) {
10543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10544 }
10545 if (!argp2) {
10546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10547 }
10548 arg2 = reinterpret_cast< wxDC * >(argp2);
10549 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10550 if (!SWIG_IsOK(res3)) {
10551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
10552 }
10553 arg3 = reinterpret_cast< wxWindow * >(argp3);
10554 ecode4 = SWIG_AsVal_int(obj3, &val4);
10555 if (!SWIG_IsOK(ecode4)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
10557 }
10558 arg4 = static_cast< int >(val4);
10559 {
10560 arg5 = &temp5;
10561 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10562 }
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_Py_Void();
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj = 0;
10578 wxDockArt *arg1 = (wxDockArt *) 0 ;
10579 wxDC *arg2 = 0 ;
10580 wxWindow *arg3 = (wxWindow *) 0 ;
10581 wxString *arg4 = 0 ;
10582 wxRect *arg5 = 0 ;
10583 wxPaneInfo *arg6 = 0 ;
10584 void *argp1 = 0 ;
10585 int res1 = 0 ;
10586 void *argp2 = 0 ;
10587 int res2 = 0 ;
10588 void *argp3 = 0 ;
10589 int res3 = 0 ;
10590 bool temp4 = false ;
10591 wxRect temp5 ;
10592 void *argp6 = 0 ;
10593 int res6 = 0 ;
10594 PyObject * obj0 = 0 ;
10595 PyObject * obj1 = 0 ;
10596 PyObject * obj2 = 0 ;
10597 PyObject * obj3 = 0 ;
10598 PyObject * obj4 = 0 ;
10599 PyObject * obj5 = 0 ;
10600 char * kwnames[] = {
10601 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
10602 };
10603
10604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10606 if (!SWIG_IsOK(res1)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
10608 }
10609 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10611 if (!SWIG_IsOK(res2)) {
10612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10613 }
10614 if (!argp2) {
10615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10616 }
10617 arg2 = reinterpret_cast< wxDC * >(argp2);
10618 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10619 if (!SWIG_IsOK(res3)) {
10620 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
10621 }
10622 arg3 = reinterpret_cast< wxWindow * >(argp3);
10623 {
10624 arg4 = wxString_in_helper(obj3);
10625 if (arg4 == NULL) SWIG_fail;
10626 temp4 = true;
10627 }
10628 {
10629 arg5 = &temp5;
10630 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10631 }
10632 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10633 if (!SWIG_IsOK(res6)) {
10634 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10635 }
10636 if (!argp6) {
10637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10638 }
10639 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 resultobj = SWIG_Py_Void();
10647 {
10648 if (temp4)
10649 delete arg4;
10650 }
10651 return resultobj;
10652 fail:
10653 {
10654 if (temp4)
10655 delete arg4;
10656 }
10657 return NULL;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj = 0;
10663 wxDockArt *arg1 = (wxDockArt *) 0 ;
10664 wxDC *arg2 = 0 ;
10665 wxWindow *arg3 = (wxWindow *) 0 ;
10666 wxRect *arg4 = 0 ;
10667 wxPaneInfo *arg5 = 0 ;
10668 void *argp1 = 0 ;
10669 int res1 = 0 ;
10670 void *argp2 = 0 ;
10671 int res2 = 0 ;
10672 void *argp3 = 0 ;
10673 int res3 = 0 ;
10674 wxRect temp4 ;
10675 void *argp5 = 0 ;
10676 int res5 = 0 ;
10677 PyObject * obj0 = 0 ;
10678 PyObject * obj1 = 0 ;
10679 PyObject * obj2 = 0 ;
10680 PyObject * obj3 = 0 ;
10681 PyObject * obj4 = 0 ;
10682 char * kwnames[] = {
10683 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10684 };
10685
10686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10688 if (!SWIG_IsOK(res1)) {
10689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
10690 }
10691 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10692 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10693 if (!SWIG_IsOK(res2)) {
10694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10695 }
10696 if (!argp2) {
10697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10698 }
10699 arg2 = reinterpret_cast< wxDC * >(argp2);
10700 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10701 if (!SWIG_IsOK(res3)) {
10702 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
10703 }
10704 arg3 = reinterpret_cast< wxWindow * >(argp3);
10705 {
10706 arg4 = &temp4;
10707 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10708 }
10709 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10710 if (!SWIG_IsOK(res5)) {
10711 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10712 }
10713 if (!argp5) {
10714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10715 }
10716 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_Py_Void();
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj = 0;
10732 wxDockArt *arg1 = (wxDockArt *) 0 ;
10733 wxDC *arg2 = 0 ;
10734 wxWindow *arg3 = (wxWindow *) 0 ;
10735 wxRect *arg4 = 0 ;
10736 wxPaneInfo *arg5 = 0 ;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 void *argp2 = 0 ;
10740 int res2 = 0 ;
10741 void *argp3 = 0 ;
10742 int res3 = 0 ;
10743 wxRect temp4 ;
10744 void *argp5 = 0 ;
10745 int res5 = 0 ;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 PyObject * obj3 = 0 ;
10750 PyObject * obj4 = 0 ;
10751 char * kwnames[] = {
10752 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10753 };
10754
10755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10757 if (!SWIG_IsOK(res1)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
10759 }
10760 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10761 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10762 if (!SWIG_IsOK(res2)) {
10763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10764 }
10765 if (!argp2) {
10766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10767 }
10768 arg2 = reinterpret_cast< wxDC * >(argp2);
10769 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10770 if (!SWIG_IsOK(res3)) {
10771 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
10772 }
10773 arg3 = reinterpret_cast< wxWindow * >(argp3);
10774 {
10775 arg4 = &temp4;
10776 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10777 }
10778 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10779 if (!SWIG_IsOK(res5)) {
10780 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10781 }
10782 if (!argp5) {
10783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10784 }
10785 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 resultobj = SWIG_Py_Void();
10793 return resultobj;
10794 fail:
10795 return NULL;
10796 }
10797
10798
10799 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj = 0;
10801 wxDockArt *arg1 = (wxDockArt *) 0 ;
10802 wxDC *arg2 = 0 ;
10803 wxWindow *arg3 = (wxWindow *) 0 ;
10804 int arg4 ;
10805 int arg5 ;
10806 wxRect *arg6 = 0 ;
10807 wxPaneInfo *arg7 = 0 ;
10808 void *argp1 = 0 ;
10809 int res1 = 0 ;
10810 void *argp2 = 0 ;
10811 int res2 = 0 ;
10812 void *argp3 = 0 ;
10813 int res3 = 0 ;
10814 int val4 ;
10815 int ecode4 = 0 ;
10816 int val5 ;
10817 int ecode5 = 0 ;
10818 wxRect temp6 ;
10819 void *argp7 = 0 ;
10820 int res7 = 0 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 PyObject * obj2 = 0 ;
10824 PyObject * obj3 = 0 ;
10825 PyObject * obj4 = 0 ;
10826 PyObject * obj5 = 0 ;
10827 PyObject * obj6 = 0 ;
10828 char * kwnames[] = {
10829 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
10830 };
10831
10832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10834 if (!SWIG_IsOK(res1)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
10836 }
10837 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10839 if (!SWIG_IsOK(res2)) {
10840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10841 }
10842 if (!argp2) {
10843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10844 }
10845 arg2 = reinterpret_cast< wxDC * >(argp2);
10846 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10847 if (!SWIG_IsOK(res3)) {
10848 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
10849 }
10850 arg3 = reinterpret_cast< wxWindow * >(argp3);
10851 ecode4 = SWIG_AsVal_int(obj3, &val4);
10852 if (!SWIG_IsOK(ecode4)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
10854 }
10855 arg4 = static_cast< int >(val4);
10856 ecode5 = SWIG_AsVal_int(obj4, &val5);
10857 if (!SWIG_IsOK(ecode5)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
10859 }
10860 arg5 = static_cast< int >(val5);
10861 {
10862 arg6 = &temp6;
10863 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
10864 }
10865 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 );
10866 if (!SWIG_IsOK(res7)) {
10867 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10868 }
10869 if (!argp7) {
10870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10871 }
10872 arg7 = reinterpret_cast< wxPaneInfo * >(argp7);
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 resultobj = SWIG_Py_Void();
10880 return resultobj;
10881 fail:
10882 return NULL;
10883 }
10884
10885
10886 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10887 PyObject *obj;
10888 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10889 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10890 return SWIG_Py_Void();
10891 }
10892
10893 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10894 PyObject *resultobj = 0;
10895 wxDefaultDockArt *result = 0 ;
10896
10897 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10912 PyObject *obj;
10913 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10914 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10915 return SWIG_Py_Void();
10916 }
10917
10918 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10919 return SWIG_Python_InitShadowInstance(args);
10920 }
10921
10922 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj = 0;
10924 wxWindow *arg1 = (wxWindow *) 0 ;
10925 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10926 wxPaneInfo *arg3 = 0 ;
10927 int arg4 = (int) wxID_ANY ;
10928 long arg5 = (long) wxRESIZE_BORDER|wxSYSTEM_MENU|wxCAPTION|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT|wxCLIP_CHILDREN ;
10929 wxFloatingPane *result = 0 ;
10930 void *argp1 = 0 ;
10931 int res1 = 0 ;
10932 void *argp2 = 0 ;
10933 int res2 = 0 ;
10934 void *argp3 = 0 ;
10935 int res3 = 0 ;
10936 int val4 ;
10937 int ecode4 = 0 ;
10938 long val5 ;
10939 int ecode5 = 0 ;
10940 PyObject * obj0 = 0 ;
10941 PyObject * obj1 = 0 ;
10942 PyObject * obj2 = 0 ;
10943 PyObject * obj3 = 0 ;
10944 PyObject * obj4 = 0 ;
10945 char * kwnames[] = {
10946 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id",(char *) "style", NULL
10947 };
10948
10949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10951 if (!SWIG_IsOK(res1)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10953 }
10954 arg1 = reinterpret_cast< wxWindow * >(argp1);
10955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10956 if (!SWIG_IsOK(res2)) {
10957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10958 }
10959 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10960 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10961 if (!SWIG_IsOK(res3)) {
10962 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10963 }
10964 if (!argp3) {
10965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10966 }
10967 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10968 if (obj3) {
10969 ecode4 = SWIG_AsVal_int(obj3, &val4);
10970 if (!SWIG_IsOK(ecode4)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10972 }
10973 arg4 = static_cast< int >(val4);
10974 }
10975 if (obj4) {
10976 ecode5 = SWIG_AsVal_long(obj4, &val5);
10977 if (!SWIG_IsOK(ecode5)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_FloatingPane" "', expected argument " "5"" of type '" "long""'");
10979 }
10980 arg5 = static_cast< long >(val5);
10981 }
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4,arg5);
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10989 return resultobj;
10990 fail:
10991 return NULL;
10992 }
10993
10994
10995 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10996 PyObject *resultobj = 0;
10997 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10998 void *argp1 = 0 ;
10999 int res1 = 0 ;
11000 PyObject *swig_obj[1] ;
11001
11002 if (!args) SWIG_fail;
11003 swig_obj[0] = args;
11004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
11005 if (!SWIG_IsOK(res1)) {
11006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
11007 }
11008 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
11011 delete arg1;
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 resultobj = SWIG_Py_Void();
11017 return resultobj;
11018 fail:
11019 return NULL;
11020 }
11021
11022
11023 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj = 0;
11025 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
11026 wxPaneInfo *arg2 = 0 ;
11027 void *argp1 = 0 ;
11028 int res1 = 0 ;
11029 void *argp2 = 0 ;
11030 int res2 = 0 ;
11031 PyObject * obj0 = 0 ;
11032 PyObject * obj1 = 0 ;
11033 char * kwnames[] = {
11034 (char *) "self",(char *) "pane", NULL
11035 };
11036
11037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
11038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
11039 if (!SWIG_IsOK(res1)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
11041 }
11042 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
11043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
11044 if (!SWIG_IsOK(res2)) {
11045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
11046 }
11047 if (!argp2) {
11048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
11049 }
11050 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
11051 {
11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
11053 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = SWIG_Py_Void();
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11065 PyObject *obj;
11066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11067 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
11068 return SWIG_Py_Void();
11069 }
11070
11071 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11072 return SWIG_Python_InitShadowInstance(args);
11073 }
11074
11075 SWIGINTERN PyObject *_wrap_delete_TabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11076 PyObject *resultobj = 0;
11077 wxTabArt *arg1 = (wxTabArt *) 0 ;
11078 void *argp1 = 0 ;
11079 int res1 = 0 ;
11080 PyObject *swig_obj[1] ;
11081
11082 if (!args) SWIG_fail;
11083 swig_obj[0] = args;
11084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTabArt, SWIG_POINTER_DISOWN | 0 );
11085 if (!SWIG_IsOK(res1)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TabArt" "', expected argument " "1"" of type '" "wxTabArt *""'");
11087 }
11088 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 delete arg1;
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 resultobj = SWIG_Py_Void();
11097 return resultobj;
11098 fail:
11099 return NULL;
11100 }
11101
11102
11103 SWIGINTERN PyObject *_wrap_TabArt_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11104 PyObject *resultobj = 0;
11105 wxTabArt *arg1 = (wxTabArt *) 0 ;
11106 wxFont *arg2 = 0 ;
11107 void *argp1 = 0 ;
11108 int res1 = 0 ;
11109 void *argp2 = 0 ;
11110 int res2 = 0 ;
11111 PyObject * obj0 = 0 ;
11112 PyObject * obj1 = 0 ;
11113 char * kwnames[] = {
11114 (char *) "self",(char *) "font", NULL
11115 };
11116
11117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
11118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11119 if (!SWIG_IsOK(res1)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetNormalFont" "', expected argument " "1"" of type '" "wxTabArt *""'");
11121 }
11122 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11123 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
11124 if (!SWIG_IsOK(res2)) {
11125 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11126 }
11127 if (!argp2) {
11128 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11129 }
11130 arg2 = reinterpret_cast< wxFont * >(argp2);
11131 {
11132 PyThreadState* __tstate = wxPyBeginAllowThreads();
11133 (arg1)->SetNormalFont((wxFont const &)*arg2);
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 resultobj = SWIG_Py_Void();
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 SWIGINTERN PyObject *_wrap_TabArt_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj = 0;
11146 wxTabArt *arg1 = (wxTabArt *) 0 ;
11147 wxFont *arg2 = 0 ;
11148 void *argp1 = 0 ;
11149 int res1 = 0 ;
11150 void *argp2 = 0 ;
11151 int res2 = 0 ;
11152 PyObject * obj0 = 0 ;
11153 PyObject * obj1 = 0 ;
11154 char * kwnames[] = {
11155 (char *) "self",(char *) "font", NULL
11156 };
11157
11158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
11159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11160 if (!SWIG_IsOK(res1)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetSelectedFont" "', expected argument " "1"" of type '" "wxTabArt *""'");
11162 }
11163 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
11165 if (!SWIG_IsOK(res2)) {
11166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11167 }
11168 if (!argp2) {
11169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11170 }
11171 arg2 = reinterpret_cast< wxFont * >(argp2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetSelectedFont((wxFont const &)*arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_Py_Void();
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 SWIGINTERN PyObject *_wrap_TabArt_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj = 0;
11187 wxTabArt *arg1 = (wxTabArt *) 0 ;
11188 wxFont *arg2 = 0 ;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 void *argp2 = 0 ;
11192 int res2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "font", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_SetMeasuringFont" "', expected argument " "1"" of type '" "wxTabArt *""'");
11203 }
11204 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
11206 if (!SWIG_IsOK(res2)) {
11207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11208 }
11209 if (!argp2) {
11210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11211 }
11212 arg2 = reinterpret_cast< wxFont * >(argp2);
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 resultobj = SWIG_Py_Void();
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 SWIGINTERN PyObject *_wrap_TabArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj = 0;
11228 wxTabArt *arg1 = (wxTabArt *) 0 ;
11229 wxDC *arg2 = (wxDC *) 0 ;
11230 wxRect *arg3 = 0 ;
11231 void *argp1 = 0 ;
11232 int res1 = 0 ;
11233 void *argp2 = 0 ;
11234 int res2 = 0 ;
11235 wxRect temp3 ;
11236 PyObject * obj0 = 0 ;
11237 PyObject * obj1 = 0 ;
11238 PyObject * obj2 = 0 ;
11239 char * kwnames[] = {
11240 (char *) "self",(char *) "dc",(char *) "rect", NULL
11241 };
11242
11243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TabArt_DrawBackground",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11245 if (!SWIG_IsOK(res1)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawBackground" "', expected argument " "1"" of type '" "wxTabArt *""'");
11247 }
11248 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11249 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11250 if (!SWIG_IsOK(res2)) {
11251 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC *""'");
11252 }
11253 arg2 = reinterpret_cast< wxDC * >(argp2);
11254 {
11255 arg3 = &temp3;
11256 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
11257 }
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 (arg1)->DrawBackground(arg2,(wxRect const &)*arg3);
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 resultobj = SWIG_Py_Void();
11265 return resultobj;
11266 fail:
11267 return NULL;
11268 }
11269
11270
11271 SWIGINTERN PyObject *_wrap_TabArt_DrawTab(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11272 PyObject *resultobj = 0;
11273 wxTabArt *arg1 = (wxTabArt *) 0 ;
11274 wxDC *arg2 = (wxDC *) 0 ;
11275 wxRect *arg3 = 0 ;
11276 wxString *arg4 = 0 ;
11277 bool arg5 ;
11278 wxRect *arg6 = (wxRect *) 0 ;
11279 int *arg7 = (int *) 0 ;
11280 void *argp1 = 0 ;
11281 int res1 = 0 ;
11282 void *argp2 = 0 ;
11283 int res2 = 0 ;
11284 wxRect temp3 ;
11285 bool temp4 = false ;
11286 bool val5 ;
11287 int ecode5 = 0 ;
11288 void *argp6 = 0 ;
11289 int res6 = 0 ;
11290 void *argp7 = 0 ;
11291 int res7 = 0 ;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 PyObject * obj2 = 0 ;
11295 PyObject * obj3 = 0 ;
11296 PyObject * obj4 = 0 ;
11297 PyObject * obj5 = 0 ;
11298 PyObject * obj6 = 0 ;
11299 char * kwnames[] = {
11300 (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "caption",(char *) "active",(char *) "out_rect",(char *) "x_extent", NULL
11301 };
11302
11303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:TabArt_DrawTab",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawTab" "', expected argument " "1"" of type '" "wxTabArt *""'");
11307 }
11308 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11310 if (!SWIG_IsOK(res2)) {
11311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawTab" "', expected argument " "2"" of type '" "wxDC *""'");
11312 }
11313 arg2 = reinterpret_cast< wxDC * >(argp2);
11314 {
11315 arg3 = &temp3;
11316 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
11317 }
11318 {
11319 arg4 = wxString_in_helper(obj3);
11320 if (arg4 == NULL) SWIG_fail;
11321 temp4 = true;
11322 }
11323 ecode5 = SWIG_AsVal_bool(obj4, &val5);
11324 if (!SWIG_IsOK(ecode5)) {
11325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TabArt_DrawTab" "', expected argument " "5"" of type '" "bool""'");
11326 }
11327 arg5 = static_cast< bool >(val5);
11328 res6 = SWIG_ConvertPtr(obj5, &argp6,SWIGTYPE_p_wxRect, 0 | 0 );
11329 if (!SWIG_IsOK(res6)) {
11330 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TabArt_DrawTab" "', expected argument " "6"" of type '" "wxRect *""'");
11331 }
11332 arg6 = reinterpret_cast< wxRect * >(argp6);
11333 res7 = SWIG_ConvertPtr(obj6, &argp7,SWIGTYPE_p_int, 0 | 0 );
11334 if (!SWIG_IsOK(res7)) {
11335 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TabArt_DrawTab" "', expected argument " "7"" of type '" "int *""'");
11336 }
11337 arg7 = reinterpret_cast< int * >(argp7);
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 (arg1)->DrawTab(arg2,(wxRect const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 resultobj = SWIG_Py_Void();
11345 {
11346 if (temp4)
11347 delete arg4;
11348 }
11349 return resultobj;
11350 fail:
11351 {
11352 if (temp4)
11353 delete arg4;
11354 }
11355 return NULL;
11356 }
11357
11358
11359 SWIGINTERN PyObject *_wrap_TabArt_DrawButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj = 0;
11361 wxTabArt *arg1 = (wxTabArt *) 0 ;
11362 wxDC *arg2 = (wxDC *) 0 ;
11363 wxRect *arg3 = 0 ;
11364 int arg4 ;
11365 int arg5 ;
11366 int arg6 ;
11367 wxBitmap *arg7 = 0 ;
11368 wxRect *arg8 = (wxRect *) 0 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 void *argp2 = 0 ;
11372 int res2 = 0 ;
11373 wxRect temp3 ;
11374 int val4 ;
11375 int ecode4 = 0 ;
11376 int val5 ;
11377 int ecode5 = 0 ;
11378 int val6 ;
11379 int ecode6 = 0 ;
11380 void *argp7 = 0 ;
11381 int res7 = 0 ;
11382 void *argp8 = 0 ;
11383 int res8 = 0 ;
11384 PyObject * obj0 = 0 ;
11385 PyObject * obj1 = 0 ;
11386 PyObject * obj2 = 0 ;
11387 PyObject * obj3 = 0 ;
11388 PyObject * obj4 = 0 ;
11389 PyObject * obj5 = 0 ;
11390 PyObject * obj6 = 0 ;
11391 PyObject * obj7 = 0 ;
11392 char * kwnames[] = {
11393 (char *) "self",(char *) "dc",(char *) "in_rect",(char *) "bitmap_id",(char *) "button_state",(char *) "orientation",(char *) "bitmap_override",(char *) "out_rect", NULL
11394 };
11395
11396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:TabArt_DrawButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11398 if (!SWIG_IsOK(res1)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_DrawButton" "', expected argument " "1"" of type '" "wxTabArt *""'");
11400 }
11401 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11403 if (!SWIG_IsOK(res2)) {
11404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_DrawButton" "', expected argument " "2"" of type '" "wxDC *""'");
11405 }
11406 arg2 = reinterpret_cast< wxDC * >(argp2);
11407 {
11408 arg3 = &temp3;
11409 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
11410 }
11411 ecode4 = SWIG_AsVal_int(obj3, &val4);
11412 if (!SWIG_IsOK(ecode4)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TabArt_DrawButton" "', expected argument " "4"" of type '" "int""'");
11414 }
11415 arg4 = static_cast< int >(val4);
11416 ecode5 = SWIG_AsVal_int(obj4, &val5);
11417 if (!SWIG_IsOK(ecode5)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TabArt_DrawButton" "', expected argument " "5"" of type '" "int""'");
11419 }
11420 arg5 = static_cast< int >(val5);
11421 ecode6 = SWIG_AsVal_int(obj5, &val6);
11422 if (!SWIG_IsOK(ecode6)) {
11423 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TabArt_DrawButton" "', expected argument " "6"" of type '" "int""'");
11424 }
11425 arg6 = static_cast< int >(val6);
11426 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxBitmap, 0 | 0);
11427 if (!SWIG_IsOK(res7)) {
11428 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'");
11429 }
11430 if (!argp7) {
11431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TabArt_DrawButton" "', expected argument " "7"" of type '" "wxBitmap const &""'");
11432 }
11433 arg7 = reinterpret_cast< wxBitmap * >(argp7);
11434 res8 = SWIG_ConvertPtr(obj7, &argp8,SWIGTYPE_p_wxRect, 0 | 0 );
11435 if (!SWIG_IsOK(res8)) {
11436 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TabArt_DrawButton" "', expected argument " "8"" of type '" "wxRect *""'");
11437 }
11438 arg8 = reinterpret_cast< wxRect * >(argp8);
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 (arg1)->DrawButton(arg2,(wxRect const &)*arg3,arg4,arg5,arg6,(wxBitmap const &)*arg7,arg8);
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 resultobj = SWIG_Py_Void();
11446 return resultobj;
11447 fail:
11448 return NULL;
11449 }
11450
11451
11452 SWIGINTERN PyObject *_wrap_TabArt_GetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj = 0;
11454 wxTabArt *arg1 = (wxTabArt *) 0 ;
11455 wxDC *arg2 = (wxDC *) 0 ;
11456 wxString *arg3 = 0 ;
11457 bool arg4 ;
11458 int *arg5 = (int *) 0 ;
11459 wxSize result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 void *argp2 = 0 ;
11463 int res2 = 0 ;
11464 bool temp3 = false ;
11465 bool val4 ;
11466 int ecode4 = 0 ;
11467 void *argp5 = 0 ;
11468 int res5 = 0 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 PyObject * obj3 = 0 ;
11473 PyObject * obj4 = 0 ;
11474 char * kwnames[] = {
11475 (char *) "self",(char *) "dc",(char *) "caption",(char *) "active",(char *) "x_extent", NULL
11476 };
11477
11478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:TabArt_GetTabSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
11479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_GetTabSize" "', expected argument " "1"" of type '" "wxTabArt *""'");
11482 }
11483 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
11485 if (!SWIG_IsOK(res2)) {
11486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_GetTabSize" "', expected argument " "2"" of type '" "wxDC *""'");
11487 }
11488 arg2 = reinterpret_cast< wxDC * >(argp2);
11489 {
11490 arg3 = wxString_in_helper(obj2);
11491 if (arg3 == NULL) SWIG_fail;
11492 temp3 = true;
11493 }
11494 ecode4 = SWIG_AsVal_bool(obj3, &val4);
11495 if (!SWIG_IsOK(ecode4)) {
11496 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TabArt_GetTabSize" "', expected argument " "4"" of type '" "bool""'");
11497 }
11498 arg4 = static_cast< bool >(val4);
11499 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_int, 0 | 0 );
11500 if (!SWIG_IsOK(res5)) {
11501 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TabArt_GetTabSize" "', expected argument " "5"" of type '" "int *""'");
11502 }
11503 arg5 = reinterpret_cast< int * >(argp5);
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (arg1)->GetTabSize(arg2,(wxString const &)*arg3,arg4,arg5);
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11511 {
11512 if (temp3)
11513 delete arg3;
11514 }
11515 return resultobj;
11516 fail:
11517 {
11518 if (temp3)
11519 delete arg3;
11520 }
11521 return NULL;
11522 }
11523
11524
11525 SWIGINTERN PyObject *_wrap_TabArt_GetBestTabCtrlSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj = 0;
11527 wxTabArt *arg1 = (wxTabArt *) 0 ;
11528 wxWindow *arg2 = (wxWindow *) 0 ;
11529 int result;
11530 void *argp1 = 0 ;
11531 int res1 = 0 ;
11532 void *argp2 = 0 ;
11533 int res2 = 0 ;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 char * kwnames[] = {
11537 (char *) "self",(char *) "wnd", NULL
11538 };
11539
11540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TabArt_GetBestTabCtrlSize",kwnames,&obj0,&obj1)) SWIG_fail;
11541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTabArt, 0 | 0 );
11542 if (!SWIG_IsOK(res1)) {
11543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TabArt_GetBestTabCtrlSize" "', expected argument " "1"" of type '" "wxTabArt *""'");
11544 }
11545 arg1 = reinterpret_cast< wxTabArt * >(argp1);
11546 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11547 if (!SWIG_IsOK(res2)) {
11548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TabArt_GetBestTabCtrlSize" "', expected argument " "2"" of type '" "wxWindow *""'");
11549 }
11550 arg2 = reinterpret_cast< wxWindow * >(argp2);
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (int)(arg1)->GetBestTabCtrlSize(arg2);
11554 wxPyEndAllowThreads(__tstate);
11555 if (PyErr_Occurred()) SWIG_fail;
11556 }
11557 resultobj = SWIG_From_int(static_cast< int >(result));
11558 return resultobj;
11559 fail:
11560 return NULL;
11561 }
11562
11563
11564 SWIGINTERN PyObject *TabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11565 PyObject *obj;
11566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11567 SWIG_TypeNewClientData(SWIGTYPE_p_wxTabArt, SWIG_NewClientData(obj));
11568 return SWIG_Py_Void();
11569 }
11570
11571 SWIGINTERN PyObject *_wrap_new_DefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11572 PyObject *resultobj = 0;
11573 wxDefaultTabArt *result = 0 ;
11574
11575 if (!SWIG_Python_UnpackTuple(args,"new_DefaultTabArt",0,0,0)) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (wxDefaultTabArt *)new wxDefaultTabArt();
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultTabArt, SWIG_POINTER_NEW | 0 );
11583 return resultobj;
11584 fail:
11585 return NULL;
11586 }
11587
11588
11589 SWIGINTERN PyObject *_wrap_delete_DefaultTabArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590 PyObject *resultobj = 0;
11591 wxDefaultTabArt *arg1 = (wxDefaultTabArt *) 0 ;
11592 void *argp1 = 0 ;
11593 int res1 = 0 ;
11594 PyObject *swig_obj[1] ;
11595
11596 if (!args) SWIG_fail;
11597 swig_obj[0] = args;
11598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDefaultTabArt, SWIG_POINTER_DISOWN | 0 );
11599 if (!SWIG_IsOK(res1)) {
11600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DefaultTabArt" "', expected argument " "1"" of type '" "wxDefaultTabArt *""'");
11601 }
11602 arg1 = reinterpret_cast< wxDefaultTabArt * >(argp1);
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 delete arg1;
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_Py_Void();
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 SWIGINTERN PyObject *DefaultTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11618 PyObject *obj;
11619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11620 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultTabArt, SWIG_NewClientData(obj));
11621 return SWIG_Py_Void();
11622 }
11623
11624 SWIGINTERN PyObject *DefaultTabArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11625 return SWIG_Python_InitShadowInstance(args);
11626 }
11627
11628 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11629 PyObject *resultobj = 0;
11630 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11631 int arg2 = (int) 0 ;
11632 wxAuiNotebookEvent *result = 0 ;
11633 int val1 ;
11634 int ecode1 = 0 ;
11635 int val2 ;
11636 int ecode2 = 0 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 char * kwnames[] = {
11640 (char *) "command_type",(char *) "win_id", NULL
11641 };
11642
11643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11644 if (obj0) {
11645 ecode1 = SWIG_AsVal_int(obj0, &val1);
11646 if (!SWIG_IsOK(ecode1)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
11648 }
11649 arg1 = static_cast< wxEventType >(val1);
11650 }
11651 if (obj1) {
11652 ecode2 = SWIG_AsVal_int(obj1, &val2);
11653 if (!SWIG_IsOK(ecode2)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
11655 }
11656 arg2 = static_cast< int >(val2);
11657 }
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj = 0;
11673 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11674 int arg2 ;
11675 void *argp1 = 0 ;
11676 int res1 = 0 ;
11677 int val2 ;
11678 int ecode2 = 0 ;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 char * kwnames[] = {
11682 (char *) "self",(char *) "s", NULL
11683 };
11684
11685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11687 if (!SWIG_IsOK(res1)) {
11688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11689 }
11690 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11691 ecode2 = SWIG_AsVal_int(obj1, &val2);
11692 if (!SWIG_IsOK(ecode2)) {
11693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
11694 }
11695 arg2 = static_cast< int >(val2);
11696 {
11697 PyThreadState* __tstate = wxPyBeginAllowThreads();
11698 (arg1)->SetSelection(arg2);
11699 wxPyEndAllowThreads(__tstate);
11700 if (PyErr_Occurred()) SWIG_fail;
11701 }
11702 resultobj = SWIG_Py_Void();
11703 return resultobj;
11704 fail:
11705 return NULL;
11706 }
11707
11708
11709 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11710 PyObject *resultobj = 0;
11711 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11712 int arg2 ;
11713 void *argp1 = 0 ;
11714 int res1 = 0 ;
11715 int val2 ;
11716 int ecode2 = 0 ;
11717 PyObject * obj0 = 0 ;
11718 PyObject * obj1 = 0 ;
11719 char * kwnames[] = {
11720 (char *) "self",(char *) "s", NULL
11721 };
11722
11723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
11724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11725 if (!SWIG_IsOK(res1)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11727 }
11728 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11729 ecode2 = SWIG_AsVal_int(obj1, &val2);
11730 if (!SWIG_IsOK(ecode2)) {
11731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
11732 }
11733 arg2 = static_cast< int >(val2);
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 (arg1)->SetOldSelection(arg2);
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_Py_Void();
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11748 PyObject *resultobj = 0;
11749 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11750 int result;
11751 void *argp1 = 0 ;
11752 int res1 = 0 ;
11753 PyObject *swig_obj[1] ;
11754
11755 if (!args) SWIG_fail;
11756 swig_obj[0] = args;
11757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11758 if (!SWIG_IsOK(res1)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11760 }
11761 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
11765 wxPyEndAllowThreads(__tstate);
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 resultobj = SWIG_From_int(static_cast< int >(result));
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11776 PyObject *resultobj = 0;
11777 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11778 int result;
11779 void *argp1 = 0 ;
11780 int res1 = 0 ;
11781 PyObject *swig_obj[1] ;
11782
11783 if (!args) SWIG_fail;
11784 swig_obj[0] = args;
11785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11786 if (!SWIG_IsOK(res1)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
11788 }
11789 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
11793 wxPyEndAllowThreads(__tstate);
11794 if (PyErr_Occurred()) SWIG_fail;
11795 }
11796 resultobj = SWIG_From_int(static_cast< int >(result));
11797 return resultobj;
11798 fail:
11799 return NULL;
11800 }
11801
11802
11803 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11804 PyObject *resultobj = 0;
11805 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11806 int arg2 ;
11807 void *argp1 = 0 ;
11808 int res1 = 0 ;
11809 int val2 ;
11810 int ecode2 = 0 ;
11811 PyObject *swig_obj[2] ;
11812
11813 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
11814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11815 if (!SWIG_IsOK(res1)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11817 }
11818 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11819 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11820 if (!SWIG_IsOK(ecode2)) {
11821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
11822 }
11823 arg2 = static_cast< int >(val2);
11824 if (arg1) (arg1)->old_selection = arg2;
11825
11826 resultobj = SWIG_Py_Void();
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11834 PyObject *resultobj = 0;
11835 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11836 int result;
11837 void *argp1 = 0 ;
11838 int res1 = 0 ;
11839 PyObject *swig_obj[1] ;
11840
11841 if (!args) SWIG_fail;
11842 swig_obj[0] = args;
11843 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11844 if (!SWIG_IsOK(res1)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11846 }
11847 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11848 result = (int) ((arg1)->old_selection);
11849 resultobj = SWIG_From_int(static_cast< int >(result));
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11857 PyObject *resultobj = 0;
11858 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11859 int arg2 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 int val2 ;
11863 int ecode2 = 0 ;
11864 PyObject *swig_obj[2] ;
11865
11866 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
11867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11868 if (!SWIG_IsOK(res1)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11870 }
11871 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11872 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11873 if (!SWIG_IsOK(ecode2)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
11875 }
11876 arg2 = static_cast< int >(val2);
11877 if (arg1) (arg1)->selection = arg2;
11878
11879 resultobj = SWIG_Py_Void();
11880 return resultobj;
11881 fail:
11882 return NULL;
11883 }
11884
11885
11886 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11887 PyObject *resultobj = 0;
11888 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11889 int result;
11890 void *argp1 = 0 ;
11891 int res1 = 0 ;
11892 PyObject *swig_obj[1] ;
11893
11894 if (!args) SWIG_fail;
11895 swig_obj[0] = args;
11896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11897 if (!SWIG_IsOK(res1)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11899 }
11900 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11901 result = (int) ((arg1)->selection);
11902 resultobj = SWIG_From_int(static_cast< int >(result));
11903 return resultobj;
11904 fail:
11905 return NULL;
11906 }
11907
11908
11909 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11910 PyObject *obj;
11911 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11912 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
11913 return SWIG_Py_Void();
11914 }
11915
11916 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11917 return SWIG_Python_InitShadowInstance(args);
11918 }
11919
11920 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11921 PyObject *resultobj = 0;
11922 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11923 wxWindow *arg2 = (wxWindow *) 0 ;
11924 void *argp1 = 0 ;
11925 int res1 = 0 ;
11926 void *argp2 = 0 ;
11927 int res2 = 0 ;
11928 PyObject *swig_obj[2] ;
11929
11930 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
11931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11932 if (!SWIG_IsOK(res1)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11934 }
11935 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11936 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
11937 if (!SWIG_IsOK(res2)) {
11938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
11939 }
11940 arg2 = reinterpret_cast< wxWindow * >(argp2);
11941 if (arg1) (arg1)->window = arg2;
11942
11943 resultobj = SWIG_Py_Void();
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11951 PyObject *resultobj = 0;
11952 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11953 wxWindow *result = 0 ;
11954 void *argp1 = 0 ;
11955 int res1 = 0 ;
11956 PyObject *swig_obj[1] ;
11957
11958 if (!args) SWIG_fail;
11959 swig_obj[0] = args;
11960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11961 if (!SWIG_IsOK(res1)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11963 }
11964 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11965 result = (wxWindow *) ((arg1)->window);
11966 {
11967 resultobj = wxPyMake_wxObject(result, 0);
11968 }
11969 return resultobj;
11970 fail:
11971 return NULL;
11972 }
11973
11974
11975 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11976 PyObject *resultobj = 0;
11977 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11978 wxString *arg2 = (wxString *) 0 ;
11979 void *argp1 = 0 ;
11980 int res1 = 0 ;
11981 bool temp2 = false ;
11982 PyObject *swig_obj[2] ;
11983
11984 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
11985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11986 if (!SWIG_IsOK(res1)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11988 }
11989 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11990 {
11991 arg2 = wxString_in_helper(swig_obj[1]);
11992 if (arg2 == NULL) SWIG_fail;
11993 temp2 = true;
11994 }
11995 if (arg1) (arg1)->caption = *arg2;
11996
11997 resultobj = SWIG_Py_Void();
11998 {
11999 if (temp2)
12000 delete arg2;
12001 }
12002 return resultobj;
12003 fail:
12004 {
12005 if (temp2)
12006 delete arg2;
12007 }
12008 return NULL;
12009 }
12010
12011
12012 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12013 PyObject *resultobj = 0;
12014 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12015 wxString *result = 0 ;
12016 void *argp1 = 0 ;
12017 int res1 = 0 ;
12018 PyObject *swig_obj[1] ;
12019
12020 if (!args) SWIG_fail;
12021 swig_obj[0] = args;
12022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12023 if (!SWIG_IsOK(res1)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12025 }
12026 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12027 result = (wxString *)& ((arg1)->caption);
12028 {
12029 #if wxUSE_UNICODE
12030 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12031 #else
12032 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12033 #endif
12034 }
12035 return resultobj;
12036 fail:
12037 return NULL;
12038 }
12039
12040
12041 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12042 PyObject *resultobj = 0;
12043 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12044 wxBitmap *arg2 = (wxBitmap *) 0 ;
12045 void *argp1 = 0 ;
12046 int res1 = 0 ;
12047 void *argp2 = 0 ;
12048 int res2 = 0 ;
12049 PyObject *swig_obj[2] ;
12050
12051 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
12052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12053 if (!SWIG_IsOK(res1)) {
12054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12055 }
12056 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12057 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12058 if (!SWIG_IsOK(res2)) {
12059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12060 }
12061 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12062 if (arg1) (arg1)->bitmap = *arg2;
12063
12064 resultobj = SWIG_Py_Void();
12065 return resultobj;
12066 fail:
12067 return NULL;
12068 }
12069
12070
12071 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12072 PyObject *resultobj = 0;
12073 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12074 wxBitmap *result = 0 ;
12075 void *argp1 = 0 ;
12076 int res1 = 0 ;
12077 PyObject *swig_obj[1] ;
12078
12079 if (!args) SWIG_fail;
12080 swig_obj[0] = args;
12081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12082 if (!SWIG_IsOK(res1)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12084 }
12085 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12086 result = (wxBitmap *)& ((arg1)->bitmap);
12087 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12088 return resultobj;
12089 fail:
12090 return NULL;
12091 }
12092
12093
12094 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12095 PyObject *resultobj = 0;
12096 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12097 wxRect *arg2 = (wxRect *) 0 ;
12098 void *argp1 = 0 ;
12099 int res1 = 0 ;
12100 void *argp2 = 0 ;
12101 int res2 = 0 ;
12102 PyObject *swig_obj[2] ;
12103
12104 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
12105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12106 if (!SWIG_IsOK(res1)) {
12107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12108 }
12109 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12110 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12111 if (!SWIG_IsOK(res2)) {
12112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12113 }
12114 arg2 = reinterpret_cast< wxRect * >(argp2);
12115 if (arg1) (arg1)->rect = *arg2;
12116
12117 resultobj = SWIG_Py_Void();
12118 return resultobj;
12119 fail:
12120 return NULL;
12121 }
12122
12123
12124 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12125 PyObject *resultobj = 0;
12126 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12127 wxRect *result = 0 ;
12128 void *argp1 = 0 ;
12129 int res1 = 0 ;
12130 PyObject *swig_obj[1] ;
12131
12132 if (!args) SWIG_fail;
12133 swig_obj[0] = args;
12134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12135 if (!SWIG_IsOK(res1)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12137 }
12138 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12139 result = (wxRect *)& ((arg1)->rect);
12140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12141 return resultobj;
12142 fail:
12143 return NULL;
12144 }
12145
12146
12147 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12148 PyObject *resultobj = 0;
12149 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12150 bool arg2 ;
12151 void *argp1 = 0 ;
12152 int res1 = 0 ;
12153 bool val2 ;
12154 int ecode2 = 0 ;
12155 PyObject *swig_obj[2] ;
12156
12157 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
12158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12159 if (!SWIG_IsOK(res1)) {
12160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12161 }
12162 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12163 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
12164 if (!SWIG_IsOK(ecode2)) {
12165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
12166 }
12167 arg2 = static_cast< bool >(val2);
12168 if (arg1) (arg1)->active = arg2;
12169
12170 resultobj = SWIG_Py_Void();
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12178 PyObject *resultobj = 0;
12179 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
12180 bool result;
12181 void *argp1 = 0 ;
12182 int res1 = 0 ;
12183 PyObject *swig_obj[1] ;
12184
12185 if (!args) SWIG_fail;
12186 swig_obj[0] = args;
12187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
12190 }
12191 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
12192 result = (bool) ((arg1)->active);
12193 {
12194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12195 }
12196 return resultobj;
12197 fail:
12198 return NULL;
12199 }
12200
12201
12202 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12203 PyObject *obj;
12204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12205 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
12206 return SWIG_Py_Void();
12207 }
12208
12209 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12212 int arg2 ;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 int val2 ;
12216 int ecode2 = 0 ;
12217 PyObject *swig_obj[2] ;
12218
12219 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
12220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12221 if (!SWIG_IsOK(res1)) {
12222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12223 }
12224 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12225 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12226 if (!SWIG_IsOK(ecode2)) {
12227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
12228 }
12229 arg2 = static_cast< int >(val2);
12230 if (arg1) (arg1)->id = arg2;
12231
12232 resultobj = SWIG_Py_Void();
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12240 PyObject *resultobj = 0;
12241 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12242 int result;
12243 void *argp1 = 0 ;
12244 int res1 = 0 ;
12245 PyObject *swig_obj[1] ;
12246
12247 if (!args) SWIG_fail;
12248 swig_obj[0] = args;
12249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12250 if (!SWIG_IsOK(res1)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12252 }
12253 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12254 result = (int) ((arg1)->id);
12255 resultobj = SWIG_From_int(static_cast< int >(result));
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12263 PyObject *resultobj = 0;
12264 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12265 int arg2 ;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 int val2 ;
12269 int ecode2 = 0 ;
12270 PyObject *swig_obj[2] ;
12271
12272 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
12273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12276 }
12277 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12278 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12279 if (!SWIG_IsOK(ecode2)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
12281 }
12282 arg2 = static_cast< int >(val2);
12283 if (arg1) (arg1)->cur_state = arg2;
12284
12285 resultobj = SWIG_Py_Void();
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12293 PyObject *resultobj = 0;
12294 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12295 int result;
12296 void *argp1 = 0 ;
12297 int res1 = 0 ;
12298 PyObject *swig_obj[1] ;
12299
12300 if (!args) SWIG_fail;
12301 swig_obj[0] = args;
12302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12303 if (!SWIG_IsOK(res1)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12305 }
12306 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12307 result = (int) ((arg1)->cur_state);
12308 resultobj = SWIG_From_int(static_cast< int >(result));
12309 return resultobj;
12310 fail:
12311 return NULL;
12312 }
12313
12314
12315 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12316 PyObject *resultobj = 0;
12317 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12318 int arg2 ;
12319 void *argp1 = 0 ;
12320 int res1 = 0 ;
12321 int val2 ;
12322 int ecode2 = 0 ;
12323 PyObject *swig_obj[2] ;
12324
12325 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_location_set",2,2,swig_obj)) SWIG_fail;
12326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12327 if (!SWIG_IsOK(res1)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12329 }
12330 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12331 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
12332 if (!SWIG_IsOK(ecode2)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_location_set" "', expected argument " "2"" of type '" "int""'");
12334 }
12335 arg2 = static_cast< int >(val2);
12336 if (arg1) (arg1)->location = arg2;
12337
12338 resultobj = SWIG_Py_Void();
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_location_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12346 PyObject *resultobj = 0;
12347 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12348 int result;
12349 void *argp1 = 0 ;
12350 int res1 = 0 ;
12351 PyObject *swig_obj[1] ;
12352
12353 if (!args) SWIG_fail;
12354 swig_obj[0] = args;
12355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12356 if (!SWIG_IsOK(res1)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_location_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12358 }
12359 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12360 result = (int) ((arg1)->location);
12361 resultobj = SWIG_From_int(static_cast< int >(result));
12362 return resultobj;
12363 fail:
12364 return NULL;
12365 }
12366
12367
12368 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12369 PyObject *resultobj = 0;
12370 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12371 wxBitmap *arg2 = (wxBitmap *) 0 ;
12372 void *argp1 = 0 ;
12373 int res1 = 0 ;
12374 void *argp2 = 0 ;
12375 int res2 = 0 ;
12376 PyObject *swig_obj[2] ;
12377
12378 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
12379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12380 if (!SWIG_IsOK(res1)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12382 }
12383 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12384 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12385 if (!SWIG_IsOK(res2)) {
12386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12387 }
12388 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12389 if (arg1) (arg1)->bitmap = *arg2;
12390
12391 resultobj = SWIG_Py_Void();
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12399 PyObject *resultobj = 0;
12400 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12401 wxBitmap *result = 0 ;
12402 void *argp1 = 0 ;
12403 int res1 = 0 ;
12404 PyObject *swig_obj[1] ;
12405
12406 if (!args) SWIG_fail;
12407 swig_obj[0] = args;
12408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12409 if (!SWIG_IsOK(res1)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12411 }
12412 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12413 result = (wxBitmap *)& ((arg1)->bitmap);
12414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12415 return resultobj;
12416 fail:
12417 return NULL;
12418 }
12419
12420
12421 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12422 PyObject *resultobj = 0;
12423 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12424 wxBitmap *arg2 = (wxBitmap *) 0 ;
12425 void *argp1 = 0 ;
12426 int res1 = 0 ;
12427 void *argp2 = 0 ;
12428 int res2 = 0 ;
12429 PyObject *swig_obj[2] ;
12430
12431 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_dis_bitmap_set",2,2,swig_obj)) SWIG_fail;
12432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12433 if (!SWIG_IsOK(res1)) {
12434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12435 }
12436 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12437 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
12438 if (!SWIG_IsOK(res2)) {
12439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_dis_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
12440 }
12441 arg2 = reinterpret_cast< wxBitmap * >(argp2);
12442 if (arg1) (arg1)->dis_bitmap = *arg2;
12443
12444 resultobj = SWIG_Py_Void();
12445 return resultobj;
12446 fail:
12447 return NULL;
12448 }
12449
12450
12451 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_dis_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12452 PyObject *resultobj = 0;
12453 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12454 wxBitmap *result = 0 ;
12455 void *argp1 = 0 ;
12456 int res1 = 0 ;
12457 PyObject *swig_obj[1] ;
12458
12459 if (!args) SWIG_fail;
12460 swig_obj[0] = args;
12461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12462 if (!SWIG_IsOK(res1)) {
12463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_dis_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12464 }
12465 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12466 result = (wxBitmap *)& ((arg1)->dis_bitmap);
12467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12475 PyObject *resultobj = 0;
12476 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12477 wxRect *arg2 = (wxRect *) 0 ;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 void *argp2 = 0 ;
12481 int res2 = 0 ;
12482 PyObject *swig_obj[2] ;
12483
12484 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
12485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12486 if (!SWIG_IsOK(res1)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12488 }
12489 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12490 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
12491 if (!SWIG_IsOK(res2)) {
12492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
12493 }
12494 arg2 = reinterpret_cast< wxRect * >(argp2);
12495 if (arg1) (arg1)->rect = *arg2;
12496
12497 resultobj = SWIG_Py_Void();
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12505 PyObject *resultobj = 0;
12506 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
12507 wxRect *result = 0 ;
12508 void *argp1 = 0 ;
12509 int res1 = 0 ;
12510 PyObject *swig_obj[1] ;
12511
12512 if (!args) SWIG_fail;
12513 swig_obj[0] = args;
12514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
12515 if (!SWIG_IsOK(res1)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
12517 }
12518 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
12519 result = (wxRect *)& ((arg1)->rect);
12520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
12521 return resultobj;
12522 fail:
12523 return NULL;
12524 }
12525
12526
12527 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12528 PyObject *obj;
12529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12530 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
12531 return SWIG_Py_Void();
12532 }
12533
12534 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12535 PyObject *resultobj = 0;
12536 wxAuiTabContainer *result = 0 ;
12537
12538 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
12539 {
12540 PyThreadState* __tstate = wxPyBeginAllowThreads();
12541 result = (wxAuiTabContainer *)new wxAuiTabContainer();
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
12546 return resultobj;
12547 fail:
12548 return NULL;
12549 }
12550
12551
12552 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12553 PyObject *resultobj = 0;
12554 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12555 void *argp1 = 0 ;
12556 int res1 = 0 ;
12557 PyObject *swig_obj[1] ;
12558
12559 if (!args) SWIG_fail;
12560 swig_obj[0] = args;
12561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
12562 if (!SWIG_IsOK(res1)) {
12563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12564 }
12565 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 delete arg1;
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 resultobj = SWIG_Py_Void();
12574 return resultobj;
12575 fail:
12576 return NULL;
12577 }
12578
12579
12580 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj = 0;
12582 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12583 wxTabArt *arg2 = (wxTabArt *) 0 ;
12584 void *argp1 = 0 ;
12585 int res1 = 0 ;
12586 void *argp2 = 0 ;
12587 int res2 = 0 ;
12588 PyObject * obj0 = 0 ;
12589 PyObject * obj1 = 0 ;
12590 char * kwnames[] = {
12591 (char *) "self",(char *) "art", NULL
12592 };
12593
12594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
12595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12596 if (!SWIG_IsOK(res1)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12598 }
12599 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12600 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTabArt, 0 | 0 );
12601 if (!SWIG_IsOK(res2)) {
12602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetArtProvider" "', expected argument " "2"" of type '" "wxTabArt *""'");
12603 }
12604 arg2 = reinterpret_cast< wxTabArt * >(argp2);
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 (arg1)->SetArtProvider(arg2);
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 resultobj = SWIG_Py_Void();
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12619 PyObject *resultobj = 0;
12620 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12621 wxTabArt *result = 0 ;
12622 void *argp1 = 0 ;
12623 int res1 = 0 ;
12624 PyObject *swig_obj[1] ;
12625
12626 if (!args) SWIG_fail;
12627 swig_obj[0] = args;
12628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12629 if (!SWIG_IsOK(res1)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12631 }
12632 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxTabArt *)(arg1)->GetArtProvider();
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTabArt, 0 | 0 );
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12649 wxWindow *arg2 = (wxWindow *) 0 ;
12650 wxAuiNotebookPage *arg3 = 0 ;
12651 bool result;
12652 void *argp1 = 0 ;
12653 int res1 = 0 ;
12654 void *argp2 = 0 ;
12655 int res2 = 0 ;
12656 void *argp3 = 0 ;
12657 int res3 = 0 ;
12658 PyObject * obj0 = 0 ;
12659 PyObject * obj1 = 0 ;
12660 PyObject * obj2 = 0 ;
12661 char * kwnames[] = {
12662 (char *) "self",(char *) "page",(char *) "info", NULL
12663 };
12664
12665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12667 if (!SWIG_IsOK(res1)) {
12668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12669 }
12670 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12672 if (!SWIG_IsOK(res2)) {
12673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
12674 }
12675 arg2 = reinterpret_cast< wxWindow * >(argp2);
12676 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
12677 if (!SWIG_IsOK(res3)) {
12678 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
12679 }
12680 if (!argp3) {
12681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
12682 }
12683 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 {
12691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12692 }
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj = 0;
12701 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12702 wxWindow *arg2 = (wxWindow *) 0 ;
12703 wxAuiNotebookPage *arg3 = 0 ;
12704 size_t arg4 ;
12705 bool result;
12706 void *argp1 = 0 ;
12707 int res1 = 0 ;
12708 void *argp2 = 0 ;
12709 int res2 = 0 ;
12710 void *argp3 = 0 ;
12711 int res3 = 0 ;
12712 size_t val4 ;
12713 int ecode4 = 0 ;
12714 PyObject * obj0 = 0 ;
12715 PyObject * obj1 = 0 ;
12716 PyObject * obj2 = 0 ;
12717 PyObject * obj3 = 0 ;
12718 char * kwnames[] = {
12719 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
12720 };
12721
12722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12724 if (!SWIG_IsOK(res1)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12726 }
12727 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12728 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12729 if (!SWIG_IsOK(res2)) {
12730 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
12731 }
12732 arg2 = reinterpret_cast< wxWindow * >(argp2);
12733 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
12734 if (!SWIG_IsOK(res3)) {
12735 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
12736 }
12737 if (!argp3) {
12738 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
12739 }
12740 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
12741 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
12742 if (!SWIG_IsOK(ecode4)) {
12743 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
12744 }
12745 arg4 = static_cast< size_t >(val4);
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 {
12753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12754 }
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj = 0;
12763 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12764 wxWindow *arg2 = (wxWindow *) 0 ;
12765 bool result;
12766 void *argp1 = 0 ;
12767 int res1 = 0 ;
12768 void *argp2 = 0 ;
12769 int res2 = 0 ;
12770 PyObject * obj0 = 0 ;
12771 PyObject * obj1 = 0 ;
12772 char * kwnames[] = {
12773 (char *) "self",(char *) "page", NULL
12774 };
12775
12776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
12777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12778 if (!SWIG_IsOK(res1)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12780 }
12781 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12782 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12783 if (!SWIG_IsOK(res2)) {
12784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
12785 }
12786 arg2 = reinterpret_cast< wxWindow * >(argp2);
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (bool)(arg1)->RemovePage(arg2);
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 {
12794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12795 }
12796 return resultobj;
12797 fail:
12798 return NULL;
12799 }
12800
12801
12802 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
12803 PyObject *resultobj = 0;
12804 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12805 wxWindow *arg2 = (wxWindow *) 0 ;
12806 bool result;
12807 void *argp1 = 0 ;
12808 int res1 = 0 ;
12809 void *argp2 = 0 ;
12810 int res2 = 0 ;
12811
12812 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
12813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12814 if (!SWIG_IsOK(res1)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12816 }
12817 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12818 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12819 if (!SWIG_IsOK(res2)) {
12820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
12821 }
12822 arg2 = reinterpret_cast< wxWindow * >(argp2);
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (bool)(arg1)->SetActivePage(arg2);
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 {
12830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12831 }
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
12839 PyObject *resultobj = 0;
12840 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12841 size_t arg2 ;
12842 bool result;
12843 void *argp1 = 0 ;
12844 int res1 = 0 ;
12845 size_t val2 ;
12846 int ecode2 = 0 ;
12847
12848 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
12849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12850 if (!SWIG_IsOK(res1)) {
12851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12852 }
12853 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12854 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
12855 if (!SWIG_IsOK(ecode2)) {
12856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
12857 }
12858 arg2 = static_cast< size_t >(val2);
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (bool)(arg1)->SetActivePage(arg2);
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 }
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
12875 int argc;
12876 PyObject *argv[3];
12877
12878 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
12879 --argc;
12880 if (argc == 2) {
12881 int _v = 0;
12882 {
12883 void *vptr = 0;
12884 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
12885 _v = SWIG_CheckState(res);
12886 }
12887 if (!_v) goto check_1;
12888 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
12889 }
12890 check_1:
12891
12892 if (argc == 2) {
12893 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
12894 }
12895
12896 fail:
12897 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
12898 return NULL;
12899 }
12900
12901
12902 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12903 PyObject *resultobj = 0;
12904 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12905 void *argp1 = 0 ;
12906 int res1 = 0 ;
12907 PyObject *swig_obj[1] ;
12908
12909 if (!args) SWIG_fail;
12910 swig_obj[0] = args;
12911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12912 if (!SWIG_IsOK(res1)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12914 }
12915 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->SetNoneActive();
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 resultobj = SWIG_Py_Void();
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12930 PyObject *resultobj = 0;
12931 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12932 int result;
12933 void *argp1 = 0 ;
12934 int res1 = 0 ;
12935 PyObject *swig_obj[1] ;
12936
12937 if (!args) SWIG_fail;
12938 swig_obj[0] = args;
12939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12940 if (!SWIG_IsOK(res1)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12942 }
12943 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_From_int(static_cast< int >(result));
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj = 0;
12959 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12960 int arg2 ;
12961 int arg3 ;
12962 wxWindow **arg4 = (wxWindow **) 0 ;
12963 bool result;
12964 void *argp1 = 0 ;
12965 int res1 = 0 ;
12966 int val2 ;
12967 int ecode2 = 0 ;
12968 int val3 ;
12969 int ecode3 = 0 ;
12970 void *argp4 = 0 ;
12971 int res4 = 0 ;
12972 PyObject * obj0 = 0 ;
12973 PyObject * obj1 = 0 ;
12974 PyObject * obj2 = 0 ;
12975 PyObject * obj3 = 0 ;
12976 char * kwnames[] = {
12977 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
12978 };
12979
12980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12982 if (!SWIG_IsOK(res1)) {
12983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12984 }
12985 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12986 ecode2 = SWIG_AsVal_int(obj1, &val2);
12987 if (!SWIG_IsOK(ecode2)) {
12988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
12989 }
12990 arg2 = static_cast< int >(val2);
12991 ecode3 = SWIG_AsVal_int(obj2, &val3);
12992 if (!SWIG_IsOK(ecode3)) {
12993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
12994 }
12995 arg3 = static_cast< int >(val3);
12996 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
12997 if (!SWIG_IsOK(res4)) {
12998 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
12999 }
13000 arg4 = reinterpret_cast< wxWindow ** >(argp4);
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 {
13008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13009 }
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj = 0;
13018 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13019 int arg2 ;
13020 int arg3 ;
13021 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
13022 bool result;
13023 void *argp1 = 0 ;
13024 int res1 = 0 ;
13025 int val2 ;
13026 int ecode2 = 0 ;
13027 int val3 ;
13028 int ecode3 = 0 ;
13029 void *argp4 = 0 ;
13030 int res4 = 0 ;
13031 PyObject * obj0 = 0 ;
13032 PyObject * obj1 = 0 ;
13033 PyObject * obj2 = 0 ;
13034 PyObject * obj3 = 0 ;
13035 char * kwnames[] = {
13036 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
13037 };
13038
13039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13041 if (!SWIG_IsOK(res1)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13043 }
13044 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13045 ecode2 = SWIG_AsVal_int(obj1, &val2);
13046 if (!SWIG_IsOK(ecode2)) {
13047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
13048 }
13049 arg2 = static_cast< int >(val2);
13050 ecode3 = SWIG_AsVal_int(obj2, &val3);
13051 if (!SWIG_IsOK(ecode3)) {
13052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
13053 }
13054 arg3 = static_cast< int >(val3);
13055 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
13056 if (!SWIG_IsOK(res4)) {
13057 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
13058 }
13059 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13068 }
13069 return resultobj;
13070 fail:
13071 return NULL;
13072 }
13073
13074
13075 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj = 0;
13077 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13078 size_t arg2 ;
13079 wxWindow *result = 0 ;
13080 void *argp1 = 0 ;
13081 int res1 = 0 ;
13082 size_t val2 ;
13083 int ecode2 = 0 ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char * kwnames[] = {
13087 (char *) "self",(char *) "idx", NULL
13088 };
13089
13090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
13091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13092 if (!SWIG_IsOK(res1)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13094 }
13095 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13096 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13097 if (!SWIG_IsOK(ecode2)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
13099 }
13100 arg2 = static_cast< size_t >(val2);
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
13104 wxPyEndAllowThreads(__tstate);
13105 if (PyErr_Occurred()) SWIG_fail;
13106 }
13107 {
13108 resultobj = wxPyMake_wxObject(result, 0);
13109 }
13110 return resultobj;
13111 fail:
13112 return NULL;
13113 }
13114
13115
13116 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj = 0;
13118 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13119 wxWindow *arg2 = (wxWindow *) 0 ;
13120 int result;
13121 void *argp1 = 0 ;
13122 int res1 = 0 ;
13123 void *argp2 = 0 ;
13124 int res2 = 0 ;
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 char * kwnames[] = {
13128 (char *) "self",(char *) "page", NULL
13129 };
13130
13131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13133 if (!SWIG_IsOK(res1)) {
13134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13135 }
13136 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13138 if (!SWIG_IsOK(res2)) {
13139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13140 }
13141 arg2 = reinterpret_cast< wxWindow * >(argp2);
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 resultobj = SWIG_From_int(static_cast< int >(result));
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13156 PyObject *resultobj = 0;
13157 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13158 size_t result;
13159 void *argp1 = 0 ;
13160 int res1 = 0 ;
13161 PyObject *swig_obj[1] ;
13162
13163 if (!args) SWIG_fail;
13164 swig_obj[0] = args;
13165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13166 if (!SWIG_IsOK(res1)) {
13167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13168 }
13169 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13170 {
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13177 return resultobj;
13178 fail:
13179 return NULL;
13180 }
13181
13182
13183 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13186 size_t arg2 ;
13187 wxAuiNotebookPage *result = 0 ;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 size_t val2 ;
13191 int ecode2 = 0 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "self",(char *) "idx", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13202 }
13203 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13204 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13205 if (!SWIG_IsOK(ecode2)) {
13206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
13207 }
13208 arg2 = static_cast< size_t >(val2);
13209 {
13210 PyThreadState* __tstate = wxPyBeginAllowThreads();
13211 {
13212 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
13213 result = (wxAuiNotebookPage *) &_result_ref;
13214 }
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *resultobj = 0;
13227 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13228 wxAuiNotebookPageArray *result = 0 ;
13229 void *argp1 = 0 ;
13230 int res1 = 0 ;
13231 PyObject *swig_obj[1] ;
13232
13233 if (!args) SWIG_fail;
13234 swig_obj[0] = args;
13235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13236 if (!SWIG_IsOK(res1)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13238 }
13239 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 {
13243 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
13244 result = (wxAuiNotebookPageArray *) &_result_ref;
13245 }
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj = 0;
13258 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13259 wxFont *arg2 = 0 ;
13260 void *argp1 = 0 ;
13261 int res1 = 0 ;
13262 void *argp2 = 0 ;
13263 int res2 = 0 ;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char * kwnames[] = {
13267 (char *) "self",(char *) "normal_font", NULL
13268 };
13269
13270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
13271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13272 if (!SWIG_IsOK(res1)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13274 }
13275 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13276 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
13277 if (!SWIG_IsOK(res2)) {
13278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13279 }
13280 if (!argp2) {
13281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13282 }
13283 arg2 = reinterpret_cast< wxFont * >(argp2);
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 (arg1)->SetNormalFont((wxFont const &)*arg2);
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 resultobj = SWIG_Py_Void();
13291 return resultobj;
13292 fail:
13293 return NULL;
13294 }
13295
13296
13297 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13298 PyObject *resultobj = 0;
13299 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13300 wxFont *arg2 = 0 ;
13301 void *argp1 = 0 ;
13302 int res1 = 0 ;
13303 void *argp2 = 0 ;
13304 int res2 = 0 ;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 char * kwnames[] = {
13308 (char *) "self",(char *) "selected_font", NULL
13309 };
13310
13311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
13312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13313 if (!SWIG_IsOK(res1)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13315 }
13316 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13317 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
13318 if (!SWIG_IsOK(res2)) {
13319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13320 }
13321 if (!argp2) {
13322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13323 }
13324 arg2 = reinterpret_cast< wxFont * >(argp2);
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 (arg1)->SetSelectedFont((wxFont const &)*arg2);
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 resultobj = SWIG_Py_Void();
13332 return resultobj;
13333 fail:
13334 return NULL;
13335 }
13336
13337
13338 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj = 0;
13340 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13341 wxFont *arg2 = 0 ;
13342 void *argp1 = 0 ;
13343 int res1 = 0 ;
13344 void *argp2 = 0 ;
13345 int res2 = 0 ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 char * kwnames[] = {
13349 (char *) "self",(char *) "measuring_font", NULL
13350 };
13351
13352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
13353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13354 if (!SWIG_IsOK(res1)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13356 }
13357 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13358 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
13359 if (!SWIG_IsOK(res2)) {
13360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13361 }
13362 if (!argp2) {
13363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
13364 }
13365 arg2 = reinterpret_cast< wxFont * >(argp2);
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 resultobj = SWIG_Py_Void();
13373 return resultobj;
13374 fail:
13375 return NULL;
13376 }
13377
13378
13379 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13380 PyObject *resultobj = 0;
13381 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13382 void *argp1 = 0 ;
13383 int res1 = 0 ;
13384 PyObject *swig_obj[1] ;
13385
13386 if (!args) SWIG_fail;
13387 swig_obj[0] = args;
13388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13389 if (!SWIG_IsOK(res1)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13391 }
13392 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 (arg1)->DoShowHide();
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = SWIG_Py_Void();
13400 return resultobj;
13401 fail:
13402 return NULL;
13403 }
13404
13405
13406 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj = 0;
13408 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13409 wxRect *arg2 = 0 ;
13410 void *argp1 = 0 ;
13411 int res1 = 0 ;
13412 wxRect temp2 ;
13413 PyObject * obj0 = 0 ;
13414 PyObject * obj1 = 0 ;
13415 char * kwnames[] = {
13416 (char *) "self",(char *) "rect", NULL
13417 };
13418
13419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
13420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13421 if (!SWIG_IsOK(res1)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13423 }
13424 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13425 {
13426 arg2 = &temp2;
13427 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13428 }
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->SetRect((wxRect const &)*arg2);
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 resultobj = SWIG_Py_Void();
13436 return resultobj;
13437 fail:
13438 return NULL;
13439 }
13440
13441
13442 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj = 0;
13444 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13445 int arg2 ;
13446 int arg3 ;
13447 wxBitmap const &arg4_defvalue = wxNullBitmap ;
13448 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
13449 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13450 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13451 void *argp1 = 0 ;
13452 int res1 = 0 ;
13453 int val2 ;
13454 int ecode2 = 0 ;
13455 int val3 ;
13456 int ecode3 = 0 ;
13457 void *argp4 = 0 ;
13458 int res4 = 0 ;
13459 void *argp5 = 0 ;
13460 int res5 = 0 ;
13461 PyObject * obj0 = 0 ;
13462 PyObject * obj1 = 0 ;
13463 PyObject * obj2 = 0 ;
13464 PyObject * obj3 = 0 ;
13465 PyObject * obj4 = 0 ;
13466 char * kwnames[] = {
13467 (char *) "self",(char *) "id",(char *) "location",(char *) "normal_bitmap",(char *) "disabled_bitmap", NULL
13468 };
13469
13470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
13471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13474 }
13475 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13476 ecode2 = SWIG_AsVal_int(obj1, &val2);
13477 if (!SWIG_IsOK(ecode2)) {
13478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
13479 }
13480 arg2 = static_cast< int >(val2);
13481 ecode3 = SWIG_AsVal_int(obj2, &val3);
13482 if (!SWIG_IsOK(ecode3)) {
13483 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "int""'");
13484 }
13485 arg3 = static_cast< int >(val3);
13486 if (obj3) {
13487 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
13488 if (!SWIG_IsOK(res4)) {
13489 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
13490 }
13491 if (!argp4) {
13492 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "4"" of type '" "wxBitmap const &""'");
13493 }
13494 arg4 = reinterpret_cast< wxBitmap * >(argp4);
13495 }
13496 if (obj4) {
13497 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
13498 if (!SWIG_IsOK(res5)) {
13499 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13500 }
13501 if (!argp5) {
13502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13503 }
13504 arg5 = reinterpret_cast< wxBitmap * >(argp5);
13505 }
13506 {
13507 PyThreadState* __tstate = wxPyBeginAllowThreads();
13508 (arg1)->AddButton(arg2,arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5);
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_Py_Void();
13513 return resultobj;
13514 fail:
13515 return NULL;
13516 }
13517
13518
13519 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13520 PyObject *resultobj = 0;
13521 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13522 size_t result;
13523 void *argp1 = 0 ;
13524 int res1 = 0 ;
13525 PyObject *swig_obj[1] ;
13526
13527 if (!args) SWIG_fail;
13528 swig_obj[0] = args;
13529 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13530 if (!SWIG_IsOK(res1)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
13532 }
13533 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (size_t)((wxAuiTabContainer const *)arg1)->GetTabOffset();
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13541 return resultobj;
13542 fail:
13543 return NULL;
13544 }
13545
13546
13547 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetTabOffset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj = 0;
13549 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
13550 size_t arg2 ;
13551 void *argp1 = 0 ;
13552 int res1 = 0 ;
13553 size_t val2 ;
13554 int ecode2 = 0 ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char * kwnames[] = {
13558 (char *) "self",(char *) "offset", NULL
13559 };
13560
13561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetTabOffset",kwnames,&obj0,&obj1)) SWIG_fail;
13562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
13563 if (!SWIG_IsOK(res1)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
13565 }
13566 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
13567 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13568 if (!SWIG_IsOK(ecode2)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetTabOffset" "', expected argument " "2"" of type '" "size_t""'");
13570 }
13571 arg2 = static_cast< size_t >(val2);
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 (arg1)->SetTabOffset(arg2);
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 resultobj = SWIG_Py_Void();
13579 return resultobj;
13580 fail:
13581 return NULL;
13582 }
13583
13584
13585 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13586 PyObject *obj;
13587 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13588 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
13589 return SWIG_Py_Void();
13590 }
13591
13592 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13593 return SWIG_Python_InitShadowInstance(args);
13594 }
13595
13596 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj = 0;
13598 wxWindow *arg1 = (wxWindow *) 0 ;
13599 int arg2 = (int) wxID_ANY ;
13600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13602 wxSize const &arg4_defvalue = wxDefaultSize ;
13603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13604 long arg5 = (long) 0 ;
13605 wxAuiTabCtrl *result = 0 ;
13606 void *argp1 = 0 ;
13607 int res1 = 0 ;
13608 int val2 ;
13609 int ecode2 = 0 ;
13610 wxPoint temp3 ;
13611 wxSize temp4 ;
13612 long val5 ;
13613 int ecode5 = 0 ;
13614 PyObject * obj0 = 0 ;
13615 PyObject * obj1 = 0 ;
13616 PyObject * obj2 = 0 ;
13617 PyObject * obj3 = 0 ;
13618 PyObject * obj4 = 0 ;
13619 char * kwnames[] = {
13620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
13621 };
13622
13623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
13624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13625 if (!SWIG_IsOK(res1)) {
13626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
13627 }
13628 arg1 = reinterpret_cast< wxWindow * >(argp1);
13629 if (obj1) {
13630 ecode2 = SWIG_AsVal_int(obj1, &val2);
13631 if (!SWIG_IsOK(ecode2)) {
13632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
13633 }
13634 arg2 = static_cast< int >(val2);
13635 }
13636 if (obj2) {
13637 {
13638 arg3 = &temp3;
13639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13640 }
13641 }
13642 if (obj3) {
13643 {
13644 arg4 = &temp4;
13645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13646 }
13647 }
13648 if (obj4) {
13649 ecode5 = SWIG_AsVal_long(obj4, &val5);
13650 if (!SWIG_IsOK(ecode5)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
13652 }
13653 arg5 = static_cast< long >(val5);
13654 }
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13669 PyObject *obj;
13670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13671 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
13672 return SWIG_Py_Void();
13673 }
13674
13675 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13676 return SWIG_Python_InitShadowInstance(args);
13677 }
13678
13679 SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13680 PyObject *resultobj = 0;
13681 wxAuiMultiNotebook *result = 0 ;
13682
13683 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail;
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook();
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 );
13691 return resultobj;
13692 fail:
13693 return NULL;
13694 }
13695
13696
13697 SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj = 0;
13699 wxWindow *arg1 = (wxWindow *) 0 ;
13700 int arg2 = (int) wxID_ANY ;
13701 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13702 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13703 wxSize const &arg4_defvalue = wxDefaultSize ;
13704 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13705 long arg5 = (long) 0 ;
13706 wxAuiMultiNotebook *result = 0 ;
13707 void *argp1 = 0 ;
13708 int res1 = 0 ;
13709 int val2 ;
13710 int ecode2 = 0 ;
13711 wxPoint temp3 ;
13712 wxSize temp4 ;
13713 long val5 ;
13714 int ecode5 = 0 ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 PyObject * obj2 = 0 ;
13718 PyObject * obj3 = 0 ;
13719 PyObject * obj4 = 0 ;
13720 char * kwnames[] = {
13721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
13722 };
13723
13724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
13725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13726 if (!SWIG_IsOK(res1)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
13728 }
13729 arg1 = reinterpret_cast< wxWindow * >(argp1);
13730 if (obj1) {
13731 ecode2 = SWIG_AsVal_int(obj1, &val2);
13732 if (!SWIG_IsOK(ecode2)) {
13733 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'");
13734 }
13735 arg2 = static_cast< int >(val2);
13736 }
13737 if (obj2) {
13738 {
13739 arg3 = &temp3;
13740 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13741 }
13742 }
13743 if (obj3) {
13744 {
13745 arg4 = &temp4;
13746 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13747 }
13748 }
13749 if (obj4) {
13750 ecode5 = SWIG_AsVal_long(obj4, &val5);
13751 if (!SWIG_IsOK(ecode5)) {
13752 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'");
13753 }
13754 arg5 = static_cast< long >(val5);
13755 }
13756 {
13757 PyThreadState* __tstate = wxPyBeginAllowThreads();
13758 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 );
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj = 0;
13771 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13772 wxWindow *arg2 = (wxWindow *) 0 ;
13773 int arg3 = (int) wxID_ANY ;
13774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13776 wxSize const &arg5_defvalue = wxDefaultSize ;
13777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13778 long arg6 = (long) 0 ;
13779 bool result;
13780 void *argp1 = 0 ;
13781 int res1 = 0 ;
13782 void *argp2 = 0 ;
13783 int res2 = 0 ;
13784 int val3 ;
13785 int ecode3 = 0 ;
13786 wxPoint temp4 ;
13787 wxSize temp5 ;
13788 long val6 ;
13789 int ecode6 = 0 ;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 PyObject * obj3 = 0 ;
13794 PyObject * obj4 = 0 ;
13795 PyObject * obj5 = 0 ;
13796 char * kwnames[] = {
13797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
13798 };
13799
13800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13802 if (!SWIG_IsOK(res1)) {
13803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13804 }
13805 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13806 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13807 if (!SWIG_IsOK(res2)) {
13808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13809 }
13810 arg2 = reinterpret_cast< wxWindow * >(argp2);
13811 if (obj2) {
13812 ecode3 = SWIG_AsVal_int(obj2, &val3);
13813 if (!SWIG_IsOK(ecode3)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
13815 }
13816 arg3 = static_cast< int >(val3);
13817 }
13818 if (obj3) {
13819 {
13820 arg4 = &temp4;
13821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13822 }
13823 }
13824 if (obj4) {
13825 {
13826 arg5 = &temp5;
13827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13828 }
13829 }
13830 if (obj5) {
13831 ecode6 = SWIG_AsVal_long(obj5, &val6);
13832 if (!SWIG_IsOK(ecode6)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
13834 }
13835 arg6 = static_cast< long >(val6);
13836 }
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 {
13844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13845 }
13846 return resultobj;
13847 fail:
13848 return NULL;
13849 }
13850
13851
13852 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13853 PyObject *resultobj = 0;
13854 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13855 wxWindow *arg2 = (wxWindow *) 0 ;
13856 wxString *arg3 = 0 ;
13857 bool arg4 = (bool) false ;
13858 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13859 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13860 bool result;
13861 void *argp1 = 0 ;
13862 int res1 = 0 ;
13863 void *argp2 = 0 ;
13864 int res2 = 0 ;
13865 bool temp3 = false ;
13866 bool val4 ;
13867 int ecode4 = 0 ;
13868 void *argp5 = 0 ;
13869 int res5 = 0 ;
13870 PyObject * obj0 = 0 ;
13871 PyObject * obj1 = 0 ;
13872 PyObject * obj2 = 0 ;
13873 PyObject * obj3 = 0 ;
13874 PyObject * obj4 = 0 ;
13875 char * kwnames[] = {
13876 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
13877 };
13878
13879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
13880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13881 if (!SWIG_IsOK(res1)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13883 }
13884 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13885 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13886 if (!SWIG_IsOK(res2)) {
13887 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
13888 }
13889 arg2 = reinterpret_cast< wxWindow * >(argp2);
13890 {
13891 arg3 = wxString_in_helper(obj2);
13892 if (arg3 == NULL) SWIG_fail;
13893 temp3 = true;
13894 }
13895 if (obj3) {
13896 ecode4 = SWIG_AsVal_bool(obj3, &val4);
13897 if (!SWIG_IsOK(ecode4)) {
13898 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
13899 }
13900 arg4 = static_cast< bool >(val4);
13901 }
13902 if (obj4) {
13903 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
13904 if (!SWIG_IsOK(res5)) {
13905 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13906 }
13907 if (!argp5) {
13908 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
13909 }
13910 arg5 = reinterpret_cast< wxBitmap * >(argp5);
13911 }
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13920 }
13921 {
13922 if (temp3)
13923 delete arg3;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp3)
13929 delete arg3;
13930 }
13931 return NULL;
13932 }
13933
13934
13935 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj = 0;
13937 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13938 size_t arg2 ;
13939 wxWindow *arg3 = (wxWindow *) 0 ;
13940 wxString *arg4 = 0 ;
13941 bool arg5 = (bool) false ;
13942 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13943 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13944 bool result;
13945 void *argp1 = 0 ;
13946 int res1 = 0 ;
13947 size_t val2 ;
13948 int ecode2 = 0 ;
13949 void *argp3 = 0 ;
13950 int res3 = 0 ;
13951 bool temp4 = false ;
13952 bool val5 ;
13953 int ecode5 = 0 ;
13954 void *argp6 = 0 ;
13955 int res6 = 0 ;
13956 PyObject * obj0 = 0 ;
13957 PyObject * obj1 = 0 ;
13958 PyObject * obj2 = 0 ;
13959 PyObject * obj3 = 0 ;
13960 PyObject * obj4 = 0 ;
13961 PyObject * obj5 = 0 ;
13962 char * kwnames[] = {
13963 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
13964 };
13965
13966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13968 if (!SWIG_IsOK(res1)) {
13969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13970 }
13971 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13972 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13973 if (!SWIG_IsOK(ecode2)) {
13974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
13975 }
13976 arg2 = static_cast< size_t >(val2);
13977 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13978 if (!SWIG_IsOK(res3)) {
13979 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
13980 }
13981 arg3 = reinterpret_cast< wxWindow * >(argp3);
13982 {
13983 arg4 = wxString_in_helper(obj3);
13984 if (arg4 == NULL) SWIG_fail;
13985 temp4 = true;
13986 }
13987 if (obj4) {
13988 ecode5 = SWIG_AsVal_bool(obj4, &val5);
13989 if (!SWIG_IsOK(ecode5)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
13991 }
13992 arg5 = static_cast< bool >(val5);
13993 }
13994 if (obj5) {
13995 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
13996 if (!SWIG_IsOK(res6)) {
13997 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
13998 }
13999 if (!argp6) {
14000 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
14001 }
14002 arg6 = reinterpret_cast< wxBitmap * >(argp6);
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 {
14011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14012 }
14013 {
14014 if (temp4)
14015 delete arg4;
14016 }
14017 return resultobj;
14018 fail:
14019 {
14020 if (temp4)
14021 delete arg4;
14022 }
14023 return NULL;
14024 }
14025
14026
14027 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14028 PyObject *resultobj = 0;
14029 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14030 size_t arg2 ;
14031 bool result;
14032 void *argp1 = 0 ;
14033 int res1 = 0 ;
14034 size_t val2 ;
14035 int ecode2 = 0 ;
14036 PyObject * obj0 = 0 ;
14037 PyObject * obj1 = 0 ;
14038 char * kwnames[] = {
14039 (char *) "self",(char *) "page", NULL
14040 };
14041
14042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
14043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14044 if (!SWIG_IsOK(res1)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14046 }
14047 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14048 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14049 if (!SWIG_IsOK(ecode2)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
14051 }
14052 arg2 = static_cast< size_t >(val2);
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = (bool)(arg1)->DeletePage(arg2);
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 {
14060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14061 }
14062 return resultobj;
14063 fail:
14064 return NULL;
14065 }
14066
14067
14068 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj = 0;
14070 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14071 size_t arg2 ;
14072 bool result;
14073 void *argp1 = 0 ;
14074 int res1 = 0 ;
14075 size_t val2 ;
14076 int ecode2 = 0 ;
14077 PyObject * obj0 = 0 ;
14078 PyObject * obj1 = 0 ;
14079 char * kwnames[] = {
14080 (char *) "self",(char *) "page", NULL
14081 };
14082
14083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
14084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14085 if (!SWIG_IsOK(res1)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14087 }
14088 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14089 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14090 if (!SWIG_IsOK(ecode2)) {
14091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
14092 }
14093 arg2 = static_cast< size_t >(val2);
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (bool)(arg1)->RemovePage(arg2);
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
14103 return resultobj;
14104 fail:
14105 return NULL;
14106 }
14107
14108
14109 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14110 PyObject *resultobj = 0;
14111 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14112 size_t arg2 ;
14113 wxString *arg3 = 0 ;
14114 bool result;
14115 void *argp1 = 0 ;
14116 int res1 = 0 ;
14117 size_t val2 ;
14118 int ecode2 = 0 ;
14119 bool temp3 = false ;
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
14122 PyObject * obj2 = 0 ;
14123 char * kwnames[] = {
14124 (char *) "self",(char *) "page",(char *) "text", NULL
14125 };
14126
14127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14129 if (!SWIG_IsOK(res1)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14131 }
14132 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14133 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14134 if (!SWIG_IsOK(ecode2)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
14136 }
14137 arg2 = static_cast< size_t >(val2);
14138 {
14139 arg3 = wxString_in_helper(obj2);
14140 if (arg3 == NULL) SWIG_fail;
14141 temp3 = true;
14142 }
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14151 }
14152 {
14153 if (temp3)
14154 delete arg3;
14155 }
14156 return resultobj;
14157 fail:
14158 {
14159 if (temp3)
14160 delete arg3;
14161 }
14162 return NULL;
14163 }
14164
14165
14166 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14167 PyObject *resultobj = 0;
14168 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14169 size_t arg2 ;
14170 size_t result;
14171 void *argp1 = 0 ;
14172 int res1 = 0 ;
14173 size_t val2 ;
14174 int ecode2 = 0 ;
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 char * kwnames[] = {
14178 (char *) "self",(char *) "new_page", NULL
14179 };
14180
14181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14183 if (!SWIG_IsOK(res1)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14185 }
14186 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14187 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14188 if (!SWIG_IsOK(ecode2)) {
14189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
14190 }
14191 arg2 = static_cast< size_t >(val2);
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (size_t)(arg1)->SetSelection(arg2);
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14199 return resultobj;
14200 fail:
14201 return NULL;
14202 }
14203
14204
14205 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14206 PyObject *resultobj = 0;
14207 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14208 int result;
14209 void *argp1 = 0 ;
14210 int res1 = 0 ;
14211 PyObject *swig_obj[1] ;
14212
14213 if (!args) SWIG_fail;
14214 swig_obj[0] = args;
14215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14216 if (!SWIG_IsOK(res1)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
14218 }
14219 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection();
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 resultobj = SWIG_From_int(static_cast< int >(result));
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14234 PyObject *resultobj = 0;
14235 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14236 size_t result;
14237 void *argp1 = 0 ;
14238 int res1 = 0 ;
14239 PyObject *swig_obj[1] ;
14240
14241 if (!args) SWIG_fail;
14242 swig_obj[0] = args;
14243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14244 if (!SWIG_IsOK(res1)) {
14245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
14246 }
14247 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount();
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14255 return resultobj;
14256 fail:
14257 return NULL;
14258 }
14259
14260
14261 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14262 PyObject *resultobj = 0;
14263 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14264 size_t arg2 ;
14265 wxWindow *result = 0 ;
14266 void *argp1 = 0 ;
14267 int res1 = 0 ;
14268 size_t val2 ;
14269 int ecode2 = 0 ;
14270 PyObject * obj0 = 0 ;
14271 PyObject * obj1 = 0 ;
14272 char * kwnames[] = {
14273 (char *) "self",(char *) "page_idx", NULL
14274 };
14275
14276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
14277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14278 if (!SWIG_IsOK(res1)) {
14279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
14280 }
14281 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14282 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14283 if (!SWIG_IsOK(ecode2)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
14285 }
14286 arg2 = static_cast< size_t >(val2);
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2);
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 {
14294 resultobj = wxPyMake_wxObject(result, 0);
14295 }
14296 return resultobj;
14297 fail:
14298 return NULL;
14299 }
14300
14301
14302 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14303 PyObject *resultobj = 0;
14304 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14305 wxTabArt *arg2 = (wxTabArt *) 0 ;
14306 void *argp1 = 0 ;
14307 int res1 = 0 ;
14308 void *argp2 = 0 ;
14309 int res2 = 0 ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj1 = 0 ;
14312 char * kwnames[] = {
14313 (char *) "self",(char *) "art", NULL
14314 };
14315
14316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
14317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14318 if (!SWIG_IsOK(res1)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetArtProvider" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14320 }
14321 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTabArt, 0 | 0 );
14323 if (!SWIG_IsOK(res2)) {
14324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_SetArtProvider" "', expected argument " "2"" of type '" "wxTabArt *""'");
14325 }
14326 arg2 = reinterpret_cast< wxTabArt * >(argp2);
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 (arg1)->SetArtProvider(arg2);
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 resultobj = SWIG_Py_Void();
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14341 PyObject *resultobj = 0;
14342 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
14343 wxTabArt *result = 0 ;
14344 void *argp1 = 0 ;
14345 int res1 = 0 ;
14346 PyObject *swig_obj[1] ;
14347
14348 if (!args) SWIG_fail;
14349 swig_obj[0] = args;
14350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
14351 if (!SWIG_IsOK(res1)) {
14352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetArtProvider" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
14353 }
14354 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
14355 {
14356 PyThreadState* __tstate = wxPyBeginAllowThreads();
14357 result = (wxTabArt *)(arg1)->GetArtProvider();
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTabArt, 0 | 0 );
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14369 PyObject *obj;
14370 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14371 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj));
14372 return SWIG_Py_Void();
14373 }
14374
14375 SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 return SWIG_Python_InitShadowInstance(args);
14377 }
14378
14379 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14380 PyObject *obj;
14381 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14382 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
14383 return SWIG_Py_Void();
14384 }
14385
14386 SWIGINTERN PyObject *PyTabArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14387 PyObject *obj;
14388 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14389 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTabArt, SWIG_NewClientData(obj));
14390 return SWIG_Py_Void();
14391 }
14392
14393 static PyMethodDef SwigMethods[] = {
14394 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
14395 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
14396 { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
14397 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
14398 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
14399 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
14400 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
14401 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
14402 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
14403 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
14404 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
14405 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
14406 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
14407 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
14408 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
14409 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
14410 { (char *)"PaneInfo_IsDestroyOnClose", (PyCFunction)_wrap_PaneInfo_IsDestroyOnClose, METH_O, NULL},
14411 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
14412 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
14413 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
14414 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
14415 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
14416 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
14417 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
14418 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
14419 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
14420 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
14421 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
14422 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
14423 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
14424 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
14425 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
14426 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
14427 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
14428 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
14429 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
14430 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
14431 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
14432 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
14433 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
14434 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
14435 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
14436 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
14437 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
14438 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
14439 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
14440 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
14441 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
14442 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
14443 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
14444 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14445 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
14446 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
14447 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
14448 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
14449 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
14450 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
14451 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
14452 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
14453 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
14454 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
14455 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
14456 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
14457 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
14458 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
14459 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
14460 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
14461 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
14462 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
14463 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
14464 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
14465 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
14466 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
14467 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
14468 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
14469 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
14470 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
14471 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
14472 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
14473 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
14474 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
14475 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
14476 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
14477 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
14478 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
14479 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
14480 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
14481 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
14482 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
14483 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
14484 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
14485 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
14486 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
14487 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
14488 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
14489 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
14490 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
14491 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
14492 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
14493 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
14494 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
14495 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
14496 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
14497 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
14498 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
14499 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
14500 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
14501 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
14502 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
14503 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
14504 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
14505 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
14506 { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14507 { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
14508 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
14509 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
14510 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
14511 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
14512 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
14513 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
14514 { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
14515 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
14516 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
14517 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
14518 { (char *)"FrameManager_ClosePane", (PyCFunction) _wrap_FrameManager_ClosePane, METH_VARARGS | METH_KEYWORDS, NULL},
14519 { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14520 { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
14521 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
14522 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
14523 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
14524 { (char *)"FrameManager_CreateFloatingFrame", (PyCFunction) _wrap_FrameManager_CreateFloatingFrame, METH_VARARGS | METH_KEYWORDS, NULL},
14525 { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
14526 { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
14527 { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
14528 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
14529 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
14530 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
14531 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
14532 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14533 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
14534 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
14535 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
14536 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
14537 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
14538 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
14539 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
14540 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
14541 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
14542 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
14543 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
14544 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
14545 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
14546 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
14547 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
14548 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
14549 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
14550 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
14551 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
14552 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
14553 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
14554 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
14555 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
14556 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
14557 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
14558 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
14559 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
14560 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
14561 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
14562 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
14563 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
14564 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
14565 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
14566 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
14567 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
14568 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
14569 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
14570 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
14571 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
14572 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
14573 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
14574 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
14575 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
14576 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
14577 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
14578 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
14579 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
14580 { (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL},
14581 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
14582 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
14583 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
14584 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
14585 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
14586 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
14587 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
14588 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
14589 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
14590 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
14591 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
14592 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
14593 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
14594 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
14595 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
14596 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
14597 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
14598 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
14599 { (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL},
14600 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
14601 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
14602 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
14603 { (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL},
14604 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
14605 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
14606 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
14607 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
14608 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
14609 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
14610 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
14611 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
14612 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
14613 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
14614 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
14615 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
14616 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
14617 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
14618 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
14619 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
14620 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
14621 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
14622 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
14623 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
14624 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
14625 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
14626 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14627 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
14628 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
14629 { (char *)"delete_TabArt", (PyCFunction)_wrap_delete_TabArt, METH_O, NULL},
14630 { (char *)"TabArt_SetNormalFont", (PyCFunction) _wrap_TabArt_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
14631 { (char *)"TabArt_SetSelectedFont", (PyCFunction) _wrap_TabArt_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
14632 { (char *)"TabArt_SetMeasuringFont", (PyCFunction) _wrap_TabArt_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
14633 { (char *)"TabArt_DrawBackground", (PyCFunction) _wrap_TabArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
14634 { (char *)"TabArt_DrawTab", (PyCFunction) _wrap_TabArt_DrawTab, METH_VARARGS | METH_KEYWORDS, NULL},
14635 { (char *)"TabArt_DrawButton", (PyCFunction) _wrap_TabArt_DrawButton, METH_VARARGS | METH_KEYWORDS, NULL},
14636 { (char *)"TabArt_GetTabSize", (PyCFunction) _wrap_TabArt_GetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
14637 { (char *)"TabArt_GetBestTabCtrlSize", (PyCFunction) _wrap_TabArt_GetBestTabCtrlSize, METH_VARARGS | METH_KEYWORDS, NULL},
14638 { (char *)"TabArt_swigregister", TabArt_swigregister, METH_VARARGS, NULL},
14639 { (char *)"new_DefaultTabArt", (PyCFunction)_wrap_new_DefaultTabArt, METH_NOARGS, NULL},
14640 { (char *)"delete_DefaultTabArt", (PyCFunction)_wrap_delete_DefaultTabArt, METH_O, NULL},
14641 { (char *)"DefaultTabArt_swigregister", DefaultTabArt_swigregister, METH_VARARGS, NULL},
14642 { (char *)"DefaultTabArt_swiginit", DefaultTabArt_swiginit, METH_VARARGS, NULL},
14643 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
14644 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14645 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14646 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
14647 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
14648 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
14649 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
14650 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
14651 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
14652 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
14653 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
14654 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
14655 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
14656 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
14657 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
14658 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
14659 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
14660 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
14661 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
14662 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
14663 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
14664 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
14665 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
14666 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
14667 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
14668 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
14669 { (char *)"AuiTabContainerButton_location_set", _wrap_AuiTabContainerButton_location_set, METH_VARARGS, NULL},
14670 { (char *)"AuiTabContainerButton_location_get", (PyCFunction)_wrap_AuiTabContainerButton_location_get, METH_O, NULL},
14671 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
14672 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
14673 { (char *)"AuiTabContainerButton_dis_bitmap_set", _wrap_AuiTabContainerButton_dis_bitmap_set, METH_VARARGS, NULL},
14674 { (char *)"AuiTabContainerButton_dis_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_dis_bitmap_get, METH_O, NULL},
14675 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
14676 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
14677 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
14678 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
14679 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
14680 { (char *)"AuiTabContainer_SetArtProvider", (PyCFunction) _wrap_AuiTabContainer_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
14681 { (char *)"AuiTabContainer_GetArtProvider", (PyCFunction)_wrap_AuiTabContainer_GetArtProvider, METH_O, NULL},
14682 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
14683 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
14684 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
14685 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
14686 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
14687 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
14688 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
14689 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
14690 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
14691 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
14692 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
14693 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14694 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
14695 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
14696 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
14697 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
14698 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
14699 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
14700 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
14701 { (char *)"AuiTabContainer_GetTabOffset", (PyCFunction)_wrap_AuiTabContainer_GetTabOffset, METH_O, NULL},
14702 { (char *)"AuiTabContainer_SetTabOffset", (PyCFunction) _wrap_AuiTabContainer_SetTabOffset, METH_VARARGS | METH_KEYWORDS, NULL},
14703 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
14704 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
14705 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
14706 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
14707 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
14708 { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL},
14709 { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
14710 { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
14711 { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
14712 { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
14713 { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
14714 { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
14715 { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
14716 { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
14717 { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL},
14718 { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL},
14719 { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
14720 { (char *)"AuiMultiNotebook_SetArtProvider", (PyCFunction) _wrap_AuiMultiNotebook_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
14721 { (char *)"AuiMultiNotebook_GetArtProvider", (PyCFunction)_wrap_AuiMultiNotebook_GetArtProvider, METH_O, NULL},
14722 { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL},
14723 { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL},
14724 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
14725 { (char *)"PyTabArt_swigregister", PyTabArt_swigregister, METH_VARARGS, NULL},
14726 { NULL, NULL, 0, NULL }
14727 };
14728
14729
14730 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14731
14732 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
14733 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
14734 }
14735 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
14736 return (void *)((wxSizer *) ((wxBoxSizer *) x));
14737 }
14738 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
14739 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
14740 }
14741 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
14742 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
14743 }
14744 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
14745 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14746 }
14747 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
14748 return (void *)((wxSizer *) ((wxGridSizer *) x));
14749 }
14750 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
14751 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
14752 }
14753 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
14754 return (void *)((wxSizer *) ((wxPySizer *) x));
14755 }
14756 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
14757 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
14758 }
14759 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
14760 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14761 }
14762 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
14763 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
14764 }
14765 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
14766 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
14767 }
14768 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
14769 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
14770 }
14771 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
14772 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
14773 }
14774 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
14775 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
14776 }
14777 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
14778 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
14779 }
14780 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
14781 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
14782 }
14783 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
14784 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
14785 }
14786 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
14787 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
14788 }
14789 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
14790 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14791 }
14792 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
14793 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
14794 }
14795 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
14796 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
14797 }
14798 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
14799 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14800 }
14801 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
14802 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
14803 }
14804 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
14805 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
14806 }
14807 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
14808 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
14809 }
14810 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
14811 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
14812 }
14813 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
14814 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
14815 }
14816 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
14817 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
14818 }
14819 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
14820 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
14821 }
14822 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
14823 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14824 }
14825 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
14826 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14827 }
14828 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
14829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14830 }
14831 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
14832 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
14833 }
14834 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
14835 return (void *)((wxWindow *) ((wxMenuBar *) x));
14836 }
14837 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
14838 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14839 }
14840 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
14841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14842 }
14843 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
14844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14845 }
14846 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
14847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14848 }
14849 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
14850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14851 }
14852 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
14853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14854 }
14855 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
14856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14857 }
14858 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
14859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14860 }
14861 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
14862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14863 }
14864 static void *_p_wxPanelTo_p_wxWindow(void *x) {
14865 return (void *)((wxWindow *) ((wxPanel *) x));
14866 }
14867 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
14868 return (void *)((wxWindow *) ((wxStatusBar *) x));
14869 }
14870 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
14871 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
14872 }
14873 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
14874 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14875 }
14876 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
14877 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14878 }
14879 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
14880 return (void *)((wxWindow *) ((wxPopupWindow *) x));
14881 }
14882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
14883 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
14884 }
14885 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
14886 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
14887 }
14888 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
14889 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
14890 }
14891 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
14892 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
14893 }
14894 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
14895 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
14896 }
14897 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
14898 return (void *)((wxWindow *) ((wxSashWindow *) x));
14899 }
14900 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
14901 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
14902 }
14903 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
14904 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14905 }
14906 static void *_p_wxControlTo_p_wxWindow(void *x) {
14907 return (void *)((wxWindow *) ((wxControl *) x));
14908 }
14909 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
14910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14911 }
14912 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
14913 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14914 }
14915 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
14916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14917 }
14918 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
14919 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
14920 }
14921 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
14922 return (void *)((wxWindow *) ((wxPyWindow *) x));
14923 }
14924 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
14925 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14926 }
14927 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
14928 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14929 }
14930 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
14931 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14932 }
14933 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
14934 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14935 }
14936 static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) {
14937 return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x));
14938 }
14939 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
14940 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
14941 }
14942 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
14943 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14944 }
14945 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
14946 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
14947 }
14948 static void *_p_wxFrameTo_p_wxWindow(void *x) {
14949 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
14950 }
14951 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
14952 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14953 }
14954 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
14955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14956 }
14957 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
14958 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14959 }
14960 static void *_p_wxDialogTo_p_wxWindow(void *x) {
14961 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
14962 }
14963 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
14964 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14965 }
14966 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
14967 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
14968 }
14969 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
14970 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
14971 }
14972 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
14973 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
14974 }
14975 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
14976 return (void *)((wxWindow **) ((wxMenuBar **) x));
14977 }
14978 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
14979 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
14980 }
14981 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
14982 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
14983 }
14984 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
14985 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
14986 }
14987 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
14988 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
14989 }
14990 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
14991 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
14992 }
14993 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
14994 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
14995 }
14996 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
14997 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
14998 }
14999 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
15000 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
15001 }
15002 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
15003 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
15004 }
15005 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
15006 return (void *)((wxWindow **) ((wxPanel **) x));
15007 }
15008 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
15009 return (void *)((wxWindow **) ((wxStatusBar **) x));
15010 }
15011 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
15012 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
15013 }
15014 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
15015 return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x));
15016 }
15017 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
15018 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
15019 }
15020 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
15021 return (void *)((wxWindow **) ((wxPopupWindow **) x));
15022 }
15023 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
15024 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
15025 }
15026 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
15027 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
15028 }
15029 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
15030 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
15031 }
15032 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
15033 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
15034 }
15035 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
15036 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
15037 }
15038 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
15039 return (void *)((wxWindow **) ((wxSashWindow **) x));
15040 }
15041 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
15042 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
15043 }
15044 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
15045 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
15046 }
15047 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
15048 return (void *)((wxWindow **) ((wxControl **) x));
15049 }
15050 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
15051 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
15052 }
15053 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
15054 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
15055 }
15056 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
15057 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
15058 }
15059 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
15060 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
15061 }
15062 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
15063 return (void *)((wxWindow **) ((wxPyWindow **) x));
15064 }
15065 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
15066 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
15067 }
15068 static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) {
15069 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x));
15070 }
15071 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
15072 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
15073 }
15074 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
15075 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
15076 }
15077 static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) {
15078 return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x));
15079 }
15080 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
15081 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
15082 }
15083 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
15084 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
15085 }
15086 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
15087 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
15088 }
15089 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
15090 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
15091 }
15092 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
15093 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
15094 }
15095 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
15096 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
15097 }
15098 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
15099 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
15100 }
15101 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
15102 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
15103 }
15104 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
15105 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
15106 }
15107 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15108 return (void *)((wxControl *) ((wxControlWithItems *) x));
15109 }
15110 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
15111 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
15112 }
15113 static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) {
15114 return (void *)((wxControl *) ((wxAuiMultiNotebook *) x));
15115 }
15116 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15117 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15118 }
15119 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15120 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15121 }
15122 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15123 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15124 }
15125 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15126 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15127 }
15128 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15129 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15130 }
15131 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15132 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15133 }
15134 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
15135 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15136 }
15137 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
15138 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
15139 }
15140 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15141 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15142 }
15143 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15145 }
15146 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
15147 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
15148 }
15149 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15151 }
15152 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
15153 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
15154 }
15155 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15156 return (void *)((wxEvent *) ((wxPyEvent *) x));
15157 }
15158 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
15159 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
15160 }
15161 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
15162 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
15163 }
15164 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15165 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15166 }
15167 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15169 }
15170 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15171 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15172 }
15173 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15174 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15175 }
15176 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15177 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15178 }
15179 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15180 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15181 }
15182 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15183 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15184 }
15185 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15186 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15187 }
15188 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
15189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
15190 }
15191 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15192 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15193 }
15194 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15195 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15196 }
15197 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
15198 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
15199 }
15200 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15202 }
15203 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15204 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15205 }
15206 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15207 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15208 }
15209 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15210 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15211 }
15212 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15213 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15214 }
15215 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15216 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15217 }
15218 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15219 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15220 }
15221 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15223 }
15224 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
15225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
15226 }
15227 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
15228 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15229 }
15230 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15231 return (void *)((wxEvent *) ((wxShowEvent *) x));
15232 }
15233 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15234 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15235 }
15236 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15238 }
15239 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15241 }
15242 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15243 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15244 }
15245 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15246 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15247 }
15248 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15249 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15250 }
15251 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
15252 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
15253 }
15254 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
15255 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
15256 }
15257 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
15258 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
15259 }
15260 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
15261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15262 }
15263 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
15264 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15265 }
15266 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
15267 return (void *)((wxObject *) ((wxSizerItem *) x));
15268 }
15269 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
15270 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
15271 }
15272 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
15273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
15274 }
15275 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
15276 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
15277 }
15278 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
15279 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
15280 }
15281 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
15282 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
15283 }
15284 static void *_p_wxSizerTo_p_wxObject(void *x) {
15285 return (void *)((wxObject *) ((wxSizer *) x));
15286 }
15287 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
15288 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
15289 }
15290 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
15291 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
15292 }
15293 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
15294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15295 }
15296 static void *_p_wxEventTo_p_wxObject(void *x) {
15297 return (void *)((wxObject *) ((wxEvent *) x));
15298 }
15299 static void *_p_wxFontDataTo_p_wxObject(void *x) {
15300 return (void *)((wxObject *) ((wxFontData *) x));
15301 }
15302 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
15303 return (void *)((wxObject *) ((wxPrintData *) x));
15304 }
15305 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
15306 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15307 }
15308 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15309 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15310 }
15311 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15312 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15313 }
15314 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
15315 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
15316 }
15317 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
15318 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15319 }
15320 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
15321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
15322 }
15323 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
15324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
15325 }
15326 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
15327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
15328 }
15329 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15330 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15331 }
15332 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15333 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15334 }
15335 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15336 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15337 }
15338 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15339 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15340 }
15341 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15342 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15343 }
15344 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15345 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15346 }
15347 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
15348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15349 }
15350 static void *_p_wxControlTo_p_wxObject(void *x) {
15351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15352 }
15353 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15354 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15355 }
15356 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
15357 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
15358 }
15359 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
15360 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
15361 }
15362 static void *_p_wxFSFileTo_p_wxObject(void *x) {
15363 return (void *)((wxObject *) ((wxFSFile *) x));
15364 }
15365 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
15366 return (void *)((wxObject *) ((wxFindReplaceData *) x));
15367 }
15368 static void *_p_wxPySizerTo_p_wxObject(void *x) {
15369 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15370 }
15371 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
15372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15373 }
15374 static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) {
15375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
15376 }
15377 static void *_p_wxColourDataTo_p_wxObject(void *x) {
15378 return (void *)((wxObject *) ((wxColourData *) x));
15379 }
15380 static void *_p_wxPyEventTo_p_wxObject(void *x) {
15381 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15382 }
15383 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15384 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15385 }
15386 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
15387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
15388 }
15389 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
15390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15391 }
15392 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
15393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15394 }
15395 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
15396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15397 }
15398 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
15399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15400 }
15401 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
15402 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15403 }
15404 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
15405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15406 }
15407 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
15408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
15409 }
15410 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
15411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15412 }
15413 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
15414 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15415 }
15416 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
15417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15418 }
15419 static void *_p_wxShowEventTo_p_wxObject(void *x) {
15420 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15421 }
15422 static void *_p_wxPrinterTo_p_wxObject(void *x) {
15423 return (void *)((wxObject *) ((wxPrinter *) x));
15424 }
15425 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15426 return (void *)((wxObject *) ((wxMenuItem *) x));
15427 }
15428 static void *_p_wxDateEventTo_p_wxObject(void *x) {
15429 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
15430 }
15431 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15432 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15433 }
15434 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15435 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15436 }
15437 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15438 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15439 }
15440 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15441 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15442 }
15443 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15444 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15445 }
15446 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15447 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15448 }
15449 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15450 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15451 }
15452 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15453 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15454 }
15455 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15456 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15457 }
15458 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15459 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15460 }
15461 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15462 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15463 }
15464 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15465 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15466 }
15467 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15468 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15469 }
15470 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15471 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15472 }
15473 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15474 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15475 }
15476 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15477 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15478 }
15479 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15480 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15481 }
15482 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
15483 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
15484 }
15485 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15486 return (void *)((wxObject *) ((wxImageHandler *) x));
15487 }
15488 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15489 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15490 }
15491 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15492 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15493 }
15494 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15495 return (void *)((wxObject *) ((wxEvtHandler *) x));
15496 }
15497 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
15498 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
15499 }
15500 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
15501 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
15502 }
15503 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
15504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15505 }
15506 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
15507 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15508 }
15509 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
15510 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
15511 }
15512 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15513 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15514 }
15515 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
15516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15517 }
15518 static void *_p_wxImageTo_p_wxObject(void *x) {
15519 return (void *)((wxObject *) ((wxImage *) x));
15520 }
15521 static void *_p_wxFrameTo_p_wxObject(void *x) {
15522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15523 }
15524 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
15525 return (void *)((wxObject *) ((wxPyPrintout *) x));
15526 }
15527 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15528 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15529 }
15530 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
15531 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
15532 }
15533 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
15534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
15535 }
15536 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
15537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
15538 }
15539 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
15540 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
15541 }
15542 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
15543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15544 }
15545 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
15546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
15547 }
15548 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15550 }
15551 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15552 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15553 }
15554 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15555 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15556 }
15557 static void *_p_wxWindowTo_p_wxObject(void *x) {
15558 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15559 }
15560 static void *_p_wxMenuTo_p_wxObject(void *x) {
15561 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15562 }
15563 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15565 }
15566 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
15567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15568 }
15569 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
15570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
15571 }
15572 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
15573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
15574 }
15575 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
15576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
15577 }
15578 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
15579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
15580 }
15581 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
15582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15583 }
15584 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
15585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
15586 }
15587 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
15588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15589 }
15590 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
15591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15592 }
15593 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
15594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15595 }
15596 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
15597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
15598 }
15599 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
15600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15601 }
15602 static void *_p_wxSashEventTo_p_wxObject(void *x) {
15603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
15604 }
15605 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
15606 return (void *)((wxObject *) ((wxPrintPreview *) x));
15607 }
15608 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
15609 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
15610 }
15611 static void *_p_wxPanelTo_p_wxObject(void *x) {
15612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
15613 }
15614 static void *_p_wxDialogTo_p_wxObject(void *x) {
15615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15616 }
15617 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
15618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15619 }
15620 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
15621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15622 }
15623 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
15624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15625 }
15626 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
15627 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
15628 }
15629 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
15630 return (void *)((wxObject *) ((wxPrintDialog *) x));
15631 }
15632 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15633 return (void *)((wxObject *) ((wxFileSystem *) x));
15634 }
15635 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15636 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15637 }
15638 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15639 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15640 }
15641 static void *_p_wxPyAppTo_p_wxObject(void *x) {
15642 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15643 }
15644 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15645 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15646 }
15647 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15648 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15649 }
15650 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15651 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15652 }
15653 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15654 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15655 }
15656 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15657 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15658 }
15659 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
15660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15661 }
15662 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
15663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15664 }
15665 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15666 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15667 }
15668 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15669 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15670 }
15671 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15673 }
15674 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15676 }
15677 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
15678 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
15679 }
15680 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
15681 return (void *)((wxObject *) ((wxPrintDialogData *) x));
15682 }
15683 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15684 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15685 }
15686 static void *_p_wxValidatorTo_p_wxObject(void *x) {
15687 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15688 }
15689 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
15690 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
15691 }
15692 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
15693 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
15694 }
15695 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
15696 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
15697 }
15698 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15699 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15700 }
15701 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15702 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15703 }
15704 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15705 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15706 }
15707 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15708 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15709 }
15710 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
15711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
15712 }
15713 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
15714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
15715 }
15716 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
15717 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
15718 }
15719 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
15720 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
15721 }
15722 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
15723 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
15724 }
15725 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
15726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
15727 }
15728 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
15729 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
15730 }
15731 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
15732 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
15733 }
15734 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
15735 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
15736 }
15737 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
15738 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
15739 }
15740 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
15741 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
15742 }
15743 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
15744 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
15745 }
15746 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
15747 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
15748 }
15749 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
15750 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
15751 }
15752 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
15753 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
15754 }
15755 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
15756 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
15757 }
15758 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
15759 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
15760 }
15761 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
15762 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
15763 }
15764 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
15765 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
15766 }
15767 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15768 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15769 }
15770 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
15771 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
15772 }
15773 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
15774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
15775 }
15776 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
15777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
15778 }
15779 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
15780 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
15781 }
15782 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15783 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15784 }
15785 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
15786 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
15787 }
15788 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
15789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15790 }
15791 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
15792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
15793 }
15794 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15795 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15796 }
15797 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15798 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15799 }
15800 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
15801 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
15802 }
15803 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
15804 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
15805 }
15806 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
15807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
15808 }
15809 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
15810 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
15811 }
15812 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
15813 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
15814 }
15815 static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) {
15816 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
15817 }
15818 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
15819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
15820 }
15821 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
15822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
15823 }
15824 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
15825 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
15826 }
15827 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
15828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
15829 }
15830 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
15831 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
15832 }
15833 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
15834 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
15835 }
15836 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
15837 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
15838 }
15839 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
15840 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
15841 }
15842 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
15843 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
15844 }
15845 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
15846 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
15847 }
15848 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
15849 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
15850 }
15851 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
15852 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
15853 }
15854 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
15855 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
15856 }
15857 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
15858 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
15859 }
15860 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
15861 return (void *)((wxFrame *) ((wxProgressDialog *) x));
15862 }
15863 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
15864 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
15865 }
15866 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
15867 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
15868 }
15869 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
15870 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
15871 }
15872 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
15873 return (void *)((wxFrame *) ((wxMiniFrame *) x));
15874 }
15875 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
15876 return (void *)((wxFrame *) ((wxSplashScreen *) x));
15877 }
15878 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
15879 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
15880 }
15881 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
15882 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
15883 }
15884 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15885 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15886 }
15887 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
15888 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
15889 }
15890 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
15891 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
15892 }
15893 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15894 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15895 }
15896 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15897 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15898 }
15899 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15900 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15901 }
15902 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15903 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15904 }
15905 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
15906 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
15907 }
15908 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
15909 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
15910 }
15911 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15912 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15913 }
15914 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15915 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15916 }
15917 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
15918 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
15919 }
15920 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15921 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15922 }
15923 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
15924 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
15925 }
15926 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
15927 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
15928 }
15929 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
15930 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
15931 }
15932 static void *_p_wxPyTabArtTo_p_wxDefaultTabArt(void *x) {
15933 return (void *)((wxDefaultTabArt *) ((wxPyTabArt *) x));
15934 }
15935 static void *_p_wxDefaultTabArtTo_p_wxTabArt(void *x) {
15936 return (void *)((wxTabArt *) ((wxDefaultTabArt *) x));
15937 }
15938 static void *_p_wxPyTabArtTo_p_wxTabArt(void *x) {
15939 return (void *)((wxTabArt *) (wxDefaultTabArt *) ((wxPyTabArt *) x));
15940 }
15941 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
15942 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};
15943 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
15944 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
15945 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
15946 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
15947 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
15948 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
15949 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
15950 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
15951 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
15952 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
15953 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
15954 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
15955 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
15956 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
15957 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
15958 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
15959 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
15960 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
15961 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
15962 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
15963 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
15964 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
15965 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
15966 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
15967 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
15968 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
15969 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
15970 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
15971 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
15972 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
15973 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
15974 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
15975 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
15976 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
15977 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
15978 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
15979 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
15980 static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0};
15981 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
15982 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
15983 static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0};
15984 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
15985 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
15986 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
15987 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
15988 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
15989 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
15990 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
15991 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
15992 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
15993 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
15994 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
15995 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
15996 static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0};
15997 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
15998 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
15999 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
16000 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
16001 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
16002 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
16003 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
16004 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
16005 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
16006 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
16007 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
16008 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
16009 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
16010 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
16011 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
16012 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
16013 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
16014 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
16015 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
16016 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
16017 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
16018 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
16019 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
16020 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
16021 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
16022 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
16023 static swig_type_info _swigt__p_wxDefaultTabArt = {"_p_wxDefaultTabArt", "wxDefaultTabArt *", 0, 0, (void*)0, 0};
16024 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
16025 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
16026 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
16027 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
16028 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
16029 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
16030 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
16031 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
16032 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
16033 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
16034 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
16035 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
16036 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
16037 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
16038 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
16039 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
16040 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
16041 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
16042 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
16043 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
16044 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
16045 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
16046 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
16047 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
16048 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
16049 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
16050 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
16051 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
16052 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
16053 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
16054 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
16055 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
16056 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
16057 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
16058 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
16059 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
16060 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
16061 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
16062 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
16063 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
16064 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
16065 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
16066 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
16067 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
16068 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
16069 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
16070 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
16071 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
16072 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
16073 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
16074 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
16075 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
16076 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
16077 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
16078 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
16079 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
16080 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
16081 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
16082 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
16083 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
16084 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
16085 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
16086 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
16087 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
16088 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
16089 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
16090 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
16091 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
16092 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
16093 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
16094 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
16095 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
16096 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
16097 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
16098 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
16099 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
16100 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
16101 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
16102 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
16103 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
16104 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
16105 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
16106 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
16107 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
16108 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
16109 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
16110 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
16111 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
16112 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
16113 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
16114 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
16115 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
16116 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
16117 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
16118 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
16119 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
16120 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
16121 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
16122 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
16123 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
16124 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
16125 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
16126 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
16127 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
16128 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
16129 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
16130 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
16131 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
16132 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
16133 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
16134 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
16135 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
16136 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
16137 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
16138 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
16139 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
16140 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
16141 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
16142 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
16143 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
16144 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
16145 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
16146 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
16147 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
16148 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
16149 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
16150 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
16151 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
16152 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
16153 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
16154 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
16155 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
16156 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
16157 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
16158 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
16159 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
16160 static swig_type_info _swigt__p_wxPyTabArt = {"_p_wxPyTabArt", "wxPyTabArt *", 0, 0, (void*)0, 0};
16161 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
16162 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
16163 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
16164 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
16165 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
16166 static swig_type_info _swigt__p_wxTabArt = {"_p_wxTabArt", "wxTabArt *", 0, 0, (void*)0, 0};
16167 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
16168 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
16169
16170 static swig_type_info *swig_type_initial[] = {
16171 &_swigt__p_char,
16172 &_swigt__p_form_ops_t,
16173 &_swigt__p_int,
16174 &_swigt__p_p_wxAuiMultiNotebook,
16175 &_swigt__p_p_wxAuiTabContainerButton,
16176 &_swigt__p_p_wxAuiTabCtrl,
16177 &_swigt__p_p_wxColourDialog,
16178 &_swigt__p_p_wxControl,
16179 &_swigt__p_p_wxControlWithItems,
16180 &_swigt__p_p_wxDialog,
16181 &_swigt__p_p_wxDirDialog,
16182 &_swigt__p_p_wxFileDialog,
16183 &_swigt__p_p_wxFindReplaceDialog,
16184 &_swigt__p_p_wxFloatingPane,
16185 &_swigt__p_p_wxFontDialog,
16186 &_swigt__p_p_wxFrame,
16187 &_swigt__p_p_wxMDIChildFrame,
16188 &_swigt__p_p_wxMDIClientWindow,
16189 &_swigt__p_p_wxMDIParentFrame,
16190 &_swigt__p_p_wxMenuBar,
16191 &_swigt__p_p_wxMessageDialog,
16192 &_swigt__p_p_wxMiniFrame,
16193 &_swigt__p_p_wxMultiChoiceDialog,
16194 &_swigt__p_p_wxNumberEntryDialog,
16195 &_swigt__p_p_wxPanel,
16196 &_swigt__p_p_wxPasswordEntryDialog,
16197 &_swigt__p_p_wxPopupWindow,
16198 &_swigt__p_p_wxPreviewCanvas,
16199 &_swigt__p_p_wxPreviewControlBar,
16200 &_swigt__p_p_wxPreviewFrame,
16201 &_swigt__p_p_wxProgressDialog,
16202 &_swigt__p_p_wxPyHtmlListBox,
16203 &_swigt__p_p_wxPyPanel,
16204 &_swigt__p_p_wxPyPopupTransientWindow,
16205 &_swigt__p_p_wxPyPreviewControlBar,
16206 &_swigt__p_p_wxPyPreviewFrame,
16207 &_swigt__p_p_wxPyScrolledWindow,
16208 &_swigt__p_p_wxPyVListBox,
16209 &_swigt__p_p_wxPyVScrolledWindow,
16210 &_swigt__p_p_wxPyWindow,
16211 &_swigt__p_p_wxSashLayoutWindow,
16212 &_swigt__p_p_wxSashWindow,
16213 &_swigt__p_p_wxScrolledWindow,
16214 &_swigt__p_p_wxSingleChoiceDialog,
16215 &_swigt__p_p_wxSplashScreen,
16216 &_swigt__p_p_wxSplashScreenWindow,
16217 &_swigt__p_p_wxSplitterWindow,
16218 &_swigt__p_p_wxStatusBar,
16219 &_swigt__p_p_wxTextEntryDialog,
16220 &_swigt__p_p_wxTipWindow,
16221 &_swigt__p_p_wxTopLevelWindow,
16222 &_swigt__p_p_wxWindow,
16223 &_swigt__p_unsigned_char,
16224 &_swigt__p_unsigned_int,
16225 &_swigt__p_unsigned_long,
16226 &_swigt__p_wxANIHandler,
16227 &_swigt__p_wxAcceleratorTable,
16228 &_swigt__p_wxActivateEvent,
16229 &_swigt__p_wxAuiMultiNotebook,
16230 &_swigt__p_wxAuiNotebookEvent,
16231 &_swigt__p_wxAuiNotebookPage,
16232 &_swigt__p_wxAuiNotebookPageArray,
16233 &_swigt__p_wxAuiTabContainer,
16234 &_swigt__p_wxAuiTabContainerButton,
16235 &_swigt__p_wxAuiTabCtrl,
16236 &_swigt__p_wxBMPHandler,
16237 &_swigt__p_wxBitmap,
16238 &_swigt__p_wxBoxSizer,
16239 &_swigt__p_wxCURHandler,
16240 &_swigt__p_wxCalculateLayoutEvent,
16241 &_swigt__p_wxChildFocusEvent,
16242 &_swigt__p_wxClipboardTextEvent,
16243 &_swigt__p_wxCloseEvent,
16244 &_swigt__p_wxColor,
16245 &_swigt__p_wxColour,
16246 &_swigt__p_wxColourData,
16247 &_swigt__p_wxColourDialog,
16248 &_swigt__p_wxCommandEvent,
16249 &_swigt__p_wxContextMenuEvent,
16250 &_swigt__p_wxControl,
16251 &_swigt__p_wxControlWithItems,
16252 &_swigt__p_wxDC,
16253 &_swigt__p_wxDateEvent,
16254 &_swigt__p_wxDefaultDockArt,
16255 &_swigt__p_wxDefaultTabArt,
16256 &_swigt__p_wxDialog,
16257 &_swigt__p_wxDirDialog,
16258 &_swigt__p_wxDisplayChangedEvent,
16259 &_swigt__p_wxDockArt,
16260 &_swigt__p_wxDockInfo,
16261 &_swigt__p_wxDockUIPart,
16262 &_swigt__p_wxDropFilesEvent,
16263 &_swigt__p_wxDuplexMode,
16264 &_swigt__p_wxEraseEvent,
16265 &_swigt__p_wxEvent,
16266 &_swigt__p_wxEvtHandler,
16267 &_swigt__p_wxFSFile,
16268 &_swigt__p_wxFileDialog,
16269 &_swigt__p_wxFileSystem,
16270 &_swigt__p_wxFindDialogEvent,
16271 &_swigt__p_wxFindReplaceData,
16272 &_swigt__p_wxFindReplaceDialog,
16273 &_swigt__p_wxFlexGridSizer,
16274 &_swigt__p_wxFloatingPane,
16275 &_swigt__p_wxFocusEvent,
16276 &_swigt__p_wxFont,
16277 &_swigt__p_wxFontData,
16278 &_swigt__p_wxFontDialog,
16279 &_swigt__p_wxFrame,
16280 &_swigt__p_wxFrameManager,
16281 &_swigt__p_wxFrameManagerEvent,
16282 &_swigt__p_wxGBSizerItem,
16283 &_swigt__p_wxGIFHandler,
16284 &_swigt__p_wxGridBagSizer,
16285 &_swigt__p_wxGridSizer,
16286 &_swigt__p_wxICOHandler,
16287 &_swigt__p_wxIconizeEvent,
16288 &_swigt__p_wxIdleEvent,
16289 &_swigt__p_wxImage,
16290 &_swigt__p_wxImageHandler,
16291 &_swigt__p_wxIndividualLayoutConstraint,
16292 &_swigt__p_wxInitDialogEvent,
16293 &_swigt__p_wxJPEGHandler,
16294 &_swigt__p_wxKeyEvent,
16295 &_swigt__p_wxLayoutAlgorithm,
16296 &_swigt__p_wxLayoutConstraints,
16297 &_swigt__p_wxMDIChildFrame,
16298 &_swigt__p_wxMDIClientWindow,
16299 &_swigt__p_wxMDIParentFrame,
16300 &_swigt__p_wxMaximizeEvent,
16301 &_swigt__p_wxMenu,
16302 &_swigt__p_wxMenuBar,
16303 &_swigt__p_wxMenuEvent,
16304 &_swigt__p_wxMenuItem,
16305 &_swigt__p_wxMessageDialog,
16306 &_swigt__p_wxMiniFrame,
16307 &_swigt__p_wxMouseCaptureChangedEvent,
16308 &_swigt__p_wxMouseCaptureLostEvent,
16309 &_swigt__p_wxMouseEvent,
16310 &_swigt__p_wxMoveEvent,
16311 &_swigt__p_wxMultiChoiceDialog,
16312 &_swigt__p_wxNavigationKeyEvent,
16313 &_swigt__p_wxNcPaintEvent,
16314 &_swigt__p_wxNotifyEvent,
16315 &_swigt__p_wxNumberEntryDialog,
16316 &_swigt__p_wxObject,
16317 &_swigt__p_wxPCXHandler,
16318 &_swigt__p_wxPNGHandler,
16319 &_swigt__p_wxPNMHandler,
16320 &_swigt__p_wxPageSetupDialog,
16321 &_swigt__p_wxPageSetupDialogData,
16322 &_swigt__p_wxPaintEvent,
16323 &_swigt__p_wxPaletteChangedEvent,
16324 &_swigt__p_wxPaneButton,
16325 &_swigt__p_wxPaneButtonArray,
16326 &_swigt__p_wxPaneInfo,
16327 &_swigt__p_wxPaneInfoPtrArray,
16328 &_swigt__p_wxPanel,
16329 &_swigt__p_wxPaperSize,
16330 &_swigt__p_wxPasswordEntryDialog,
16331 &_swigt__p_wxPoint,
16332 &_swigt__p_wxPopupWindow,
16333 &_swigt__p_wxPreviewCanvas,
16334 &_swigt__p_wxPreviewControlBar,
16335 &_swigt__p_wxPreviewFrame,
16336 &_swigt__p_wxPrintData,
16337 &_swigt__p_wxPrintDialog,
16338 &_swigt__p_wxPrintDialogData,
16339 &_swigt__p_wxPrintPreview,
16340 &_swigt__p_wxPrinter,
16341 &_swigt__p_wxProgressDialog,
16342 &_swigt__p_wxPyApp,
16343 &_swigt__p_wxPyCommandEvent,
16344 &_swigt__p_wxPyDockArt,
16345 &_swigt__p_wxPyEvent,
16346 &_swigt__p_wxPyHtmlListBox,
16347 &_swigt__p_wxPyImageHandler,
16348 &_swigt__p_wxPyPanel,
16349 &_swigt__p_wxPyPopupTransientWindow,
16350 &_swigt__p_wxPyPreviewControlBar,
16351 &_swigt__p_wxPyPreviewFrame,
16352 &_swigt__p_wxPyPrintPreview,
16353 &_swigt__p_wxPyPrintout,
16354 &_swigt__p_wxPyScrolledWindow,
16355 &_swigt__p_wxPySizer,
16356 &_swigt__p_wxPyTabArt,
16357 &_swigt__p_wxPyTaskBarIcon,
16358 &_swigt__p_wxPyVListBox,
16359 &_swigt__p_wxPyVScrolledWindow,
16360 &_swigt__p_wxPyValidator,
16361 &_swigt__p_wxPyWindow,
16362 &_swigt__p_wxQueryLayoutInfoEvent,
16363 &_swigt__p_wxQueryNewPaletteEvent,
16364 &_swigt__p_wxRect,
16365 &_swigt__p_wxSashEvent,
16366 &_swigt__p_wxSashLayoutWindow,
16367 &_swigt__p_wxSashWindow,
16368 &_swigt__p_wxScrollEvent,
16369 &_swigt__p_wxScrollWinEvent,
16370 &_swigt__p_wxScrolledWindow,
16371 &_swigt__p_wxSetCursorEvent,
16372 &_swigt__p_wxShowEvent,
16373 &_swigt__p_wxSingleChoiceDialog,
16374 &_swigt__p_wxSize,
16375 &_swigt__p_wxSizeEvent,
16376 &_swigt__p_wxSizer,
16377 &_swigt__p_wxSizerItem,
16378 &_swigt__p_wxSplashScreen,
16379 &_swigt__p_wxSplashScreenWindow,
16380 &_swigt__p_wxSplitterEvent,
16381 &_swigt__p_wxSplitterWindow,
16382 &_swigt__p_wxStaticBoxSizer,
16383 &_swigt__p_wxStatusBar,
16384 &_swigt__p_wxStdDialogButtonSizer,
16385 &_swigt__p_wxString,
16386 &_swigt__p_wxSysColourChangedEvent,
16387 &_swigt__p_wxTIFFHandler,
16388 &_swigt__p_wxTabArt,
16389 &_swigt__p_wxTaskBarIconEvent,
16390 &_swigt__p_wxTextEntryDialog,
16391 &_swigt__p_wxTipWindow,
16392 &_swigt__p_wxTopLevelWindow,
16393 &_swigt__p_wxUpdateUIEvent,
16394 &_swigt__p_wxValidator,
16395 &_swigt__p_wxWindow,
16396 &_swigt__p_wxWindowCreateEvent,
16397 &_swigt__p_wxWindowDestroyEvent,
16398 &_swigt__p_wxXPMHandler,
16399 };
16400
16401 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
16402 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
16403 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
16404 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
16405 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16406 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16407 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16408 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16409 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16410 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16411 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16412 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16413 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16414 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16415 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16416 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16417 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16418 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
16419 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16420 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16421 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16422 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16423 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16424 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16425 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16426 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
16427 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16428 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16429 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16430 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16431 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16432 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16433 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16434 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
16435 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16436 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16437 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16438 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16439 static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
16440 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16441 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16442 static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
16443 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16444 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16445 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
16446 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
16447 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16448 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16449 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16450 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
16451 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16452 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_wxFloatingPane, _p_p_wxFloatingPaneTo_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_wxAuiMultiNotebook, _p_p_wxAuiMultiNotebookTo_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_wxMDIParentFrame, _p_p_wxMDIParentFrameTo_p_p_wxWindow, 0, 0},{0, 0, 0, 0}};
16453 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
16454 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
16455 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
16456 static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
16457 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
16458 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
16459 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
16460 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}};
16461 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
16462 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
16463 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
16464 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
16465 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
16466 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
16467 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
16468 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
16469 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
16470 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
16471 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
16472 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16473 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16474 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
16475 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
16476 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16477 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
16478 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}};
16479 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
16480 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_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
16481 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
16482 static swig_cast_info _swigc__p_wxDefaultDockArt[] = { {&_swigt__p_wxDefaultDockArt, 0, 0, 0}, {&_swigt__p_wxPyDockArt, _p_wxPyDockArtTo_p_wxDefaultDockArt, 0, 0},{0, 0, 0, 0}};
16483 static swig_cast_info _swigc__p_wxDefaultTabArt[] = { {&_swigt__p_wxDefaultTabArt, 0, 0, 0}, {&_swigt__p_wxPyTabArt, _p_wxPyTabArtTo_p_wxDefaultTabArt, 0, 0},{0, 0, 0, 0}};
16484 static swig_cast_info _swigc__p_wxDockArt[] = { {&_swigt__p_wxDockArt, 0, 0, 0}, {&_swigt__p_wxDefaultDockArt, _p_wxDefaultDockArtTo_p_wxDockArt, 0, 0}, {&_swigt__p_wxPyDockArt, _p_wxPyDockArtTo_p_wxDockArt, 0, 0},{0, 0, 0, 0}};
16485 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
16486 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
16487 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
16488 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
16489 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
16490 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
16491 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
16492 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
16493 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
16494 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
16495 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
16496 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
16497 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
16498 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
16499 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16500 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16501 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
16502 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
16503 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
16504 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16505 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
16506 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16507 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16508 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16509 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
16510 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
16511 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
16512 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
16513 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
16514 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16515 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
16516 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
16517 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
16518 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_wxFrameManagerEvent, _p_wxFrameManagerEventTo_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}};
16519 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
16520 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
16521 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
16522 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
16523 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
16524 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16525 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
16526 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16527 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
16528 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
16529 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
16530 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16531 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
16532 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
16533 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
16534 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
16535 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
16536 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16537 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
16538 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16539 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
16540 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
16541 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
16542 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
16543 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
16544 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
16545 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
16546 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16547 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
16548 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
16549 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
16550 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
16551 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
16552 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
16553 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
16554 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16555 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
16556 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
16557 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
16558 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
16559 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
16560 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
16561 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
16562 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
16563 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
16564 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
16565 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
16566 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_wxFloatingPane, _p_wxFloatingPaneTo_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},{0, 0, 0, 0}};
16567 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
16568 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
16569 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxMiniFrame, 0, 0}, {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
16570 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}};
16571 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
16572 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
16573 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
16574 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16575 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
16576 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
16577 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
16578 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
16579 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16580 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
16581 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
16582 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
16583 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
16584 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
16585 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
16586 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
16587 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
16588 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
16589 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
16590 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
16591 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
16592 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
16593 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
16594 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
16595 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
16596 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
16597 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16598 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
16599 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
16600 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
16601 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
16602 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
16603 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
16604 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
16605 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16606 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
16607 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
16608 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
16609 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
16610 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
16611 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
16612 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_wxFrameManagerEvent, _p_wxFrameManagerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_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_wxANIHandler, _p_wxANIHandlerTo_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_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxFloatingPane, _p_wxFloatingPaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrameManager, _p_wxFrameManagerTo_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}};
16613 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
16614 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
16615 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
16616 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
16617 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
16618 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
16619 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
16620 static swig_cast_info _swigc__p_wxPyTabArt[] = { {&_swigt__p_wxPyTabArt, 0, 0, 0},{0, 0, 0, 0}};
16621 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
16622 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
16623 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}};
16624 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}};
16625 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
16626 static swig_cast_info _swigc__p_wxTabArt[] = { {&_swigt__p_wxTabArt, 0, 0, 0}, {&_swigt__p_wxDefaultTabArt, _p_wxDefaultTabArtTo_p_wxTabArt, 0, 0}, {&_swigt__p_wxPyTabArt, _p_wxPyTabArtTo_p_wxTabArt, 0, 0},{0, 0, 0, 0}};
16627 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_wxFloatingPane, _p_wxFloatingPaneTo_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}};
16628 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_wxFloatingPane, _p_wxFloatingPaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxAuiMultiNotebook, _p_wxAuiMultiNotebookTo_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_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
16629
16630 static swig_cast_info *swig_cast_initial[] = {
16631 _swigc__p_char,
16632 _swigc__p_form_ops_t,
16633 _swigc__p_int,
16634 _swigc__p_p_wxAuiMultiNotebook,
16635 _swigc__p_p_wxAuiTabContainerButton,
16636 _swigc__p_p_wxAuiTabCtrl,
16637 _swigc__p_p_wxColourDialog,
16638 _swigc__p_p_wxControl,
16639 _swigc__p_p_wxControlWithItems,
16640 _swigc__p_p_wxDialog,
16641 _swigc__p_p_wxDirDialog,
16642 _swigc__p_p_wxFileDialog,
16643 _swigc__p_p_wxFindReplaceDialog,
16644 _swigc__p_p_wxFloatingPane,
16645 _swigc__p_p_wxFontDialog,
16646 _swigc__p_p_wxFrame,
16647 _swigc__p_p_wxMDIChildFrame,
16648 _swigc__p_p_wxMDIClientWindow,
16649 _swigc__p_p_wxMDIParentFrame,
16650 _swigc__p_p_wxMenuBar,
16651 _swigc__p_p_wxMessageDialog,
16652 _swigc__p_p_wxMiniFrame,
16653 _swigc__p_p_wxMultiChoiceDialog,
16654 _swigc__p_p_wxNumberEntryDialog,
16655 _swigc__p_p_wxPanel,
16656 _swigc__p_p_wxPasswordEntryDialog,
16657 _swigc__p_p_wxPopupWindow,
16658 _swigc__p_p_wxPreviewCanvas,
16659 _swigc__p_p_wxPreviewControlBar,
16660 _swigc__p_p_wxPreviewFrame,
16661 _swigc__p_p_wxProgressDialog,
16662 _swigc__p_p_wxPyHtmlListBox,
16663 _swigc__p_p_wxPyPanel,
16664 _swigc__p_p_wxPyPopupTransientWindow,
16665 _swigc__p_p_wxPyPreviewControlBar,
16666 _swigc__p_p_wxPyPreviewFrame,
16667 _swigc__p_p_wxPyScrolledWindow,
16668 _swigc__p_p_wxPyVListBox,
16669 _swigc__p_p_wxPyVScrolledWindow,
16670 _swigc__p_p_wxPyWindow,
16671 _swigc__p_p_wxSashLayoutWindow,
16672 _swigc__p_p_wxSashWindow,
16673 _swigc__p_p_wxScrolledWindow,
16674 _swigc__p_p_wxSingleChoiceDialog,
16675 _swigc__p_p_wxSplashScreen,
16676 _swigc__p_p_wxSplashScreenWindow,
16677 _swigc__p_p_wxSplitterWindow,
16678 _swigc__p_p_wxStatusBar,
16679 _swigc__p_p_wxTextEntryDialog,
16680 _swigc__p_p_wxTipWindow,
16681 _swigc__p_p_wxTopLevelWindow,
16682 _swigc__p_p_wxWindow,
16683 _swigc__p_unsigned_char,
16684 _swigc__p_unsigned_int,
16685 _swigc__p_unsigned_long,
16686 _swigc__p_wxANIHandler,
16687 _swigc__p_wxAcceleratorTable,
16688 _swigc__p_wxActivateEvent,
16689 _swigc__p_wxAuiMultiNotebook,
16690 _swigc__p_wxAuiNotebookEvent,
16691 _swigc__p_wxAuiNotebookPage,
16692 _swigc__p_wxAuiNotebookPageArray,
16693 _swigc__p_wxAuiTabContainer,
16694 _swigc__p_wxAuiTabContainerButton,
16695 _swigc__p_wxAuiTabCtrl,
16696 _swigc__p_wxBMPHandler,
16697 _swigc__p_wxBitmap,
16698 _swigc__p_wxBoxSizer,
16699 _swigc__p_wxCURHandler,
16700 _swigc__p_wxCalculateLayoutEvent,
16701 _swigc__p_wxChildFocusEvent,
16702 _swigc__p_wxClipboardTextEvent,
16703 _swigc__p_wxCloseEvent,
16704 _swigc__p_wxColor,
16705 _swigc__p_wxColour,
16706 _swigc__p_wxColourData,
16707 _swigc__p_wxColourDialog,
16708 _swigc__p_wxCommandEvent,
16709 _swigc__p_wxContextMenuEvent,
16710 _swigc__p_wxControl,
16711 _swigc__p_wxControlWithItems,
16712 _swigc__p_wxDC,
16713 _swigc__p_wxDateEvent,
16714 _swigc__p_wxDefaultDockArt,
16715 _swigc__p_wxDefaultTabArt,
16716 _swigc__p_wxDialog,
16717 _swigc__p_wxDirDialog,
16718 _swigc__p_wxDisplayChangedEvent,
16719 _swigc__p_wxDockArt,
16720 _swigc__p_wxDockInfo,
16721 _swigc__p_wxDockUIPart,
16722 _swigc__p_wxDropFilesEvent,
16723 _swigc__p_wxDuplexMode,
16724 _swigc__p_wxEraseEvent,
16725 _swigc__p_wxEvent,
16726 _swigc__p_wxEvtHandler,
16727 _swigc__p_wxFSFile,
16728 _swigc__p_wxFileDialog,
16729 _swigc__p_wxFileSystem,
16730 _swigc__p_wxFindDialogEvent,
16731 _swigc__p_wxFindReplaceData,
16732 _swigc__p_wxFindReplaceDialog,
16733 _swigc__p_wxFlexGridSizer,
16734 _swigc__p_wxFloatingPane,
16735 _swigc__p_wxFocusEvent,
16736 _swigc__p_wxFont,
16737 _swigc__p_wxFontData,
16738 _swigc__p_wxFontDialog,
16739 _swigc__p_wxFrame,
16740 _swigc__p_wxFrameManager,
16741 _swigc__p_wxFrameManagerEvent,
16742 _swigc__p_wxGBSizerItem,
16743 _swigc__p_wxGIFHandler,
16744 _swigc__p_wxGridBagSizer,
16745 _swigc__p_wxGridSizer,
16746 _swigc__p_wxICOHandler,
16747 _swigc__p_wxIconizeEvent,
16748 _swigc__p_wxIdleEvent,
16749 _swigc__p_wxImage,
16750 _swigc__p_wxImageHandler,
16751 _swigc__p_wxIndividualLayoutConstraint,
16752 _swigc__p_wxInitDialogEvent,
16753 _swigc__p_wxJPEGHandler,
16754 _swigc__p_wxKeyEvent,
16755 _swigc__p_wxLayoutAlgorithm,
16756 _swigc__p_wxLayoutConstraints,
16757 _swigc__p_wxMDIChildFrame,
16758 _swigc__p_wxMDIClientWindow,
16759 _swigc__p_wxMDIParentFrame,
16760 _swigc__p_wxMaximizeEvent,
16761 _swigc__p_wxMenu,
16762 _swigc__p_wxMenuBar,
16763 _swigc__p_wxMenuEvent,
16764 _swigc__p_wxMenuItem,
16765 _swigc__p_wxMessageDialog,
16766 _swigc__p_wxMiniFrame,
16767 _swigc__p_wxMouseCaptureChangedEvent,
16768 _swigc__p_wxMouseCaptureLostEvent,
16769 _swigc__p_wxMouseEvent,
16770 _swigc__p_wxMoveEvent,
16771 _swigc__p_wxMultiChoiceDialog,
16772 _swigc__p_wxNavigationKeyEvent,
16773 _swigc__p_wxNcPaintEvent,
16774 _swigc__p_wxNotifyEvent,
16775 _swigc__p_wxNumberEntryDialog,
16776 _swigc__p_wxObject,
16777 _swigc__p_wxPCXHandler,
16778 _swigc__p_wxPNGHandler,
16779 _swigc__p_wxPNMHandler,
16780 _swigc__p_wxPageSetupDialog,
16781 _swigc__p_wxPageSetupDialogData,
16782 _swigc__p_wxPaintEvent,
16783 _swigc__p_wxPaletteChangedEvent,
16784 _swigc__p_wxPaneButton,
16785 _swigc__p_wxPaneButtonArray,
16786 _swigc__p_wxPaneInfo,
16787 _swigc__p_wxPaneInfoPtrArray,
16788 _swigc__p_wxPanel,
16789 _swigc__p_wxPaperSize,
16790 _swigc__p_wxPasswordEntryDialog,
16791 _swigc__p_wxPoint,
16792 _swigc__p_wxPopupWindow,
16793 _swigc__p_wxPreviewCanvas,
16794 _swigc__p_wxPreviewControlBar,
16795 _swigc__p_wxPreviewFrame,
16796 _swigc__p_wxPrintData,
16797 _swigc__p_wxPrintDialog,
16798 _swigc__p_wxPrintDialogData,
16799 _swigc__p_wxPrintPreview,
16800 _swigc__p_wxPrinter,
16801 _swigc__p_wxProgressDialog,
16802 _swigc__p_wxPyApp,
16803 _swigc__p_wxPyCommandEvent,
16804 _swigc__p_wxPyDockArt,
16805 _swigc__p_wxPyEvent,
16806 _swigc__p_wxPyHtmlListBox,
16807 _swigc__p_wxPyImageHandler,
16808 _swigc__p_wxPyPanel,
16809 _swigc__p_wxPyPopupTransientWindow,
16810 _swigc__p_wxPyPreviewControlBar,
16811 _swigc__p_wxPyPreviewFrame,
16812 _swigc__p_wxPyPrintPreview,
16813 _swigc__p_wxPyPrintout,
16814 _swigc__p_wxPyScrolledWindow,
16815 _swigc__p_wxPySizer,
16816 _swigc__p_wxPyTabArt,
16817 _swigc__p_wxPyTaskBarIcon,
16818 _swigc__p_wxPyVListBox,
16819 _swigc__p_wxPyVScrolledWindow,
16820 _swigc__p_wxPyValidator,
16821 _swigc__p_wxPyWindow,
16822 _swigc__p_wxQueryLayoutInfoEvent,
16823 _swigc__p_wxQueryNewPaletteEvent,
16824 _swigc__p_wxRect,
16825 _swigc__p_wxSashEvent,
16826 _swigc__p_wxSashLayoutWindow,
16827 _swigc__p_wxSashWindow,
16828 _swigc__p_wxScrollEvent,
16829 _swigc__p_wxScrollWinEvent,
16830 _swigc__p_wxScrolledWindow,
16831 _swigc__p_wxSetCursorEvent,
16832 _swigc__p_wxShowEvent,
16833 _swigc__p_wxSingleChoiceDialog,
16834 _swigc__p_wxSize,
16835 _swigc__p_wxSizeEvent,
16836 _swigc__p_wxSizer,
16837 _swigc__p_wxSizerItem,
16838 _swigc__p_wxSplashScreen,
16839 _swigc__p_wxSplashScreenWindow,
16840 _swigc__p_wxSplitterEvent,
16841 _swigc__p_wxSplitterWindow,
16842 _swigc__p_wxStaticBoxSizer,
16843 _swigc__p_wxStatusBar,
16844 _swigc__p_wxStdDialogButtonSizer,
16845 _swigc__p_wxString,
16846 _swigc__p_wxSysColourChangedEvent,
16847 _swigc__p_wxTIFFHandler,
16848 _swigc__p_wxTabArt,
16849 _swigc__p_wxTaskBarIconEvent,
16850 _swigc__p_wxTextEntryDialog,
16851 _swigc__p_wxTipWindow,
16852 _swigc__p_wxTopLevelWindow,
16853 _swigc__p_wxUpdateUIEvent,
16854 _swigc__p_wxValidator,
16855 _swigc__p_wxWindow,
16856 _swigc__p_wxWindowCreateEvent,
16857 _swigc__p_wxWindowDestroyEvent,
16858 _swigc__p_wxXPMHandler,
16859 };
16860
16861
16862 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
16863
16864 static swig_const_info swig_const_table[] = {
16865 {0, 0, 0, 0.0, 0, 0}};
16866
16867 #ifdef __cplusplus
16868 }
16869 #endif
16870 /* -----------------------------------------------------------------------------
16871 * Type initialization:
16872 * This problem is tough by the requirement that no dynamic
16873 * memory is used. Also, since swig_type_info structures store pointers to
16874 * swig_cast_info structures and swig_cast_info structures store pointers back
16875 * to swig_type_info structures, we need some lookup code at initialization.
16876 * The idea is that swig generates all the structures that are needed.
16877 * The runtime then collects these partially filled structures.
16878 * The SWIG_InitializeModule function takes these initial arrays out of
16879 * swig_module, and does all the lookup, filling in the swig_module.types
16880 * array with the correct data and linking the correct swig_cast_info
16881 * structures together.
16882 *
16883 * The generated swig_type_info structures are assigned staticly to an initial
16884 * array. We just loop though that array, and handle each type individually.
16885 * First we lookup if this type has been already loaded, and if so, use the
16886 * loaded structure instead of the generated one. Then we have to fill in the
16887 * cast linked list. The cast data is initially stored in something like a
16888 * two-dimensional array. Each row corresponds to a type (there are the same
16889 * number of rows as there are in the swig_type_initial array). Each entry in
16890 * a column is one of the swig_cast_info structures for that type.
16891 * The cast_initial array is actually an array of arrays, because each row has
16892 * a variable number of columns. So to actually build the cast linked list,
16893 * we find the array of casts associated with the type, and loop through it
16894 * adding the casts to the list. The one last trick we need to do is making
16895 * sure the type pointer in the swig_cast_info struct is correct.
16896 *
16897 * First off, we lookup the cast->type name to see if it is already loaded.
16898 * There are three cases to handle:
16899 * 1) If the cast->type has already been loaded AND the type we are adding
16900 * casting info to has not been loaded (it is in this module), THEN we
16901 * replace the cast->type pointer with the type pointer that has already
16902 * been loaded.
16903 * 2) If BOTH types (the one we are adding casting info to, and the
16904 * cast->type) are loaded, THEN the cast info has already been loaded by
16905 * the previous module so we just ignore it.
16906 * 3) Finally, if cast->type has not already been loaded, then we add that
16907 * swig_cast_info to the linked list (because the cast->type) pointer will
16908 * be correct.
16909 * ----------------------------------------------------------------------------- */
16910
16911 #ifdef __cplusplus
16912 extern "C" {
16913 #if 0
16914 } /* c-mode */
16915 #endif
16916 #endif
16917
16918 #if 0
16919 #define SWIGRUNTIME_DEBUG
16920 #endif
16921
16922 SWIGRUNTIME void
16923 SWIG_InitializeModule(void *clientdata) {
16924 size_t i;
16925 swig_module_info *module_head;
16926 static int init_run = 0;
16927
16928 clientdata = clientdata;
16929
16930 if (init_run) return;
16931 init_run = 1;
16932
16933 /* Initialize the swig_module */
16934 swig_module.type_initial = swig_type_initial;
16935 swig_module.cast_initial = swig_cast_initial;
16936
16937 /* Try and load any already created modules */
16938 module_head = SWIG_GetModule(clientdata);
16939 if (module_head) {
16940 swig_module.next = module_head->next;
16941 module_head->next = &swig_module;
16942 } else {
16943 /* This is the first module loaded */
16944 swig_module.next = &swig_module;
16945 SWIG_SetModule(clientdata, &swig_module);
16946 }
16947
16948 /* Now work on filling in swig_module.types */
16949 #ifdef SWIGRUNTIME_DEBUG
16950 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
16951 #endif
16952 for (i = 0; i < swig_module.size; ++i) {
16953 swig_type_info *type = 0;
16954 swig_type_info *ret;
16955 swig_cast_info *cast;
16956
16957 #ifdef SWIGRUNTIME_DEBUG
16958 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
16959 #endif
16960
16961 /* if there is another module already loaded */
16962 if (swig_module.next != &swig_module) {
16963 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
16964 }
16965 if (type) {
16966 /* Overwrite clientdata field */
16967 #ifdef SWIGRUNTIME_DEBUG
16968 printf("SWIG_InitializeModule: found type %s\n", type->name);
16969 #endif
16970 if (swig_module.type_initial[i]->clientdata) {
16971 type->clientdata = swig_module.type_initial[i]->clientdata;
16972 #ifdef SWIGRUNTIME_DEBUG
16973 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
16974 #endif
16975 }
16976 } else {
16977 type = swig_module.type_initial[i];
16978 }
16979
16980 /* Insert casting types */
16981 cast = swig_module.cast_initial[i];
16982 while (cast->type) {
16983 /* Don't need to add information already in the list */
16984 ret = 0;
16985 #ifdef SWIGRUNTIME_DEBUG
16986 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
16987 #endif
16988 if (swig_module.next != &swig_module) {
16989 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
16990 #ifdef SWIGRUNTIME_DEBUG
16991 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
16992 #endif
16993 }
16994 if (ret) {
16995 if (type == swig_module.type_initial[i]) {
16996 #ifdef SWIGRUNTIME_DEBUG
16997 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
16998 #endif
16999 cast->type = ret;
17000 ret = 0;
17001 } else {
17002 /* Check for casting already in the list */
17003 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
17004 #ifdef SWIGRUNTIME_DEBUG
17005 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
17006 #endif
17007 if (!ocast) ret = 0;
17008 }
17009 }
17010
17011 if (!ret) {
17012 #ifdef SWIGRUNTIME_DEBUG
17013 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
17014 #endif
17015 if (type->cast) {
17016 type->cast->prev = cast;
17017 cast->next = type->cast;
17018 }
17019 type->cast = cast;
17020 }
17021 cast++;
17022 }
17023 /* Set entry in modules->types array equal to the type */
17024 swig_module.types[i] = type;
17025 }
17026 swig_module.types[i] = 0;
17027
17028 #ifdef SWIGRUNTIME_DEBUG
17029 printf("**** SWIG_InitializeModule: Cast List ******\n");
17030 for (i = 0; i < swig_module.size; ++i) {
17031 int j = 0;
17032 swig_cast_info *cast = swig_module.cast_initial[i];
17033 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
17034 while (cast->type) {
17035 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
17036 cast++;
17037 ++j;
17038 }
17039 printf("---- Total casts: %d\n",j);
17040 }
17041 printf("**** SWIG_InitializeModule: Cast List ******\n");
17042 #endif
17043 }
17044
17045 /* This function will propagate the clientdata field of type to
17046 * any new swig_type_info structures that have been added into the list
17047 * of equivalent types. It is like calling
17048 * SWIG_TypeClientData(type, clientdata) a second time.
17049 */
17050 SWIGRUNTIME void
17051 SWIG_PropagateClientData(void) {
17052 size_t i;
17053 swig_cast_info *equiv;
17054 static int init_run = 0;
17055
17056 if (init_run) return;
17057 init_run = 1;
17058
17059 for (i = 0; i < swig_module.size; i++) {
17060 if (swig_module.types[i]->clientdata) {
17061 equiv = swig_module.types[i]->cast;
17062 while (equiv) {
17063 if (!equiv->converter) {
17064 if (equiv->type && !equiv->type->clientdata)
17065 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
17066 }
17067 equiv = equiv->next;
17068 }
17069 }
17070 }
17071 }
17072
17073 #ifdef __cplusplus
17074 #if 0
17075 {
17076 /* c-mode */
17077 #endif
17078 }
17079 #endif
17080
17081
17082
17083 #ifdef __cplusplus
17084 extern "C" {
17085 #endif
17086
17087 /* Python-specific SWIG API */
17088 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17089 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17090 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17091
17092 /* -----------------------------------------------------------------------------
17093 * global variable support code.
17094 * ----------------------------------------------------------------------------- */
17095
17096 typedef struct swig_globalvar {
17097 char *name; /* Name of global variable */
17098 PyObject *(*get_attr)(void); /* Return the current value */
17099 int (*set_attr)(PyObject *); /* Set the value */
17100 struct swig_globalvar *next;
17101 } swig_globalvar;
17102
17103 typedef struct swig_varlinkobject {
17104 PyObject_HEAD
17105 swig_globalvar *vars;
17106 } swig_varlinkobject;
17107
17108 SWIGINTERN PyObject *
17109 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
17110 return PyString_FromString("<Swig global variables>");
17111 }
17112
17113 SWIGINTERN PyObject *
17114 swig_varlink_str(swig_varlinkobject *v) {
17115 PyObject *str = PyString_FromString("(");
17116 swig_globalvar *var;
17117 for (var = v->vars; var; var=var->next) {
17118 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
17119 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
17120 }
17121 PyString_ConcatAndDel(&str,PyString_FromString(")"));
17122 return str;
17123 }
17124
17125 SWIGINTERN int
17126 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
17127 PyObject *str = swig_varlink_str(v);
17128 fprintf(fp,"Swig global variables ");
17129 fprintf(fp,"%s\n", PyString_AsString(str));
17130 Py_DECREF(str);
17131 return 0;
17132 }
17133
17134 SWIGINTERN void
17135 swig_varlink_dealloc(swig_varlinkobject *v) {
17136 swig_globalvar *var = v->vars;
17137 while (var) {
17138 swig_globalvar *n = var->next;
17139 free(var->name);
17140 free(var);
17141 var = n;
17142 }
17143 }
17144
17145 SWIGINTERN PyObject *
17146 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17147 PyObject *res = NULL;
17148 swig_globalvar *var = v->vars;
17149 while (var) {
17150 if (strcmp(var->name,n) == 0) {
17151 res = (*var->get_attr)();
17152 break;
17153 }
17154 var = var->next;
17155 }
17156 if (res == NULL && !PyErr_Occurred()) {
17157 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17158 }
17159 return res;
17160 }
17161
17162 SWIGINTERN int
17163 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17164 int res = 1;
17165 swig_globalvar *var = v->vars;
17166 while (var) {
17167 if (strcmp(var->name,n) == 0) {
17168 res = (*var->set_attr)(p);
17169 break;
17170 }
17171 var = var->next;
17172 }
17173 if (res == 1 && !PyErr_Occurred()) {
17174 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17175 }
17176 return res;
17177 }
17178
17179 SWIGINTERN PyTypeObject*
17180 swig_varlink_type(void) {
17181 static char varlink__doc__[] = "Swig var link object";
17182 static PyTypeObject varlink_type;
17183 static int type_init = 0;
17184 if (!type_init) {
17185 const PyTypeObject tmp
17186 = {
17187 PyObject_HEAD_INIT(NULL)
17188 0, /* Number of items in variable part (ob_size) */
17189 (char *)"swigvarlink", /* Type name (tp_name) */
17190 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17191 0, /* Itemsize (tp_itemsize) */
17192 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
17193 (printfunc) swig_varlink_print, /* Print (tp_print) */
17194 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17195 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17196 0, /* tp_compare */
17197 (reprfunc) swig_varlink_repr, /* tp_repr */
17198 0, /* tp_as_number */
17199 0, /* tp_as_sequence */
17200 0, /* tp_as_mapping */
17201 0, /* tp_hash */
17202 0, /* tp_call */
17203 (reprfunc)swig_varlink_str, /* tp_str */
17204 0, /* tp_getattro */
17205 0, /* tp_setattro */
17206 0, /* tp_as_buffer */
17207 0, /* tp_flags */
17208 varlink__doc__, /* tp_doc */
17209 0, /* tp_traverse */
17210 0, /* tp_clear */
17211 0, /* tp_richcompare */
17212 0, /* tp_weaklistoffset */
17213 #if PY_VERSION_HEX >= 0x02020000
17214 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17215 #endif
17216 #if PY_VERSION_HEX >= 0x02030000
17217 0, /* tp_del */
17218 #endif
17219 #ifdef COUNT_ALLOCS
17220 0,0,0,0 /* tp_alloc -> tp_next */
17221 #endif
17222 };
17223 varlink_type = tmp;
17224 varlink_type.ob_type = &PyType_Type;
17225 type_init = 1;
17226 }
17227 return &varlink_type;
17228 }
17229
17230 /* Create a variable linking object for use later */
17231 SWIGINTERN PyObject *
17232 SWIG_Python_newvarlink(void) {
17233 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
17234 if (result) {
17235 result->vars = 0;
17236 }
17237 return ((PyObject*) result);
17238 }
17239
17240 SWIGINTERN void
17241 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17242 swig_varlinkobject *v = (swig_varlinkobject *) p;
17243 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17244 if (gv) {
17245 size_t size = strlen(name)+1;
17246 gv->name = (char *)malloc(size);
17247 if (gv->name) {
17248 strncpy(gv->name,name,size);
17249 gv->get_attr = get_attr;
17250 gv->set_attr = set_attr;
17251 gv->next = v->vars;
17252 }
17253 }
17254 v->vars = gv;
17255 }
17256
17257 SWIGINTERN PyObject *
17258 SWIG_globals() {
17259 static PyObject *_SWIG_globals = 0;
17260 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
17261 return _SWIG_globals;
17262 }
17263
17264 /* -----------------------------------------------------------------------------
17265 * constants/methods manipulation
17266 * ----------------------------------------------------------------------------- */
17267
17268 /* Install Constants */
17269 SWIGINTERN void
17270 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17271 PyObject *obj = 0;
17272 size_t i;
17273 for (i = 0; constants[i].type; ++i) {
17274 switch(constants[i].type) {
17275 case SWIG_PY_POINTER:
17276 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17277 break;
17278 case SWIG_PY_BINARY:
17279 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17280 break;
17281 default:
17282 obj = 0;
17283 break;
17284 }
17285 if (obj) {
17286 PyDict_SetItemString(d, constants[i].name, obj);
17287 Py_DECREF(obj);
17288 }
17289 }
17290 }
17291
17292 /* -----------------------------------------------------------------------------*/
17293 /* Fix SwigMethods to carry the callback ptrs when needed */
17294 /* -----------------------------------------------------------------------------*/
17295
17296 SWIGINTERN void
17297 SWIG_Python_FixMethods(PyMethodDef *methods,
17298 swig_const_info *const_table,
17299 swig_type_info **types,
17300 swig_type_info **types_initial) {
17301 size_t i;
17302 for (i = 0; methods[i].ml_name; ++i) {
17303 const char *c = methods[i].ml_doc;
17304 if (c && (c = strstr(c, "swig_ptr: "))) {
17305 int j;
17306 swig_const_info *ci = 0;
17307 const char *name = c + 10;
17308 for (j = 0; const_table[j].type; ++j) {
17309 if (strncmp(const_table[j].name, name,
17310 strlen(const_table[j].name)) == 0) {
17311 ci = &(const_table[j]);
17312 break;
17313 }
17314 }
17315 if (ci) {
17316 size_t shift = (ci->ptype) - types;
17317 swig_type_info *ty = types_initial[shift];
17318 size_t ldoc = (c - methods[i].ml_doc);
17319 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17320 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17321 if (ndoc) {
17322 char *buff = ndoc;
17323 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
17324 if (ptr) {
17325 strncpy(buff, methods[i].ml_doc, ldoc);
17326 buff += ldoc;
17327 strncpy(buff, "swig_ptr: ", 10);
17328 buff += 10;
17329 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17330 methods[i].ml_doc = ndoc;
17331 }
17332 }
17333 }
17334 }
17335 }
17336 }
17337
17338 #ifdef __cplusplus
17339 }
17340 #endif
17341
17342 /* -----------------------------------------------------------------------------*
17343 * Partial Init method
17344 * -----------------------------------------------------------------------------*/
17345
17346 #ifdef __cplusplus
17347 extern "C"
17348 #endif
17349 SWIGEXPORT void SWIG_init(void) {
17350 PyObject *m, *d;
17351
17352 /* Fix SwigMethods to carry the callback ptrs when needed */
17353 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
17354
17355 m = Py_InitModule((char *) SWIG_name, SwigMethods);
17356 d = PyModule_GetDict(m);
17357
17358 SWIG_InitializeModule(0);
17359 SWIG_InstallConstants(d,swig_const_table);
17360
17361
17362 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
17363 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
17364 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
17365 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
17366 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
17367 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
17368 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
17369 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
17370 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
17371 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
17372 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
17373 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
17374 SWIG_Python_SetConstant(d, "AUI_MGR_VENETIAN_BLINDS_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_VENETIAN_BLINDS_HINT)));
17375 SWIG_Python_SetConstant(d, "AUI_MGR_RECTANGLE_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_RECTANGLE_HINT)));
17376 SWIG_Python_SetConstant(d, "AUI_MGR_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_HINT_FADE)));
17377 SWIG_Python_SetConstant(d, "AUI_MGR_NO_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_NO_VENETIAN_BLINDS_FADE)));
17378 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
17379 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
17380 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
17381 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
17382 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
17383 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
17384 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
17385 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
17386 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
17387 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
17388 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
17389 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
17390 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
17391 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
17392 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
17393 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
17394 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
17395 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
17396 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
17397 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
17398 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
17399 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
17400 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
17401 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
17402 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_DISABLED)));
17403 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HIDDEN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HIDDEN)));
17404 SWIG_Python_SetConstant(d, "AUI_BUTTON_CLOSE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CLOSE)));
17405 SWIG_Python_SetConstant(d, "AUI_BUTTON_MAXIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MAXIMIZE)));
17406 SWIG_Python_SetConstant(d, "AUI_BUTTON_MINIMIZE",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_MINIMIZE)));
17407 SWIG_Python_SetConstant(d, "AUI_BUTTON_PIN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_PIN)));
17408 SWIG_Python_SetConstant(d, "AUI_BUTTON_OPTIONS",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_OPTIONS)));
17409 SWIG_Python_SetConstant(d, "AUI_BUTTON_LEFT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_LEFT)));
17410 SWIG_Python_SetConstant(d, "AUI_BUTTON_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_RIGHT)));
17411 SWIG_Python_SetConstant(d, "AUI_BUTTON_UP",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_UP)));
17412 SWIG_Python_SetConstant(d, "AUI_BUTTON_DOWN",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_DOWN)));
17413 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM1",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM1)));
17414 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM2",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM2)));
17415 SWIG_Python_SetConstant(d, "AUI_BUTTON_CUSTOM3",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_CUSTOM3)));
17416 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
17417 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
17418 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
17419 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
17420 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
17421 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
17422 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
17423 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
17424 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
17425 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
17426 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
17427 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
17428 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
17429 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
17430 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
17431 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
17432 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
17433 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
17434 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
17435 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
17436 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
17437 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
17438 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
17439 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
17440 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
17441 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
17442 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
17443 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
17444 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
17445 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
17446 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
17447 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
17448 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
17449 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
17450 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
17451 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
17452 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
17453 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
17454 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
17455 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
17456 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
17457 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
17458 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
17459 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
17460 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
17461 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
17462 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
17463 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
17464 }
17465