]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/aui_wrap.cpp
wrong caption for html window, cleanup
[wxWidgets.git] / wxPython / src / msw / 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_wxDialog swig_types[84]
2551 #define SWIGTYPE_p_wxDirDialog swig_types[85]
2552 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[86]
2553 #define SWIGTYPE_p_wxDockArt swig_types[87]
2554 #define SWIGTYPE_p_wxDockInfo swig_types[88]
2555 #define SWIGTYPE_p_wxDockUIPart swig_types[89]
2556 #define SWIGTYPE_p_wxDropFilesEvent swig_types[90]
2557 #define SWIGTYPE_p_wxDuplexMode swig_types[91]
2558 #define SWIGTYPE_p_wxEraseEvent swig_types[92]
2559 #define SWIGTYPE_p_wxEvent swig_types[93]
2560 #define SWIGTYPE_p_wxEvtHandler swig_types[94]
2561 #define SWIGTYPE_p_wxFSFile swig_types[95]
2562 #define SWIGTYPE_p_wxFileDialog swig_types[96]
2563 #define SWIGTYPE_p_wxFileSystem swig_types[97]
2564 #define SWIGTYPE_p_wxFindDialogEvent swig_types[98]
2565 #define SWIGTYPE_p_wxFindReplaceData swig_types[99]
2566 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[100]
2567 #define SWIGTYPE_p_wxFlexGridSizer swig_types[101]
2568 #define SWIGTYPE_p_wxFloatingPane swig_types[102]
2569 #define SWIGTYPE_p_wxFocusEvent swig_types[103]
2570 #define SWIGTYPE_p_wxFont swig_types[104]
2571 #define SWIGTYPE_p_wxFontData swig_types[105]
2572 #define SWIGTYPE_p_wxFontDialog swig_types[106]
2573 #define SWIGTYPE_p_wxFrame swig_types[107]
2574 #define SWIGTYPE_p_wxFrameManager swig_types[108]
2575 #define SWIGTYPE_p_wxFrameManagerEvent swig_types[109]
2576 #define SWIGTYPE_p_wxGBSizerItem swig_types[110]
2577 #define SWIGTYPE_p_wxGIFHandler swig_types[111]
2578 #define SWIGTYPE_p_wxGridBagSizer swig_types[112]
2579 #define SWIGTYPE_p_wxGridSizer swig_types[113]
2580 #define SWIGTYPE_p_wxICOHandler swig_types[114]
2581 #define SWIGTYPE_p_wxIconizeEvent swig_types[115]
2582 #define SWIGTYPE_p_wxIdleEvent swig_types[116]
2583 #define SWIGTYPE_p_wxImage swig_types[117]
2584 #define SWIGTYPE_p_wxImageHandler swig_types[118]
2585 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[119]
2586 #define SWIGTYPE_p_wxInitDialogEvent swig_types[120]
2587 #define SWIGTYPE_p_wxJPEGHandler swig_types[121]
2588 #define SWIGTYPE_p_wxKeyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[123]
2590 #define SWIGTYPE_p_wxLayoutConstraints swig_types[124]
2591 #define SWIGTYPE_p_wxMDIChildFrame swig_types[125]
2592 #define SWIGTYPE_p_wxMDIClientWindow swig_types[126]
2593 #define SWIGTYPE_p_wxMDIParentFrame swig_types[127]
2594 #define SWIGTYPE_p_wxMaximizeEvent swig_types[128]
2595 #define SWIGTYPE_p_wxMenu swig_types[129]
2596 #define SWIGTYPE_p_wxMenuBar swig_types[130]
2597 #define SWIGTYPE_p_wxMenuEvent swig_types[131]
2598 #define SWIGTYPE_p_wxMenuItem swig_types[132]
2599 #define SWIGTYPE_p_wxMessageDialog swig_types[133]
2600 #define SWIGTYPE_p_wxMiniFrame swig_types[134]
2601 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[135]
2602 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[136]
2603 #define SWIGTYPE_p_wxMouseEvent swig_types[137]
2604 #define SWIGTYPE_p_wxMoveEvent swig_types[138]
2605 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[139]
2606 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[140]
2607 #define SWIGTYPE_p_wxNcPaintEvent swig_types[141]
2608 #define SWIGTYPE_p_wxNotifyEvent swig_types[142]
2609 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[143]
2610 #define SWIGTYPE_p_wxObject swig_types[144]
2611 #define SWIGTYPE_p_wxPCXHandler swig_types[145]
2612 #define SWIGTYPE_p_wxPNGHandler swig_types[146]
2613 #define SWIGTYPE_p_wxPNMHandler swig_types[147]
2614 #define SWIGTYPE_p_wxPageSetupDialog swig_types[148]
2615 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[149]
2616 #define SWIGTYPE_p_wxPaintEvent swig_types[150]
2617 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxPaneButton swig_types[152]
2619 #define SWIGTYPE_p_wxPaneButtonArray swig_types[153]
2620 #define SWIGTYPE_p_wxPaneInfo swig_types[154]
2621 #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[155]
2622 #define SWIGTYPE_p_wxPanel swig_types[156]
2623 #define SWIGTYPE_p_wxPaperSize swig_types[157]
2624 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxPoint swig_types[159]
2626 #define SWIGTYPE_p_wxPopupWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPreviewCanvas swig_types[161]
2628 #define SWIGTYPE_p_wxPreviewControlBar swig_types[162]
2629 #define SWIGTYPE_p_wxPreviewFrame swig_types[163]
2630 #define SWIGTYPE_p_wxPrintData swig_types[164]
2631 #define SWIGTYPE_p_wxPrintDialog swig_types[165]
2632 #define SWIGTYPE_p_wxPrintDialogData swig_types[166]
2633 #define SWIGTYPE_p_wxPrintPreview swig_types[167]
2634 #define SWIGTYPE_p_wxPrinter swig_types[168]
2635 #define SWIGTYPE_p_wxProgressDialog swig_types[169]
2636 #define SWIGTYPE_p_wxPyApp swig_types[170]
2637 #define SWIGTYPE_p_wxPyCommandEvent swig_types[171]
2638 #define SWIGTYPE_p_wxPyDockArt swig_types[172]
2639 #define SWIGTYPE_p_wxPyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[174]
2641 #define SWIGTYPE_p_wxPyImageHandler swig_types[175]
2642 #define SWIGTYPE_p_wxPyPanel swig_types[176]
2643 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[177]
2644 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[178]
2645 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[179]
2646 #define SWIGTYPE_p_wxPyPrintPreview swig_types[180]
2647 #define SWIGTYPE_p_wxPyPrintout swig_types[181]
2648 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[182]
2649 #define SWIGTYPE_p_wxPySizer swig_types[183]
2650 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[184]
2651 #define SWIGTYPE_p_wxPyVListBox swig_types[185]
2652 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[186]
2653 #define SWIGTYPE_p_wxPyValidator swig_types[187]
2654 #define SWIGTYPE_p_wxPyWindow swig_types[188]
2655 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[189]
2656 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[190]
2657 #define SWIGTYPE_p_wxRect swig_types[191]
2658 #define SWIGTYPE_p_wxSashEvent swig_types[192]
2659 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[193]
2660 #define SWIGTYPE_p_wxSashWindow swig_types[194]
2661 #define SWIGTYPE_p_wxScrollEvent swig_types[195]
2662 #define SWIGTYPE_p_wxScrollWinEvent swig_types[196]
2663 #define SWIGTYPE_p_wxScrolledWindow swig_types[197]
2664 #define SWIGTYPE_p_wxSetCursorEvent swig_types[198]
2665 #define SWIGTYPE_p_wxShowEvent swig_types[199]
2666 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[200]
2667 #define SWIGTYPE_p_wxSize swig_types[201]
2668 #define SWIGTYPE_p_wxSizeEvent swig_types[202]
2669 #define SWIGTYPE_p_wxSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSizerItem swig_types[204]
2671 #define SWIGTYPE_p_wxSplashScreen swig_types[205]
2672 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[206]
2673 #define SWIGTYPE_p_wxSplitterEvent swig_types[207]
2674 #define SWIGTYPE_p_wxSplitterWindow swig_types[208]
2675 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[209]
2676 #define SWIGTYPE_p_wxStatusBar swig_types[210]
2677 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[211]
2678 #define SWIGTYPE_p_wxString swig_types[212]
2679 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[213]
2680 #define SWIGTYPE_p_wxTIFFHandler swig_types[214]
2681 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[215]
2682 #define SWIGTYPE_p_wxTextEntryDialog swig_types[216]
2683 #define SWIGTYPE_p_wxTipWindow swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[219]
2686 #define SWIGTYPE_p_wxValidator swig_types[220]
2687 #define SWIGTYPE_p_wxWindow swig_types[221]
2688 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[222]
2689 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[223]
2690 #define SWIGTYPE_p_wxXPMHandler swig_types[224]
2691 static swig_type_info *swig_types[226];
2692 static swig_module_info swig_module = {swig_types, 225, 0, 0, 0, 0};
2693 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2694 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2695
2696 /* -------- TYPES TABLE (END) -------- */
2697
2698 #if (PY_VERSION_HEX <= 0x02000000)
2699 # if !defined(SWIG_PYTHON_CLASSIC)
2700 # error "This python version requires to use swig with the '-classic' option"
2701 # endif
2702 #endif
2703 #if (PY_VERSION_HEX <= 0x02020000)
2704 # error "This python version requires to use swig with the '-nomodern' option"
2705 #endif
2706 #if (PY_VERSION_HEX <= 0x02020000)
2707 # error "This python version requires to use swig with the '-nomodernargs' option"
2708 #endif
2709 #ifndef METH_O
2710 # error "This python version requires to use swig with the '-nofastunpack' option"
2711 #endif
2712
2713 /*-----------------------------------------------
2714 @(target):= _aui.so
2715 ------------------------------------------------*/
2716 #define SWIG_init init_aui
2717
2718 #define SWIG_name "_aui"
2719
2720 #define SWIGVERSION 0x010329
2721
2722
2723 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2724 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2725
2726
2727 #include <stdexcept>
2728
2729
2730 namespace swig {
2731 class PyObject_ptr {
2732 protected:
2733 PyObject *_obj;
2734
2735 public:
2736 PyObject_ptr() :_obj(0)
2737 {
2738 }
2739
2740 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2741 {
2742 Py_XINCREF(_obj);
2743 }
2744
2745 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2746 {
2747 if (initial_ref) Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr & operator=(const PyObject_ptr& item)
2751 {
2752 Py_XINCREF(item._obj);
2753 Py_XDECREF(_obj);
2754 _obj = item._obj;
2755 return *this;
2756 }
2757
2758 ~PyObject_ptr()
2759 {
2760 Py_XDECREF(_obj);
2761 }
2762
2763 operator PyObject *() const
2764 {
2765 return _obj;
2766 }
2767
2768 PyObject *operator->() const
2769 {
2770 return _obj;
2771 }
2772 };
2773 }
2774
2775
2776 namespace swig {
2777 struct PyObject_var : PyObject_ptr {
2778 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2779
2780 PyObject_var & operator = (PyObject* obj)
2781 {
2782 Py_XDECREF(_obj);
2783 _obj = obj;
2784 return *this;
2785 }
2786 };
2787 }
2788
2789
2790 #include "wx/wxPython/wxPython.h"
2791 #include "wx/wxPython/pyclasses.h"
2792 #include <wx/aui/aui.h>
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 #include <limits.h>
2806 #ifndef LLONG_MIN
2807 # define LLONG_MIN LONG_LONG_MIN
2808 #endif
2809 #ifndef LLONG_MAX
2810 # define LLONG_MAX LONG_LONG_MAX
2811 #endif
2812 #ifndef ULLONG_MAX
2813 # define ULLONG_MAX ULONG_LONG_MAX
2814 #endif
2815
2816
2817 SWIGINTERN int
2818 SWIG_AsVal_long (PyObject* obj, long* val)
2819 {
2820 if (PyNumber_Check(obj)) {
2821 if (val) *val = PyInt_AsLong(obj);
2822 return SWIG_OK;
2823 }
2824 return SWIG_TypeError;
2825 }
2826
2827
2828 SWIGINTERN int
2829 SWIG_AsVal_int (PyObject * obj, int *val)
2830 {
2831 long v;
2832 int res = SWIG_AsVal_long (obj, &v);
2833 if (SWIG_IsOK(res)) {
2834 if ((v < INT_MIN || v > INT_MAX)) {
2835 return SWIG_OverflowError;
2836 } else {
2837 if (val) *val = static_cast< int >(v);
2838 }
2839 }
2840 return res;
2841 }
2842
2843
2844 SWIGINTERN int
2845 SWIG_AsVal_bool (PyObject *obj, bool *val)
2846 {
2847 if (obj == Py_True) {
2848 if (val) *val = true;
2849 return SWIG_OK;
2850 } else if (obj == Py_False) {
2851 if (val) *val = false;
2852 return SWIG_OK;
2853 } else {
2854 long v = 0;
2855 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2856 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2857 return res;
2858 }
2859 }
2860
2861 SWIGINTERN void delete_wxDockInfo(wxDockInfo *self){}
2862 SWIGINTERN void delete_wxDockUIPart(wxDockUIPart *self){}
2863 SWIGINTERN void delete_wxPaneButton(wxPaneButton *self){}
2864
2865 SWIGINTERN int
2866 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2867 {
2868 long v = 0;
2869 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2870 return SWIG_TypeError;
2871 }
2872 else if (val)
2873 *val = (unsigned long)v;
2874 return SWIG_OK;
2875 }
2876
2877
2878 SWIGINTERNINLINE int
2879 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2880 {
2881 unsigned long v;
2882 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2883 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2884 return res;
2885 }
2886
2887
2888 SWIGINTERNINLINE PyObject*
2889 SWIG_From_unsigned_SS_long (unsigned long value)
2890 {
2891 return (value > LONG_MAX) ?
2892 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2893 }
2894
2895
2896 SWIGINTERNINLINE PyObject *
2897 SWIG_From_size_t (size_t value)
2898 {
2899 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2900 }
2901
2902
2903 // A wxDocArt class that knows how to forward virtuals to Python methods
2904 class wxPyDockArt : public wxDefaultDockArt
2905 {
2906 wxPyDockArt() : wxDefaultDockArt() {}
2907
2908 DEC_PYCALLBACK_INT_INT(GetMetric);
2909 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2910 DEC_PYCALLBACK__INTFONT(SetFont);
2911 DEC_PYCALLBACK_FONT_INT(GetFont);
2912 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2913 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2914
2915 virtual void DrawSash(wxDC& dc,
2916 wxWindow* window,
2917 int orientation,
2918 const wxRect& rect)
2919 {
2920 bool found;
2921 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2922 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2923 PyObject* odc = wxPyMake_wxObject(&dc, false);
2924 PyObject* owin = wxPyMake_wxObject(window, false);
2925 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2926 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2927 odc, owin, orientation, orect));
2928 Py_DECREF(odc);
2929 Py_DECREF(orect);
2930 }
2931 wxPyEndBlockThreads(blocked);
2932 if (! found)
2933 wxDefaultDockArt::DrawSash(dc, window, orientation, rect);
2934 }
2935
2936 virtual void DrawBackground(wxDC& dc,
2937 wxWindow* window,
2938 int orientation,
2939 const wxRect& rect)
2940 {
2941 bool found;
2942 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2943 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2944 PyObject* odc = wxPyMake_wxObject(&dc, false);
2945 PyObject* owin = wxPyMake_wxObject(window, false);
2946 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2947 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2948 odc, owin, orientation, orect));
2949 Py_DECREF(odc);
2950 Py_DECREF(orect);
2951 }
2952 wxPyEndBlockThreads(blocked);
2953 if (! found)
2954 wxDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2955 }
2956
2957 virtual void DrawCaption(wxDC& dc,
2958 wxWindow* window,
2959 const wxString& text,
2960 const wxRect& rect,
2961 wxPaneInfo& pane)
2962 {
2963 bool found;
2964 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2965 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2966 PyObject* odc = wxPyMake_wxObject(&dc, false);
2967 PyObject* owin = wxPyMake_wxObject(window, false);
2968 PyObject* otext = wx2PyString(text);
2969 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2970 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2971 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2972 odc, owin, otext, orect, opane));
2973 Py_DECREF(odc);
2974 Py_DECREF(otext);
2975 Py_DECREF(orect);
2976 Py_DECREF(opane);
2977 }
2978 wxPyEndBlockThreads(blocked);
2979 if (! found)
2980 wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
2981 }
2982
2983 virtual void DrawGripper(wxDC& dc,
2984 wxWindow* window,
2985 const wxRect& rect,
2986 wxPaneInfo& pane)
2987 {
2988 bool found;
2989 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2990 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
2991 PyObject* odc = wxPyMake_wxObject(&dc, false);
2992 PyObject* owin = wxPyMake_wxObject(window, false);
2993 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2994 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2995 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
2996 Py_DECREF(odc);
2997 Py_DECREF(orect);
2998 Py_DECREF(opane);
2999 }
3000 wxPyEndBlockThreads(blocked);
3001 if (! found)
3002 wxDefaultDockArt::DrawGripper(dc, window, rect, pane);
3003 }
3004
3005 virtual void DrawBorder(wxDC& dc,
3006 wxWindow* window,
3007 const wxRect& rect,
3008 wxPaneInfo& pane)
3009 {
3010 bool found;
3011 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3012 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3013 PyObject* odc = wxPyMake_wxObject(&dc, false);
3014 PyObject* owin = wxPyMake_wxObject(window, false);
3015 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3016 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3017 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3018 Py_DECREF(odc);
3019 Py_DECREF(orect);
3020 Py_DECREF(opane);
3021 }
3022 wxPyEndBlockThreads(blocked);
3023 if (! found)
3024 wxDefaultDockArt::DrawBorder(dc, window, rect, pane);
3025 }
3026
3027 virtual void DrawPaneButton(wxDC& dc,
3028 wxWindow* window,
3029 int button,
3030 int button_state,
3031 const wxRect& rect,
3032 wxPaneInfo& pane)
3033 {
3034 bool found;
3035 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3036 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3037 PyObject* odc = wxPyMake_wxObject(&dc, false);
3038 PyObject* owin = wxPyMake_wxObject(window, false);
3039 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3040 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3041 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3042 odc, owin, button, button_state,
3043 orect, opane));
3044 Py_DECREF(odc);
3045 Py_DECREF(orect);
3046 Py_DECREF(opane);
3047 }
3048 wxPyEndBlockThreads(blocked);
3049 if (! found)
3050 wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3051 }
3052
3053 PYPRIVATE;
3054
3055 };
3056
3057 IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric);
3058 IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric);
3059 IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont);
3060 IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont);
3061 IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour);
3062 IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour);
3063
3064
3065 #ifdef __cplusplus
3066 extern "C" {
3067 #endif
3068 SWIGINTERN int NullDockInfo_set(PyObject *_val) {
3069 {
3070 void *argp = 0;
3071 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0);
3072 if (!SWIG_IsOK(res)) {
3073 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3074 }
3075 if (!argp) {
3076 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3077 } else {
3078 wxDockInfo * temp;
3079 temp = reinterpret_cast< wxDockInfo * >(argp);
3080 wxNullDockInfo = *temp;
3081 if (SWIG_IsNewObj(res)) delete temp;
3082 }
3083 }
3084 return 0;
3085 fail:
3086 return 1;
3087 }
3088
3089
3090 SWIGINTERN PyObject *NullDockInfo_get(void) {
3091 PyObject *pyobj = 0;
3092
3093 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 );
3094 return pyobj;
3095 }
3096
3097
3098 SWIGINTERN int NullPaneInfo_set(PyObject *_val) {
3099 {
3100 void *argp = 0;
3101 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3102 if (!SWIG_IsOK(res)) {
3103 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3104 }
3105 if (!argp) {
3106 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3107 } else {
3108 wxPaneInfo * temp;
3109 temp = reinterpret_cast< wxPaneInfo * >(argp);
3110 wxNullPaneInfo = *temp;
3111 if (SWIG_IsNewObj(res)) delete temp;
3112 }
3113 }
3114 return 0;
3115 fail:
3116 return 1;
3117 }
3118
3119
3120 SWIGINTERN PyObject *NullPaneInfo_get(void) {
3121 PyObject *pyobj = 0;
3122
3123 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 );
3124 return pyobj;
3125 }
3126
3127
3128 SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3129 PyObject *resultobj = 0;
3130 wxPaneInfo *result = 0 ;
3131
3132 if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail;
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 result = (wxPaneInfo *)new wxPaneInfo();
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 );
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3147 PyObject *resultobj = 0;
3148 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3149 void *argp1 = 0 ;
3150 int res1 = 0 ;
3151 PyObject *swig_obj[1] ;
3152
3153 if (!args) SWIG_fail;
3154 swig_obj[0] = args;
3155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
3156 if (!SWIG_IsOK(res1)) {
3157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3158 }
3159 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 delete arg1;
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 resultobj = SWIG_Py_Void();
3168 return resultobj;
3169 fail:
3170 return NULL;
3171 }
3172
3173
3174 SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj = 0;
3176 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3177 wxPaneInfo arg2 ;
3178 void *argp1 = 0 ;
3179 int res1 = 0 ;
3180 void *argp2 ;
3181 int res2 = 0 ;
3182 PyObject * obj0 = 0 ;
3183 PyObject * obj1 = 0 ;
3184 char * kwnames[] = {
3185 (char *) "self",(char *) "source", NULL
3186 };
3187
3188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3190 if (!SWIG_IsOK(res1)) {
3191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3192 }
3193 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3194 {
3195 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3196 if (!SWIG_IsOK(res2)) {
3197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3198 }
3199 if (!argp2) {
3200 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3201 } else {
3202 wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2);
3203 arg2 = *temp;
3204 if (SWIG_IsNewObj(res2)) delete temp;
3205 }
3206 }
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->SafeSet(arg2);
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 resultobj = SWIG_Py_Void();
3214 return resultobj;
3215 fail:
3216 return NULL;
3217 }
3218
3219
3220 SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3221 PyObject *resultobj = 0;
3222 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3223 bool result;
3224 void *argp1 = 0 ;
3225 int res1 = 0 ;
3226 PyObject *swig_obj[1] ;
3227
3228 if (!args) SWIG_fail;
3229 swig_obj[0] = args;
3230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3231 if (!SWIG_IsOK(res1)) {
3232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3233 }
3234 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 result = (bool)((wxPaneInfo const *)arg1)->IsOk();
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3243 }
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3251 PyObject *resultobj = 0;
3252 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3253 bool result;
3254 void *argp1 = 0 ;
3255 int res1 = 0 ;
3256 PyObject *swig_obj[1] ;
3257
3258 if (!args) SWIG_fail;
3259 swig_obj[0] = args;
3260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3261 if (!SWIG_IsOK(res1)) {
3262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3263 }
3264 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (bool)((wxPaneInfo const *)arg1)->IsFixed();
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 {
3272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3273 }
3274 return resultobj;
3275 fail:
3276 return NULL;
3277 }
3278
3279
3280 SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3281 PyObject *resultobj = 0;
3282 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3283 bool result;
3284 void *argp1 = 0 ;
3285 int res1 = 0 ;
3286 PyObject *swig_obj[1] ;
3287
3288 if (!args) SWIG_fail;
3289 swig_obj[0] = args;
3290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3291 if (!SWIG_IsOK(res1)) {
3292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3293 }
3294 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = (bool)((wxPaneInfo const *)arg1)->IsResizable();
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 {
3302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3303 }
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3311 PyObject *resultobj = 0;
3312 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3313 bool result;
3314 void *argp1 = 0 ;
3315 int res1 = 0 ;
3316 PyObject *swig_obj[1] ;
3317
3318 if (!args) SWIG_fail;
3319 swig_obj[0] = args;
3320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3321 if (!SWIG_IsOK(res1)) {
3322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3323 }
3324 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (bool)((wxPaneInfo const *)arg1)->IsShown();
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 {
3332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3333 }
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3341 PyObject *resultobj = 0;
3342 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3343 bool result;
3344 void *argp1 = 0 ;
3345 int res1 = 0 ;
3346 PyObject *swig_obj[1] ;
3347
3348 if (!args) SWIG_fail;
3349 swig_obj[0] = args;
3350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3351 if (!SWIG_IsOK(res1)) {
3352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3353 }
3354 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 result = (bool)((wxPaneInfo const *)arg1)->IsFloating();
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 {
3362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3363 }
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3371 PyObject *resultobj = 0;
3372 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3373 bool result;
3374 void *argp1 = 0 ;
3375 int res1 = 0 ;
3376 PyObject *swig_obj[1] ;
3377
3378 if (!args) SWIG_fail;
3379 swig_obj[0] = args;
3380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3381 if (!SWIG_IsOK(res1)) {
3382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3383 }
3384 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 result = (bool)((wxPaneInfo const *)arg1)->IsDocked();
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 {
3392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3393 }
3394 return resultobj;
3395 fail:
3396 return NULL;
3397 }
3398
3399
3400 SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3401 PyObject *resultobj = 0;
3402 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3403 bool result;
3404 void *argp1 = 0 ;
3405 int res1 = 0 ;
3406 PyObject *swig_obj[1] ;
3407
3408 if (!args) SWIG_fail;
3409 swig_obj[0] = args;
3410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3411 if (!SWIG_IsOK(res1)) {
3412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3413 }
3414 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = (bool)((wxPaneInfo const *)arg1)->IsToolbar();
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 {
3422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3423 }
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3431 PyObject *resultobj = 0;
3432 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3433 bool result;
3434 void *argp1 = 0 ;
3435 int res1 = 0 ;
3436 PyObject *swig_obj[1] ;
3437
3438 if (!args) SWIG_fail;
3439 swig_obj[0] = args;
3440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3441 if (!SWIG_IsOK(res1)) {
3442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3443 }
3444 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3445 {
3446 PyThreadState* __tstate = wxPyBeginAllowThreads();
3447 result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable();
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3453 }
3454 return resultobj;
3455 fail:
3456 return NULL;
3457 }
3458
3459
3460 SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3461 PyObject *resultobj = 0;
3462 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3463 bool result;
3464 void *argp1 = 0 ;
3465 int res1 = 0 ;
3466 PyObject *swig_obj[1] ;
3467
3468 if (!args) SWIG_fail;
3469 swig_obj[0] = args;
3470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3471 if (!SWIG_IsOK(res1)) {
3472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3473 }
3474 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable();
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 {
3482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3483 }
3484 return resultobj;
3485 fail:
3486 return NULL;
3487 }
3488
3489
3490 SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3491 PyObject *resultobj = 0;
3492 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3493 bool result;
3494 void *argp1 = 0 ;
3495 int res1 = 0 ;
3496 PyObject *swig_obj[1] ;
3497
3498 if (!args) SWIG_fail;
3499 swig_obj[0] = args;
3500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3501 if (!SWIG_IsOK(res1)) {
3502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3503 }
3504 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable();
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3513 }
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3521 PyObject *resultobj = 0;
3522 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3523 bool result;
3524 void *argp1 = 0 ;
3525 int res1 = 0 ;
3526 PyObject *swig_obj[1] ;
3527
3528 if (!args) SWIG_fail;
3529 swig_obj[0] = args;
3530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3531 if (!SWIG_IsOK(res1)) {
3532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3533 }
3534 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable();
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3543 }
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3551 PyObject *resultobj = 0;
3552 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3553 bool result;
3554 void *argp1 = 0 ;
3555 int res1 = 0 ;
3556 PyObject *swig_obj[1] ;
3557
3558 if (!args) SWIG_fail;
3559 swig_obj[0] = args;
3560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3561 if (!SWIG_IsOK(res1)) {
3562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3563 }
3564 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 result = (bool)((wxPaneInfo const *)arg1)->IsFloatable();
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 {
3572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3573 }
3574 return resultobj;
3575 fail:
3576 return NULL;
3577 }
3578
3579
3580 SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3581 PyObject *resultobj = 0;
3582 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3583 bool result;
3584 void *argp1 = 0 ;
3585 int res1 = 0 ;
3586 PyObject *swig_obj[1] ;
3587
3588 if (!args) SWIG_fail;
3589 swig_obj[0] = args;
3590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3591 if (!SWIG_IsOK(res1)) {
3592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3593 }
3594 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (bool)((wxPaneInfo const *)arg1)->IsMovable();
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 {
3602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3603 }
3604 return resultobj;
3605 fail:
3606 return NULL;
3607 }
3608
3609
3610 SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3611 PyObject *resultobj = 0;
3612 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3613 bool result;
3614 void *argp1 = 0 ;
3615 int res1 = 0 ;
3616 PyObject *swig_obj[1] ;
3617
3618 if (!args) SWIG_fail;
3619 swig_obj[0] = args;
3620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3621 if (!SWIG_IsOK(res1)) {
3622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3623 }
3624 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (bool)((wxPaneInfo const *)arg1)->HasCaption();
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
3631 {
3632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3633 }
3634 return resultobj;
3635 fail:
3636 return NULL;
3637 }
3638
3639
3640 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3641 PyObject *resultobj = 0;
3642 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3643 bool result;
3644 void *argp1 = 0 ;
3645 int res1 = 0 ;
3646 PyObject *swig_obj[1] ;
3647
3648 if (!args) SWIG_fail;
3649 swig_obj[0] = args;
3650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3651 if (!SWIG_IsOK(res1)) {
3652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3653 }
3654 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = (bool)((wxPaneInfo const *)arg1)->HasGripper();
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
3661 {
3662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3663 }
3664 return resultobj;
3665 fail:
3666 return NULL;
3667 }
3668
3669
3670 SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3671 PyObject *resultobj = 0;
3672 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3673 bool result;
3674 void *argp1 = 0 ;
3675 int res1 = 0 ;
3676 PyObject *swig_obj[1] ;
3677
3678 if (!args) SWIG_fail;
3679 swig_obj[0] = args;
3680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3681 if (!SWIG_IsOK(res1)) {
3682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3683 }
3684 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 result = (bool)((wxPaneInfo const *)arg1)->HasBorder();
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 return resultobj;
3695 fail:
3696 return NULL;
3697 }
3698
3699
3700 SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3701 PyObject *resultobj = 0;
3702 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3703 bool result;
3704 void *argp1 = 0 ;
3705 int res1 = 0 ;
3706 PyObject *swig_obj[1] ;
3707
3708 if (!args) SWIG_fail;
3709 swig_obj[0] = args;
3710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3711 if (!SWIG_IsOK(res1)) {
3712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3713 }
3714 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton();
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 {
3722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3723 }
3724 return resultobj;
3725 fail:
3726 return NULL;
3727 }
3728
3729
3730 SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3731 PyObject *resultobj = 0;
3732 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3733 bool result;
3734 void *argp1 = 0 ;
3735 int res1 = 0 ;
3736 PyObject *swig_obj[1] ;
3737
3738 if (!args) SWIG_fail;
3739 swig_obj[0] = args;
3740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3741 if (!SWIG_IsOK(res1)) {
3742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3743 }
3744 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton();
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3753 }
3754 return resultobj;
3755 fail:
3756 return NULL;
3757 }
3758
3759
3760 SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3761 PyObject *resultobj = 0;
3762 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3763 bool result;
3764 void *argp1 = 0 ;
3765 int res1 = 0 ;
3766 PyObject *swig_obj[1] ;
3767
3768 if (!args) SWIG_fail;
3769 swig_obj[0] = args;
3770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3771 if (!SWIG_IsOK(res1)) {
3772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3773 }
3774 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton();
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
3782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3783 }
3784 return resultobj;
3785 fail:
3786 return NULL;
3787 }
3788
3789
3790 SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3791 PyObject *resultobj = 0;
3792 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3793 bool result;
3794 void *argp1 = 0 ;
3795 int res1 = 0 ;
3796 PyObject *swig_obj[1] ;
3797
3798 if (!args) SWIG_fail;
3799 swig_obj[0] = args;
3800 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3801 if (!SWIG_IsOK(res1)) {
3802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3803 }
3804 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3805 {
3806 PyThreadState* __tstate = wxPyBeginAllowThreads();
3807 result = (bool)((wxPaneInfo const *)arg1)->HasPinButton();
3808 wxPyEndAllowThreads(__tstate);
3809 if (PyErr_Occurred()) SWIG_fail;
3810 }
3811 {
3812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3813 }
3814 return resultobj;
3815 fail:
3816 return NULL;
3817 }
3818
3819
3820 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3821 PyObject *resultobj = 0;
3822 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3823 bool result;
3824 void *argp1 = 0 ;
3825 int res1 = 0 ;
3826 PyObject *swig_obj[1] ;
3827
3828 if (!args) SWIG_fail;
3829 swig_obj[0] = args;
3830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3831 if (!SWIG_IsOK(res1)) {
3832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3833 }
3834 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop();
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
3841 {
3842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3843 }
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj = 0;
3852 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3853 wxWindow *arg2 = (wxWindow *) 0 ;
3854 wxPaneInfo *result = 0 ;
3855 void *argp1 = 0 ;
3856 int res1 = 0 ;
3857 void *argp2 = 0 ;
3858 int res2 = 0 ;
3859 PyObject * obj0 = 0 ;
3860 PyObject * obj1 = 0 ;
3861 char * kwnames[] = {
3862 (char *) "self",(char *) "w", NULL
3863 };
3864
3865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
3866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3867 if (!SWIG_IsOK(res1)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3869 }
3870 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3871 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3872 if (!SWIG_IsOK(res2)) {
3873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
3874 }
3875 arg2 = reinterpret_cast< wxWindow * >(argp2);
3876 {
3877 PyThreadState* __tstate = wxPyBeginAllowThreads();
3878 {
3879 wxPaneInfo &_result_ref = (arg1)->Window(arg2);
3880 result = (wxPaneInfo *) &_result_ref;
3881 }
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 {
3886 resultobj = obj0; Py_INCREF(resultobj);
3887 }
3888 return resultobj;
3889 fail:
3890 return NULL;
3891 }
3892
3893
3894 SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj = 0;
3896 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3897 wxString *arg2 = 0 ;
3898 wxPaneInfo *result = 0 ;
3899 void *argp1 = 0 ;
3900 int res1 = 0 ;
3901 bool temp2 = false ;
3902 PyObject * obj0 = 0 ;
3903 PyObject * obj1 = 0 ;
3904 char * kwnames[] = {
3905 (char *) "self",(char *) "n", NULL
3906 };
3907
3908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
3909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3910 if (!SWIG_IsOK(res1)) {
3911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3912 }
3913 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3914 {
3915 arg2 = wxString_in_helper(obj1);
3916 if (arg2 == NULL) SWIG_fail;
3917 temp2 = true;
3918 }
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 {
3922 wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
3923 result = (wxPaneInfo *) &_result_ref;
3924 }
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 {
3929 resultobj = obj0; Py_INCREF(resultobj);
3930 }
3931 {
3932 if (temp2)
3933 delete arg2;
3934 }
3935 return resultobj;
3936 fail:
3937 {
3938 if (temp2)
3939 delete arg2;
3940 }
3941 return NULL;
3942 }
3943
3944
3945 SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj = 0;
3947 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3948 wxString *arg2 = 0 ;
3949 wxPaneInfo *result = 0 ;
3950 void *argp1 = 0 ;
3951 int res1 = 0 ;
3952 bool temp2 = false ;
3953 PyObject * obj0 = 0 ;
3954 PyObject * obj1 = 0 ;
3955 char * kwnames[] = {
3956 (char *) "self",(char *) "c", NULL
3957 };
3958
3959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
3960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3961 if (!SWIG_IsOK(res1)) {
3962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3963 }
3964 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3965 {
3966 arg2 = wxString_in_helper(obj1);
3967 if (arg2 == NULL) SWIG_fail;
3968 temp2 = true;
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 {
3973 wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
3974 result = (wxPaneInfo *) &_result_ref;
3975 }
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 {
3980 resultobj = obj0; Py_INCREF(resultobj);
3981 }
3982 {
3983 if (temp2)
3984 delete arg2;
3985 }
3986 return resultobj;
3987 fail:
3988 {
3989 if (temp2)
3990 delete arg2;
3991 }
3992 return NULL;
3993 }
3994
3995
3996 SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3997 PyObject *resultobj = 0;
3998 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3999 wxPaneInfo *result = 0 ;
4000 void *argp1 = 0 ;
4001 int res1 = 0 ;
4002 PyObject *swig_obj[1] ;
4003
4004 if (!args) SWIG_fail;
4005 swig_obj[0] = args;
4006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4007 if (!SWIG_IsOK(res1)) {
4008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4009 }
4010 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 {
4014 wxPaneInfo &_result_ref = (arg1)->Left();
4015 result = (wxPaneInfo *) &_result_ref;
4016 }
4017 wxPyEndAllowThreads(__tstate);
4018 if (PyErr_Occurred()) SWIG_fail;
4019 }
4020 {
4021 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4022 }
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 PyObject *resultobj = 0;
4031 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4032 wxPaneInfo *result = 0 ;
4033 void *argp1 = 0 ;
4034 int res1 = 0 ;
4035 PyObject *swig_obj[1] ;
4036
4037 if (!args) SWIG_fail;
4038 swig_obj[0] = args;
4039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4040 if (!SWIG_IsOK(res1)) {
4041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4042 }
4043 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 {
4047 wxPaneInfo &_result_ref = (arg1)->Right();
4048 result = (wxPaneInfo *) &_result_ref;
4049 }
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 {
4054 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4055 }
4056 return resultobj;
4057 fail:
4058 return NULL;
4059 }
4060
4061
4062 SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4063 PyObject *resultobj = 0;
4064 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4065 wxPaneInfo *result = 0 ;
4066 void *argp1 = 0 ;
4067 int res1 = 0 ;
4068 PyObject *swig_obj[1] ;
4069
4070 if (!args) SWIG_fail;
4071 swig_obj[0] = args;
4072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4073 if (!SWIG_IsOK(res1)) {
4074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4075 }
4076 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 {
4080 wxPaneInfo &_result_ref = (arg1)->Top();
4081 result = (wxPaneInfo *) &_result_ref;
4082 }
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 {
4087 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4088 }
4089 return resultobj;
4090 fail:
4091 return NULL;
4092 }
4093
4094
4095 SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4096 PyObject *resultobj = 0;
4097 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4098 wxPaneInfo *result = 0 ;
4099 void *argp1 = 0 ;
4100 int res1 = 0 ;
4101 PyObject *swig_obj[1] ;
4102
4103 if (!args) SWIG_fail;
4104 swig_obj[0] = args;
4105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4106 if (!SWIG_IsOK(res1)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4108 }
4109 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4110 {
4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
4112 {
4113 wxPaneInfo &_result_ref = (arg1)->Bottom();
4114 result = (wxPaneInfo *) &_result_ref;
4115 }
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 {
4120 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4121 }
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4131 wxPaneInfo *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 PyObject *swig_obj[1] ;
4135
4136 if (!args) SWIG_fail;
4137 swig_obj[0] = args;
4138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4139 if (!SWIG_IsOK(res1)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4141 }
4142 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 {
4146 wxPaneInfo &_result_ref = (arg1)->Center();
4147 result = (wxPaneInfo *) &_result_ref;
4148 }
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 {
4153 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4154 }
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4162 PyObject *resultobj = 0;
4163 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4164 wxPaneInfo *result = 0 ;
4165 void *argp1 = 0 ;
4166 int res1 = 0 ;
4167 PyObject *swig_obj[1] ;
4168
4169 if (!args) SWIG_fail;
4170 swig_obj[0] = args;
4171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4172 if (!SWIG_IsOK(res1)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4174 }
4175 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 {
4179 wxPaneInfo &_result_ref = (arg1)->Centre();
4180 result = (wxPaneInfo *) &_result_ref;
4181 }
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 {
4186 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4187 }
4188 return resultobj;
4189 fail:
4190 return NULL;
4191 }
4192
4193
4194 SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4195 PyObject *resultobj = 0;
4196 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4197 int arg2 ;
4198 wxPaneInfo *result = 0 ;
4199 void *argp1 = 0 ;
4200 int res1 = 0 ;
4201 int val2 ;
4202 int ecode2 = 0 ;
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj1 = 0 ;
4205 char * kwnames[] = {
4206 (char *) "self",(char *) "direction", NULL
4207 };
4208
4209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4211 if (!SWIG_IsOK(res1)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4213 }
4214 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4215 ecode2 = SWIG_AsVal_int(obj1, &val2);
4216 if (!SWIG_IsOK(ecode2)) {
4217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4218 }
4219 arg2 = static_cast< int >(val2);
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 {
4223 wxPaneInfo &_result_ref = (arg1)->Direction(arg2);
4224 result = (wxPaneInfo *) &_result_ref;
4225 }
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = obj0; Py_INCREF(resultobj);
4231 }
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = 0;
4240 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4241 int arg2 ;
4242 wxPaneInfo *result = 0 ;
4243 void *argp1 = 0 ;
4244 int res1 = 0 ;
4245 int val2 ;
4246 int ecode2 = 0 ;
4247 PyObject * obj0 = 0 ;
4248 PyObject * obj1 = 0 ;
4249 char * kwnames[] = {
4250 (char *) "self",(char *) "layer", NULL
4251 };
4252
4253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4255 if (!SWIG_IsOK(res1)) {
4256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4257 }
4258 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4259 ecode2 = SWIG_AsVal_int(obj1, &val2);
4260 if (!SWIG_IsOK(ecode2)) {
4261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4262 }
4263 arg2 = static_cast< int >(val2);
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 {
4267 wxPaneInfo &_result_ref = (arg1)->Layer(arg2);
4268 result = (wxPaneInfo *) &_result_ref;
4269 }
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 {
4274 resultobj = obj0; Py_INCREF(resultobj);
4275 }
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj = 0;
4284 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4285 int arg2 ;
4286 wxPaneInfo *result = 0 ;
4287 void *argp1 = 0 ;
4288 int res1 = 0 ;
4289 int val2 ;
4290 int ecode2 = 0 ;
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 char * kwnames[] = {
4294 (char *) "self",(char *) "row", NULL
4295 };
4296
4297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4299 if (!SWIG_IsOK(res1)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4301 }
4302 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4303 ecode2 = SWIG_AsVal_int(obj1, &val2);
4304 if (!SWIG_IsOK(ecode2)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4306 }
4307 arg2 = static_cast< int >(val2);
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 {
4311 wxPaneInfo &_result_ref = (arg1)->Row(arg2);
4312 result = (wxPaneInfo *) &_result_ref;
4313 }
4314 wxPyEndAllowThreads(__tstate);
4315 if (PyErr_Occurred()) SWIG_fail;
4316 }
4317 {
4318 resultobj = obj0; Py_INCREF(resultobj);
4319 }
4320 return resultobj;
4321 fail:
4322 return NULL;
4323 }
4324
4325
4326 SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj = 0;
4328 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4329 int arg2 ;
4330 wxPaneInfo *result = 0 ;
4331 void *argp1 = 0 ;
4332 int res1 = 0 ;
4333 int val2 ;
4334 int ecode2 = 0 ;
4335 PyObject * obj0 = 0 ;
4336 PyObject * obj1 = 0 ;
4337 char * kwnames[] = {
4338 (char *) "self",(char *) "pos", NULL
4339 };
4340
4341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4343 if (!SWIG_IsOK(res1)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4345 }
4346 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4347 ecode2 = SWIG_AsVal_int(obj1, &val2);
4348 if (!SWIG_IsOK(ecode2)) {
4349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4350 }
4351 arg2 = static_cast< int >(val2);
4352 {
4353 PyThreadState* __tstate = wxPyBeginAllowThreads();
4354 {
4355 wxPaneInfo &_result_ref = (arg1)->Position(arg2);
4356 result = (wxPaneInfo *) &_result_ref;
4357 }
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
4361 {
4362 resultobj = obj0; Py_INCREF(resultobj);
4363 }
4364 return resultobj;
4365 fail:
4366 return NULL;
4367 }
4368
4369
4370 SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4371 PyObject *resultobj = 0;
4372 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4373 wxSize *arg2 = 0 ;
4374 wxPaneInfo *result = 0 ;
4375 void *argp1 = 0 ;
4376 int res1 = 0 ;
4377 wxSize temp2 ;
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 char * kwnames[] = {
4381 (char *) "self",(char *) "size", NULL
4382 };
4383
4384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4386 if (!SWIG_IsOK(res1)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4388 }
4389 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4390 {
4391 arg2 = &temp2;
4392 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4393 }
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 {
4397 wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4398 result = (wxPaneInfo *) &_result_ref;
4399 }
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 resultobj = obj0; Py_INCREF(resultobj);
4405 }
4406 return resultobj;
4407 fail:
4408 return NULL;
4409 }
4410
4411
4412 SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj = 0;
4414 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4415 wxSize *arg2 = 0 ;
4416 wxPaneInfo *result = 0 ;
4417 void *argp1 = 0 ;
4418 int res1 = 0 ;
4419 wxSize temp2 ;
4420 PyObject * obj0 = 0 ;
4421 PyObject * obj1 = 0 ;
4422 char * kwnames[] = {
4423 (char *) "self",(char *) "size", NULL
4424 };
4425
4426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4428 if (!SWIG_IsOK(res1)) {
4429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4430 }
4431 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4432 {
4433 arg2 = &temp2;
4434 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4435 }
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 {
4439 wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4440 result = (wxPaneInfo *) &_result_ref;
4441 }
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 {
4446 resultobj = obj0; Py_INCREF(resultobj);
4447 }
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj = 0;
4456 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4457 wxSize *arg2 = 0 ;
4458 wxPaneInfo *result = 0 ;
4459 void *argp1 = 0 ;
4460 int res1 = 0 ;
4461 wxSize temp2 ;
4462 PyObject * obj0 = 0 ;
4463 PyObject * obj1 = 0 ;
4464 char * kwnames[] = {
4465 (char *) "self",(char *) "size", NULL
4466 };
4467
4468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4470 if (!SWIG_IsOK(res1)) {
4471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4472 }
4473 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4474 {
4475 arg2 = &temp2;
4476 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4477 }
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 {
4481 wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4482 result = (wxPaneInfo *) &_result_ref;
4483 }
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 {
4488 resultobj = obj0; Py_INCREF(resultobj);
4489 }
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = 0;
4498 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4499 wxPoint *arg2 = 0 ;
4500 wxPaneInfo *result = 0 ;
4501 void *argp1 = 0 ;
4502 int res1 = 0 ;
4503 wxPoint temp2 ;
4504 PyObject * obj0 = 0 ;
4505 PyObject * obj1 = 0 ;
4506 char * kwnames[] = {
4507 (char *) "self",(char *) "pos", NULL
4508 };
4509
4510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4512 if (!SWIG_IsOK(res1)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4514 }
4515 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4516 {
4517 arg2 = &temp2;
4518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 {
4523 wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4524 result = (wxPaneInfo *) &_result_ref;
4525 }
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 {
4530 resultobj = obj0; Py_INCREF(resultobj);
4531 }
4532 return resultobj;
4533 fail:
4534 return NULL;
4535 }
4536
4537
4538 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj = 0;
4540 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4541 wxSize *arg2 = 0 ;
4542 wxPaneInfo *result = 0 ;
4543 void *argp1 = 0 ;
4544 int res1 = 0 ;
4545 wxSize temp2 ;
4546 PyObject * obj0 = 0 ;
4547 PyObject * obj1 = 0 ;
4548 char * kwnames[] = {
4549 (char *) "self",(char *) "size", NULL
4550 };
4551
4552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4554 if (!SWIG_IsOK(res1)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4556 }
4557 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4558 {
4559 arg2 = &temp2;
4560 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4561 }
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 {
4565 wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4566 result = (wxPaneInfo *) &_result_ref;
4567 }
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 {
4572 resultobj = obj0; Py_INCREF(resultobj);
4573 }
4574 return resultobj;
4575 fail:
4576 return NULL;
4577 }
4578
4579
4580 SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4581 PyObject *resultobj = 0;
4582 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4583 wxPaneInfo *result = 0 ;
4584 void *argp1 = 0 ;
4585 int res1 = 0 ;
4586 PyObject *swig_obj[1] ;
4587
4588 if (!args) SWIG_fail;
4589 swig_obj[0] = args;
4590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4593 }
4594 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 {
4598 wxPaneInfo &_result_ref = (arg1)->Fixed();
4599 result = (wxPaneInfo *) &_result_ref;
4600 }
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 {
4605 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4606 }
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj = 0;
4615 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4616 bool arg2 = (bool) true ;
4617 wxPaneInfo *result = 0 ;
4618 void *argp1 = 0 ;
4619 int res1 = 0 ;
4620 bool val2 ;
4621 int ecode2 = 0 ;
4622 PyObject * obj0 = 0 ;
4623 PyObject * obj1 = 0 ;
4624 char * kwnames[] = {
4625 (char *) "self",(char *) "resizable", NULL
4626 };
4627
4628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",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_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4632 }
4633 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4634 if (obj1) {
4635 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4636 if (!SWIG_IsOK(ecode2)) {
4637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4638 }
4639 arg2 = static_cast< bool >(val2);
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 {
4644 wxPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4645 result = (wxPaneInfo *) &_result_ref;
4646 }
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 {
4651 resultobj = obj0; Py_INCREF(resultobj);
4652 }
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4660 PyObject *resultobj = 0;
4661 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4662 wxPaneInfo *result = 0 ;
4663 void *argp1 = 0 ;
4664 int res1 = 0 ;
4665 PyObject *swig_obj[1] ;
4666
4667 if (!args) SWIG_fail;
4668 swig_obj[0] = args;
4669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4670 if (!SWIG_IsOK(res1)) {
4671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4672 }
4673 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 {
4677 wxPaneInfo &_result_ref = (arg1)->Dock();
4678 result = (wxPaneInfo *) &_result_ref;
4679 }
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 {
4684 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4685 }
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4693 PyObject *resultobj = 0;
4694 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4695 wxPaneInfo *result = 0 ;
4696 void *argp1 = 0 ;
4697 int res1 = 0 ;
4698 PyObject *swig_obj[1] ;
4699
4700 if (!args) SWIG_fail;
4701 swig_obj[0] = args;
4702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4703 if (!SWIG_IsOK(res1)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4705 }
4706 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4707 {
4708 PyThreadState* __tstate = wxPyBeginAllowThreads();
4709 {
4710 wxPaneInfo &_result_ref = (arg1)->Float();
4711 result = (wxPaneInfo *) &_result_ref;
4712 }
4713 wxPyEndAllowThreads(__tstate);
4714 if (PyErr_Occurred()) SWIG_fail;
4715 }
4716 {
4717 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4718 }
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4726 PyObject *resultobj = 0;
4727 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4728 wxPaneInfo *result = 0 ;
4729 void *argp1 = 0 ;
4730 int res1 = 0 ;
4731 PyObject *swig_obj[1] ;
4732
4733 if (!args) SWIG_fail;
4734 swig_obj[0] = args;
4735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4736 if (!SWIG_IsOK(res1)) {
4737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4738 }
4739 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 {
4743 wxPaneInfo &_result_ref = (arg1)->Hide();
4744 result = (wxPaneInfo *) &_result_ref;
4745 }
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 {
4750 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4751 }
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj = 0;
4760 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4761 bool arg2 = (bool) true ;
4762 wxPaneInfo *result = 0 ;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 bool val2 ;
4766 int ecode2 = 0 ;
4767 PyObject * obj0 = 0 ;
4768 PyObject * obj1 = 0 ;
4769 char * kwnames[] = {
4770 (char *) "self",(char *) "show", NULL
4771 };
4772
4773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
4774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4775 if (!SWIG_IsOK(res1)) {
4776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4777 }
4778 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4779 if (obj1) {
4780 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4781 if (!SWIG_IsOK(ecode2)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
4783 }
4784 arg2 = static_cast< bool >(val2);
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 {
4789 wxPaneInfo &_result_ref = (arg1)->Show(arg2);
4790 result = (wxPaneInfo *) &_result_ref;
4791 }
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 {
4796 resultobj = obj0; Py_INCREF(resultobj);
4797 }
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj = 0;
4806 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4807 bool arg2 = (bool) true ;
4808 wxPaneInfo *result = 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 bool val2 ;
4812 int ecode2 = 0 ;
4813 PyObject * obj0 = 0 ;
4814 PyObject * obj1 = 0 ;
4815 char * kwnames[] = {
4816 (char *) "self",(char *) "visible", NULL
4817 };
4818
4819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
4820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4821 if (!SWIG_IsOK(res1)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4823 }
4824 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4825 if (obj1) {
4826 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
4829 }
4830 arg2 = static_cast< bool >(val2);
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 {
4835 wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
4836 result = (wxPaneInfo *) &_result_ref;
4837 }
4838 wxPyEndAllowThreads(__tstate);
4839 if (PyErr_Occurred()) SWIG_fail;
4840 }
4841 {
4842 resultobj = obj0; Py_INCREF(resultobj);
4843 }
4844 return resultobj;
4845 fail:
4846 return NULL;
4847 }
4848
4849
4850 SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj = 0;
4852 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4853 bool arg2 = (bool) true ;
4854 wxPaneInfo *result = 0 ;
4855 void *argp1 = 0 ;
4856 int res1 = 0 ;
4857 bool val2 ;
4858 int ecode2 = 0 ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char * kwnames[] = {
4862 (char *) "self",(char *) "visible", NULL
4863 };
4864
4865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
4866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4867 if (!SWIG_IsOK(res1)) {
4868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4869 }
4870 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4871 if (obj1) {
4872 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4873 if (!SWIG_IsOK(ecode2)) {
4874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
4875 }
4876 arg2 = static_cast< bool >(val2);
4877 }
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 {
4881 wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
4882 result = (wxPaneInfo *) &_result_ref;
4883 }
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 {
4888 resultobj = obj0; Py_INCREF(resultobj);
4889 }
4890 return resultobj;
4891 fail:
4892 return NULL;
4893 }
4894
4895
4896 SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj = 0;
4898 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4899 bool arg2 = (bool) true ;
4900 wxPaneInfo *result = 0 ;
4901 void *argp1 = 0 ;
4902 int res1 = 0 ;
4903 bool val2 ;
4904 int ecode2 = 0 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 char * kwnames[] = {
4908 (char *) "self",(char *) "visible", NULL
4909 };
4910
4911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
4912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4913 if (!SWIG_IsOK(res1)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4915 }
4916 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4917 if (obj1) {
4918 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4919 if (!SWIG_IsOK(ecode2)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
4921 }
4922 arg2 = static_cast< bool >(val2);
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 {
4927 wxPaneInfo &_result_ref = (arg1)->Gripper(arg2);
4928 result = (wxPaneInfo *) &_result_ref;
4929 }
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 {
4934 resultobj = obj0; Py_INCREF(resultobj);
4935 }
4936 return resultobj;
4937 fail:
4938 return NULL;
4939 }
4940
4941
4942 SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj = 0;
4944 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4945 bool arg2 = (bool) true ;
4946 wxPaneInfo *result = 0 ;
4947 void *argp1 = 0 ;
4948 int res1 = 0 ;
4949 bool val2 ;
4950 int ecode2 = 0 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 char * kwnames[] = {
4954 (char *) "self",(char *) "attop", NULL
4955 };
4956
4957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
4958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4959 if (!SWIG_IsOK(res1)) {
4960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4961 }
4962 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4963 if (obj1) {
4964 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4965 if (!SWIG_IsOK(ecode2)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
4967 }
4968 arg2 = static_cast< bool >(val2);
4969 }
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 {
4973 wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
4974 result = (wxPaneInfo *) &_result_ref;
4975 }
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 {
4980 resultobj = obj0; Py_INCREF(resultobj);
4981 }
4982 return resultobj;
4983 fail:
4984 return NULL;
4985 }
4986
4987
4988 SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4989 PyObject *resultobj = 0;
4990 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4991 bool arg2 = (bool) true ;
4992 wxPaneInfo *result = 0 ;
4993 void *argp1 = 0 ;
4994 int res1 = 0 ;
4995 bool val2 ;
4996 int ecode2 = 0 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 char * kwnames[] = {
5000 (char *) "self",(char *) "visible", NULL
5001 };
5002
5003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5007 }
5008 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5009 if (obj1) {
5010 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5011 if (!SWIG_IsOK(ecode2)) {
5012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5013 }
5014 arg2 = static_cast< bool >(val2);
5015 }
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 {
5019 wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5020 result = (wxPaneInfo *) &_result_ref;
5021 }
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 {
5026 resultobj = obj0; Py_INCREF(resultobj);
5027 }
5028 return resultobj;
5029 fail:
5030 return NULL;
5031 }
5032
5033
5034 SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj = 0;
5036 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5037 bool arg2 = (bool) true ;
5038 wxPaneInfo *result = 0 ;
5039 void *argp1 = 0 ;
5040 int res1 = 0 ;
5041 bool val2 ;
5042 int ecode2 = 0 ;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj1 = 0 ;
5045 char * kwnames[] = {
5046 (char *) "self",(char *) "visible", NULL
5047 };
5048
5049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5051 if (!SWIG_IsOK(res1)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5053 }
5054 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5055 if (obj1) {
5056 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5057 if (!SWIG_IsOK(ecode2)) {
5058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5059 }
5060 arg2 = static_cast< bool >(val2);
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 {
5065 wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5066 result = (wxPaneInfo *) &_result_ref;
5067 }
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 {
5072 resultobj = obj0; Py_INCREF(resultobj);
5073 }
5074 return resultobj;
5075 fail:
5076 return NULL;
5077 }
5078
5079
5080 SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj = 0;
5082 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5083 bool arg2 = (bool) true ;
5084 wxPaneInfo *result = 0 ;
5085 void *argp1 = 0 ;
5086 int res1 = 0 ;
5087 bool val2 ;
5088 int ecode2 = 0 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 char * kwnames[] = {
5092 (char *) "self",(char *) "visible", NULL
5093 };
5094
5095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5097 if (!SWIG_IsOK(res1)) {
5098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5099 }
5100 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5101 if (obj1) {
5102 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5103 if (!SWIG_IsOK(ecode2)) {
5104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5105 }
5106 arg2 = static_cast< bool >(val2);
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 {
5111 wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5112 result = (wxPaneInfo *) &_result_ref;
5113 }
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 {
5118 resultobj = obj0; Py_INCREF(resultobj);
5119 }
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = 0;
5128 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5129 bool arg2 = (bool) true ;
5130 wxPaneInfo *result = 0 ;
5131 void *argp1 = 0 ;
5132 int res1 = 0 ;
5133 bool val2 ;
5134 int ecode2 = 0 ;
5135 PyObject * obj0 = 0 ;
5136 PyObject * obj1 = 0 ;
5137 char * kwnames[] = {
5138 (char *) "self",(char *) "visible", NULL
5139 };
5140
5141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5143 if (!SWIG_IsOK(res1)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5145 }
5146 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5147 if (obj1) {
5148 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5149 if (!SWIG_IsOK(ecode2)) {
5150 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5151 }
5152 arg2 = static_cast< bool >(val2);
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 {
5157 wxPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5158 result = (wxPaneInfo *) &_result_ref;
5159 }
5160 wxPyEndAllowThreads(__tstate);
5161 if (PyErr_Occurred()) SWIG_fail;
5162 }
5163 {
5164 resultobj = obj0; Py_INCREF(resultobj);
5165 }
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj = 0;
5174 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5175 bool arg2 = (bool) true ;
5176 wxPaneInfo *result = 0 ;
5177 void *argp1 = 0 ;
5178 int res1 = 0 ;
5179 bool val2 ;
5180 int ecode2 = 0 ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 char * kwnames[] = {
5184 (char *) "self",(char *) "b", NULL
5185 };
5186
5187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5189 if (!SWIG_IsOK(res1)) {
5190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5191 }
5192 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5193 if (obj1) {
5194 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5195 if (!SWIG_IsOK(ecode2)) {
5196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5197 }
5198 arg2 = static_cast< bool >(val2);
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 {
5203 wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5204 result = (wxPaneInfo *) &_result_ref;
5205 }
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 {
5210 resultobj = obj0; Py_INCREF(resultobj);
5211 }
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj = 0;
5220 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5221 bool arg2 = (bool) true ;
5222 wxPaneInfo *result = 0 ;
5223 void *argp1 = 0 ;
5224 int res1 = 0 ;
5225 bool val2 ;
5226 int ecode2 = 0 ;
5227 PyObject * obj0 = 0 ;
5228 PyObject * obj1 = 0 ;
5229 char * kwnames[] = {
5230 (char *) "self",(char *) "b", NULL
5231 };
5232
5233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5235 if (!SWIG_IsOK(res1)) {
5236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5237 }
5238 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5239 if (obj1) {
5240 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5241 if (!SWIG_IsOK(ecode2)) {
5242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5243 }
5244 arg2 = static_cast< bool >(val2);
5245 }
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 {
5249 wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5250 result = (wxPaneInfo *) &_result_ref;
5251 }
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 {
5256 resultobj = obj0; Py_INCREF(resultobj);
5257 }
5258 return resultobj;
5259 fail:
5260 return NULL;
5261 }
5262
5263
5264 SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj = 0;
5266 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5267 bool arg2 = (bool) true ;
5268 wxPaneInfo *result = 0 ;
5269 void *argp1 = 0 ;
5270 int res1 = 0 ;
5271 bool val2 ;
5272 int ecode2 = 0 ;
5273 PyObject * obj0 = 0 ;
5274 PyObject * obj1 = 0 ;
5275 char * kwnames[] = {
5276 (char *) "self",(char *) "b", NULL
5277 };
5278
5279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5281 if (!SWIG_IsOK(res1)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5283 }
5284 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5285 if (obj1) {
5286 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5287 if (!SWIG_IsOK(ecode2)) {
5288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5289 }
5290 arg2 = static_cast< bool >(val2);
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 {
5295 wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5296 result = (wxPaneInfo *) &_result_ref;
5297 }
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 {
5302 resultobj = obj0; Py_INCREF(resultobj);
5303 }
5304 return resultobj;
5305 fail:
5306 return NULL;
5307 }
5308
5309
5310 SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj = 0;
5312 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5313 bool arg2 = (bool) true ;
5314 wxPaneInfo *result = 0 ;
5315 void *argp1 = 0 ;
5316 int res1 = 0 ;
5317 bool val2 ;
5318 int ecode2 = 0 ;
5319 PyObject * obj0 = 0 ;
5320 PyObject * obj1 = 0 ;
5321 char * kwnames[] = {
5322 (char *) "self",(char *) "b", NULL
5323 };
5324
5325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5327 if (!SWIG_IsOK(res1)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5329 }
5330 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5331 if (obj1) {
5332 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5333 if (!SWIG_IsOK(ecode2)) {
5334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5335 }
5336 arg2 = static_cast< bool >(val2);
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 {
5341 wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5342 result = (wxPaneInfo *) &_result_ref;
5343 }
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 {
5348 resultobj = obj0; Py_INCREF(resultobj);
5349 }
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj = 0;
5358 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5359 bool arg2 = (bool) true ;
5360 wxPaneInfo *result = 0 ;
5361 void *argp1 = 0 ;
5362 int res1 = 0 ;
5363 bool val2 ;
5364 int ecode2 = 0 ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 char * kwnames[] = {
5368 (char *) "self",(char *) "b", NULL
5369 };
5370
5371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5373 if (!SWIG_IsOK(res1)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5375 }
5376 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5377 if (obj1) {
5378 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5379 if (!SWIG_IsOK(ecode2)) {
5380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5381 }
5382 arg2 = static_cast< bool >(val2);
5383 }
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 {
5387 wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5388 result = (wxPaneInfo *) &_result_ref;
5389 }
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 {
5394 resultobj = obj0; Py_INCREF(resultobj);
5395 }
5396 return resultobj;
5397 fail:
5398 return NULL;
5399 }
5400
5401
5402 SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj = 0;
5404 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5405 bool arg2 = (bool) true ;
5406 wxPaneInfo *result = 0 ;
5407 void *argp1 = 0 ;
5408 int res1 = 0 ;
5409 bool val2 ;
5410 int ecode2 = 0 ;
5411 PyObject * obj0 = 0 ;
5412 PyObject * obj1 = 0 ;
5413 char * kwnames[] = {
5414 (char *) "self",(char *) "b", NULL
5415 };
5416
5417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5419 if (!SWIG_IsOK(res1)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5421 }
5422 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5423 if (obj1) {
5424 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5425 if (!SWIG_IsOK(ecode2)) {
5426 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5427 }
5428 arg2 = static_cast< bool >(val2);
5429 }
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 {
5433 wxPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5434 result = (wxPaneInfo *) &_result_ref;
5435 }
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = obj0; Py_INCREF(resultobj);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5451 bool arg2 = (bool) true ;
5452 wxPaneInfo *result = 0 ;
5453 void *argp1 = 0 ;
5454 int res1 = 0 ;
5455 bool val2 ;
5456 int ecode2 = 0 ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 char * kwnames[] = {
5460 (char *) "self",(char *) "b", NULL
5461 };
5462
5463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5465 if (!SWIG_IsOK(res1)) {
5466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5467 }
5468 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5469 if (obj1) {
5470 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5471 if (!SWIG_IsOK(ecode2)) {
5472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5473 }
5474 arg2 = static_cast< bool >(val2);
5475 }
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 {
5479 wxPaneInfo &_result_ref = (arg1)->Movable(arg2);
5480 result = (wxPaneInfo *) &_result_ref;
5481 }
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 {
5486 resultobj = obj0; Py_INCREF(resultobj);
5487 }
5488 return resultobj;
5489 fail:
5490 return NULL;
5491 }
5492
5493
5494 SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj = 0;
5496 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5497 bool arg2 = (bool) true ;
5498 wxPaneInfo *result = 0 ;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 bool val2 ;
5502 int ecode2 = 0 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 char * kwnames[] = {
5506 (char *) "self",(char *) "b", NULL
5507 };
5508
5509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5511 if (!SWIG_IsOK(res1)) {
5512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5513 }
5514 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5515 if (obj1) {
5516 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5517 if (!SWIG_IsOK(ecode2)) {
5518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5519 }
5520 arg2 = static_cast< bool >(val2);
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 {
5525 wxPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5526 result = (wxPaneInfo *) &_result_ref;
5527 }
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 {
5532 resultobj = obj0; Py_INCREF(resultobj);
5533 }
5534 return resultobj;
5535 fail:
5536 return NULL;
5537 }
5538
5539
5540 SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5541 PyObject *resultobj = 0;
5542 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5543 wxPaneInfo *result = 0 ;
5544 void *argp1 = 0 ;
5545 int res1 = 0 ;
5546 PyObject *swig_obj[1] ;
5547
5548 if (!args) SWIG_fail;
5549 swig_obj[0] = args;
5550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5551 if (!SWIG_IsOK(res1)) {
5552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5553 }
5554 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 {
5558 wxPaneInfo &_result_ref = (arg1)->DefaultPane();
5559 result = (wxPaneInfo *) &_result_ref;
5560 }
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 {
5565 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5566 }
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5574 PyObject *resultobj = 0;
5575 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5576 wxPaneInfo *result = 0 ;
5577 void *argp1 = 0 ;
5578 int res1 = 0 ;
5579 PyObject *swig_obj[1] ;
5580
5581 if (!args) SWIG_fail;
5582 swig_obj[0] = args;
5583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5584 if (!SWIG_IsOK(res1)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5586 }
5587 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 {
5591 wxPaneInfo &_result_ref = (arg1)->CentrePane();
5592 result = (wxPaneInfo *) &_result_ref;
5593 }
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 {
5598 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5599 }
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5607 PyObject *resultobj = 0;
5608 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5609 wxPaneInfo *result = 0 ;
5610 void *argp1 = 0 ;
5611 int res1 = 0 ;
5612 PyObject *swig_obj[1] ;
5613
5614 if (!args) SWIG_fail;
5615 swig_obj[0] = args;
5616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5617 if (!SWIG_IsOK(res1)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5619 }
5620 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 {
5624 wxPaneInfo &_result_ref = (arg1)->CenterPane();
5625 result = (wxPaneInfo *) &_result_ref;
5626 }
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 {
5631 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5632 }
5633 return resultobj;
5634 fail:
5635 return NULL;
5636 }
5637
5638
5639 SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5640 PyObject *resultobj = 0;
5641 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5642 wxPaneInfo *result = 0 ;
5643 void *argp1 = 0 ;
5644 int res1 = 0 ;
5645 PyObject *swig_obj[1] ;
5646
5647 if (!args) SWIG_fail;
5648 swig_obj[0] = args;
5649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5650 if (!SWIG_IsOK(res1)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5652 }
5653 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 {
5657 wxPaneInfo &_result_ref = (arg1)->ToolbarPane();
5658 result = (wxPaneInfo *) &_result_ref;
5659 }
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 {
5664 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5665 }
5666 return resultobj;
5667 fail:
5668 return NULL;
5669 }
5670
5671
5672 SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj = 0;
5674 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5675 int arg2 ;
5676 bool arg3 ;
5677 wxPaneInfo *result = 0 ;
5678 void *argp1 = 0 ;
5679 int res1 = 0 ;
5680 int val2 ;
5681 int ecode2 = 0 ;
5682 bool val3 ;
5683 int ecode3 = 0 ;
5684 PyObject * obj0 = 0 ;
5685 PyObject * obj1 = 0 ;
5686 PyObject * obj2 = 0 ;
5687 char * kwnames[] = {
5688 (char *) "self",(char *) "flag",(char *) "option_state", NULL
5689 };
5690
5691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5693 if (!SWIG_IsOK(res1)) {
5694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5695 }
5696 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5697 ecode2 = SWIG_AsVal_int(obj1, &val2);
5698 if (!SWIG_IsOK(ecode2)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
5700 }
5701 arg2 = static_cast< int >(val2);
5702 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5703 if (!SWIG_IsOK(ecode3)) {
5704 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
5705 }
5706 arg3 = static_cast< bool >(val3);
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 {
5710 wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
5711 result = (wxPaneInfo *) &_result_ref;
5712 }
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 {
5717 resultobj = obj0; Py_INCREF(resultobj);
5718 }
5719 return resultobj;
5720 fail:
5721 return NULL;
5722 }
5723
5724
5725 SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5726 PyObject *resultobj = 0;
5727 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5728 int arg2 ;
5729 bool result;
5730 void *argp1 = 0 ;
5731 int res1 = 0 ;
5732 int val2 ;
5733 int ecode2 = 0 ;
5734 PyObject * obj0 = 0 ;
5735 PyObject * obj1 = 0 ;
5736 char * kwnames[] = {
5737 (char *) "self",(char *) "flag", NULL
5738 };
5739
5740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5742 if (!SWIG_IsOK(res1)) {
5743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
5744 }
5745 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5746 ecode2 = SWIG_AsVal_int(obj1, &val2);
5747 if (!SWIG_IsOK(ecode2)) {
5748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
5749 }
5750 arg2 = static_cast< int >(val2);
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2);
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 {
5758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5759 }
5760 return resultobj;
5761 fail:
5762 return NULL;
5763 }
5764
5765
5766 SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5767 PyObject *resultobj = 0;
5768 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5769 wxString *arg2 = (wxString *) 0 ;
5770 void *argp1 = 0 ;
5771 int res1 = 0 ;
5772 bool temp2 = false ;
5773 PyObject *swig_obj[2] ;
5774
5775 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
5776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5777 if (!SWIG_IsOK(res1)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5779 }
5780 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5781 {
5782 arg2 = wxString_in_helper(swig_obj[1]);
5783 if (arg2 == NULL) SWIG_fail;
5784 temp2 = true;
5785 }
5786 if (arg1) (arg1)->name = *arg2;
5787
5788 resultobj = SWIG_Py_Void();
5789 {
5790 if (temp2)
5791 delete arg2;
5792 }
5793 return resultobj;
5794 fail:
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return NULL;
5800 }
5801
5802
5803 SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5804 PyObject *resultobj = 0;
5805 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5806 wxString *result = 0 ;
5807 void *argp1 = 0 ;
5808 int res1 = 0 ;
5809 PyObject *swig_obj[1] ;
5810
5811 if (!args) SWIG_fail;
5812 swig_obj[0] = args;
5813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5814 if (!SWIG_IsOK(res1)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5816 }
5817 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5818 result = (wxString *)& ((arg1)->name);
5819 {
5820 #if wxUSE_UNICODE
5821 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5822 #else
5823 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5824 #endif
5825 }
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5833 PyObject *resultobj = 0;
5834 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5835 wxString *arg2 = (wxString *) 0 ;
5836 void *argp1 = 0 ;
5837 int res1 = 0 ;
5838 bool temp2 = false ;
5839 PyObject *swig_obj[2] ;
5840
5841 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
5842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5843 if (!SWIG_IsOK(res1)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5845 }
5846 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5847 {
5848 arg2 = wxString_in_helper(swig_obj[1]);
5849 if (arg2 == NULL) SWIG_fail;
5850 temp2 = true;
5851 }
5852 if (arg1) (arg1)->caption = *arg2;
5853
5854 resultobj = SWIG_Py_Void();
5855 {
5856 if (temp2)
5857 delete arg2;
5858 }
5859 return resultobj;
5860 fail:
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return NULL;
5866 }
5867
5868
5869 SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5870 PyObject *resultobj = 0;
5871 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5872 wxString *result = 0 ;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 PyObject *swig_obj[1] ;
5876
5877 if (!args) SWIG_fail;
5878 swig_obj[0] = args;
5879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5880 if (!SWIG_IsOK(res1)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5882 }
5883 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5884 result = (wxString *)& ((arg1)->caption);
5885 {
5886 #if wxUSE_UNICODE
5887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5888 #else
5889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5890 #endif
5891 }
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5899 PyObject *resultobj = 0;
5900 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5901 wxWindow *arg2 = (wxWindow *) 0 ;
5902 void *argp1 = 0 ;
5903 int res1 = 0 ;
5904 void *argp2 = 0 ;
5905 int res2 = 0 ;
5906 PyObject *swig_obj[2] ;
5907
5908 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5912 }
5913 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5914 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
5915 if (!SWIG_IsOK(res2)) {
5916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
5917 }
5918 arg2 = reinterpret_cast< wxWindow * >(argp2);
5919 if (arg1) (arg1)->window = arg2;
5920
5921 resultobj = SWIG_Py_Void();
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5929 PyObject *resultobj = 0;
5930 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5931 wxWindow *result = 0 ;
5932 void *argp1 = 0 ;
5933 int res1 = 0 ;
5934 PyObject *swig_obj[1] ;
5935
5936 if (!args) SWIG_fail;
5937 swig_obj[0] = args;
5938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5939 if (!SWIG_IsOK(res1)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5941 }
5942 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5943 result = (wxWindow *) ((arg1)->window);
5944 {
5945 resultobj = wxPyMake_wxObject(result, 0);
5946 }
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5956 wxFrame *arg2 = (wxFrame *) 0 ;
5957 void *argp1 = 0 ;
5958 int res1 = 0 ;
5959 void *argp2 = 0 ;
5960 int res2 = 0 ;
5961 PyObject *swig_obj[2] ;
5962
5963 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
5964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5965 if (!SWIG_IsOK(res1)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5967 }
5968 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5969 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
5970 if (!SWIG_IsOK(res2)) {
5971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
5972 }
5973 arg2 = reinterpret_cast< wxFrame * >(argp2);
5974 if (arg1) (arg1)->frame = arg2;
5975
5976 resultobj = SWIG_Py_Void();
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5984 PyObject *resultobj = 0;
5985 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5986 wxFrame *result = 0 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 PyObject *swig_obj[1] ;
5990
5991 if (!args) SWIG_fail;
5992 swig_obj[0] = args;
5993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5994 if (!SWIG_IsOK(res1)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5996 }
5997 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5998 result = (wxFrame *) ((arg1)->frame);
5999 {
6000 resultobj = wxPyMake_wxObject(result, 0);
6001 }
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6009 PyObject *resultobj = 0;
6010 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6011 int arg2 ;
6012 void *argp1 = 0 ;
6013 int res1 = 0 ;
6014 int val2 ;
6015 int ecode2 = 0 ;
6016 PyObject *swig_obj[2] ;
6017
6018 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6020 if (!SWIG_IsOK(res1)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6022 }
6023 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6024 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6025 if (!SWIG_IsOK(ecode2)) {
6026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6027 }
6028 arg2 = static_cast< int >(val2);
6029 if (arg1) (arg1)->state = arg2;
6030
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *resultobj = 0;
6040 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6041 int result;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 PyObject *swig_obj[1] ;
6045
6046 if (!args) SWIG_fail;
6047 swig_obj[0] = args;
6048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6049 if (!SWIG_IsOK(res1)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6051 }
6052 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6053 result = (int) ((arg1)->state);
6054 resultobj = SWIG_From_int(static_cast< int >(result));
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6062 PyObject *resultobj = 0;
6063 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6064 int arg2 ;
6065 void *argp1 = 0 ;
6066 int res1 = 0 ;
6067 int val2 ;
6068 int ecode2 = 0 ;
6069 PyObject *swig_obj[2] ;
6070
6071 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6073 if (!SWIG_IsOK(res1)) {
6074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6075 }
6076 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6077 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6078 if (!SWIG_IsOK(ecode2)) {
6079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6080 }
6081 arg2 = static_cast< int >(val2);
6082 if (arg1) (arg1)->dock_direction = arg2;
6083
6084 resultobj = SWIG_Py_Void();
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6092 PyObject *resultobj = 0;
6093 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6094 int result;
6095 void *argp1 = 0 ;
6096 int res1 = 0 ;
6097 PyObject *swig_obj[1] ;
6098
6099 if (!args) SWIG_fail;
6100 swig_obj[0] = args;
6101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6102 if (!SWIG_IsOK(res1)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6104 }
6105 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6106 result = (int) ((arg1)->dock_direction);
6107 resultobj = SWIG_From_int(static_cast< int >(result));
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6115 PyObject *resultobj = 0;
6116 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6117 int arg2 ;
6118 void *argp1 = 0 ;
6119 int res1 = 0 ;
6120 int val2 ;
6121 int ecode2 = 0 ;
6122 PyObject *swig_obj[2] ;
6123
6124 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6126 if (!SWIG_IsOK(res1)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6128 }
6129 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6130 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6131 if (!SWIG_IsOK(ecode2)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6133 }
6134 arg2 = static_cast< int >(val2);
6135 if (arg1) (arg1)->dock_layer = arg2;
6136
6137 resultobj = SWIG_Py_Void();
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6145 PyObject *resultobj = 0;
6146 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6147 int result;
6148 void *argp1 = 0 ;
6149 int res1 = 0 ;
6150 PyObject *swig_obj[1] ;
6151
6152 if (!args) SWIG_fail;
6153 swig_obj[0] = args;
6154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6155 if (!SWIG_IsOK(res1)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6157 }
6158 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6159 result = (int) ((arg1)->dock_layer);
6160 resultobj = SWIG_From_int(static_cast< int >(result));
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6168 PyObject *resultobj = 0;
6169 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6170 int arg2 ;
6171 void *argp1 = 0 ;
6172 int res1 = 0 ;
6173 int val2 ;
6174 int ecode2 = 0 ;
6175 PyObject *swig_obj[2] ;
6176
6177 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6179 if (!SWIG_IsOK(res1)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6181 }
6182 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6183 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6184 if (!SWIG_IsOK(ecode2)) {
6185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6186 }
6187 arg2 = static_cast< int >(val2);
6188 if (arg1) (arg1)->dock_row = arg2;
6189
6190 resultobj = SWIG_Py_Void();
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6198 PyObject *resultobj = 0;
6199 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6200 int result;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 PyObject *swig_obj[1] ;
6204
6205 if (!args) SWIG_fail;
6206 swig_obj[0] = args;
6207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6208 if (!SWIG_IsOK(res1)) {
6209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6210 }
6211 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6212 result = (int) ((arg1)->dock_row);
6213 resultobj = SWIG_From_int(static_cast< int >(result));
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6221 PyObject *resultobj = 0;
6222 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6223 int arg2 ;
6224 void *argp1 = 0 ;
6225 int res1 = 0 ;
6226 int val2 ;
6227 int ecode2 = 0 ;
6228 PyObject *swig_obj[2] ;
6229
6230 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6232 if (!SWIG_IsOK(res1)) {
6233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6234 }
6235 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6236 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6237 if (!SWIG_IsOK(ecode2)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6239 }
6240 arg2 = static_cast< int >(val2);
6241 if (arg1) (arg1)->dock_pos = arg2;
6242
6243 resultobj = SWIG_Py_Void();
6244 return resultobj;
6245 fail:
6246 return NULL;
6247 }
6248
6249
6250 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6251 PyObject *resultobj = 0;
6252 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6253 int result;
6254 void *argp1 = 0 ;
6255 int res1 = 0 ;
6256 PyObject *swig_obj[1] ;
6257
6258 if (!args) SWIG_fail;
6259 swig_obj[0] = args;
6260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6261 if (!SWIG_IsOK(res1)) {
6262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6263 }
6264 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6265 result = (int) ((arg1)->dock_pos);
6266 resultobj = SWIG_From_int(static_cast< int >(result));
6267 return resultobj;
6268 fail:
6269 return NULL;
6270 }
6271
6272
6273 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6274 PyObject *resultobj = 0;
6275 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6276 wxSize *arg2 = (wxSize *) 0 ;
6277 void *argp1 = 0 ;
6278 int res1 = 0 ;
6279 void *argp2 = 0 ;
6280 int res2 = 0 ;
6281 PyObject *swig_obj[2] ;
6282
6283 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6285 if (!SWIG_IsOK(res1)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6287 }
6288 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6289 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6290 if (!SWIG_IsOK(res2)) {
6291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6292 }
6293 arg2 = reinterpret_cast< wxSize * >(argp2);
6294 if (arg1) (arg1)->best_size = *arg2;
6295
6296 resultobj = SWIG_Py_Void();
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6304 PyObject *resultobj = 0;
6305 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6306 wxSize *result = 0 ;
6307 void *argp1 = 0 ;
6308 int res1 = 0 ;
6309 PyObject *swig_obj[1] ;
6310
6311 if (!args) SWIG_fail;
6312 swig_obj[0] = args;
6313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6314 if (!SWIG_IsOK(res1)) {
6315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6316 }
6317 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6318 result = (wxSize *)& ((arg1)->best_size);
6319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6320 return resultobj;
6321 fail:
6322 return NULL;
6323 }
6324
6325
6326 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6327 PyObject *resultobj = 0;
6328 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6329 wxSize *arg2 = (wxSize *) 0 ;
6330 void *argp1 = 0 ;
6331 int res1 = 0 ;
6332 void *argp2 = 0 ;
6333 int res2 = 0 ;
6334 PyObject *swig_obj[2] ;
6335
6336 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6338 if (!SWIG_IsOK(res1)) {
6339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6340 }
6341 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6342 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6343 if (!SWIG_IsOK(res2)) {
6344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6345 }
6346 arg2 = reinterpret_cast< wxSize * >(argp2);
6347 if (arg1) (arg1)->min_size = *arg2;
6348
6349 resultobj = SWIG_Py_Void();
6350 return resultobj;
6351 fail:
6352 return NULL;
6353 }
6354
6355
6356 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6357 PyObject *resultobj = 0;
6358 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6359 wxSize *result = 0 ;
6360 void *argp1 = 0 ;
6361 int res1 = 0 ;
6362 PyObject *swig_obj[1] ;
6363
6364 if (!args) SWIG_fail;
6365 swig_obj[0] = args;
6366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6367 if (!SWIG_IsOK(res1)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6369 }
6370 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6371 result = (wxSize *)& ((arg1)->min_size);
6372 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6373 return resultobj;
6374 fail:
6375 return NULL;
6376 }
6377
6378
6379 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6380 PyObject *resultobj = 0;
6381 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6382 wxSize *arg2 = (wxSize *) 0 ;
6383 void *argp1 = 0 ;
6384 int res1 = 0 ;
6385 void *argp2 = 0 ;
6386 int res2 = 0 ;
6387 PyObject *swig_obj[2] ;
6388
6389 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6391 if (!SWIG_IsOK(res1)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6393 }
6394 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6395 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6396 if (!SWIG_IsOK(res2)) {
6397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6398 }
6399 arg2 = reinterpret_cast< wxSize * >(argp2);
6400 if (arg1) (arg1)->max_size = *arg2;
6401
6402 resultobj = SWIG_Py_Void();
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6410 PyObject *resultobj = 0;
6411 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6412 wxSize *result = 0 ;
6413 void *argp1 = 0 ;
6414 int res1 = 0 ;
6415 PyObject *swig_obj[1] ;
6416
6417 if (!args) SWIG_fail;
6418 swig_obj[0] = args;
6419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6420 if (!SWIG_IsOK(res1)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6422 }
6423 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6424 result = (wxSize *)& ((arg1)->max_size);
6425 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6433 PyObject *resultobj = 0;
6434 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6435 wxPoint *arg2 = (wxPoint *) 0 ;
6436 void *argp1 = 0 ;
6437 int res1 = 0 ;
6438 void *argp2 = 0 ;
6439 int res2 = 0 ;
6440 PyObject *swig_obj[2] ;
6441
6442 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6444 if (!SWIG_IsOK(res1)) {
6445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6446 }
6447 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6448 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6449 if (!SWIG_IsOK(res2)) {
6450 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6451 }
6452 arg2 = reinterpret_cast< wxPoint * >(argp2);
6453 if (arg1) (arg1)->floating_pos = *arg2;
6454
6455 resultobj = SWIG_Py_Void();
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6463 PyObject *resultobj = 0;
6464 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6465 wxPoint *result = 0 ;
6466 void *argp1 = 0 ;
6467 int res1 = 0 ;
6468 PyObject *swig_obj[1] ;
6469
6470 if (!args) SWIG_fail;
6471 swig_obj[0] = args;
6472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6473 if (!SWIG_IsOK(res1)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6475 }
6476 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6477 result = (wxPoint *)& ((arg1)->floating_pos);
6478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6479 return resultobj;
6480 fail:
6481 return NULL;
6482 }
6483
6484
6485 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6486 PyObject *resultobj = 0;
6487 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6488 wxSize *arg2 = (wxSize *) 0 ;
6489 void *argp1 = 0 ;
6490 int res1 = 0 ;
6491 void *argp2 = 0 ;
6492 int res2 = 0 ;
6493 PyObject *swig_obj[2] ;
6494
6495 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6497 if (!SWIG_IsOK(res1)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6499 }
6500 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6501 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6502 if (!SWIG_IsOK(res2)) {
6503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6504 }
6505 arg2 = reinterpret_cast< wxSize * >(argp2);
6506 if (arg1) (arg1)->floating_size = *arg2;
6507
6508 resultobj = SWIG_Py_Void();
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6516 PyObject *resultobj = 0;
6517 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6518 wxSize *result = 0 ;
6519 void *argp1 = 0 ;
6520 int res1 = 0 ;
6521 PyObject *swig_obj[1] ;
6522
6523 if (!args) SWIG_fail;
6524 swig_obj[0] = args;
6525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6526 if (!SWIG_IsOK(res1)) {
6527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6528 }
6529 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6530 result = (wxSize *)& ((arg1)->floating_size);
6531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6539 PyObject *resultobj = 0;
6540 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6541 int arg2 ;
6542 void *argp1 = 0 ;
6543 int res1 = 0 ;
6544 int val2 ;
6545 int ecode2 = 0 ;
6546 PyObject *swig_obj[2] ;
6547
6548 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6550 if (!SWIG_IsOK(res1)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6552 }
6553 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6554 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6555 if (!SWIG_IsOK(ecode2)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6557 }
6558 arg2 = static_cast< int >(val2);
6559 if (arg1) (arg1)->dock_proportion = arg2;
6560
6561 resultobj = SWIG_Py_Void();
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6569 PyObject *resultobj = 0;
6570 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6571 int result;
6572 void *argp1 = 0 ;
6573 int res1 = 0 ;
6574 PyObject *swig_obj[1] ;
6575
6576 if (!args) SWIG_fail;
6577 swig_obj[0] = args;
6578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6579 if (!SWIG_IsOK(res1)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6581 }
6582 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6583 result = (int) ((arg1)->dock_proportion);
6584 resultobj = SWIG_From_int(static_cast< int >(result));
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6592 PyObject *resultobj = 0;
6593 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6594 wxPaneButtonArray arg2 ;
6595 void *argp1 = 0 ;
6596 int res1 = 0 ;
6597 void *argp2 ;
6598 int res2 = 0 ;
6599 PyObject *swig_obj[2] ;
6600
6601 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6603 if (!SWIG_IsOK(res1)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6605 }
6606 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6607 {
6608 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0);
6609 if (!SWIG_IsOK(res2)) {
6610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6611 }
6612 if (!argp2) {
6613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6614 } else {
6615 wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2);
6616 arg2 = *temp;
6617 if (SWIG_IsNewObj(res2)) delete temp;
6618 }
6619 }
6620 if (arg1) (arg1)->buttons = arg2;
6621
6622 resultobj = SWIG_Py_Void();
6623 return resultobj;
6624 fail:
6625 return NULL;
6626 }
6627
6628
6629 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6630 PyObject *resultobj = 0;
6631 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6632 wxPaneButtonArray result;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 PyObject *swig_obj[1] ;
6636
6637 if (!args) SWIG_fail;
6638 swig_obj[0] = args;
6639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6640 if (!SWIG_IsOK(res1)) {
6641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6642 }
6643 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6644 result = ((arg1)->buttons);
6645 resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 );
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6653 PyObject *resultobj = 0;
6654 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6655 wxRect *arg2 = (wxRect *) 0 ;
6656 void *argp1 = 0 ;
6657 int res1 = 0 ;
6658 void *argp2 = 0 ;
6659 int res2 = 0 ;
6660 PyObject *swig_obj[2] ;
6661
6662 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
6663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6664 if (!SWIG_IsOK(res1)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6666 }
6667 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6668 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
6669 if (!SWIG_IsOK(res2)) {
6670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
6671 }
6672 arg2 = reinterpret_cast< wxRect * >(argp2);
6673 if (arg1) (arg1)->rect = *arg2;
6674
6675 resultobj = SWIG_Py_Void();
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6683 PyObject *resultobj = 0;
6684 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6685 wxRect *result = 0 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 PyObject *swig_obj[1] ;
6689
6690 if (!args) SWIG_fail;
6691 swig_obj[0] = args;
6692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6693 if (!SWIG_IsOK(res1)) {
6694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6695 }
6696 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6697 result = (wxRect *)& ((arg1)->rect);
6698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6706 PyObject *obj;
6707 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6708 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj));
6709 return SWIG_Py_Void();
6710 }
6711
6712 SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6713 return SWIG_Python_InitShadowInstance(args);
6714 }
6715
6716 SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6717 PyObject *resultobj = 0;
6718 wxWindow *arg1 = (wxWindow *) NULL ;
6719 int arg2 = (int) wxAUI_MGR_DEFAULT ;
6720 wxFrameManager *result = 0 ;
6721 void *argp1 = 0 ;
6722 int res1 = 0 ;
6723 int val2 ;
6724 int ecode2 = 0 ;
6725 PyObject * obj0 = 0 ;
6726 PyObject * obj1 = 0 ;
6727 char * kwnames[] = {
6728 (char *) "managed_wnd",(char *) "flags", NULL
6729 };
6730
6731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
6732 if (obj0) {
6733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6734 if (!SWIG_IsOK(res1)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
6736 }
6737 arg1 = reinterpret_cast< wxWindow * >(argp1);
6738 }
6739 if (obj1) {
6740 ecode2 = SWIG_AsVal_int(obj1, &val2);
6741 if (!SWIG_IsOK(ecode2)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'");
6743 }
6744 arg2 = static_cast< int >(val2);
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (wxFrameManager *)new wxFrameManager(arg1,arg2);
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 );
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6760 PyObject *resultobj = 0;
6761 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6762 void *argp1 = 0 ;
6763 int res1 = 0 ;
6764 PyObject *swig_obj[1] ;
6765
6766 if (!args) SWIG_fail;
6767 swig_obj[0] = args;
6768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 );
6769 if (!SWIG_IsOK(res1)) {
6770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6771 }
6772 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 delete arg1;
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 resultobj = SWIG_Py_Void();
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6788 PyObject *resultobj = 0;
6789 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6790 void *argp1 = 0 ;
6791 int res1 = 0 ;
6792 PyObject *swig_obj[1] ;
6793
6794 if (!args) SWIG_fail;
6795 swig_obj[0] = args;
6796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6797 if (!SWIG_IsOK(res1)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6799 }
6800 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 (arg1)->UnInit();
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_Py_Void();
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj = 0;
6816 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6817 int arg2 ;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 int val2 ;
6821 int ecode2 = 0 ;
6822 PyObject * obj0 = 0 ;
6823 PyObject * obj1 = 0 ;
6824 char * kwnames[] = {
6825 (char *) "self",(char *) "flags", NULL
6826 };
6827
6828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
6829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6832 }
6833 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6834 ecode2 = SWIG_AsVal_int(obj1, &val2);
6835 if (!SWIG_IsOK(ecode2)) {
6836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
6837 }
6838 arg2 = static_cast< int >(val2);
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 (arg1)->SetFlags(arg2);
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = SWIG_Py_Void();
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6853 PyObject *resultobj = 0;
6854 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6855 int result;
6856 void *argp1 = 0 ;
6857 int res1 = 0 ;
6858 PyObject *swig_obj[1] ;
6859
6860 if (!args) SWIG_fail;
6861 swig_obj[0] = args;
6862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6863 if (!SWIG_IsOK(res1)) {
6864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6865 }
6866 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 result = (int)((wxFrameManager const *)arg1)->GetFlags();
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_From_int(static_cast< int >(result));
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj = 0;
6882 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6883 wxWindow *arg2 = (wxWindow *) 0 ;
6884 void *argp1 = 0 ;
6885 int res1 = 0 ;
6886 void *argp2 = 0 ;
6887 int res2 = 0 ;
6888 PyObject * obj0 = 0 ;
6889 PyObject * obj1 = 0 ;
6890 char * kwnames[] = {
6891 (char *) "self",(char *) "managed_wnd", NULL
6892 };
6893
6894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
6895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6896 if (!SWIG_IsOK(res1)) {
6897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6898 }
6899 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6901 if (!SWIG_IsOK(res2)) {
6902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
6903 }
6904 arg2 = reinterpret_cast< wxWindow * >(argp2);
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 (arg1)->SetManagedWindow(arg2);
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = SWIG_Py_Void();
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6919 PyObject *resultobj = 0;
6920 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6921 wxWindow *result = 0 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 PyObject *swig_obj[1] ;
6925
6926 if (!args) SWIG_fail;
6927 swig_obj[0] = args;
6928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6929 if (!SWIG_IsOK(res1)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6931 }
6932 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
6936 wxPyEndAllowThreads(__tstate);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 }
6939 {
6940 resultobj = wxPyMake_wxObject(result, 0);
6941 }
6942 return resultobj;
6943 fail:
6944 return NULL;
6945 }
6946
6947
6948 SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6949 PyObject *resultobj = 0;
6950 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6951 wxDockArt *arg2 = (wxDockArt *) 0 ;
6952 void *argp1 = 0 ;
6953 int res1 = 0 ;
6954 int res2 = 0 ;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 char * kwnames[] = {
6958 (char *) "self",(char *) "art_provider", NULL
6959 };
6960
6961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
6962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6963 if (!SWIG_IsOK(res1)) {
6964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6965 }
6966 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6967 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
6968 if (!SWIG_IsOK(res2)) {
6969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'");
6970 }
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 (arg1)->SetArtProvider(arg2);
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 resultobj = SWIG_Py_Void();
6978 return resultobj;
6979 fail:
6980 return NULL;
6981 }
6982
6983
6984 SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6985 PyObject *resultobj = 0;
6986 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6987 wxDockArt *result = 0 ;
6988 void *argp1 = 0 ;
6989 int res1 = 0 ;
6990 PyObject *swig_obj[1] ;
6991
6992 if (!args) SWIG_fail;
6993 swig_obj[0] = args;
6994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6995 if (!SWIG_IsOK(res1)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6997 }
6998 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider();
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 );
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj = 0;
7014 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7015 wxWindow *arg2 = (wxWindow *) 0 ;
7016 wxPaneInfo *result = 0 ;
7017 void *argp1 = 0 ;
7018 int res1 = 0 ;
7019 void *argp2 = 0 ;
7020 int res2 = 0 ;
7021 PyObject * obj0 = 0 ;
7022 PyObject * obj1 = 0 ;
7023 char * kwnames[] = {
7024 (char *) "self",(char *) "window", NULL
7025 };
7026
7027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7029 if (!SWIG_IsOK(res1)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7031 }
7032 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7033 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7034 if (!SWIG_IsOK(res2)) {
7035 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7036 }
7037 arg2 = reinterpret_cast< wxWindow * >(argp2);
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 {
7041 wxPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7042 result = (wxPaneInfo *) &_result_ref;
7043 }
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7048 return resultobj;
7049 fail:
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj = 0;
7056 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7057 wxString *arg2 = 0 ;
7058 wxPaneInfo *result = 0 ;
7059 void *argp1 = 0 ;
7060 int res1 = 0 ;
7061 bool temp2 = false ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char * kwnames[] = {
7065 (char *) "self",(char *) "name", NULL
7066 };
7067
7068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7070 if (!SWIG_IsOK(res1)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7072 }
7073 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7074 {
7075 arg2 = wxString_in_helper(obj1);
7076 if (arg2 == NULL) SWIG_fail;
7077 temp2 = true;
7078 }
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 {
7082 wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7083 result = (wxPaneInfo *) &_result_ref;
7084 }
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7089 {
7090 if (temp2)
7091 delete arg2;
7092 }
7093 return resultobj;
7094 fail:
7095 {
7096 if (temp2)
7097 delete arg2;
7098 }
7099 return NULL;
7100 }
7101
7102
7103 SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7104 PyObject *resultobj = 0;
7105 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7106 wxPaneInfoArray *result = 0 ;
7107 void *argp1 = 0 ;
7108 int res1 = 0 ;
7109 PyObject *swig_obj[1] ;
7110
7111 if (!args) SWIG_fail;
7112 swig_obj[0] = args;
7113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7114 if (!SWIG_IsOK(res1)) {
7115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7116 }
7117 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 {
7121 wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7122 result = (wxPaneInfoArray *) &_result_ref;
7123 }
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
7128 resultobj = PyList_New(0);
7129 for (size_t i=0; i < result->GetCount(); i++) {
7130 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0);
7131 PyList_Append(resultobj, pane_obj);
7132 }
7133 }
7134 return resultobj;
7135 fail:
7136 return NULL;
7137 }
7138
7139
7140 SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj = 0;
7142 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7143 wxWindow *arg2 = (wxWindow *) 0 ;
7144 wxPaneInfo *arg3 = 0 ;
7145 bool result;
7146 void *argp1 = 0 ;
7147 int res1 = 0 ;
7148 void *argp2 = 0 ;
7149 int res2 = 0 ;
7150 void *argp3 = 0 ;
7151 int res3 = 0 ;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj1 = 0 ;
7154 PyObject * obj2 = 0 ;
7155 char * kwnames[] = {
7156 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7157 };
7158
7159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7161 if (!SWIG_IsOK(res1)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7163 }
7164 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7166 if (!SWIG_IsOK(res2)) {
7167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7168 }
7169 arg2 = reinterpret_cast< wxWindow * >(argp2);
7170 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7171 if (!SWIG_IsOK(res3)) {
7172 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7173 }
7174 if (!argp3) {
7175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7176 }
7177 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3);
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 {
7185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7186 }
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj = 0;
7195 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7196 wxWindow *arg2 = (wxWindow *) 0 ;
7197 wxPaneInfo *arg3 = 0 ;
7198 wxPoint *arg4 = 0 ;
7199 bool result;
7200 void *argp1 = 0 ;
7201 int res1 = 0 ;
7202 void *argp2 = 0 ;
7203 int res2 = 0 ;
7204 void *argp3 = 0 ;
7205 int res3 = 0 ;
7206 wxPoint temp4 ;
7207 PyObject * obj0 = 0 ;
7208 PyObject * obj1 = 0 ;
7209 PyObject * obj2 = 0 ;
7210 PyObject * obj3 = 0 ;
7211 char * kwnames[] = {
7212 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7213 };
7214
7215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7217 if (!SWIG_IsOK(res1)) {
7218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7219 }
7220 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7221 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7222 if (!SWIG_IsOK(res2)) {
7223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
7224 }
7225 arg2 = reinterpret_cast< wxWindow * >(argp2);
7226 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7227 if (!SWIG_IsOK(res3)) {
7228 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7229 }
7230 if (!argp3) {
7231 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7232 }
7233 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7234 {
7235 arg4 = &temp4;
7236 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7237 }
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7246 }
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj = 0;
7255 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7256 wxWindow *arg2 = (wxWindow *) 0 ;
7257 int arg3 = (int) wxLEFT ;
7258 wxString const &arg4_defvalue = wxEmptyString ;
7259 wxString *arg4 = (wxString *) &arg4_defvalue ;
7260 bool result;
7261 void *argp1 = 0 ;
7262 int res1 = 0 ;
7263 void *argp2 = 0 ;
7264 int res2 = 0 ;
7265 int val3 ;
7266 int ecode3 = 0 ;
7267 bool temp4 = false ;
7268 PyObject * obj0 = 0 ;
7269 PyObject * obj1 = 0 ;
7270 PyObject * obj2 = 0 ;
7271 PyObject * obj3 = 0 ;
7272 char * kwnames[] = {
7273 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7274 };
7275
7276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7278 if (!SWIG_IsOK(res1)) {
7279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7280 }
7281 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7283 if (!SWIG_IsOK(res2)) {
7284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7285 }
7286 arg2 = reinterpret_cast< wxWindow * >(argp2);
7287 if (obj2) {
7288 ecode3 = SWIG_AsVal_int(obj2, &val3);
7289 if (!SWIG_IsOK(ecode3)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7291 }
7292 arg3 = static_cast< int >(val3);
7293 }
7294 if (obj3) {
7295 {
7296 arg4 = wxString_in_helper(obj3);
7297 if (arg4 == NULL) SWIG_fail;
7298 temp4 = true;
7299 }
7300 }
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 {
7308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7309 }
7310 {
7311 if (temp4)
7312 delete arg4;
7313 }
7314 return resultobj;
7315 fail:
7316 {
7317 if (temp4)
7318 delete arg4;
7319 }
7320 return NULL;
7321 }
7322
7323
7324 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7327 wxWindow *arg2 = (wxWindow *) 0 ;
7328 wxPaneInfo *arg3 = 0 ;
7329 int arg4 = (int) wxAUI_INSERT_PANE ;
7330 bool result;
7331 void *argp1 = 0 ;
7332 int res1 = 0 ;
7333 void *argp2 = 0 ;
7334 int res2 = 0 ;
7335 void *argp3 = 0 ;
7336 int res3 = 0 ;
7337 int val4 ;
7338 int ecode4 = 0 ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 PyObject * obj2 = 0 ;
7342 PyObject * obj3 = 0 ;
7343 char * kwnames[] = {
7344 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7345 };
7346
7347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7349 if (!SWIG_IsOK(res1)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7351 }
7352 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7354 if (!SWIG_IsOK(res2)) {
7355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7356 }
7357 arg2 = reinterpret_cast< wxWindow * >(argp2);
7358 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7359 if (!SWIG_IsOK(res3)) {
7360 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7361 }
7362 if (!argp3) {
7363 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7364 }
7365 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7366 if (obj3) {
7367 ecode4 = SWIG_AsVal_int(obj3, &val4);
7368 if (!SWIG_IsOK(ecode4)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7370 }
7371 arg4 = static_cast< int >(val4);
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7381 }
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj = 0;
7390 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7391 wxWindow *arg2 = (wxWindow *) 0 ;
7392 bool result;
7393 void *argp1 = 0 ;
7394 int res1 = 0 ;
7395 void *argp2 = 0 ;
7396 int res2 = 0 ;
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
7399 char * kwnames[] = {
7400 (char *) "self",(char *) "window", NULL
7401 };
7402
7403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7405 if (!SWIG_IsOK(res1)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7407 }
7408 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7409 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7410 if (!SWIG_IsOK(res2)) {
7411 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7412 }
7413 arg2 = reinterpret_cast< wxWindow * >(argp2);
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 result = (bool)(arg1)->DetachPane(arg2);
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
7420 {
7421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7422 }
7423 return resultobj;
7424 fail:
7425 return NULL;
7426 }
7427
7428
7429 SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj = 0;
7431 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7432 wxPaneInfo *arg2 = 0 ;
7433 wxString result;
7434 void *argp1 = 0 ;
7435 int res1 = 0 ;
7436 void *argp2 = 0 ;
7437 int res2 = 0 ;
7438 PyObject * obj0 = 0 ;
7439 PyObject * obj1 = 0 ;
7440 char * kwnames[] = {
7441 (char *) "self",(char *) "pane", NULL
7442 };
7443
7444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
7445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7446 if (!SWIG_IsOK(res1)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7448 }
7449 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7450 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 );
7451 if (!SWIG_IsOK(res2)) {
7452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7453 }
7454 if (!argp2) {
7455 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7456 }
7457 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 result = (arg1)->SavePaneInfo(*arg2);
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 {
7465 #if wxUSE_UNICODE
7466 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7467 #else
7468 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7469 #endif
7470 }
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj = 0;
7479 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7480 wxString arg2 ;
7481 wxPaneInfo *arg3 = 0 ;
7482 void *argp1 = 0 ;
7483 int res1 = 0 ;
7484 void *argp3 = 0 ;
7485 int res3 = 0 ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 PyObject * obj2 = 0 ;
7489 char * kwnames[] = {
7490 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
7491 };
7492
7493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7497 }
7498 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7499 {
7500 wxString* sptr = wxString_in_helper(obj1);
7501 if (sptr == NULL) SWIG_fail;
7502 arg2 = *sptr;
7503 delete sptr;
7504 }
7505 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 );
7506 if (!SWIG_IsOK(res3)) {
7507 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7508 }
7509 if (!argp3) {
7510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7511 }
7512 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 (arg1)->LoadPaneInfo(arg2,*arg3);
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = SWIG_Py_Void();
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7527 PyObject *resultobj = 0;
7528 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7529 wxString result;
7530 void *argp1 = 0 ;
7531 int res1 = 0 ;
7532 PyObject *swig_obj[1] ;
7533
7534 if (!args) SWIG_fail;
7535 swig_obj[0] = args;
7536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7537 if (!SWIG_IsOK(res1)) {
7538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7539 }
7540 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (arg1)->SavePerspective();
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 {
7548 #if wxUSE_UNICODE
7549 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7550 #else
7551 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7552 #endif
7553 }
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj = 0;
7562 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7563 wxString *arg2 = 0 ;
7564 bool arg3 = (bool) true ;
7565 bool result;
7566 void *argp1 = 0 ;
7567 int res1 = 0 ;
7568 bool temp2 = false ;
7569 bool val3 ;
7570 int ecode3 = 0 ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 PyObject * obj2 = 0 ;
7574 char * kwnames[] = {
7575 (char *) "self",(char *) "perspective",(char *) "update", NULL
7576 };
7577
7578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7580 if (!SWIG_IsOK(res1)) {
7581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7582 }
7583 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7584 {
7585 arg2 = wxString_in_helper(obj1);
7586 if (arg2 == NULL) SWIG_fail;
7587 temp2 = true;
7588 }
7589 if (obj2) {
7590 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7591 if (!SWIG_IsOK(ecode3)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7593 }
7594 arg3 = static_cast< bool >(val3);
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 {
7603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7604 }
7605 {
7606 if (temp2)
7607 delete arg2;
7608 }
7609 return resultobj;
7610 fail:
7611 {
7612 if (temp2)
7613 delete arg2;
7614 }
7615 return NULL;
7616 }
7617
7618
7619 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7620 PyObject *resultobj = 0;
7621 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7622 void *argp1 = 0 ;
7623 int res1 = 0 ;
7624 PyObject *swig_obj[1] ;
7625
7626 if (!args) SWIG_fail;
7627 swig_obj[0] = args;
7628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7629 if (!SWIG_IsOK(res1)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7631 }
7632 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 (arg1)->Update();
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_Py_Void();
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj = 0;
7648 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7649 wxWindow *arg2 = (wxWindow *) 0 ;
7650 wxPoint *arg3 = 0 ;
7651 wxPoint *arg4 = 0 ;
7652 void *argp1 = 0 ;
7653 int res1 = 0 ;
7654 void *argp2 = 0 ;
7655 int res2 = 0 ;
7656 wxPoint temp3 ;
7657 wxPoint temp4 ;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 PyObject * obj2 = 0 ;
7661 PyObject * obj3 = 0 ;
7662 char * kwnames[] = {
7663 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
7664 };
7665
7666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7668 if (!SWIG_IsOK(res1)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7670 }
7671 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7673 if (!SWIG_IsOK(res2)) {
7674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
7675 }
7676 arg2 = reinterpret_cast< wxWindow * >(argp2);
7677 {
7678 arg3 = &temp3;
7679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7680 }
7681 {
7682 arg4 = &temp4;
7683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7684 }
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 resultobj = SWIG_Py_Void();
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj = 0;
7700 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7701 wxRect *arg2 = 0 ;
7702 void *argp1 = 0 ;
7703 int res1 = 0 ;
7704 wxRect temp2 ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "rect", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7715 }
7716 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7717 {
7718 arg2 = &temp2;
7719 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 (arg1)->ShowHint((wxRect const &)*arg2);
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_Py_Void();
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7735 PyObject *resultobj = 0;
7736 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7737 void *argp1 = 0 ;
7738 int res1 = 0 ;
7739 PyObject *swig_obj[1] ;
7740
7741 if (!args) SWIG_fail;
7742 swig_obj[0] = args;
7743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7744 if (!SWIG_IsOK(res1)) {
7745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7746 }
7747 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 (arg1)->HideHint();
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = SWIG_Py_Void();
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj = 0;
7763 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7764 wxFrameManagerEvent *arg2 = 0 ;
7765 void *argp1 = 0 ;
7766 int res1 = 0 ;
7767 void *argp2 = 0 ;
7768 int res2 = 0 ;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 char * kwnames[] = {
7772 (char *) "self",(char *) "evt", NULL
7773 };
7774
7775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
7776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7777 if (!SWIG_IsOK(res1)) {
7778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7779 }
7780 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7781 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7782 if (!SWIG_IsOK(res2)) {
7783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7784 }
7785 if (!argp2) {
7786 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7787 }
7788 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->OnRender(*arg2);
7792 wxPyEndAllowThreads(__tstate);
7793 if (PyErr_Occurred()) SWIG_fail;
7794 }
7795 resultobj = SWIG_Py_Void();
7796 return resultobj;
7797 fail:
7798 return NULL;
7799 }
7800
7801
7802 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7803 PyObject *resultobj = 0;
7804 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7805 wxFrameManagerEvent *arg2 = 0 ;
7806 void *argp1 = 0 ;
7807 int res1 = 0 ;
7808 void *argp2 = 0 ;
7809 int res2 = 0 ;
7810 PyObject * obj0 = 0 ;
7811 PyObject * obj1 = 0 ;
7812 char * kwnames[] = {
7813 (char *) "self",(char *) "evt", NULL
7814 };
7815
7816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
7817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7818 if (!SWIG_IsOK(res1)) {
7819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7820 }
7821 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7822 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7823 if (!SWIG_IsOK(res2)) {
7824 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7825 }
7826 if (!argp2) {
7827 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7828 }
7829 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->OnPaneButton(*arg2);
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 resultobj = SWIG_Py_Void();
7837 return resultobj;
7838 fail:
7839 return NULL;
7840 }
7841
7842
7843 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7844 PyObject *obj;
7845 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7846 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7847 return SWIG_Py_Void();
7848 }
7849
7850 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7851 return SWIG_Python_InitShadowInstance(args);
7852 }
7853
7854 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7857 wxFrameManagerEvent *result = 0 ;
7858 int val1 ;
7859 int ecode1 = 0 ;
7860 PyObject * obj0 = 0 ;
7861 char * kwnames[] = {
7862 (char *) "type", NULL
7863 };
7864
7865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7866 if (obj0) {
7867 ecode1 = SWIG_AsVal_int(obj0, &val1);
7868 if (!SWIG_IsOK(ecode1)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7870 }
7871 arg1 = static_cast< wxEventType >(val1);
7872 }
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7887 PyObject *resultobj = 0;
7888 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7889 wxEvent *result = 0 ;
7890 void *argp1 = 0 ;
7891 int res1 = 0 ;
7892 PyObject *swig_obj[1] ;
7893
7894 if (!args) SWIG_fail;
7895 swig_obj[0] = args;
7896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7897 if (!SWIG_IsOK(res1)) {
7898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7899 }
7900 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj = 0;
7916 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7917 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7918 void *argp1 = 0 ;
7919 int res1 = 0 ;
7920 void *argp2 = 0 ;
7921 int res2 = 0 ;
7922 PyObject * obj0 = 0 ;
7923 PyObject * obj1 = 0 ;
7924 char * kwnames[] = {
7925 (char *) "self",(char *) "p", NULL
7926 };
7927
7928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7930 if (!SWIG_IsOK(res1)) {
7931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7932 }
7933 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7934 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7935 if (!SWIG_IsOK(res2)) {
7936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7937 }
7938 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 (arg1)->SetPane(arg2);
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 resultobj = SWIG_Py_Void();
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj = 0;
7954 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7955 int arg2 ;
7956 void *argp1 = 0 ;
7957 int res1 = 0 ;
7958 int val2 ;
7959 int ecode2 = 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 char * kwnames[] = {
7963 (char *) "self",(char *) "b", NULL
7964 };
7965
7966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7968 if (!SWIG_IsOK(res1)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7970 }
7971 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7972 ecode2 = SWIG_AsVal_int(obj1, &val2);
7973 if (!SWIG_IsOK(ecode2)) {
7974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7975 }
7976 arg2 = static_cast< int >(val2);
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->SetButton(arg2);
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_Py_Void();
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj = 0;
7992 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7993 wxDC *arg2 = (wxDC *) 0 ;
7994 void *argp1 = 0 ;
7995 int res1 = 0 ;
7996 void *argp2 = 0 ;
7997 int res2 = 0 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char * kwnames[] = {
8001 (char *) "self",(char *) "pdc", NULL
8002 };
8003
8004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8006 if (!SWIG_IsOK(res1)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8008 }
8009 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8010 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8011 if (!SWIG_IsOK(res2)) {
8012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8013 }
8014 arg2 = reinterpret_cast< wxDC * >(argp2);
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->SetDC(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_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *resultobj = 0;
8030 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8031 wxPaneInfo *result = 0 ;
8032 void *argp1 = 0 ;
8033 int res1 = 0 ;
8034 PyObject *swig_obj[1] ;
8035
8036 if (!args) SWIG_fail;
8037 swig_obj[0] = args;
8038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8039 if (!SWIG_IsOK(res1)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8041 }
8042 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (wxPaneInfo *)(arg1)->GetPane();
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8057 PyObject *resultobj = 0;
8058 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8059 int result;
8060 void *argp1 = 0 ;
8061 int res1 = 0 ;
8062 PyObject *swig_obj[1] ;
8063
8064 if (!args) SWIG_fail;
8065 swig_obj[0] = args;
8066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8067 if (!SWIG_IsOK(res1)) {
8068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8069 }
8070 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (int)(arg1)->GetButton();
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 resultobj = SWIG_From_int(static_cast< int >(result));
8078 return resultobj;
8079 fail:
8080 return NULL;
8081 }
8082
8083
8084 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8085 PyObject *resultobj = 0;
8086 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8087 wxDC *result = 0 ;
8088 void *argp1 = 0 ;
8089 int res1 = 0 ;
8090 PyObject *swig_obj[1] ;
8091
8092 if (!args) SWIG_fail;
8093 swig_obj[0] = args;
8094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8097 }
8098 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
8101 result = (wxDC *)(arg1)->GetDC();
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
8105 {
8106 resultobj = wxPyMake_wxObject(result, (bool)0);
8107 }
8108 return resultobj;
8109 fail:
8110 return NULL;
8111 }
8112
8113
8114 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8115 PyObject *resultobj = 0;
8116 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8117 bool arg2 = (bool) true ;
8118 void *argp1 = 0 ;
8119 int res1 = 0 ;
8120 bool val2 ;
8121 int ecode2 = 0 ;
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
8124 char * kwnames[] = {
8125 (char *) "self",(char *) "veto", NULL
8126 };
8127
8128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8130 if (!SWIG_IsOK(res1)) {
8131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8132 }
8133 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8134 if (obj1) {
8135 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8136 if (!SWIG_IsOK(ecode2)) {
8137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8138 }
8139 arg2 = static_cast< bool >(val2);
8140 }
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->Veto(arg2);
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 resultobj = SWIG_Py_Void();
8148 return resultobj;
8149 fail:
8150 return NULL;
8151 }
8152
8153
8154 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8155 PyObject *resultobj = 0;
8156 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8157 bool result;
8158 void *argp1 = 0 ;
8159 int res1 = 0 ;
8160 PyObject *swig_obj[1] ;
8161
8162 if (!args) SWIG_fail;
8163 swig_obj[0] = args;
8164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8165 if (!SWIG_IsOK(res1)) {
8166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8167 }
8168 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 {
8176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8177 }
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj = 0;
8186 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8187 bool arg2 ;
8188 void *argp1 = 0 ;
8189 int res1 = 0 ;
8190 bool val2 ;
8191 int ecode2 = 0 ;
8192 PyObject * obj0 = 0 ;
8193 PyObject * obj1 = 0 ;
8194 char * kwnames[] = {
8195 (char *) "self",(char *) "can_veto", NULL
8196 };
8197
8198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
8199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8200 if (!SWIG_IsOK(res1)) {
8201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8202 }
8203 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8204 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8205 if (!SWIG_IsOK(ecode2)) {
8206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
8207 }
8208 arg2 = static_cast< bool >(val2);
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 (arg1)->SetCanVeto(arg2);
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 resultobj = SWIG_Py_Void();
8216 return resultobj;
8217 fail:
8218 return NULL;
8219 }
8220
8221
8222 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8223 PyObject *resultobj = 0;
8224 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8225 bool result;
8226 void *argp1 = 0 ;
8227 int res1 = 0 ;
8228 PyObject *swig_obj[1] ;
8229
8230 if (!args) SWIG_fail;
8231 swig_obj[0] = args;
8232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8233 if (!SWIG_IsOK(res1)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8235 }
8236 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 {
8244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8245 }
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8253 PyObject *resultobj = 0;
8254 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8255 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8256 void *argp1 = 0 ;
8257 int res1 = 0 ;
8258 void *argp2 = 0 ;
8259 int res2 = 0 ;
8260 PyObject *swig_obj[2] ;
8261
8262 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8264 if (!SWIG_IsOK(res1)) {
8265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8266 }
8267 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8268 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8269 if (!SWIG_IsOK(res2)) {
8270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8271 }
8272 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8273 if (arg1) (arg1)->pane = arg2;
8274
8275 resultobj = SWIG_Py_Void();
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8283 PyObject *resultobj = 0;
8284 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8285 wxPaneInfo *result = 0 ;
8286 void *argp1 = 0 ;
8287 int res1 = 0 ;
8288 PyObject *swig_obj[1] ;
8289
8290 if (!args) SWIG_fail;
8291 swig_obj[0] = args;
8292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8293 if (!SWIG_IsOK(res1)) {
8294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8295 }
8296 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8297 result = (wxPaneInfo *) ((arg1)->pane);
8298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8306 PyObject *resultobj = 0;
8307 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8308 int arg2 ;
8309 void *argp1 = 0 ;
8310 int res1 = 0 ;
8311 int val2 ;
8312 int ecode2 = 0 ;
8313 PyObject *swig_obj[2] ;
8314
8315 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8317 if (!SWIG_IsOK(res1)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8319 }
8320 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8321 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8322 if (!SWIG_IsOK(ecode2)) {
8323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8324 }
8325 arg2 = static_cast< int >(val2);
8326 if (arg1) (arg1)->button = arg2;
8327
8328 resultobj = SWIG_Py_Void();
8329 return resultobj;
8330 fail:
8331 return NULL;
8332 }
8333
8334
8335 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8336 PyObject *resultobj = 0;
8337 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8338 int result;
8339 void *argp1 = 0 ;
8340 int res1 = 0 ;
8341 PyObject *swig_obj[1] ;
8342
8343 if (!args) SWIG_fail;
8344 swig_obj[0] = args;
8345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8346 if (!SWIG_IsOK(res1)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8348 }
8349 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8350 result = (int) ((arg1)->button);
8351 resultobj = SWIG_From_int(static_cast< int >(result));
8352 return resultobj;
8353 fail:
8354 return NULL;
8355 }
8356
8357
8358 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8359 PyObject *resultobj = 0;
8360 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8361 bool arg2 ;
8362 void *argp1 = 0 ;
8363 int res1 = 0 ;
8364 bool val2 ;
8365 int ecode2 = 0 ;
8366 PyObject *swig_obj[2] ;
8367
8368 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
8369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8370 if (!SWIG_IsOK(res1)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8372 }
8373 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8374 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8375 if (!SWIG_IsOK(ecode2)) {
8376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8377 }
8378 arg2 = static_cast< bool >(val2);
8379 if (arg1) (arg1)->veto_flag = arg2;
8380
8381 resultobj = SWIG_Py_Void();
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8389 PyObject *resultobj = 0;
8390 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8391 bool result;
8392 void *argp1 = 0 ;
8393 int res1 = 0 ;
8394 PyObject *swig_obj[1] ;
8395
8396 if (!args) SWIG_fail;
8397 swig_obj[0] = args;
8398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8399 if (!SWIG_IsOK(res1)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8401 }
8402 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8403 result = (bool) ((arg1)->veto_flag);
8404 {
8405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8406 }
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8414 PyObject *resultobj = 0;
8415 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8416 bool arg2 ;
8417 void *argp1 = 0 ;
8418 int res1 = 0 ;
8419 bool val2 ;
8420 int ecode2 = 0 ;
8421 PyObject *swig_obj[2] ;
8422
8423 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
8424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8425 if (!SWIG_IsOK(res1)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8427 }
8428 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8429 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8430 if (!SWIG_IsOK(ecode2)) {
8431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8432 }
8433 arg2 = static_cast< bool >(val2);
8434 if (arg1) (arg1)->canveto_flag = arg2;
8435
8436 resultobj = SWIG_Py_Void();
8437 return resultobj;
8438 fail:
8439 return NULL;
8440 }
8441
8442
8443 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8444 PyObject *resultobj = 0;
8445 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8446 bool result;
8447 void *argp1 = 0 ;
8448 int res1 = 0 ;
8449 PyObject *swig_obj[1] ;
8450
8451 if (!args) SWIG_fail;
8452 swig_obj[0] = args;
8453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8454 if (!SWIG_IsOK(res1)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8456 }
8457 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8458 result = (bool) ((arg1)->canveto_flag);
8459 {
8460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8461 }
8462 return resultobj;
8463 fail:
8464 return NULL;
8465 }
8466
8467
8468 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8469 PyObject *resultobj = 0;
8470 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8471 wxDC *arg2 = (wxDC *) 0 ;
8472 void *argp1 = 0 ;
8473 int res1 = 0 ;
8474 void *argp2 = 0 ;
8475 int res2 = 0 ;
8476 PyObject *swig_obj[2] ;
8477
8478 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8480 if (!SWIG_IsOK(res1)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8482 }
8483 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8484 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8485 if (!SWIG_IsOK(res2)) {
8486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8487 }
8488 arg2 = reinterpret_cast< wxDC * >(argp2);
8489 if (arg1) (arg1)->dc = arg2;
8490
8491 resultobj = SWIG_Py_Void();
8492 return resultobj;
8493 fail:
8494 return NULL;
8495 }
8496
8497
8498 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8499 PyObject *resultobj = 0;
8500 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8501 wxDC *result = 0 ;
8502 void *argp1 = 0 ;
8503 int res1 = 0 ;
8504 PyObject *swig_obj[1] ;
8505
8506 if (!args) SWIG_fail;
8507 swig_obj[0] = args;
8508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8509 if (!SWIG_IsOK(res1)) {
8510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8511 }
8512 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8513 result = (wxDC *) ((arg1)->dc);
8514 {
8515 resultobj = wxPyMake_wxObject(result, (bool)0);
8516 }
8517 return resultobj;
8518 fail:
8519 return NULL;
8520 }
8521
8522
8523 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8524 PyObject *obj;
8525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8526 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8527 return SWIG_Py_Void();
8528 }
8529
8530 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8531 return SWIG_Python_InitShadowInstance(args);
8532 }
8533
8534 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8535 PyObject *resultobj = 0;
8536 wxDockInfo *result = 0 ;
8537
8538 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (wxDockInfo *)new wxDockInfo();
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8553 PyObject *resultobj = 0;
8554 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8555 bool result;
8556 void *argp1 = 0 ;
8557 int res1 = 0 ;
8558 PyObject *swig_obj[1] ;
8559
8560 if (!args) SWIG_fail;
8561 swig_obj[0] = args;
8562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8565 }
8566 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 }
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8583 PyObject *resultobj = 0;
8584 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8585 bool result;
8586 void *argp1 = 0 ;
8587 int res1 = 0 ;
8588 PyObject *swig_obj[1] ;
8589
8590 if (!args) SWIG_fail;
8591 swig_obj[0] = args;
8592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8593 if (!SWIG_IsOK(res1)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8595 }
8596 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 {
8604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8605 }
8606 return resultobj;
8607 fail:
8608 return NULL;
8609 }
8610
8611
8612 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8613 PyObject *resultobj = 0;
8614 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8615 bool result;
8616 void *argp1 = 0 ;
8617 int res1 = 0 ;
8618 PyObject *swig_obj[1] ;
8619
8620 if (!args) SWIG_fail;
8621 swig_obj[0] = args;
8622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8623 if (!SWIG_IsOK(res1)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8625 }
8626 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 {
8634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8635 }
8636 return resultobj;
8637 fail:
8638 return NULL;
8639 }
8640
8641
8642 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8643 PyObject *resultobj = 0;
8644 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8645 wxPaneInfoPtrArray arg2 ;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 void *argp2 ;
8649 int res2 = 0 ;
8650 PyObject *swig_obj[2] ;
8651
8652 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8654 if (!SWIG_IsOK(res1)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8656 }
8657 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8658 {
8659 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8660 if (!SWIG_IsOK(res2)) {
8661 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8662 }
8663 if (!argp2) {
8664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8665 } else {
8666 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8667 arg2 = *temp;
8668 if (SWIG_IsNewObj(res2)) delete temp;
8669 }
8670 }
8671 if (arg1) (arg1)->panes = arg2;
8672
8673 resultobj = SWIG_Py_Void();
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8681 PyObject *resultobj = 0;
8682 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8683 wxPaneInfoPtrArray result;
8684 void *argp1 = 0 ;
8685 int res1 = 0 ;
8686 PyObject *swig_obj[1] ;
8687
8688 if (!args) SWIG_fail;
8689 swig_obj[0] = args;
8690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8691 if (!SWIG_IsOK(res1)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8693 }
8694 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8695 result = ((arg1)->panes);
8696 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8704 PyObject *resultobj = 0;
8705 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8706 wxRect *arg2 = (wxRect *) 0 ;
8707 void *argp1 = 0 ;
8708 int res1 = 0 ;
8709 void *argp2 = 0 ;
8710 int res2 = 0 ;
8711 PyObject *swig_obj[2] ;
8712
8713 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8715 if (!SWIG_IsOK(res1)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8717 }
8718 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8719 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8720 if (!SWIG_IsOK(res2)) {
8721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8722 }
8723 arg2 = reinterpret_cast< wxRect * >(argp2);
8724 if (arg1) (arg1)->rect = *arg2;
8725
8726 resultobj = SWIG_Py_Void();
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8734 PyObject *resultobj = 0;
8735 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8736 wxRect *result = 0 ;
8737 void *argp1 = 0 ;
8738 int res1 = 0 ;
8739 PyObject *swig_obj[1] ;
8740
8741 if (!args) SWIG_fail;
8742 swig_obj[0] = args;
8743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8744 if (!SWIG_IsOK(res1)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8746 }
8747 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8748 result = (wxRect *)& ((arg1)->rect);
8749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8750 return resultobj;
8751 fail:
8752 return NULL;
8753 }
8754
8755
8756 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8757 PyObject *resultobj = 0;
8758 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8759 int arg2 ;
8760 void *argp1 = 0 ;
8761 int res1 = 0 ;
8762 int val2 ;
8763 int ecode2 = 0 ;
8764 PyObject *swig_obj[2] ;
8765
8766 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8768 if (!SWIG_IsOK(res1)) {
8769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8770 }
8771 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8772 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8773 if (!SWIG_IsOK(ecode2)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8775 }
8776 arg2 = static_cast< int >(val2);
8777 if (arg1) (arg1)->dock_direction = arg2;
8778
8779 resultobj = SWIG_Py_Void();
8780 return resultobj;
8781 fail:
8782 return NULL;
8783 }
8784
8785
8786 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8787 PyObject *resultobj = 0;
8788 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8789 int result;
8790 void *argp1 = 0 ;
8791 int res1 = 0 ;
8792 PyObject *swig_obj[1] ;
8793
8794 if (!args) SWIG_fail;
8795 swig_obj[0] = args;
8796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8797 if (!SWIG_IsOK(res1)) {
8798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8799 }
8800 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8801 result = (int) ((arg1)->dock_direction);
8802 resultobj = SWIG_From_int(static_cast< int >(result));
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8810 PyObject *resultobj = 0;
8811 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8812 int arg2 ;
8813 void *argp1 = 0 ;
8814 int res1 = 0 ;
8815 int val2 ;
8816 int ecode2 = 0 ;
8817 PyObject *swig_obj[2] ;
8818
8819 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8821 if (!SWIG_IsOK(res1)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8823 }
8824 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8825 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8826 if (!SWIG_IsOK(ecode2)) {
8827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8828 }
8829 arg2 = static_cast< int >(val2);
8830 if (arg1) (arg1)->dock_layer = arg2;
8831
8832 resultobj = SWIG_Py_Void();
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8840 PyObject *resultobj = 0;
8841 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8842 int result;
8843 void *argp1 = 0 ;
8844 int res1 = 0 ;
8845 PyObject *swig_obj[1] ;
8846
8847 if (!args) SWIG_fail;
8848 swig_obj[0] = args;
8849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8850 if (!SWIG_IsOK(res1)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8852 }
8853 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8854 result = (int) ((arg1)->dock_layer);
8855 resultobj = SWIG_From_int(static_cast< int >(result));
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8863 PyObject *resultobj = 0;
8864 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8865 int arg2 ;
8866 void *argp1 = 0 ;
8867 int res1 = 0 ;
8868 int val2 ;
8869 int ecode2 = 0 ;
8870 PyObject *swig_obj[2] ;
8871
8872 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8874 if (!SWIG_IsOK(res1)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8876 }
8877 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8878 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8879 if (!SWIG_IsOK(ecode2)) {
8880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8881 }
8882 arg2 = static_cast< int >(val2);
8883 if (arg1) (arg1)->dock_row = arg2;
8884
8885 resultobj = SWIG_Py_Void();
8886 return resultobj;
8887 fail:
8888 return NULL;
8889 }
8890
8891
8892 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8893 PyObject *resultobj = 0;
8894 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8895 int result;
8896 void *argp1 = 0 ;
8897 int res1 = 0 ;
8898 PyObject *swig_obj[1] ;
8899
8900 if (!args) SWIG_fail;
8901 swig_obj[0] = args;
8902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8903 if (!SWIG_IsOK(res1)) {
8904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8905 }
8906 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8907 result = (int) ((arg1)->dock_row);
8908 resultobj = SWIG_From_int(static_cast< int >(result));
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8916 PyObject *resultobj = 0;
8917 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8918 int arg2 ;
8919 void *argp1 = 0 ;
8920 int res1 = 0 ;
8921 int val2 ;
8922 int ecode2 = 0 ;
8923 PyObject *swig_obj[2] ;
8924
8925 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8927 if (!SWIG_IsOK(res1)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8929 }
8930 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8931 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8932 if (!SWIG_IsOK(ecode2)) {
8933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8934 }
8935 arg2 = static_cast< int >(val2);
8936 if (arg1) (arg1)->size = arg2;
8937
8938 resultobj = SWIG_Py_Void();
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8946 PyObject *resultobj = 0;
8947 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8948 int result;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 PyObject *swig_obj[1] ;
8952
8953 if (!args) SWIG_fail;
8954 swig_obj[0] = args;
8955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8956 if (!SWIG_IsOK(res1)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8958 }
8959 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8960 result = (int) ((arg1)->size);
8961 resultobj = SWIG_From_int(static_cast< int >(result));
8962 return resultobj;
8963 fail:
8964 return NULL;
8965 }
8966
8967
8968 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8969 PyObject *resultobj = 0;
8970 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8971 int arg2 ;
8972 void *argp1 = 0 ;
8973 int res1 = 0 ;
8974 int val2 ;
8975 int ecode2 = 0 ;
8976 PyObject *swig_obj[2] ;
8977
8978 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8980 if (!SWIG_IsOK(res1)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8982 }
8983 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8984 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8985 if (!SWIG_IsOK(ecode2)) {
8986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8987 }
8988 arg2 = static_cast< int >(val2);
8989 if (arg1) (arg1)->min_size = arg2;
8990
8991 resultobj = SWIG_Py_Void();
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8999 PyObject *resultobj = 0;
9000 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9001 int result;
9002 void *argp1 = 0 ;
9003 int res1 = 0 ;
9004 PyObject *swig_obj[1] ;
9005
9006 if (!args) SWIG_fail;
9007 swig_obj[0] = args;
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_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9011 }
9012 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9013 result = (int) ((arg1)->min_size);
9014 resultobj = SWIG_From_int(static_cast< int >(result));
9015 return resultobj;
9016 fail:
9017 return NULL;
9018 }
9019
9020
9021 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9022 PyObject *resultobj = 0;
9023 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9024 bool arg2 ;
9025 void *argp1 = 0 ;
9026 int res1 = 0 ;
9027 bool val2 ;
9028 int ecode2 = 0 ;
9029 PyObject *swig_obj[2] ;
9030
9031 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9032 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9033 if (!SWIG_IsOK(res1)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9035 }
9036 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9037 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9038 if (!SWIG_IsOK(ecode2)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9040 }
9041 arg2 = static_cast< bool >(val2);
9042 if (arg1) (arg1)->resizable = arg2;
9043
9044 resultobj = SWIG_Py_Void();
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9052 PyObject *resultobj = 0;
9053 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9054 bool result;
9055 void *argp1 = 0 ;
9056 int res1 = 0 ;
9057 PyObject *swig_obj[1] ;
9058
9059 if (!args) SWIG_fail;
9060 swig_obj[0] = args;
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_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9064 }
9065 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9066 result = (bool) ((arg1)->resizable);
9067 {
9068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9069 }
9070 return resultobj;
9071 fail:
9072 return NULL;
9073 }
9074
9075
9076 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9077 PyObject *resultobj = 0;
9078 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9079 bool arg2 ;
9080 void *argp1 = 0 ;
9081 int res1 = 0 ;
9082 bool val2 ;
9083 int ecode2 = 0 ;
9084 PyObject *swig_obj[2] ;
9085
9086 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9088 if (!SWIG_IsOK(res1)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9090 }
9091 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9092 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9093 if (!SWIG_IsOK(ecode2)) {
9094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9095 }
9096 arg2 = static_cast< bool >(val2);
9097 if (arg1) (arg1)->toolbar = arg2;
9098
9099 resultobj = SWIG_Py_Void();
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9107 PyObject *resultobj = 0;
9108 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9109 bool result;
9110 void *argp1 = 0 ;
9111 int res1 = 0 ;
9112 PyObject *swig_obj[1] ;
9113
9114 if (!args) SWIG_fail;
9115 swig_obj[0] = args;
9116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9117 if (!SWIG_IsOK(res1)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9119 }
9120 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9121 result = (bool) ((arg1)->toolbar);
9122 {
9123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9124 }
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132 PyObject *resultobj = 0;
9133 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9134 bool arg2 ;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 bool val2 ;
9138 int ecode2 = 0 ;
9139 PyObject *swig_obj[2] ;
9140
9141 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
9142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9143 if (!SWIG_IsOK(res1)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9145 }
9146 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9147 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9148 if (!SWIG_IsOK(ecode2)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
9150 }
9151 arg2 = static_cast< bool >(val2);
9152 if (arg1) (arg1)->fixed = arg2;
9153
9154 resultobj = SWIG_Py_Void();
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9162 PyObject *resultobj = 0;
9163 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9164 bool result;
9165 void *argp1 = 0 ;
9166 int res1 = 0 ;
9167 PyObject *swig_obj[1] ;
9168
9169 if (!args) SWIG_fail;
9170 swig_obj[0] = args;
9171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9172 if (!SWIG_IsOK(res1)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9174 }
9175 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9176 result = (bool) ((arg1)->fixed);
9177 {
9178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9179 }
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 SWIGINTERN PyObject *_wrap_delete_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9187 PyObject *resultobj = 0;
9188 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9189 void *argp1 = 0 ;
9190 int res1 = 0 ;
9191 PyObject *swig_obj[1] ;
9192
9193 if (!args) SWIG_fail;
9194 swig_obj[0] = args;
9195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9196 if (!SWIG_IsOK(res1)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockInfo" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9198 }
9199 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 delete_wxDockInfo(arg1);
9203
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 resultobj = SWIG_Py_Void();
9208 return resultobj;
9209 fail:
9210 return NULL;
9211 }
9212
9213
9214 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9215 PyObject *obj;
9216 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9217 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
9218 return SWIG_Py_Void();
9219 }
9220
9221 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9222 return SWIG_Python_InitShadowInstance(args);
9223 }
9224
9225 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9226 PyObject *resultobj = 0;
9227 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9228 int arg2 ;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 int val2 ;
9232 int ecode2 = 0 ;
9233 PyObject *swig_obj[2] ;
9234
9235 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
9236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9237 if (!SWIG_IsOK(res1)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9239 }
9240 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9241 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9242 if (!SWIG_IsOK(ecode2)) {
9243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
9244 }
9245 arg2 = static_cast< int >(val2);
9246 if (arg1) (arg1)->type = arg2;
9247
9248 resultobj = SWIG_Py_Void();
9249 return resultobj;
9250 fail:
9251 return NULL;
9252 }
9253
9254
9255 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9256 PyObject *resultobj = 0;
9257 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9258 int result;
9259 void *argp1 = 0 ;
9260 int res1 = 0 ;
9261 PyObject *swig_obj[1] ;
9262
9263 if (!args) SWIG_fail;
9264 swig_obj[0] = args;
9265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9266 if (!SWIG_IsOK(res1)) {
9267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9268 }
9269 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9270 result = (int) ((arg1)->type);
9271 resultobj = SWIG_From_int(static_cast< int >(result));
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9279 PyObject *resultobj = 0;
9280 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9281 int arg2 ;
9282 void *argp1 = 0 ;
9283 int res1 = 0 ;
9284 int val2 ;
9285 int ecode2 = 0 ;
9286 PyObject *swig_obj[2] ;
9287
9288 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9290 if (!SWIG_IsOK(res1)) {
9291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9292 }
9293 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9294 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9295 if (!SWIG_IsOK(ecode2)) {
9296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9297 }
9298 arg2 = static_cast< int >(val2);
9299 if (arg1) (arg1)->orientation = arg2;
9300
9301 resultobj = SWIG_Py_Void();
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9309 PyObject *resultobj = 0;
9310 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9311 int result;
9312 void *argp1 = 0 ;
9313 int res1 = 0 ;
9314 PyObject *swig_obj[1] ;
9315
9316 if (!args) SWIG_fail;
9317 swig_obj[0] = args;
9318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9319 if (!SWIG_IsOK(res1)) {
9320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9321 }
9322 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9323 result = (int) ((arg1)->orientation);
9324 resultobj = SWIG_From_int(static_cast< int >(result));
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9332 PyObject *resultobj = 0;
9333 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9334 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
9335 void *argp1 = 0 ;
9336 int res1 = 0 ;
9337 void *argp2 = 0 ;
9338 int res2 = 0 ;
9339 PyObject *swig_obj[2] ;
9340
9341 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
9342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9343 if (!SWIG_IsOK(res1)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9345 }
9346 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9347 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9348 if (!SWIG_IsOK(res2)) {
9349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
9350 }
9351 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
9352 if (arg1) (arg1)->dock = arg2;
9353
9354 resultobj = SWIG_Py_Void();
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9362 PyObject *resultobj = 0;
9363 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9364 wxDockInfo *result = 0 ;
9365 void *argp1 = 0 ;
9366 int res1 = 0 ;
9367 PyObject *swig_obj[1] ;
9368
9369 if (!args) SWIG_fail;
9370 swig_obj[0] = args;
9371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9372 if (!SWIG_IsOK(res1)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9374 }
9375 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9376 result = (wxDockInfo *) ((arg1)->dock);
9377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9385 PyObject *resultobj = 0;
9386 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9387 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
9388 void *argp1 = 0 ;
9389 int res1 = 0 ;
9390 void *argp2 = 0 ;
9391 int res2 = 0 ;
9392 PyObject *swig_obj[2] ;
9393
9394 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
9395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9396 if (!SWIG_IsOK(res1)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9398 }
9399 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9400 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
9401 if (!SWIG_IsOK(res2)) {
9402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
9403 }
9404 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9405 if (arg1) (arg1)->pane = arg2;
9406
9407 resultobj = SWIG_Py_Void();
9408 return resultobj;
9409 fail:
9410 return NULL;
9411 }
9412
9413
9414 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9415 PyObject *resultobj = 0;
9416 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9417 wxPaneInfo *result = 0 ;
9418 void *argp1 = 0 ;
9419 int res1 = 0 ;
9420 PyObject *swig_obj[1] ;
9421
9422 if (!args) SWIG_fail;
9423 swig_obj[0] = args;
9424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9425 if (!SWIG_IsOK(res1)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9427 }
9428 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9429 result = (wxPaneInfo *) ((arg1)->pane);
9430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
9431 return resultobj;
9432 fail:
9433 return NULL;
9434 }
9435
9436
9437 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9438 PyObject *resultobj = 0;
9439 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9440 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
9441 void *argp1 = 0 ;
9442 int res1 = 0 ;
9443 void *argp2 = 0 ;
9444 int res2 = 0 ;
9445 PyObject *swig_obj[2] ;
9446
9447 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
9448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9449 if (!SWIG_IsOK(res1)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9451 }
9452 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9453 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9454 if (!SWIG_IsOK(res2)) {
9455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
9456 }
9457 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9458 if (arg1) (arg1)->button = arg2;
9459
9460 resultobj = SWIG_Py_Void();
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9468 PyObject *resultobj = 0;
9469 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9470 wxPaneButton *result = 0 ;
9471 void *argp1 = 0 ;
9472 int res1 = 0 ;
9473 PyObject *swig_obj[1] ;
9474
9475 if (!args) SWIG_fail;
9476 swig_obj[0] = args;
9477 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9478 if (!SWIG_IsOK(res1)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9480 }
9481 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9482 result = (wxPaneButton *) ((arg1)->button);
9483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9491 PyObject *resultobj = 0;
9492 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9493 wxSizer *arg2 = (wxSizer *) 0 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 PyObject *swig_obj[2] ;
9499
9500 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9501 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9502 if (!SWIG_IsOK(res1)) {
9503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9504 }
9505 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9506 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9507 if (!SWIG_IsOK(res2)) {
9508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9509 }
9510 arg2 = reinterpret_cast< wxSizer * >(argp2);
9511 if (arg1) (arg1)->cont_sizer = arg2;
9512
9513 resultobj = SWIG_Py_Void();
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9521 PyObject *resultobj = 0;
9522 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9523 wxSizer *result = 0 ;
9524 void *argp1 = 0 ;
9525 int res1 = 0 ;
9526 PyObject *swig_obj[1] ;
9527
9528 if (!args) SWIG_fail;
9529 swig_obj[0] = args;
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_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9533 }
9534 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9535 result = (wxSizer *) ((arg1)->cont_sizer);
9536 {
9537 resultobj = wxPyMake_wxObject(result, (bool)0);
9538 }
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9546 PyObject *resultobj = 0;
9547 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9548 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9549 void *argp1 = 0 ;
9550 int res1 = 0 ;
9551 void *argp2 = 0 ;
9552 int res2 = 0 ;
9553 PyObject *swig_obj[2] ;
9554
9555 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9557 if (!SWIG_IsOK(res1)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9559 }
9560 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9561 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9562 if (!SWIG_IsOK(res2)) {
9563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9564 }
9565 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9566 if (arg1) (arg1)->sizer_item = arg2;
9567
9568 resultobj = SWIG_Py_Void();
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9576 PyObject *resultobj = 0;
9577 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9578 wxSizerItem *result = 0 ;
9579 void *argp1 = 0 ;
9580 int res1 = 0 ;
9581 PyObject *swig_obj[1] ;
9582
9583 if (!args) SWIG_fail;
9584 swig_obj[0] = args;
9585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9586 if (!SWIG_IsOK(res1)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9588 }
9589 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9590 result = (wxSizerItem *) ((arg1)->sizer_item);
9591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9599 PyObject *resultobj = 0;
9600 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9601 wxRect *arg2 = (wxRect *) 0 ;
9602 void *argp1 = 0 ;
9603 int res1 = 0 ;
9604 void *argp2 = 0 ;
9605 int res2 = 0 ;
9606 PyObject *swig_obj[2] ;
9607
9608 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9610 if (!SWIG_IsOK(res1)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9612 }
9613 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9614 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9615 if (!SWIG_IsOK(res2)) {
9616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9617 }
9618 arg2 = reinterpret_cast< wxRect * >(argp2);
9619 if (arg1) (arg1)->rect = *arg2;
9620
9621 resultobj = SWIG_Py_Void();
9622 return resultobj;
9623 fail:
9624 return NULL;
9625 }
9626
9627
9628 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9629 PyObject *resultobj = 0;
9630 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9631 wxRect *result = 0 ;
9632 void *argp1 = 0 ;
9633 int res1 = 0 ;
9634 PyObject *swig_obj[1] ;
9635
9636 if (!args) SWIG_fail;
9637 swig_obj[0] = args;
9638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9639 if (!SWIG_IsOK(res1)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9641 }
9642 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9643 result = (wxRect *)& ((arg1)->rect);
9644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 SWIGINTERN PyObject *_wrap_delete_DockUIPart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9652 PyObject *resultobj = 0;
9653 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9654 void *argp1 = 0 ;
9655 int res1 = 0 ;
9656 PyObject *swig_obj[1] ;
9657
9658 if (!args) SWIG_fail;
9659 swig_obj[0] = args;
9660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, SWIG_POINTER_DISOWN | 0 );
9661 if (!SWIG_IsOK(res1)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockUIPart" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9663 }
9664 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 delete_wxDockUIPart(arg1);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = SWIG_Py_Void();
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9680 PyObject *obj;
9681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9682 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9683 return SWIG_Py_Void();
9684 }
9685
9686 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9687 PyObject *resultobj = 0;
9688 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9689 int arg2 ;
9690 void *argp1 = 0 ;
9691 int res1 = 0 ;
9692 int val2 ;
9693 int ecode2 = 0 ;
9694 PyObject *swig_obj[2] ;
9695
9696 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9698 if (!SWIG_IsOK(res1)) {
9699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9700 }
9701 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9702 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9703 if (!SWIG_IsOK(ecode2)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9705 }
9706 arg2 = static_cast< int >(val2);
9707 if (arg1) (arg1)->button_id = arg2;
9708
9709 resultobj = SWIG_Py_Void();
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9717 PyObject *resultobj = 0;
9718 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9719 int result;
9720 void *argp1 = 0 ;
9721 int res1 = 0 ;
9722 PyObject *swig_obj[1] ;
9723
9724 if (!args) SWIG_fail;
9725 swig_obj[0] = args;
9726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9727 if (!SWIG_IsOK(res1)) {
9728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9729 }
9730 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9731 result = (int) ((arg1)->button_id);
9732 resultobj = SWIG_From_int(static_cast< int >(result));
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 SWIGINTERN PyObject *_wrap_delete_PaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9740 PyObject *resultobj = 0;
9741 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 PyObject *swig_obj[1] ;
9745
9746 if (!args) SWIG_fail;
9747 swig_obj[0] = args;
9748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneButton" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9751 }
9752 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 delete_wxPaneButton(arg1);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 resultobj = SWIG_Py_Void();
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9768 PyObject *obj;
9769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9771 return SWIG_Py_Void();
9772 }
9773
9774 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9775 PyObject *resultobj = 0;
9776 wxDockArt *arg1 = (wxDockArt *) 0 ;
9777 void *argp1 = 0 ;
9778 int res1 = 0 ;
9779 PyObject *swig_obj[1] ;
9780
9781 if (!args) SWIG_fail;
9782 swig_obj[0] = args;
9783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9784 if (!SWIG_IsOK(res1)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9786 }
9787 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 delete arg1;
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 resultobj = SWIG_Py_Void();
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj = 0;
9804 wxDockArt *arg1 = (wxDockArt *) 0 ;
9805 int arg2 ;
9806 int result;
9807 void *argp1 = 0 ;
9808 int res1 = 0 ;
9809 int val2 ;
9810 int ecode2 = 0 ;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9813 char * kwnames[] = {
9814 (char *) "self",(char *) "id", NULL
9815 };
9816
9817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9819 if (!SWIG_IsOK(res1)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9821 }
9822 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9823 ecode2 = SWIG_AsVal_int(obj1, &val2);
9824 if (!SWIG_IsOK(ecode2)) {
9825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9826 }
9827 arg2 = static_cast< int >(val2);
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)(arg1)->GetMetric(arg2);
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 resultobj = SWIG_From_int(static_cast< int >(result));
9835 return resultobj;
9836 fail:
9837 return NULL;
9838 }
9839
9840
9841 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj = 0;
9843 wxDockArt *arg1 = (wxDockArt *) 0 ;
9844 int arg2 ;
9845 int arg3 ;
9846 void *argp1 = 0 ;
9847 int res1 = 0 ;
9848 int val2 ;
9849 int ecode2 = 0 ;
9850 int val3 ;
9851 int ecode3 = 0 ;
9852 PyObject * obj0 = 0 ;
9853 PyObject * obj1 = 0 ;
9854 PyObject * obj2 = 0 ;
9855 char * kwnames[] = {
9856 (char *) "self",(char *) "id",(char *) "new_val", NULL
9857 };
9858
9859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9861 if (!SWIG_IsOK(res1)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9863 }
9864 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9865 ecode2 = SWIG_AsVal_int(obj1, &val2);
9866 if (!SWIG_IsOK(ecode2)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9868 }
9869 arg2 = static_cast< int >(val2);
9870 ecode3 = SWIG_AsVal_int(obj2, &val3);
9871 if (!SWIG_IsOK(ecode3)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9873 }
9874 arg3 = static_cast< int >(val3);
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->SetMetric(arg2,arg3);
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 resultobj = SWIG_Py_Void();
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj = 0;
9890 wxDockArt *arg1 = (wxDockArt *) 0 ;
9891 int arg2 ;
9892 wxFont *arg3 = 0 ;
9893 void *argp1 = 0 ;
9894 int res1 = 0 ;
9895 int val2 ;
9896 int ecode2 = 0 ;
9897 void *argp3 = 0 ;
9898 int res3 = 0 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 char * kwnames[] = {
9903 (char *) "self",(char *) "id",(char *) "font", NULL
9904 };
9905
9906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9908 if (!SWIG_IsOK(res1)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9910 }
9911 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9912 ecode2 = SWIG_AsVal_int(obj1, &val2);
9913 if (!SWIG_IsOK(ecode2)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9915 }
9916 arg2 = static_cast< int >(val2);
9917 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9918 if (!SWIG_IsOK(res3)) {
9919 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9920 }
9921 if (!argp3) {
9922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9923 }
9924 arg3 = reinterpret_cast< wxFont * >(argp3);
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = SWIG_Py_Void();
9932 return resultobj;
9933 fail:
9934 return NULL;
9935 }
9936
9937
9938 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj = 0;
9940 wxDockArt *arg1 = (wxDockArt *) 0 ;
9941 int arg2 ;
9942 wxFont result;
9943 void *argp1 = 0 ;
9944 int res1 = 0 ;
9945 int val2 ;
9946 int ecode2 = 0 ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char * kwnames[] = {
9950 (char *) "self",(char *) "id", NULL
9951 };
9952
9953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
9954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9955 if (!SWIG_IsOK(res1)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9957 }
9958 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9959 ecode2 = SWIG_AsVal_int(obj1, &val2);
9960 if (!SWIG_IsOK(ecode2)) {
9961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
9962 }
9963 arg2 = static_cast< int >(val2);
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (arg1)->GetFont(arg2);
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj = 0;
9979 wxDockArt *arg1 = (wxDockArt *) 0 ;
9980 int arg2 ;
9981 wxColour result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 int val2 ;
9985 int ecode2 = 0 ;
9986 PyObject * obj0 = 0 ;
9987 PyObject * obj1 = 0 ;
9988 char * kwnames[] = {
9989 (char *) "self",(char *) "id", NULL
9990 };
9991
9992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
9993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9994 if (!SWIG_IsOK(res1)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9996 }
9997 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9998 ecode2 = SWIG_AsVal_int(obj1, &val2);
9999 if (!SWIG_IsOK(ecode2)) {
10000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
10001 }
10002 arg2 = static_cast< int >(val2);
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (arg1)->GetColour(arg2);
10006 wxPyEndAllowThreads(__tstate);
10007 if (PyErr_Occurred()) SWIG_fail;
10008 }
10009 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj = 0;
10018 wxDockArt *arg1 = (wxDockArt *) 0 ;
10019 int arg2 ;
10020 wxColor *arg3 = 0 ;
10021 void *argp1 = 0 ;
10022 int res1 = 0 ;
10023 int val2 ;
10024 int ecode2 = 0 ;
10025 void *argp3 = 0 ;
10026 int res3 = 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 PyObject * obj2 = 0 ;
10030 char * kwnames[] = {
10031 (char *) "self",(char *) "id",(char *) "colour", NULL
10032 };
10033
10034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
10038 }
10039 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10040 ecode2 = SWIG_AsVal_int(obj1, &val2);
10041 if (!SWIG_IsOK(ecode2)) {
10042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
10043 }
10044 arg2 = static_cast< int >(val2);
10045 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
10046 if (!SWIG_IsOK(res3)) {
10047 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10048 }
10049 if (!argp3) {
10050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
10051 }
10052 arg3 = reinterpret_cast< wxColor * >(argp3);
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 resultobj = SWIG_Py_Void();
10060 return resultobj;
10061 fail:
10062 return NULL;
10063 }
10064
10065
10066 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj = 0;
10068 wxDockArt *arg1 = (wxDockArt *) 0 ;
10069 int arg2 ;
10070 wxColour result;
10071 void *argp1 = 0 ;
10072 int res1 = 0 ;
10073 int val2 ;
10074 int ecode2 = 0 ;
10075 PyObject * obj0 = 0 ;
10076 PyObject * obj1 = 0 ;
10077 char * kwnames[] = {
10078 (char *) "self",(char *) "id", NULL
10079 };
10080
10081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
10082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10083 if (!SWIG_IsOK(res1)) {
10084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10085 }
10086 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10087 ecode2 = SWIG_AsVal_int(obj1, &val2);
10088 if (!SWIG_IsOK(ecode2)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10090 }
10091 arg2 = static_cast< int >(val2);
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 result = (arg1)->GetColor(arg2);
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10099 return resultobj;
10100 fail:
10101 return NULL;
10102 }
10103
10104
10105 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj = 0;
10107 wxDockArt *arg1 = (wxDockArt *) 0 ;
10108 int arg2 ;
10109 wxColour *arg3 = 0 ;
10110 void *argp1 = 0 ;
10111 int res1 = 0 ;
10112 int val2 ;
10113 int ecode2 = 0 ;
10114 wxColour temp3 ;
10115 PyObject * obj0 = 0 ;
10116 PyObject * obj1 = 0 ;
10117 PyObject * obj2 = 0 ;
10118 char * kwnames[] = {
10119 (char *) "self",(char *) "id",(char *) "color", NULL
10120 };
10121
10122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10126 }
10127 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10128 ecode2 = SWIG_AsVal_int(obj1, &val2);
10129 if (!SWIG_IsOK(ecode2)) {
10130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
10131 }
10132 arg2 = static_cast< int >(val2);
10133 {
10134 arg3 = &temp3;
10135 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10136 }
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxDockArt *arg1 = (wxDockArt *) 0 ;
10153 wxDC *arg2 = 0 ;
10154 wxWindow *arg3 = (wxWindow *) 0 ;
10155 int arg4 ;
10156 wxRect *arg5 = 0 ;
10157 void *argp1 = 0 ;
10158 int res1 = 0 ;
10159 void *argp2 = 0 ;
10160 int res2 = 0 ;
10161 void *argp3 = 0 ;
10162 int res3 = 0 ;
10163 int val4 ;
10164 int ecode4 = 0 ;
10165 wxRect temp5 ;
10166 PyObject * obj0 = 0 ;
10167 PyObject * obj1 = 0 ;
10168 PyObject * obj2 = 0 ;
10169 PyObject * obj3 = 0 ;
10170 PyObject * obj4 = 0 ;
10171 char * kwnames[] = {
10172 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10173 };
10174
10175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10177 if (!SWIG_IsOK(res1)) {
10178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
10179 }
10180 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10181 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10182 if (!SWIG_IsOK(res2)) {
10183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10184 }
10185 if (!argp2) {
10186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10187 }
10188 arg2 = reinterpret_cast< wxDC * >(argp2);
10189 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10190 if (!SWIG_IsOK(res3)) {
10191 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
10192 }
10193 arg3 = reinterpret_cast< wxWindow * >(argp3);
10194 ecode4 = SWIG_AsVal_int(obj3, &val4);
10195 if (!SWIG_IsOK(ecode4)) {
10196 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
10197 }
10198 arg4 = static_cast< int >(val4);
10199 {
10200 arg5 = &temp5;
10201 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10202 }
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 resultobj = SWIG_Py_Void();
10210 return resultobj;
10211 fail:
10212 return NULL;
10213 }
10214
10215
10216 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj = 0;
10218 wxDockArt *arg1 = (wxDockArt *) 0 ;
10219 wxDC *arg2 = 0 ;
10220 wxWindow *arg3 = (wxWindow *) 0 ;
10221 int arg4 ;
10222 wxRect *arg5 = 0 ;
10223 void *argp1 = 0 ;
10224 int res1 = 0 ;
10225 void *argp2 = 0 ;
10226 int res2 = 0 ;
10227 void *argp3 = 0 ;
10228 int res3 = 0 ;
10229 int val4 ;
10230 int ecode4 = 0 ;
10231 wxRect temp5 ;
10232 PyObject * obj0 = 0 ;
10233 PyObject * obj1 = 0 ;
10234 PyObject * obj2 = 0 ;
10235 PyObject * obj3 = 0 ;
10236 PyObject * obj4 = 0 ;
10237 char * kwnames[] = {
10238 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10239 };
10240
10241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10243 if (!SWIG_IsOK(res1)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
10245 }
10246 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10247 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10248 if (!SWIG_IsOK(res2)) {
10249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10250 }
10251 if (!argp2) {
10252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10253 }
10254 arg2 = reinterpret_cast< wxDC * >(argp2);
10255 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10256 if (!SWIG_IsOK(res3)) {
10257 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
10258 }
10259 arg3 = reinterpret_cast< wxWindow * >(argp3);
10260 ecode4 = SWIG_AsVal_int(obj3, &val4);
10261 if (!SWIG_IsOK(ecode4)) {
10262 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
10263 }
10264 arg4 = static_cast< int >(val4);
10265 {
10266 arg5 = &temp5;
10267 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10268 }
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 resultobj = SWIG_Py_Void();
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj = 0;
10284 wxDockArt *arg1 = (wxDockArt *) 0 ;
10285 wxDC *arg2 = 0 ;
10286 wxWindow *arg3 = (wxWindow *) 0 ;
10287 wxString *arg4 = 0 ;
10288 wxRect *arg5 = 0 ;
10289 wxPaneInfo *arg6 = 0 ;
10290 void *argp1 = 0 ;
10291 int res1 = 0 ;
10292 void *argp2 = 0 ;
10293 int res2 = 0 ;
10294 void *argp3 = 0 ;
10295 int res3 = 0 ;
10296 bool temp4 = false ;
10297 wxRect temp5 ;
10298 void *argp6 = 0 ;
10299 int res6 = 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 PyObject * obj2 = 0 ;
10303 PyObject * obj3 = 0 ;
10304 PyObject * obj4 = 0 ;
10305 PyObject * obj5 = 0 ;
10306 char * kwnames[] = {
10307 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
10308 };
10309
10310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10312 if (!SWIG_IsOK(res1)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
10314 }
10315 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10317 if (!SWIG_IsOK(res2)) {
10318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10319 }
10320 if (!argp2) {
10321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10322 }
10323 arg2 = reinterpret_cast< wxDC * >(argp2);
10324 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10325 if (!SWIG_IsOK(res3)) {
10326 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
10327 }
10328 arg3 = reinterpret_cast< wxWindow * >(argp3);
10329 {
10330 arg4 = wxString_in_helper(obj3);
10331 if (arg4 == NULL) SWIG_fail;
10332 temp4 = true;
10333 }
10334 {
10335 arg5 = &temp5;
10336 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10337 }
10338 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10339 if (!SWIG_IsOK(res6)) {
10340 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10341 }
10342 if (!argp6) {
10343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10344 }
10345 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = SWIG_Py_Void();
10353 {
10354 if (temp4)
10355 delete arg4;
10356 }
10357 return resultobj;
10358 fail:
10359 {
10360 if (temp4)
10361 delete arg4;
10362 }
10363 return NULL;
10364 }
10365
10366
10367 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj = 0;
10369 wxDockArt *arg1 = (wxDockArt *) 0 ;
10370 wxDC *arg2 = 0 ;
10371 wxWindow *arg3 = (wxWindow *) 0 ;
10372 wxRect *arg4 = 0 ;
10373 wxPaneInfo *arg5 = 0 ;
10374 void *argp1 = 0 ;
10375 int res1 = 0 ;
10376 void *argp2 = 0 ;
10377 int res2 = 0 ;
10378 void *argp3 = 0 ;
10379 int res3 = 0 ;
10380 wxRect temp4 ;
10381 void *argp5 = 0 ;
10382 int res5 = 0 ;
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
10385 PyObject * obj2 = 0 ;
10386 PyObject * obj3 = 0 ;
10387 PyObject * obj4 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
10396 }
10397 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10398 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10399 if (!SWIG_IsOK(res2)) {
10400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10401 }
10402 if (!argp2) {
10403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10404 }
10405 arg2 = reinterpret_cast< wxDC * >(argp2);
10406 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10407 if (!SWIG_IsOK(res3)) {
10408 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
10409 }
10410 arg3 = reinterpret_cast< wxWindow * >(argp3);
10411 {
10412 arg4 = &temp4;
10413 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10414 }
10415 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10416 if (!SWIG_IsOK(res5)) {
10417 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10418 }
10419 if (!argp5) {
10420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10421 }
10422 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10423 {
10424 PyThreadState* __tstate = wxPyBeginAllowThreads();
10425 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10426 wxPyEndAllowThreads(__tstate);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 resultobj = SWIG_Py_Void();
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj = 0;
10438 wxDockArt *arg1 = (wxDockArt *) 0 ;
10439 wxDC *arg2 = 0 ;
10440 wxWindow *arg3 = (wxWindow *) 0 ;
10441 wxRect *arg4 = 0 ;
10442 wxPaneInfo *arg5 = 0 ;
10443 void *argp1 = 0 ;
10444 int res1 = 0 ;
10445 void *argp2 = 0 ;
10446 int res2 = 0 ;
10447 void *argp3 = 0 ;
10448 int res3 = 0 ;
10449 wxRect temp4 ;
10450 void *argp5 = 0 ;
10451 int res5 = 0 ;
10452 PyObject * obj0 = 0 ;
10453 PyObject * obj1 = 0 ;
10454 PyObject * obj2 = 0 ;
10455 PyObject * obj3 = 0 ;
10456 PyObject * obj4 = 0 ;
10457 char * kwnames[] = {
10458 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10459 };
10460
10461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10463 if (!SWIG_IsOK(res1)) {
10464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
10465 }
10466 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10467 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10468 if (!SWIG_IsOK(res2)) {
10469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10470 }
10471 if (!argp2) {
10472 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10473 }
10474 arg2 = reinterpret_cast< wxDC * >(argp2);
10475 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10476 if (!SWIG_IsOK(res3)) {
10477 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
10478 }
10479 arg3 = reinterpret_cast< wxWindow * >(argp3);
10480 {
10481 arg4 = &temp4;
10482 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10483 }
10484 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10485 if (!SWIG_IsOK(res5)) {
10486 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10487 }
10488 if (!argp5) {
10489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10490 }
10491 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_Py_Void();
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj = 0;
10507 wxDockArt *arg1 = (wxDockArt *) 0 ;
10508 wxDC *arg2 = 0 ;
10509 wxWindow *arg3 = (wxWindow *) 0 ;
10510 int arg4 ;
10511 int arg5 ;
10512 wxRect *arg6 = 0 ;
10513 wxPaneInfo *arg7 = 0 ;
10514 void *argp1 = 0 ;
10515 int res1 = 0 ;
10516 void *argp2 = 0 ;
10517 int res2 = 0 ;
10518 void *argp3 = 0 ;
10519 int res3 = 0 ;
10520 int val4 ;
10521 int ecode4 = 0 ;
10522 int val5 ;
10523 int ecode5 = 0 ;
10524 wxRect temp6 ;
10525 void *argp7 = 0 ;
10526 int res7 = 0 ;
10527 PyObject * obj0 = 0 ;
10528 PyObject * obj1 = 0 ;
10529 PyObject * obj2 = 0 ;
10530 PyObject * obj3 = 0 ;
10531 PyObject * obj4 = 0 ;
10532 PyObject * obj5 = 0 ;
10533 PyObject * obj6 = 0 ;
10534 char * kwnames[] = {
10535 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
10536 };
10537
10538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10540 if (!SWIG_IsOK(res1)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
10542 }
10543 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10545 if (!SWIG_IsOK(res2)) {
10546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10547 }
10548 if (!argp2) {
10549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10550 }
10551 arg2 = reinterpret_cast< wxDC * >(argp2);
10552 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10553 if (!SWIG_IsOK(res3)) {
10554 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
10555 }
10556 arg3 = reinterpret_cast< wxWindow * >(argp3);
10557 ecode4 = SWIG_AsVal_int(obj3, &val4);
10558 if (!SWIG_IsOK(ecode4)) {
10559 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
10560 }
10561 arg4 = static_cast< int >(val4);
10562 ecode5 = SWIG_AsVal_int(obj4, &val5);
10563 if (!SWIG_IsOK(ecode5)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
10565 }
10566 arg5 = static_cast< int >(val5);
10567 {
10568 arg6 = &temp6;
10569 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
10570 }
10571 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 );
10572 if (!SWIG_IsOK(res7)) {
10573 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10574 }
10575 if (!argp7) {
10576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10577 }
10578 arg7 = reinterpret_cast< wxPaneInfo * >(argp7);
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_Py_Void();
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10593 PyObject *obj;
10594 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10595 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10596 return SWIG_Py_Void();
10597 }
10598
10599 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10600 PyObject *resultobj = 0;
10601 wxDefaultDockArt *result = 0 ;
10602
10603 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10611 return resultobj;
10612 fail:
10613 return NULL;
10614 }
10615
10616
10617 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10618 PyObject *obj;
10619 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10620 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10621 return SWIG_Py_Void();
10622 }
10623
10624 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10625 return SWIG_Python_InitShadowInstance(args);
10626 }
10627
10628 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj = 0;
10630 wxWindow *arg1 = (wxWindow *) 0 ;
10631 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10632 wxPaneInfo *arg3 = 0 ;
10633 int arg4 = (int) wxID_ANY ;
10634 wxFloatingPane *result = 0 ;
10635 void *argp1 = 0 ;
10636 int res1 = 0 ;
10637 void *argp2 = 0 ;
10638 int res2 = 0 ;
10639 void *argp3 = 0 ;
10640 int res3 = 0 ;
10641 int val4 ;
10642 int ecode4 = 0 ;
10643 PyObject * obj0 = 0 ;
10644 PyObject * obj1 = 0 ;
10645 PyObject * obj2 = 0 ;
10646 PyObject * obj3 = 0 ;
10647 char * kwnames[] = {
10648 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
10649 };
10650
10651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10653 if (!SWIG_IsOK(res1)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10655 }
10656 arg1 = reinterpret_cast< wxWindow * >(argp1);
10657 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10658 if (!SWIG_IsOK(res2)) {
10659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10660 }
10661 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10662 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10663 if (!SWIG_IsOK(res3)) {
10664 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10665 }
10666 if (!argp3) {
10667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10668 }
10669 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10670 if (obj3) {
10671 ecode4 = SWIG_AsVal_int(obj3, &val4);
10672 if (!SWIG_IsOK(ecode4)) {
10673 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10674 }
10675 arg4 = static_cast< int >(val4);
10676 }
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10691 PyObject *resultobj = 0;
10692 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10693 void *argp1 = 0 ;
10694 int res1 = 0 ;
10695 PyObject *swig_obj[1] ;
10696
10697 if (!args) SWIG_fail;
10698 swig_obj[0] = args;
10699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
10700 if (!SWIG_IsOK(res1)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10702 }
10703 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 delete arg1;
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_Py_Void();
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj = 0;
10720 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10721 wxPaneInfo *arg2 = 0 ;
10722 void *argp1 = 0 ;
10723 int res1 = 0 ;
10724 void *argp2 = 0 ;
10725 int res2 = 0 ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 char * kwnames[] = {
10729 (char *) "self",(char *) "pane", NULL
10730 };
10731
10732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
10733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
10734 if (!SWIG_IsOK(res1)) {
10735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10736 }
10737 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10739 if (!SWIG_IsOK(res2)) {
10740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10741 }
10742 if (!argp2) {
10743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10744 }
10745 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 resultobj = SWIG_Py_Void();
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10760 PyObject *obj;
10761 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10762 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
10763 return SWIG_Py_Void();
10764 }
10765
10766 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10767 return SWIG_Python_InitShadowInstance(args);
10768 }
10769
10770 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj = 0;
10772 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10773 int arg2 = (int) 0 ;
10774 wxAuiNotebookEvent *result = 0 ;
10775 int val1 ;
10776 int ecode1 = 0 ;
10777 int val2 ;
10778 int ecode2 = 0 ;
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 char * kwnames[] = {
10782 (char *) "command_type",(char *) "win_id", NULL
10783 };
10784
10785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10786 if (obj0) {
10787 ecode1 = SWIG_AsVal_int(obj0, &val1);
10788 if (!SWIG_IsOK(ecode1)) {
10789 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10790 }
10791 arg1 = static_cast< wxEventType >(val1);
10792 }
10793 if (obj1) {
10794 ecode2 = SWIG_AsVal_int(obj1, &val2);
10795 if (!SWIG_IsOK(ecode2)) {
10796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
10797 }
10798 arg2 = static_cast< int >(val2);
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj = 0;
10815 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10816 int arg2 ;
10817 void *argp1 = 0 ;
10818 int res1 = 0 ;
10819 int val2 ;
10820 int ecode2 = 0 ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char * kwnames[] = {
10824 (char *) "self",(char *) "s", NULL
10825 };
10826
10827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10829 if (!SWIG_IsOK(res1)) {
10830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10831 }
10832 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10833 ecode2 = SWIG_AsVal_int(obj1, &val2);
10834 if (!SWIG_IsOK(ecode2)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
10836 }
10837 arg2 = static_cast< int >(val2);
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 (arg1)->SetSelection(arg2);
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 resultobj = SWIG_Py_Void();
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10852 PyObject *resultobj = 0;
10853 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10854 int arg2 ;
10855 void *argp1 = 0 ;
10856 int res1 = 0 ;
10857 int val2 ;
10858 int ecode2 = 0 ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj1 = 0 ;
10861 char * kwnames[] = {
10862 (char *) "self",(char *) "s", NULL
10863 };
10864
10865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10867 if (!SWIG_IsOK(res1)) {
10868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10869 }
10870 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10871 ecode2 = SWIG_AsVal_int(obj1, &val2);
10872 if (!SWIG_IsOK(ecode2)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
10874 }
10875 arg2 = static_cast< int >(val2);
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 (arg1)->SetOldSelection(arg2);
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_Py_Void();
10883 return resultobj;
10884 fail:
10885 return NULL;
10886 }
10887
10888
10889 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10890 PyObject *resultobj = 0;
10891 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10892 int result;
10893 void *argp1 = 0 ;
10894 int res1 = 0 ;
10895 PyObject *swig_obj[1] ;
10896
10897 if (!args) SWIG_fail;
10898 swig_obj[0] = args;
10899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10900 if (!SWIG_IsOK(res1)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10902 }
10903 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_From_int(static_cast< int >(result));
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10918 PyObject *resultobj = 0;
10919 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10920 int result;
10921 void *argp1 = 0 ;
10922 int res1 = 0 ;
10923 PyObject *swig_obj[1] ;
10924
10925 if (!args) SWIG_fail;
10926 swig_obj[0] = args;
10927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10928 if (!SWIG_IsOK(res1)) {
10929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10930 }
10931 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 resultobj = SWIG_From_int(static_cast< int >(result));
10939 return resultobj;
10940 fail:
10941 return NULL;
10942 }
10943
10944
10945 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10946 PyObject *resultobj = 0;
10947 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10948 int arg2 ;
10949 void *argp1 = 0 ;
10950 int res1 = 0 ;
10951 int val2 ;
10952 int ecode2 = 0 ;
10953 PyObject *swig_obj[2] ;
10954
10955 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
10956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10957 if (!SWIG_IsOK(res1)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10959 }
10960 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10961 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10962 if (!SWIG_IsOK(ecode2)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
10964 }
10965 arg2 = static_cast< int >(val2);
10966 if (arg1) (arg1)->old_selection = arg2;
10967
10968 resultobj = SWIG_Py_Void();
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10976 PyObject *resultobj = 0;
10977 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10978 int result;
10979 void *argp1 = 0 ;
10980 int res1 = 0 ;
10981 PyObject *swig_obj[1] ;
10982
10983 if (!args) SWIG_fail;
10984 swig_obj[0] = args;
10985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10986 if (!SWIG_IsOK(res1)) {
10987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10988 }
10989 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10990 result = (int) ((arg1)->old_selection);
10991 resultobj = SWIG_From_int(static_cast< int >(result));
10992 return resultobj;
10993 fail:
10994 return NULL;
10995 }
10996
10997
10998 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10999 PyObject *resultobj = 0;
11000 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11001 int arg2 ;
11002 void *argp1 = 0 ;
11003 int res1 = 0 ;
11004 int val2 ;
11005 int ecode2 = 0 ;
11006 PyObject *swig_obj[2] ;
11007
11008 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
11009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11010 if (!SWIG_IsOK(res1)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11012 }
11013 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11014 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11015 if (!SWIG_IsOK(ecode2)) {
11016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
11017 }
11018 arg2 = static_cast< int >(val2);
11019 if (arg1) (arg1)->selection = arg2;
11020
11021 resultobj = SWIG_Py_Void();
11022 return resultobj;
11023 fail:
11024 return NULL;
11025 }
11026
11027
11028 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11029 PyObject *resultobj = 0;
11030 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
11031 int result;
11032 void *argp1 = 0 ;
11033 int res1 = 0 ;
11034 PyObject *swig_obj[1] ;
11035
11036 if (!args) SWIG_fail;
11037 swig_obj[0] = args;
11038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
11039 if (!SWIG_IsOK(res1)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
11041 }
11042 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
11043 result = (int) ((arg1)->selection);
11044 resultobj = SWIG_From_int(static_cast< int >(result));
11045 return resultobj;
11046 fail:
11047 return NULL;
11048 }
11049
11050
11051 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11052 PyObject *obj;
11053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11054 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
11055 return SWIG_Py_Void();
11056 }
11057
11058 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11059 return SWIG_Python_InitShadowInstance(args);
11060 }
11061
11062 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11063 PyObject *resultobj = 0;
11064 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11065 wxWindow *arg2 = (wxWindow *) 0 ;
11066 void *argp1 = 0 ;
11067 int res1 = 0 ;
11068 void *argp2 = 0 ;
11069 int res2 = 0 ;
11070 PyObject *swig_obj[2] ;
11071
11072 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
11073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11074 if (!SWIG_IsOK(res1)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11076 }
11077 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11078 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
11079 if (!SWIG_IsOK(res2)) {
11080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
11081 }
11082 arg2 = reinterpret_cast< wxWindow * >(argp2);
11083 if (arg1) (arg1)->window = arg2;
11084
11085 resultobj = SWIG_Py_Void();
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11093 PyObject *resultobj = 0;
11094 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11095 wxWindow *result = 0 ;
11096 void *argp1 = 0 ;
11097 int res1 = 0 ;
11098 PyObject *swig_obj[1] ;
11099
11100 if (!args) SWIG_fail;
11101 swig_obj[0] = args;
11102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11103 if (!SWIG_IsOK(res1)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11105 }
11106 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11107 result = (wxWindow *) ((arg1)->window);
11108 {
11109 resultobj = wxPyMake_wxObject(result, 0);
11110 }
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11118 PyObject *resultobj = 0;
11119 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11120 wxString *arg2 = (wxString *) 0 ;
11121 void *argp1 = 0 ;
11122 int res1 = 0 ;
11123 bool temp2 = false ;
11124 PyObject *swig_obj[2] ;
11125
11126 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
11127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11128 if (!SWIG_IsOK(res1)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11130 }
11131 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11132 {
11133 arg2 = wxString_in_helper(swig_obj[1]);
11134 if (arg2 == NULL) SWIG_fail;
11135 temp2 = true;
11136 }
11137 if (arg1) (arg1)->caption = *arg2;
11138
11139 resultobj = SWIG_Py_Void();
11140 {
11141 if (temp2)
11142 delete arg2;
11143 }
11144 return resultobj;
11145 fail:
11146 {
11147 if (temp2)
11148 delete arg2;
11149 }
11150 return NULL;
11151 }
11152
11153
11154 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11155 PyObject *resultobj = 0;
11156 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11157 wxString *result = 0 ;
11158 void *argp1 = 0 ;
11159 int res1 = 0 ;
11160 PyObject *swig_obj[1] ;
11161
11162 if (!args) SWIG_fail;
11163 swig_obj[0] = args;
11164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11165 if (!SWIG_IsOK(res1)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11167 }
11168 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11169 result = (wxString *)& ((arg1)->caption);
11170 {
11171 #if wxUSE_UNICODE
11172 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11173 #else
11174 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11175 #endif
11176 }
11177 return resultobj;
11178 fail:
11179 return NULL;
11180 }
11181
11182
11183 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11184 PyObject *resultobj = 0;
11185 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11186 wxBitmap *arg2 = (wxBitmap *) 0 ;
11187 void *argp1 = 0 ;
11188 int res1 = 0 ;
11189 void *argp2 = 0 ;
11190 int res2 = 0 ;
11191 PyObject *swig_obj[2] ;
11192
11193 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
11194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11197 }
11198 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11199 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11200 if (!SWIG_IsOK(res2)) {
11201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11202 }
11203 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11204 if (arg1) (arg1)->bitmap = *arg2;
11205
11206 resultobj = SWIG_Py_Void();
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11214 PyObject *resultobj = 0;
11215 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11216 wxBitmap *result = 0 ;
11217 void *argp1 = 0 ;
11218 int res1 = 0 ;
11219 PyObject *swig_obj[1] ;
11220
11221 if (!args) SWIG_fail;
11222 swig_obj[0] = args;
11223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11224 if (!SWIG_IsOK(res1)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11226 }
11227 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11228 result = (wxBitmap *)& ((arg1)->bitmap);
11229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11230 return resultobj;
11231 fail:
11232 return NULL;
11233 }
11234
11235
11236 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11237 PyObject *resultobj = 0;
11238 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11239 wxRect *arg2 = (wxRect *) 0 ;
11240 void *argp1 = 0 ;
11241 int res1 = 0 ;
11242 void *argp2 = 0 ;
11243 int res2 = 0 ;
11244 PyObject *swig_obj[2] ;
11245
11246 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
11247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11248 if (!SWIG_IsOK(res1)) {
11249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11250 }
11251 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11252 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11253 if (!SWIG_IsOK(res2)) {
11254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11255 }
11256 arg2 = reinterpret_cast< wxRect * >(argp2);
11257 if (arg1) (arg1)->rect = *arg2;
11258
11259 resultobj = SWIG_Py_Void();
11260 return resultobj;
11261 fail:
11262 return NULL;
11263 }
11264
11265
11266 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11267 PyObject *resultobj = 0;
11268 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11269 wxRect *result = 0 ;
11270 void *argp1 = 0 ;
11271 int res1 = 0 ;
11272 PyObject *swig_obj[1] ;
11273
11274 if (!args) SWIG_fail;
11275 swig_obj[0] = args;
11276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11277 if (!SWIG_IsOK(res1)) {
11278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11279 }
11280 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11281 result = (wxRect *)& ((arg1)->rect);
11282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11290 PyObject *resultobj = 0;
11291 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11292 bool arg2 ;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 bool val2 ;
11296 int ecode2 = 0 ;
11297 PyObject *swig_obj[2] ;
11298
11299 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
11300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11301 if (!SWIG_IsOK(res1)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11303 }
11304 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11305 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
11306 if (!SWIG_IsOK(ecode2)) {
11307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
11308 }
11309 arg2 = static_cast< bool >(val2);
11310 if (arg1) (arg1)->active = arg2;
11311
11312 resultobj = SWIG_Py_Void();
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11320 PyObject *resultobj = 0;
11321 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11322 bool result;
11323 void *argp1 = 0 ;
11324 int res1 = 0 ;
11325 PyObject *swig_obj[1] ;
11326
11327 if (!args) SWIG_fail;
11328 swig_obj[0] = args;
11329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11330 if (!SWIG_IsOK(res1)) {
11331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11332 }
11333 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11334 result = (bool) ((arg1)->active);
11335 {
11336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11337 }
11338 return resultobj;
11339 fail:
11340 return NULL;
11341 }
11342
11343
11344 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11345 PyObject *obj;
11346 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11347 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
11348 return SWIG_Py_Void();
11349 }
11350
11351 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11352 PyObject *resultobj = 0;
11353 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11354 int arg2 ;
11355 void *argp1 = 0 ;
11356 int res1 = 0 ;
11357 int val2 ;
11358 int ecode2 = 0 ;
11359 PyObject *swig_obj[2] ;
11360
11361 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
11362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11363 if (!SWIG_IsOK(res1)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11365 }
11366 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11367 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11368 if (!SWIG_IsOK(ecode2)) {
11369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
11370 }
11371 arg2 = static_cast< int >(val2);
11372 if (arg1) (arg1)->id = arg2;
11373
11374 resultobj = SWIG_Py_Void();
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11382 PyObject *resultobj = 0;
11383 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11384 int result;
11385 void *argp1 = 0 ;
11386 int res1 = 0 ;
11387 PyObject *swig_obj[1] ;
11388
11389 if (!args) SWIG_fail;
11390 swig_obj[0] = args;
11391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11392 if (!SWIG_IsOK(res1)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11394 }
11395 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11396 result = (int) ((arg1)->id);
11397 resultobj = SWIG_From_int(static_cast< int >(result));
11398 return resultobj;
11399 fail:
11400 return NULL;
11401 }
11402
11403
11404 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11405 PyObject *resultobj = 0;
11406 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11407 int arg2 ;
11408 void *argp1 = 0 ;
11409 int res1 = 0 ;
11410 int val2 ;
11411 int ecode2 = 0 ;
11412 PyObject *swig_obj[2] ;
11413
11414 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
11415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11416 if (!SWIG_IsOK(res1)) {
11417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11418 }
11419 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11420 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11421 if (!SWIG_IsOK(ecode2)) {
11422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
11423 }
11424 arg2 = static_cast< int >(val2);
11425 if (arg1) (arg1)->cur_state = arg2;
11426
11427 resultobj = SWIG_Py_Void();
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *resultobj = 0;
11436 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11437 int result;
11438 void *argp1 = 0 ;
11439 int res1 = 0 ;
11440 PyObject *swig_obj[1] ;
11441
11442 if (!args) SWIG_fail;
11443 swig_obj[0] = args;
11444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11447 }
11448 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11449 result = (int) ((arg1)->cur_state);
11450 resultobj = SWIG_From_int(static_cast< int >(result));
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11458 PyObject *resultobj = 0;
11459 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11460 wxBitmap *arg2 = (wxBitmap *) 0 ;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 void *argp2 = 0 ;
11464 int res2 = 0 ;
11465 PyObject *swig_obj[2] ;
11466
11467 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
11468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11469 if (!SWIG_IsOK(res1)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11471 }
11472 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11473 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11474 if (!SWIG_IsOK(res2)) {
11475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11476 }
11477 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11478 if (arg1) (arg1)->bitmap = *arg2;
11479
11480 resultobj = SWIG_Py_Void();
11481 return resultobj;
11482 fail:
11483 return NULL;
11484 }
11485
11486
11487 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11488 PyObject *resultobj = 0;
11489 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11490 wxBitmap *result = 0 ;
11491 void *argp1 = 0 ;
11492 int res1 = 0 ;
11493 PyObject *swig_obj[1] ;
11494
11495 if (!args) SWIG_fail;
11496 swig_obj[0] = args;
11497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11498 if (!SWIG_IsOK(res1)) {
11499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11500 }
11501 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11502 result = (wxBitmap *)& ((arg1)->bitmap);
11503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11511 PyObject *resultobj = 0;
11512 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11513 wxRect *arg2 = (wxRect *) 0 ;
11514 void *argp1 = 0 ;
11515 int res1 = 0 ;
11516 void *argp2 = 0 ;
11517 int res2 = 0 ;
11518 PyObject *swig_obj[2] ;
11519
11520 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
11521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11522 if (!SWIG_IsOK(res1)) {
11523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11524 }
11525 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11526 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11527 if (!SWIG_IsOK(res2)) {
11528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11529 }
11530 arg2 = reinterpret_cast< wxRect * >(argp2);
11531 if (arg1) (arg1)->rect = *arg2;
11532
11533 resultobj = SWIG_Py_Void();
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11541 PyObject *resultobj = 0;
11542 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11543 wxRect *result = 0 ;
11544 void *argp1 = 0 ;
11545 int res1 = 0 ;
11546 PyObject *swig_obj[1] ;
11547
11548 if (!args) SWIG_fail;
11549 swig_obj[0] = args;
11550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11551 if (!SWIG_IsOK(res1)) {
11552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11553 }
11554 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11555 result = (wxRect *)& ((arg1)->rect);
11556 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564 PyObject *obj;
11565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11566 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
11567 return SWIG_Py_Void();
11568 }
11569
11570 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11571 PyObject *resultobj = 0;
11572 wxAuiTabContainer *result = 0 ;
11573
11574 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 result = (wxAuiTabContainer *)new wxAuiTabContainer();
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11589 PyObject *resultobj = 0;
11590 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11591 void *argp1 = 0 ;
11592 int res1 = 0 ;
11593 PyObject *swig_obj[1] ;
11594
11595 if (!args) SWIG_fail;
11596 swig_obj[0] = args;
11597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
11598 if (!SWIG_IsOK(res1)) {
11599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11600 }
11601 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 delete arg1;
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = SWIG_Py_Void();
11610 return resultobj;
11611 fail:
11612 return NULL;
11613 }
11614
11615
11616 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj = 0;
11618 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11619 wxWindow *arg2 = (wxWindow *) 0 ;
11620 wxAuiNotebookPage *arg3 = 0 ;
11621 bool result;
11622 void *argp1 = 0 ;
11623 int res1 = 0 ;
11624 void *argp2 = 0 ;
11625 int res2 = 0 ;
11626 void *argp3 = 0 ;
11627 int res3 = 0 ;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 PyObject * obj2 = 0 ;
11631 char * kwnames[] = {
11632 (char *) "self",(char *) "page",(char *) "info", NULL
11633 };
11634
11635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11637 if (!SWIG_IsOK(res1)) {
11638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11639 }
11640 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11642 if (!SWIG_IsOK(res2)) {
11643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11644 }
11645 arg2 = reinterpret_cast< wxWindow * >(argp2);
11646 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11647 if (!SWIG_IsOK(res3)) {
11648 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11649 }
11650 if (!argp3) {
11651 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11652 }
11653 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 {
11661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11662 }
11663 return resultobj;
11664 fail:
11665 return NULL;
11666 }
11667
11668
11669 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj = 0;
11671 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11672 wxWindow *arg2 = (wxWindow *) 0 ;
11673 wxAuiNotebookPage *arg3 = 0 ;
11674 size_t arg4 ;
11675 bool result;
11676 void *argp1 = 0 ;
11677 int res1 = 0 ;
11678 void *argp2 = 0 ;
11679 int res2 = 0 ;
11680 void *argp3 = 0 ;
11681 int res3 = 0 ;
11682 size_t val4 ;
11683 int ecode4 = 0 ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 PyObject * obj3 = 0 ;
11688 char * kwnames[] = {
11689 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
11690 };
11691
11692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11694 if (!SWIG_IsOK(res1)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11696 }
11697 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11698 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11699 if (!SWIG_IsOK(res2)) {
11700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11701 }
11702 arg2 = reinterpret_cast< wxWindow * >(argp2);
11703 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11704 if (!SWIG_IsOK(res3)) {
11705 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11706 }
11707 if (!argp3) {
11708 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11709 }
11710 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11711 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
11712 if (!SWIG_IsOK(ecode4)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
11714 }
11715 arg4 = static_cast< size_t >(val4);
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 {
11723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11724 }
11725 return resultobj;
11726 fail:
11727 return NULL;
11728 }
11729
11730
11731 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11732 PyObject *resultobj = 0;
11733 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11734 wxWindow *arg2 = (wxWindow *) 0 ;
11735 bool result;
11736 void *argp1 = 0 ;
11737 int res1 = 0 ;
11738 void *argp2 = 0 ;
11739 int res2 = 0 ;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 char * kwnames[] = {
11743 (char *) "self",(char *) "page", NULL
11744 };
11745
11746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
11747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11748 if (!SWIG_IsOK(res1)) {
11749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11750 }
11751 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11752 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11753 if (!SWIG_IsOK(res2)) {
11754 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11755 }
11756 arg2 = reinterpret_cast< wxWindow * >(argp2);
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (bool)(arg1)->RemovePage(arg2);
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 {
11764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11765 }
11766 return resultobj;
11767 fail:
11768 return NULL;
11769 }
11770
11771
11772 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11773 PyObject *resultobj = 0;
11774 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11775 wxWindow *arg2 = (wxWindow *) 0 ;
11776 bool result;
11777 void *argp1 = 0 ;
11778 int res1 = 0 ;
11779 void *argp2 = 0 ;
11780 int res2 = 0 ;
11781
11782 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11784 if (!SWIG_IsOK(res1)) {
11785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11786 }
11787 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11788 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11789 if (!SWIG_IsOK(res2)) {
11790 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11791 }
11792 arg2 = reinterpret_cast< wxWindow * >(argp2);
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (bool)(arg1)->SetActivePage(arg2);
11796 wxPyEndAllowThreads(__tstate);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 {
11800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11801 }
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11809 PyObject *resultobj = 0;
11810 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11811 size_t arg2 ;
11812 bool result;
11813 void *argp1 = 0 ;
11814 int res1 = 0 ;
11815 size_t val2 ;
11816 int ecode2 = 0 ;
11817
11818 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11820 if (!SWIG_IsOK(res1)) {
11821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11822 }
11823 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11824 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
11825 if (!SWIG_IsOK(ecode2)) {
11826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
11827 }
11828 arg2 = static_cast< size_t >(val2);
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 result = (bool)(arg1)->SetActivePage(arg2);
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 {
11836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11837 }
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
11845 int argc;
11846 PyObject *argv[3];
11847
11848 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
11849 --argc;
11850 if (argc == 2) {
11851 int _v = 0;
11852 {
11853 void *vptr = 0;
11854 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
11855 _v = SWIG_CheckState(res);
11856 }
11857 if (!_v) goto check_1;
11858 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
11859 }
11860 check_1:
11861
11862 if (argc == 2) {
11863 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
11864 }
11865
11866 fail:
11867 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
11868 return NULL;
11869 }
11870
11871
11872 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11875 void *argp1 = 0 ;
11876 int res1 = 0 ;
11877 PyObject *swig_obj[1] ;
11878
11879 if (!args) SWIG_fail;
11880 swig_obj[0] = args;
11881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11884 }
11885 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 (arg1)->SetNoneActive();
11889 wxPyEndAllowThreads(__tstate);
11890 if (PyErr_Occurred()) SWIG_fail;
11891 }
11892 resultobj = SWIG_Py_Void();
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11900 PyObject *resultobj = 0;
11901 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11902 int result;
11903 void *argp1 = 0 ;
11904 int res1 = 0 ;
11905 PyObject *swig_obj[1] ;
11906
11907 if (!args) SWIG_fail;
11908 swig_obj[0] = args;
11909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11910 if (!SWIG_IsOK(res1)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11912 }
11913 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 resultobj = SWIG_From_int(static_cast< int >(result));
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj = 0;
11929 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11930 int arg2 ;
11931 int arg3 ;
11932 wxWindow **arg4 = (wxWindow **) 0 ;
11933 bool result;
11934 void *argp1 = 0 ;
11935 int res1 = 0 ;
11936 int val2 ;
11937 int ecode2 = 0 ;
11938 int val3 ;
11939 int ecode3 = 0 ;
11940 void *argp4 = 0 ;
11941 int res4 = 0 ;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 PyObject * obj2 = 0 ;
11945 PyObject * obj3 = 0 ;
11946 char * kwnames[] = {
11947 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
11948 };
11949
11950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11952 if (!SWIG_IsOK(res1)) {
11953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11954 }
11955 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11956 ecode2 = SWIG_AsVal_int(obj1, &val2);
11957 if (!SWIG_IsOK(ecode2)) {
11958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
11959 }
11960 arg2 = static_cast< int >(val2);
11961 ecode3 = SWIG_AsVal_int(obj2, &val3);
11962 if (!SWIG_IsOK(ecode3)) {
11963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
11964 }
11965 arg3 = static_cast< int >(val3);
11966 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
11967 if (!SWIG_IsOK(res4)) {
11968 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
11969 }
11970 arg4 = reinterpret_cast< wxWindow ** >(argp4);
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 {
11978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11979 }
11980 return resultobj;
11981 fail:
11982 return NULL;
11983 }
11984
11985
11986 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11989 int arg2 ;
11990 int arg3 ;
11991 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
11992 bool result;
11993 void *argp1 = 0 ;
11994 int res1 = 0 ;
11995 int val2 ;
11996 int ecode2 = 0 ;
11997 int val3 ;
11998 int ecode3 = 0 ;
11999 void *argp4 = 0 ;
12000 int res4 = 0 ;
12001 PyObject * obj0 = 0 ;
12002 PyObject * obj1 = 0 ;
12003 PyObject * obj2 = 0 ;
12004 PyObject * obj3 = 0 ;
12005 char * kwnames[] = {
12006 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12013 }
12014 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12015 ecode2 = SWIG_AsVal_int(obj1, &val2);
12016 if (!SWIG_IsOK(ecode2)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
12018 }
12019 arg2 = static_cast< int >(val2);
12020 ecode3 = SWIG_AsVal_int(obj2, &val3);
12021 if (!SWIG_IsOK(ecode3)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
12023 }
12024 arg3 = static_cast< int >(val3);
12025 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
12026 if (!SWIG_IsOK(res4)) {
12027 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
12028 }
12029 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 {
12037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12038 }
12039 return resultobj;
12040 fail:
12041 return NULL;
12042 }
12043
12044
12045 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12046 PyObject *resultobj = 0;
12047 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12048 size_t arg2 ;
12049 wxWindow *result = 0 ;
12050 void *argp1 = 0 ;
12051 int res1 = 0 ;
12052 size_t val2 ;
12053 int ecode2 = 0 ;
12054 PyObject * obj0 = 0 ;
12055 PyObject * obj1 = 0 ;
12056 char * kwnames[] = {
12057 (char *) "self",(char *) "idx", NULL
12058 };
12059
12060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
12061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12062 if (!SWIG_IsOK(res1)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12064 }
12065 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12066 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12067 if (!SWIG_IsOK(ecode2)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
12069 }
12070 arg2 = static_cast< size_t >(val2);
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 {
12078 resultobj = wxPyMake_wxObject(result, 0);
12079 }
12080 return resultobj;
12081 fail:
12082 return NULL;
12083 }
12084
12085
12086 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12087 PyObject *resultobj = 0;
12088 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12089 wxWindow *arg2 = (wxWindow *) 0 ;
12090 int result;
12091 void *argp1 = 0 ;
12092 int res1 = 0 ;
12093 void *argp2 = 0 ;
12094 int res2 = 0 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 char * kwnames[] = {
12098 (char *) "self",(char *) "page", NULL
12099 };
12100
12101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12103 if (!SWIG_IsOK(res1)) {
12104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12105 }
12106 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12107 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12108 if (!SWIG_IsOK(res2)) {
12109 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12110 }
12111 arg2 = reinterpret_cast< wxWindow * >(argp2);
12112 {
12113 PyThreadState* __tstate = wxPyBeginAllowThreads();
12114 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
12115 wxPyEndAllowThreads(__tstate);
12116 if (PyErr_Occurred()) SWIG_fail;
12117 }
12118 resultobj = SWIG_From_int(static_cast< int >(result));
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12126 PyObject *resultobj = 0;
12127 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12128 size_t result;
12129 void *argp1 = 0 ;
12130 int res1 = 0 ;
12131 PyObject *swig_obj[1] ;
12132
12133 if (!args) SWIG_fail;
12134 swig_obj[0] = args;
12135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12136 if (!SWIG_IsOK(res1)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12138 }
12139 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj = 0;
12155 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12156 size_t arg2 ;
12157 wxAuiNotebookPage *result = 0 ;
12158 void *argp1 = 0 ;
12159 int res1 = 0 ;
12160 size_t val2 ;
12161 int ecode2 = 0 ;
12162 PyObject * obj0 = 0 ;
12163 PyObject * obj1 = 0 ;
12164 char * kwnames[] = {
12165 (char *) "self",(char *) "idx", NULL
12166 };
12167
12168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
12169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12170 if (!SWIG_IsOK(res1)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12172 }
12173 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12174 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12175 if (!SWIG_IsOK(ecode2)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
12177 }
12178 arg2 = static_cast< size_t >(val2);
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 {
12182 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
12183 result = (wxAuiNotebookPage *) &_result_ref;
12184 }
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12189 return resultobj;
12190 fail:
12191 return NULL;
12192 }
12193
12194
12195 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12196 PyObject *resultobj = 0;
12197 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12198 wxAuiNotebookPageArray *result = 0 ;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 PyObject *swig_obj[1] ;
12202
12203 if (!args) SWIG_fail;
12204 swig_obj[0] = args;
12205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12206 if (!SWIG_IsOK(res1)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12208 }
12209 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 {
12213 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
12214 result = (wxAuiNotebookPageArray *) &_result_ref;
12215 }
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
12220 return resultobj;
12221 fail:
12222 return NULL;
12223 }
12224
12225
12226 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj = 0;
12228 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12229 wxFont *arg2 = 0 ;
12230 void *argp1 = 0 ;
12231 int res1 = 0 ;
12232 void *argp2 = 0 ;
12233 int res2 = 0 ;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char * kwnames[] = {
12237 (char *) "self",(char *) "normal_font", NULL
12238 };
12239
12240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
12241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12244 }
12245 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12247 if (!SWIG_IsOK(res2)) {
12248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12249 }
12250 if (!argp2) {
12251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12252 }
12253 arg2 = reinterpret_cast< wxFont * >(argp2);
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->SetNormalFont((wxFont const &)*arg2);
12257 wxPyEndAllowThreads(__tstate);
12258 if (PyErr_Occurred()) SWIG_fail;
12259 }
12260 resultobj = SWIG_Py_Void();
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj = 0;
12269 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12270 wxFont *arg2 = 0 ;
12271 void *argp1 = 0 ;
12272 int res1 = 0 ;
12273 void *argp2 = 0 ;
12274 int res2 = 0 ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char * kwnames[] = {
12278 (char *) "self",(char *) "selected_font", NULL
12279 };
12280
12281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
12282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12285 }
12286 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12288 if (!SWIG_IsOK(res2)) {
12289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12290 }
12291 if (!argp2) {
12292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12293 }
12294 arg2 = reinterpret_cast< wxFont * >(argp2);
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 (arg1)->SetSelectedFont((wxFont const &)*arg2);
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 resultobj = SWIG_Py_Void();
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj = 0;
12310 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12311 wxFont *arg2 = 0 ;
12312 void *argp1 = 0 ;
12313 int res1 = 0 ;
12314 void *argp2 = 0 ;
12315 int res2 = 0 ;
12316 PyObject * obj0 = 0 ;
12317 PyObject * obj1 = 0 ;
12318 char * kwnames[] = {
12319 (char *) "self",(char *) "measuring_font", NULL
12320 };
12321
12322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
12323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12324 if (!SWIG_IsOK(res1)) {
12325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12326 }
12327 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12328 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12329 if (!SWIG_IsOK(res2)) {
12330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12331 }
12332 if (!argp2) {
12333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12334 }
12335 arg2 = reinterpret_cast< wxFont * >(argp2);
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_Py_Void();
12343 return resultobj;
12344 fail:
12345 return NULL;
12346 }
12347
12348
12349 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12350 PyObject *resultobj = 0;
12351 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12352 void *argp1 = 0 ;
12353 int res1 = 0 ;
12354 PyObject *swig_obj[1] ;
12355
12356 if (!args) SWIG_fail;
12357 swig_obj[0] = args;
12358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12359 if (!SWIG_IsOK(res1)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12361 }
12362 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 (arg1)->DoShowHide();
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 resultobj = SWIG_Py_Void();
12370 return resultobj;
12371 fail:
12372 return NULL;
12373 }
12374
12375
12376 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj = 0;
12378 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12379 wxRect *arg2 = 0 ;
12380 void *argp1 = 0 ;
12381 int res1 = 0 ;
12382 wxRect temp2 ;
12383 PyObject * obj0 = 0 ;
12384 PyObject * obj1 = 0 ;
12385 char * kwnames[] = {
12386 (char *) "self",(char *) "rect", NULL
12387 };
12388
12389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12391 if (!SWIG_IsOK(res1)) {
12392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12393 }
12394 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12395 {
12396 arg2 = &temp2;
12397 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12398 }
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 (arg1)->SetRect((wxRect const &)*arg2);
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_Py_Void();
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = 0;
12414 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12415 int arg2 ;
12416 wxBitmap *arg3 = 0 ;
12417 void *argp1 = 0 ;
12418 int res1 = 0 ;
12419 int val2 ;
12420 int ecode2 = 0 ;
12421 void *argp3 = 0 ;
12422 int res3 = 0 ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 PyObject * obj2 = 0 ;
12426 char * kwnames[] = {
12427 (char *) "self",(char *) "id",(char *) "bmp", NULL
12428 };
12429
12430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12432 if (!SWIG_IsOK(res1)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12434 }
12435 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12436 ecode2 = SWIG_AsVal_int(obj1, &val2);
12437 if (!SWIG_IsOK(ecode2)) {
12438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
12439 }
12440 arg2 = static_cast< int >(val2);
12441 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
12442 if (!SWIG_IsOK(res3)) {
12443 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12444 }
12445 if (!argp3) {
12446 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12447 }
12448 arg3 = reinterpret_cast< wxBitmap * >(argp3);
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->AddButton(arg2,(wxBitmap const &)*arg3);
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = SWIG_Py_Void();
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12463 PyObject *obj;
12464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12465 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
12466 return SWIG_Py_Void();
12467 }
12468
12469 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 return SWIG_Python_InitShadowInstance(args);
12471 }
12472
12473 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12474 PyObject *resultobj = 0;
12475 wxWindow *arg1 = (wxWindow *) 0 ;
12476 int arg2 = (int) wxID_ANY ;
12477 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12478 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12479 wxSize const &arg4_defvalue = wxDefaultSize ;
12480 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12481 long arg5 = (long) 0 ;
12482 wxAuiTabCtrl *result = 0 ;
12483 void *argp1 = 0 ;
12484 int res1 = 0 ;
12485 int val2 ;
12486 int ecode2 = 0 ;
12487 wxPoint temp3 ;
12488 wxSize temp4 ;
12489 long val5 ;
12490 int ecode5 = 0 ;
12491 PyObject * obj0 = 0 ;
12492 PyObject * obj1 = 0 ;
12493 PyObject * obj2 = 0 ;
12494 PyObject * obj3 = 0 ;
12495 PyObject * obj4 = 0 ;
12496 char * kwnames[] = {
12497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12498 };
12499
12500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12502 if (!SWIG_IsOK(res1)) {
12503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
12504 }
12505 arg1 = reinterpret_cast< wxWindow * >(argp1);
12506 if (obj1) {
12507 ecode2 = SWIG_AsVal_int(obj1, &val2);
12508 if (!SWIG_IsOK(ecode2)) {
12509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
12510 }
12511 arg2 = static_cast< int >(val2);
12512 }
12513 if (obj2) {
12514 {
12515 arg3 = &temp3;
12516 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12517 }
12518 }
12519 if (obj3) {
12520 {
12521 arg4 = &temp4;
12522 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12523 }
12524 }
12525 if (obj4) {
12526 ecode5 = SWIG_AsVal_long(obj4, &val5);
12527 if (!SWIG_IsOK(ecode5)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
12529 }
12530 arg5 = static_cast< long >(val5);
12531 }
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *obj;
12547 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12548 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
12549 return SWIG_Py_Void();
12550 }
12551
12552 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12553 return SWIG_Python_InitShadowInstance(args);
12554 }
12555
12556 SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12557 PyObject *resultobj = 0;
12558 wxAuiMultiNotebook *result = 0 ;
12559
12560 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail;
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook();
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 );
12568 return resultobj;
12569 fail:
12570 return NULL;
12571 }
12572
12573
12574 SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12575 PyObject *resultobj = 0;
12576 wxWindow *arg1 = (wxWindow *) 0 ;
12577 int arg2 = (int) wxID_ANY ;
12578 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12579 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12580 wxSize const &arg4_defvalue = wxDefaultSize ;
12581 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12582 long arg5 = (long) 0 ;
12583 wxAuiMultiNotebook *result = 0 ;
12584 void *argp1 = 0 ;
12585 int res1 = 0 ;
12586 int val2 ;
12587 int ecode2 = 0 ;
12588 wxPoint temp3 ;
12589 wxSize temp4 ;
12590 long val5 ;
12591 int ecode5 = 0 ;
12592 PyObject * obj0 = 0 ;
12593 PyObject * obj1 = 0 ;
12594 PyObject * obj2 = 0 ;
12595 PyObject * obj3 = 0 ;
12596 PyObject * obj4 = 0 ;
12597 char * kwnames[] = {
12598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12599 };
12600
12601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12603 if (!SWIG_IsOK(res1)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
12605 }
12606 arg1 = reinterpret_cast< wxWindow * >(argp1);
12607 if (obj1) {
12608 ecode2 = SWIG_AsVal_int(obj1, &val2);
12609 if (!SWIG_IsOK(ecode2)) {
12610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'");
12611 }
12612 arg2 = static_cast< int >(val2);
12613 }
12614 if (obj2) {
12615 {
12616 arg3 = &temp3;
12617 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12618 }
12619 }
12620 if (obj3) {
12621 {
12622 arg4 = &temp4;
12623 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12624 }
12625 }
12626 if (obj4) {
12627 ecode5 = SWIG_AsVal_long(obj4, &val5);
12628 if (!SWIG_IsOK(ecode5)) {
12629 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'");
12630 }
12631 arg5 = static_cast< long >(val5);
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 );
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12649 wxWindow *arg2 = (wxWindow *) 0 ;
12650 int arg3 = (int) wxID_ANY ;
12651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12653 wxSize const &arg5_defvalue = wxDefaultSize ;
12654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12655 long arg6 = (long) 0 ;
12656 bool result;
12657 void *argp1 = 0 ;
12658 int res1 = 0 ;
12659 void *argp2 = 0 ;
12660 int res2 = 0 ;
12661 int val3 ;
12662 int ecode3 = 0 ;
12663 wxPoint temp4 ;
12664 wxSize temp5 ;
12665 long val6 ;
12666 int ecode6 = 0 ;
12667 PyObject * obj0 = 0 ;
12668 PyObject * obj1 = 0 ;
12669 PyObject * obj2 = 0 ;
12670 PyObject * obj3 = 0 ;
12671 PyObject * obj4 = 0 ;
12672 PyObject * obj5 = 0 ;
12673 char * kwnames[] = {
12674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12675 };
12676
12677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12679 if (!SWIG_IsOK(res1)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12681 }
12682 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12684 if (!SWIG_IsOK(res2)) {
12685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12686 }
12687 arg2 = reinterpret_cast< wxWindow * >(argp2);
12688 if (obj2) {
12689 ecode3 = SWIG_AsVal_int(obj2, &val3);
12690 if (!SWIG_IsOK(ecode3)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
12692 }
12693 arg3 = static_cast< int >(val3);
12694 }
12695 if (obj3) {
12696 {
12697 arg4 = &temp4;
12698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12699 }
12700 }
12701 if (obj4) {
12702 {
12703 arg5 = &temp5;
12704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12705 }
12706 }
12707 if (obj5) {
12708 ecode6 = SWIG_AsVal_long(obj5, &val6);
12709 if (!SWIG_IsOK(ecode6)) {
12710 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
12711 }
12712 arg6 = static_cast< long >(val6);
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 {
12721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12722 }
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj = 0;
12731 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12732 wxWindow *arg2 = (wxWindow *) 0 ;
12733 wxString *arg3 = 0 ;
12734 bool arg4 = (bool) false ;
12735 wxBitmap const &arg5_defvalue = wxNullBitmap ;
12736 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
12737 bool result;
12738 void *argp1 = 0 ;
12739 int res1 = 0 ;
12740 void *argp2 = 0 ;
12741 int res2 = 0 ;
12742 bool temp3 = false ;
12743 bool val4 ;
12744 int ecode4 = 0 ;
12745 void *argp5 = 0 ;
12746 int res5 = 0 ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 PyObject * obj2 = 0 ;
12750 PyObject * obj3 = 0 ;
12751 PyObject * obj4 = 0 ;
12752 char * kwnames[] = {
12753 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12754 };
12755
12756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12758 if (!SWIG_IsOK(res1)) {
12759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12760 }
12761 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12763 if (!SWIG_IsOK(res2)) {
12764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
12765 }
12766 arg2 = reinterpret_cast< wxWindow * >(argp2);
12767 {
12768 arg3 = wxString_in_helper(obj2);
12769 if (arg3 == NULL) SWIG_fail;
12770 temp3 = true;
12771 }
12772 if (obj3) {
12773 ecode4 = SWIG_AsVal_bool(obj3, &val4);
12774 if (!SWIG_IsOK(ecode4)) {
12775 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
12776 }
12777 arg4 = static_cast< bool >(val4);
12778 }
12779 if (obj4) {
12780 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
12781 if (!SWIG_IsOK(res5)) {
12782 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12783 }
12784 if (!argp5) {
12785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12786 }
12787 arg5 = reinterpret_cast< wxBitmap * >(argp5);
12788 }
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
12792 wxPyEndAllowThreads(__tstate);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 {
12796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12797 }
12798 {
12799 if (temp3)
12800 delete arg3;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp3)
12806 delete arg3;
12807 }
12808 return NULL;
12809 }
12810
12811
12812 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12813 PyObject *resultobj = 0;
12814 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12815 size_t arg2 ;
12816 wxWindow *arg3 = (wxWindow *) 0 ;
12817 wxString *arg4 = 0 ;
12818 bool arg5 = (bool) false ;
12819 wxBitmap const &arg6_defvalue = wxNullBitmap ;
12820 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
12821 bool result;
12822 void *argp1 = 0 ;
12823 int res1 = 0 ;
12824 size_t val2 ;
12825 int ecode2 = 0 ;
12826 void *argp3 = 0 ;
12827 int res3 = 0 ;
12828 bool temp4 = false ;
12829 bool val5 ;
12830 int ecode5 = 0 ;
12831 void *argp6 = 0 ;
12832 int res6 = 0 ;
12833 PyObject * obj0 = 0 ;
12834 PyObject * obj1 = 0 ;
12835 PyObject * obj2 = 0 ;
12836 PyObject * obj3 = 0 ;
12837 PyObject * obj4 = 0 ;
12838 PyObject * obj5 = 0 ;
12839 char * kwnames[] = {
12840 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12841 };
12842
12843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12845 if (!SWIG_IsOK(res1)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12847 }
12848 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12849 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12850 if (!SWIG_IsOK(ecode2)) {
12851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
12852 }
12853 arg2 = static_cast< size_t >(val2);
12854 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12855 if (!SWIG_IsOK(res3)) {
12856 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
12857 }
12858 arg3 = reinterpret_cast< wxWindow * >(argp3);
12859 {
12860 arg4 = wxString_in_helper(obj3);
12861 if (arg4 == NULL) SWIG_fail;
12862 temp4 = true;
12863 }
12864 if (obj4) {
12865 ecode5 = SWIG_AsVal_bool(obj4, &val5);
12866 if (!SWIG_IsOK(ecode5)) {
12867 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
12868 }
12869 arg5 = static_cast< bool >(val5);
12870 }
12871 if (obj5) {
12872 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
12873 if (!SWIG_IsOK(res6)) {
12874 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12875 }
12876 if (!argp6) {
12877 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12878 }
12879 arg6 = reinterpret_cast< wxBitmap * >(argp6);
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 {
12888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12889 }
12890 {
12891 if (temp4)
12892 delete arg4;
12893 }
12894 return resultobj;
12895 fail:
12896 {
12897 if (temp4)
12898 delete arg4;
12899 }
12900 return NULL;
12901 }
12902
12903
12904 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12905 PyObject *resultobj = 0;
12906 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12907 size_t arg2 ;
12908 bool result;
12909 void *argp1 = 0 ;
12910 int res1 = 0 ;
12911 size_t val2 ;
12912 int ecode2 = 0 ;
12913 PyObject * obj0 = 0 ;
12914 PyObject * obj1 = 0 ;
12915 char * kwnames[] = {
12916 (char *) "self",(char *) "page", NULL
12917 };
12918
12919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
12920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12921 if (!SWIG_IsOK(res1)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12923 }
12924 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12925 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12926 if (!SWIG_IsOK(ecode2)) {
12927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
12928 }
12929 arg2 = static_cast< size_t >(val2);
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)(arg1)->DeletePage(arg2);
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 {
12937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12938 }
12939 return resultobj;
12940 fail:
12941 return NULL;
12942 }
12943
12944
12945 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12946 PyObject *resultobj = 0;
12947 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12948 size_t arg2 ;
12949 bool result;
12950 void *argp1 = 0 ;
12951 int res1 = 0 ;
12952 size_t val2 ;
12953 int ecode2 = 0 ;
12954 PyObject * obj0 = 0 ;
12955 PyObject * obj1 = 0 ;
12956 char * kwnames[] = {
12957 (char *) "self",(char *) "page", NULL
12958 };
12959
12960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
12961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12962 if (!SWIG_IsOK(res1)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12964 }
12965 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12966 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12967 if (!SWIG_IsOK(ecode2)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
12969 }
12970 arg2 = static_cast< size_t >(val2);
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (bool)(arg1)->RemovePage(arg2);
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 {
12978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12979 }
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj = 0;
12988 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12989 size_t arg2 ;
12990 wxString *arg3 = 0 ;
12991 bool result;
12992 void *argp1 = 0 ;
12993 int res1 = 0 ;
12994 size_t val2 ;
12995 int ecode2 = 0 ;
12996 bool temp3 = false ;
12997 PyObject * obj0 = 0 ;
12998 PyObject * obj1 = 0 ;
12999 PyObject * obj2 = 0 ;
13000 char * kwnames[] = {
13001 (char *) "self",(char *) "page",(char *) "text", NULL
13002 };
13003
13004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13006 if (!SWIG_IsOK(res1)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13008 }
13009 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13010 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13011 if (!SWIG_IsOK(ecode2)) {
13012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
13013 }
13014 arg2 = static_cast< size_t >(val2);
13015 {
13016 arg3 = wxString_in_helper(obj2);
13017 if (arg3 == NULL) SWIG_fail;
13018 temp3 = true;
13019 }
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 {
13027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13028 }
13029 {
13030 if (temp3)
13031 delete arg3;
13032 }
13033 return resultobj;
13034 fail:
13035 {
13036 if (temp3)
13037 delete arg3;
13038 }
13039 return NULL;
13040 }
13041
13042
13043 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj = 0;
13045 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13046 size_t arg2 ;
13047 size_t result;
13048 void *argp1 = 0 ;
13049 int res1 = 0 ;
13050 size_t val2 ;
13051 int ecode2 = 0 ;
13052 PyObject * obj0 = 0 ;
13053 PyObject * obj1 = 0 ;
13054 char * kwnames[] = {
13055 (char *) "self",(char *) "new_page", NULL
13056 };
13057
13058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
13059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13060 if (!SWIG_IsOK(res1)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
13062 }
13063 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13064 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13065 if (!SWIG_IsOK(ecode2)) {
13066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
13067 }
13068 arg2 = static_cast< size_t >(val2);
13069 {
13070 PyThreadState* __tstate = wxPyBeginAllowThreads();
13071 result = (size_t)(arg1)->SetSelection(arg2);
13072 wxPyEndAllowThreads(__tstate);
13073 if (PyErr_Occurred()) SWIG_fail;
13074 }
13075 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13076 return resultobj;
13077 fail:
13078 return NULL;
13079 }
13080
13081
13082 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13083 PyObject *resultobj = 0;
13084 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13085 int result;
13086 void *argp1 = 0 ;
13087 int res1 = 0 ;
13088 PyObject *swig_obj[1] ;
13089
13090 if (!args) SWIG_fail;
13091 swig_obj[0] = args;
13092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13093 if (!SWIG_IsOK(res1)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13095 }
13096 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection();
13100 wxPyEndAllowThreads(__tstate);
13101 if (PyErr_Occurred()) SWIG_fail;
13102 }
13103 resultobj = SWIG_From_int(static_cast< int >(result));
13104 return resultobj;
13105 fail:
13106 return NULL;
13107 }
13108
13109
13110 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13111 PyObject *resultobj = 0;
13112 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13113 size_t result;
13114 void *argp1 = 0 ;
13115 int res1 = 0 ;
13116 PyObject *swig_obj[1] ;
13117
13118 if (!args) SWIG_fail;
13119 swig_obj[0] = args;
13120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13121 if (!SWIG_IsOK(res1)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13123 }
13124 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount();
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13132 return resultobj;
13133 fail:
13134 return NULL;
13135 }
13136
13137
13138 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj = 0;
13140 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13141 size_t arg2 ;
13142 wxWindow *result = 0 ;
13143 void *argp1 = 0 ;
13144 int res1 = 0 ;
13145 size_t val2 ;
13146 int ecode2 = 0 ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 char * kwnames[] = {
13150 (char *) "self",(char *) "page_idx", NULL
13151 };
13152
13153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
13154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13155 if (!SWIG_IsOK(res1)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13157 }
13158 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13159 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13160 if (!SWIG_IsOK(ecode2)) {
13161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
13162 }
13163 arg2 = static_cast< size_t >(val2);
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2);
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 {
13171 resultobj = wxPyMake_wxObject(result, 0);
13172 }
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 PyObject *obj;
13181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13182 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj));
13183 return SWIG_Py_Void();
13184 }
13185
13186 SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13187 return SWIG_Python_InitShadowInstance(args);
13188 }
13189
13190 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13191 PyObject *obj;
13192 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
13194 return SWIG_Py_Void();
13195 }
13196
13197 static PyMethodDef SwigMethods[] = {
13198 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
13199 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
13200 { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
13201 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
13202 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
13203 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
13204 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
13205 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
13206 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
13207 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
13208 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
13209 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
13210 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
13211 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
13212 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
13213 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
13214 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
13215 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
13216 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
13217 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
13218 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
13219 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
13220 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
13221 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
13222 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
13223 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
13224 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
13225 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
13226 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
13227 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
13228 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
13229 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
13230 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
13231 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
13232 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
13233 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
13234 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
13235 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
13236 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
13237 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
13238 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
13239 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
13240 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
13241 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
13242 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
13243 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
13244 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
13245 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
13246 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
13247 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13248 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
13249 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
13250 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
13251 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13252 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13253 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
13254 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
13255 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13256 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13257 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13258 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13259 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
13260 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
13261 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
13262 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
13263 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
13264 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
13265 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
13266 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13267 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13268 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
13269 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
13270 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
13271 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
13272 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
13273 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
13274 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
13275 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
13276 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
13277 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
13278 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
13279 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
13280 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
13281 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
13282 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
13283 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
13284 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
13285 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
13286 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
13287 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
13288 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
13289 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
13290 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
13291 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
13292 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
13293 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
13294 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
13295 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
13296 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
13297 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
13298 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
13299 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
13300 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
13301 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
13302 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
13303 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
13304 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
13305 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
13306 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
13307 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
13308 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
13309 { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13310 { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
13311 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
13312 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
13313 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
13314 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
13315 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
13316 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
13317 { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
13318 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
13319 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
13320 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
13321 { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13322 { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13323 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
13324 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
13325 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
13326 { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
13327 { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
13328 { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
13329 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
13330 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13331 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
13332 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
13333 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13334 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
13335 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
13336 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
13337 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
13338 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
13339 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
13340 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
13341 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
13342 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
13343 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
13344 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
13345 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
13346 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
13347 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
13348 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
13349 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
13350 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
13351 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
13352 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
13353 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
13354 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
13355 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
13356 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
13357 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
13358 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
13359 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
13360 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
13361 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
13362 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
13363 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
13364 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
13365 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
13366 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
13367 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
13368 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
13369 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
13370 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
13371 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
13372 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
13373 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
13374 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
13375 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
13376 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
13377 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
13378 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
13379 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
13380 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
13381 { (char *)"delete_DockInfo", (PyCFunction)_wrap_delete_DockInfo, METH_O, NULL},
13382 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
13383 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
13384 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
13385 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
13386 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
13387 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
13388 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
13389 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
13390 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
13391 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
13392 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
13393 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
13394 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
13395 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
13396 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
13397 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
13398 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
13399 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
13400 { (char *)"delete_DockUIPart", (PyCFunction)_wrap_delete_DockUIPart, METH_O, NULL},
13401 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
13402 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
13403 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
13404 { (char *)"delete_PaneButton", (PyCFunction)_wrap_delete_PaneButton, METH_O, NULL},
13405 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
13406 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
13407 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13408 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13409 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13410 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13411 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13412 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13413 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13414 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13415 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
13416 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
13417 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
13418 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
13419 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13420 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13421 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
13422 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
13423 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
13424 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
13425 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
13426 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
13427 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13428 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
13429 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
13430 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13431 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13432 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13433 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
13434 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
13435 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
13436 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
13437 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
13438 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
13439 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
13440 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
13441 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
13442 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
13443 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
13444 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
13445 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
13446 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
13447 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
13448 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
13449 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
13450 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
13451 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
13452 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
13453 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
13454 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
13455 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
13456 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
13457 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
13458 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
13459 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
13460 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
13461 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
13462 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
13463 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13464 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13465 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13466 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
13467 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
13468 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
13469 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13470 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13471 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
13472 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13473 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
13474 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13475 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
13476 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
13477 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
13478 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
13479 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
13480 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
13481 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
13482 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
13483 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
13484 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
13485 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
13486 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
13487 { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL},
13488 { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
13489 { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
13490 { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13491 { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13492 { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
13493 { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13494 { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
13495 { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13496 { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL},
13497 { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL},
13498 { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13499 { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL},
13500 { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL},
13501 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
13502 { NULL, NULL, 0, NULL }
13503 };
13504
13505
13506 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13507
13508 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
13509 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
13510 }
13511 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
13512 return (void *)((wxSizer *) ((wxBoxSizer *) x));
13513 }
13514 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
13515 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
13516 }
13517 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
13518 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13519 }
13520 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
13521 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13522 }
13523 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
13524 return (void *)((wxSizer *) ((wxGridSizer *) x));
13525 }
13526 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
13527 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
13528 }
13529 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
13530 return (void *)((wxSizer *) ((wxPySizer *) x));
13531 }
13532 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
13533 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
13534 }
13535 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
13536 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13537 }
13538 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13539 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
13540 }
13541 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13542 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
13543 }
13544 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13545 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
13546 }
13547 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13548 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
13549 }
13550 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13551 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
13552 }
13553 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13554 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
13555 }
13556 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13557 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
13558 }
13559 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13560 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
13561 }
13562 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13563 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
13564 }
13565 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
13566 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13567 }
13568 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13569 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
13570 }
13571 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
13572 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
13573 }
13574 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13575 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13576 }
13577 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13578 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
13579 }
13580 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13581 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
13582 }
13583 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13584 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
13585 }
13586 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13587 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
13588 }
13589 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13590 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
13591 }
13592 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13593 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
13594 }
13595 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13596 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
13597 }
13598 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13599 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13600 }
13601 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13603 }
13604 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13606 }
13607 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13608 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
13609 }
13610 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13611 return (void *)((wxWindow *) ((wxMenuBar *) x));
13612 }
13613 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13615 }
13616 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13618 }
13619 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13621 }
13622 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
13623 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13624 }
13625 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13626 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13627 }
13628 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13630 }
13631 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13632 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13633 }
13634 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13635 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13636 }
13637 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13638 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13639 }
13640 static void *_p_wxPanelTo_p_wxWindow(void *x) {
13641 return (void *)((wxWindow *) ((wxPanel *) x));
13642 }
13643 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13644 return (void *)((wxWindow *) ((wxStatusBar *) x));
13645 }
13646 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13647 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
13648 }
13649 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13650 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13651 }
13652 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13653 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13654 }
13655 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13656 return (void *)((wxWindow *) ((wxPopupWindow *) x));
13657 }
13658 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13659 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
13660 }
13661 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13662 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
13663 }
13664 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13665 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
13666 }
13667 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13668 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
13669 }
13670 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13671 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
13672 }
13673 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13674 return (void *)((wxWindow *) ((wxSashWindow *) x));
13675 }
13676 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13677 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
13678 }
13679 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13680 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13681 }
13682 static void *_p_wxControlTo_p_wxWindow(void *x) {
13683 return (void *)((wxWindow *) ((wxControl *) x));
13684 }
13685 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13686 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13687 }
13688 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13689 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13690 }
13691 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13692 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13693 }
13694 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13695 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13696 }
13697 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13698 return (void *)((wxWindow *) ((wxPyWindow *) x));
13699 }
13700 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13701 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13702 }
13703 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
13704 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13705 }
13706 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13707 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13708 }
13709 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13710 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13711 }
13712 static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) {
13713 return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x));
13714 }
13715 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13716 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
13717 }
13718 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13719 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13720 }
13721 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
13722 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
13723 }
13724 static void *_p_wxFrameTo_p_wxWindow(void *x) {
13725 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
13726 }
13727 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13728 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13729 }
13730 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13731 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13732 }
13733 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13735 }
13736 static void *_p_wxDialogTo_p_wxWindow(void *x) {
13737 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
13738 }
13739 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13740 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13741 }
13742 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
13743 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
13744 }
13745 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
13746 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
13747 }
13748 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
13749 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
13750 }
13751 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
13752 return (void *)((wxWindow **) ((wxMenuBar **) x));
13753 }
13754 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
13755 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
13756 }
13757 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
13758 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
13759 }
13760 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
13761 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
13762 }
13763 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
13764 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
13765 }
13766 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
13767 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
13768 }
13769 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
13770 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
13771 }
13772 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
13773 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
13774 }
13775 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
13776 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
13777 }
13778 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
13779 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
13780 }
13781 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
13782 return (void *)((wxWindow **) ((wxPanel **) x));
13783 }
13784 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
13785 return (void *)((wxWindow **) ((wxStatusBar **) x));
13786 }
13787 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
13788 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
13789 }
13790 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
13791 return (void *)((wxWindow **) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow **) x));
13792 }
13793 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
13794 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
13795 }
13796 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
13797 return (void *)((wxWindow **) ((wxPopupWindow **) x));
13798 }
13799 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
13800 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
13801 }
13802 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
13803 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
13804 }
13805 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
13806 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
13807 }
13808 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
13809 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
13810 }
13811 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
13812 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
13813 }
13814 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
13815 return (void *)((wxWindow **) ((wxSashWindow **) x));
13816 }
13817 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
13818 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
13819 }
13820 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
13821 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
13822 }
13823 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
13824 return (void *)((wxWindow **) ((wxControl **) x));
13825 }
13826 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
13827 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
13828 }
13829 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
13830 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
13831 }
13832 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
13833 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
13834 }
13835 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
13836 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
13837 }
13838 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
13839 return (void *)((wxWindow **) ((wxPyWindow **) x));
13840 }
13841 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
13842 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
13843 }
13844 static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) {
13845 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x));
13846 }
13847 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
13848 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
13849 }
13850 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
13851 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
13852 }
13853 static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) {
13854 return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x));
13855 }
13856 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
13857 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
13858 }
13859 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
13860 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
13861 }
13862 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
13863 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
13864 }
13865 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
13866 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
13867 }
13868 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
13869 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
13870 }
13871 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
13872 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
13873 }
13874 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
13875 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
13876 }
13877 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
13878 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
13879 }
13880 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
13881 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
13882 }
13883 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13884 return (void *)((wxControl *) ((wxControlWithItems *) x));
13885 }
13886 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
13887 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
13888 }
13889 static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) {
13890 return (void *)((wxControl *) ((wxAuiMultiNotebook *) x));
13891 }
13892 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13894 }
13895 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13896 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13897 }
13898 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13899 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13900 }
13901 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13902 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13903 }
13904 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13905 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13906 }
13907 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13908 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13909 }
13910 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
13911 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13912 }
13913 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
13914 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
13915 }
13916 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13917 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13918 }
13919 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13921 }
13922 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
13923 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
13924 }
13925 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13926 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13927 }
13928 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
13929 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
13930 }
13931 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13932 return (void *)((wxEvent *) ((wxPyEvent *) x));
13933 }
13934 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
13935 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
13936 }
13937 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
13938 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13939 }
13940 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13941 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13942 }
13943 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13944 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13945 }
13946 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13947 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13948 }
13949 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13950 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13951 }
13952 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13953 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13954 }
13955 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13956 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13957 }
13958 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13959 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13960 }
13961 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13962 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13963 }
13964 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
13965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
13966 }
13967 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13968 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13969 }
13970 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13971 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13972 }
13973 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
13974 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
13975 }
13976 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13977 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13978 }
13979 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13980 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13981 }
13982 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13983 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13984 }
13985 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13986 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13987 }
13988 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13989 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13990 }
13991 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13992 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13993 }
13994 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13995 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13996 }
13997 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13998 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13999 }
14000 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
14001 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
14002 }
14003 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
14004 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14005 }
14006 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
14007 return (void *)((wxEvent *) ((wxShowEvent *) x));
14008 }
14009 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
14010 return (void *)((wxEvent *) ((wxCommandEvent *) x));
14011 }
14012 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
14013 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
14014 }
14015 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
14016 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14017 }
14018 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
14019 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
14020 }
14021 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
14022 return (void *)((wxEvent *) ((wxKeyEvent *) x));
14023 }
14024 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
14025 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
14026 }
14027 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
14028 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
14029 }
14030 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14031 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14032 }
14033 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
14034 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
14035 }
14036 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
14037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14038 }
14039 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
14040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14041 }
14042 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14043 return (void *)((wxObject *) ((wxSizerItem *) x));
14044 }
14045 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14046 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14047 }
14048 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14050 }
14051 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14052 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14053 }
14054 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14055 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14056 }
14057 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14058 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14059 }
14060 static void *_p_wxSizerTo_p_wxObject(void *x) {
14061 return (void *)((wxObject *) ((wxSizer *) x));
14062 }
14063 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14064 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14065 }
14066 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14067 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14068 }
14069 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
14070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14071 }
14072 static void *_p_wxEventTo_p_wxObject(void *x) {
14073 return (void *)((wxObject *) ((wxEvent *) x));
14074 }
14075 static void *_p_wxFontDataTo_p_wxObject(void *x) {
14076 return (void *)((wxObject *) ((wxFontData *) x));
14077 }
14078 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
14079 return (void *)((wxObject *) ((wxPrintData *) x));
14080 }
14081 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14082 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
14083 }
14084 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
14085 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
14086 }
14087 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14088 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14089 }
14090 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
14091 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
14092 }
14093 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
14094 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14095 }
14096 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
14097 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
14098 }
14099 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
14100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14101 }
14102 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
14103 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
14104 }
14105 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14106 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14107 }
14108 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14109 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14110 }
14111 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14112 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14113 }
14114 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14115 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14116 }
14117 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14118 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14119 }
14120 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14121 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14122 }
14123 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
14124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14125 }
14126 static void *_p_wxControlTo_p_wxObject(void *x) {
14127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14128 }
14129 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14130 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14131 }
14132 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
14133 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14134 }
14135 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
14136 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
14137 }
14138 static void *_p_wxFSFileTo_p_wxObject(void *x) {
14139 return (void *)((wxObject *) ((wxFSFile *) x));
14140 }
14141 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
14142 return (void *)((wxObject *) ((wxFindReplaceData *) x));
14143 }
14144 static void *_p_wxPySizerTo_p_wxObject(void *x) {
14145 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14146 }
14147 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
14148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14149 }
14150 static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) {
14151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14152 }
14153 static void *_p_wxColourDataTo_p_wxObject(void *x) {
14154 return (void *)((wxObject *) ((wxColourData *) x));
14155 }
14156 static void *_p_wxPyEventTo_p_wxObject(void *x) {
14157 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14158 }
14159 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14161 }
14162 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
14163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
14164 }
14165 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
14166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14167 }
14168 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
14169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14170 }
14171 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
14172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14173 }
14174 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
14175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14176 }
14177 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
14178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14179 }
14180 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
14181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14182 }
14183 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
14184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14185 }
14186 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
14187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14188 }
14189 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
14190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14191 }
14192 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
14193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14194 }
14195 static void *_p_wxShowEventTo_p_wxObject(void *x) {
14196 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14197 }
14198 static void *_p_wxPrinterTo_p_wxObject(void *x) {
14199 return (void *)((wxObject *) ((wxPrinter *) x));
14200 }
14201 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14202 return (void *)((wxObject *) ((wxMenuItem *) x));
14203 }
14204 static void *_p_wxDateEventTo_p_wxObject(void *x) {
14205 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
14206 }
14207 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14208 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14209 }
14210 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14212 }
14213 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14214 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14215 }
14216 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14217 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14218 }
14219 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14220 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14221 }
14222 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14223 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14224 }
14225 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14226 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14227 }
14228 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
14229 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
14230 }
14231 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
14232 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
14233 }
14234 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
14235 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
14236 }
14237 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
14238 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
14239 }
14240 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
14241 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
14242 }
14243 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
14244 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
14245 }
14246 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
14247 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
14248 }
14249 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
14250 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
14251 }
14252 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
14253 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
14254 }
14255 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
14256 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
14257 }
14258 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
14259 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
14260 }
14261 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
14262 return (void *)((wxObject *) ((wxImageHandler *) x));
14263 }
14264 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
14265 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
14266 }
14267 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
14268 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
14269 }
14270 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
14271 return (void *)((wxObject *) ((wxEvtHandler *) x));
14272 }
14273 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
14274 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
14275 }
14276 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
14277 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
14278 }
14279 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
14280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14281 }
14282 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
14283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14284 }
14285 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
14286 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
14287 }
14288 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
14289 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
14290 }
14291 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
14292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14293 }
14294 static void *_p_wxImageTo_p_wxObject(void *x) {
14295 return (void *)((wxObject *) ((wxImage *) x));
14296 }
14297 static void *_p_wxFrameTo_p_wxObject(void *x) {
14298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14299 }
14300 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
14301 return (void *)((wxObject *) ((wxPyPrintout *) x));
14302 }
14303 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
14304 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
14305 }
14306 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
14307 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
14308 }
14309 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
14310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14311 }
14312 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
14313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
14314 }
14315 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
14316 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
14317 }
14318 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
14319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14320 }
14321 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
14322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14323 }
14324 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
14325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14326 }
14327 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
14328 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
14329 }
14330 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
14331 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
14332 }
14333 static void *_p_wxWindowTo_p_wxObject(void *x) {
14334 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
14335 }
14336 static void *_p_wxMenuTo_p_wxObject(void *x) {
14337 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
14338 }
14339 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
14340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
14341 }
14342 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
14343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14344 }
14345 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
14346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
14347 }
14348 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
14349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
14350 }
14351 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
14352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
14353 }
14354 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
14355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
14356 }
14357 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
14358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14359 }
14360 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
14361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
14362 }
14363 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
14364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14365 }
14366 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
14367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14368 }
14369 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
14370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14371 }
14372 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
14373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
14374 }
14375 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
14376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14377 }
14378 static void *_p_wxSashEventTo_p_wxObject(void *x) {
14379 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
14380 }
14381 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
14382 return (void *)((wxObject *) ((wxPrintPreview *) x));
14383 }
14384 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
14385 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
14386 }
14387 static void *_p_wxPanelTo_p_wxObject(void *x) {
14388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
14389 }
14390 static void *_p_wxDialogTo_p_wxObject(void *x) {
14391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14392 }
14393 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
14394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14395 }
14396 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
14397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14398 }
14399 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
14400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14401 }
14402 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
14403 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
14404 }
14405 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
14406 return (void *)((wxObject *) ((wxPrintDialog *) x));
14407 }
14408 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
14409 return (void *)((wxObject *) ((wxFileSystem *) x));
14410 }
14411 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
14412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
14413 }
14414 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
14415 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
14416 }
14417 static void *_p_wxPyAppTo_p_wxObject(void *x) {
14418 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
14419 }
14420 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
14421 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
14422 }
14423 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
14424 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
14425 }
14426 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
14427 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
14428 }
14429 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
14430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
14431 }
14432 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
14433 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
14434 }
14435 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
14436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14437 }
14438 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
14439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14440 }
14441 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
14442 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
14443 }
14444 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
14445 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
14446 }
14447 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
14448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
14449 }
14450 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
14451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14452 }
14453 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
14454 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
14455 }
14456 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
14457 return (void *)((wxObject *) ((wxPrintDialogData *) x));
14458 }
14459 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
14460 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
14461 }
14462 static void *_p_wxValidatorTo_p_wxObject(void *x) {
14463 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
14464 }
14465 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
14466 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14467 }
14468 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
14469 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14470 }
14471 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
14472 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14473 }
14474 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
14475 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
14476 }
14477 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
14478 return (void *)((wxEvtHandler *) ((wxValidator *) x));
14479 }
14480 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
14481 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
14482 }
14483 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
14484 return (void *)((wxEvtHandler *) ((wxMenu *) x));
14485 }
14486 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
14487 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14488 }
14489 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
14490 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14491 }
14492 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
14493 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14494 }
14495 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
14496 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14497 }
14498 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
14499 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14500 }
14501 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
14502 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14503 }
14504 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
14505 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14506 }
14507 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
14508 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14509 }
14510 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
14511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14512 }
14513 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
14514 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
14515 }
14516 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
14517 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
14518 }
14519 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
14520 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14521 }
14522 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
14523 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
14524 }
14525 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
14526 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14527 }
14528 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
14529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
14530 }
14531 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
14532 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14533 }
14534 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
14535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
14536 }
14537 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
14538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
14539 }
14540 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
14541 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
14542 }
14543 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
14544 return (void *)((wxEvtHandler *) ((wxWindow *) x));
14545 }
14546 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
14547 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14548 }
14549 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
14550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
14551 }
14552 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
14553 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
14554 }
14555 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
14556 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14557 }
14558 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
14559 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
14560 }
14561 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
14562 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14563 }
14564 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
14565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14566 }
14567 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
14568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14569 }
14570 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
14571 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
14572 }
14573 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
14574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14575 }
14576 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
14577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
14578 }
14579 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
14580 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14581 }
14582 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
14583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14584 }
14585 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
14586 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14587 }
14588 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
14589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14590 }
14591 static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) {
14592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14593 }
14594 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
14595 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14596 }
14597 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
14598 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14599 }
14600 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
14601 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14602 }
14603 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
14604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14605 }
14606 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
14607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14608 }
14609 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
14610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14611 }
14612 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
14613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14614 }
14615 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
14616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14617 }
14618 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
14619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14620 }
14621 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
14622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14623 }
14624 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
14625 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
14626 }
14627 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
14628 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
14629 }
14630 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
14631 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
14632 }
14633 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
14634 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
14635 }
14636 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
14637 return (void *)((wxFrame *) ((wxProgressDialog *) x));
14638 }
14639 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
14640 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
14641 }
14642 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
14643 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14644 }
14645 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
14646 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
14647 }
14648 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
14649 return (void *)((wxFrame *) ((wxMiniFrame *) x));
14650 }
14651 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
14652 return (void *)((wxFrame *) ((wxSplashScreen *) x));
14653 }
14654 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
14655 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
14656 }
14657 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
14658 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
14659 }
14660 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
14661 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14662 }
14663 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
14664 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
14665 }
14666 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
14667 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
14668 }
14669 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
14670 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
14671 }
14672 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
14673 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
14674 }
14675 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
14676 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
14677 }
14678 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
14679 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
14680 }
14681 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
14682 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14683 }
14684 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
14685 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
14686 }
14687 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
14688 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
14689 }
14690 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
14691 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
14692 }
14693 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
14694 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
14695 }
14696 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
14697 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
14698 }
14699 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
14700 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
14701 }
14702 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
14703 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
14704 }
14705 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
14706 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
14707 }
14708 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
14709 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};
14710 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
14711 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
14712 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
14713 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
14714 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
14715 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
14716 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
14717 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14718 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
14719 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
14720 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14721 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14722 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14723 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14724 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14725 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
14726 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
14727 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
14728 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14729 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
14730 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14731 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
14732 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14733 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14734 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
14735 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14736 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14737 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
14738 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14739 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14740 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14741 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14742 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
14743 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14744 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
14745 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
14746 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14747 static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0};
14748 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14749 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
14750 static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0};
14751 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14752 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14753 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
14754 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
14755 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
14756 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
14757 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
14758 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
14759 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14760 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
14761 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
14762 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
14763 static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0};
14764 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
14765 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
14766 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
14767 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
14768 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
14769 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
14770 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
14771 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
14772 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
14773 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
14774 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
14775 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
14776 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
14777 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
14778 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
14779 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
14780 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
14781 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
14782 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
14783 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
14784 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
14785 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
14786 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
14787 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
14788 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
14789 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
14790 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
14791 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
14792 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
14793 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
14794 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
14795 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
14796 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
14797 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
14798 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
14799 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
14800 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
14801 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
14802 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
14803 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
14804 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
14805 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
14806 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
14807 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
14808 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
14809 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
14810 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
14811 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
14812 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
14813 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
14814 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
14815 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
14816 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
14817 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
14818 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
14819 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
14820 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
14821 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
14822 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
14823 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
14824 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
14825 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
14826 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
14827 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
14828 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
14829 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
14830 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
14831 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14832 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
14833 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14834 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14835 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
14836 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
14837 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14838 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14839 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14840 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
14841 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
14842 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
14843 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14844 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14845 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14846 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14847 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14848 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14849 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
14850 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14851 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
14852 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14853 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14854 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14855 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14856 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
14857 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
14858 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14859 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14860 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
14861 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14862 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14863 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
14864 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
14865 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
14866 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
14867 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
14868 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
14869 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14870 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
14871 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
14872 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
14873 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
14874 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
14875 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
14876 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
14877 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
14878 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
14879 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
14880 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
14881 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
14882 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
14883 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
14884 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
14885 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
14886 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
14887 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
14888 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
14889 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
14890 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
14891 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
14892 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
14893 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
14894 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
14895 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
14896 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
14897 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
14898 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
14899 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
14900 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
14901 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
14902 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
14903 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
14904 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
14905 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
14906 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
14907 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
14908 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
14909 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
14910 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
14911 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
14912 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
14913 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
14914 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
14915 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
14916 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
14917 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
14918 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
14919 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
14920 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
14921 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
14922 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
14923 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
14924 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
14925 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
14926 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
14927 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
14928 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
14929 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
14930 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
14931 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
14932 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
14933
14934 static swig_type_info *swig_type_initial[] = {
14935 &_swigt__p_char,
14936 &_swigt__p_form_ops_t,
14937 &_swigt__p_int,
14938 &_swigt__p_p_wxAuiMultiNotebook,
14939 &_swigt__p_p_wxAuiTabContainerButton,
14940 &_swigt__p_p_wxAuiTabCtrl,
14941 &_swigt__p_p_wxColourDialog,
14942 &_swigt__p_p_wxControl,
14943 &_swigt__p_p_wxControlWithItems,
14944 &_swigt__p_p_wxDialog,
14945 &_swigt__p_p_wxDirDialog,
14946 &_swigt__p_p_wxFileDialog,
14947 &_swigt__p_p_wxFindReplaceDialog,
14948 &_swigt__p_p_wxFloatingPane,
14949 &_swigt__p_p_wxFontDialog,
14950 &_swigt__p_p_wxFrame,
14951 &_swigt__p_p_wxMDIChildFrame,
14952 &_swigt__p_p_wxMDIClientWindow,
14953 &_swigt__p_p_wxMDIParentFrame,
14954 &_swigt__p_p_wxMenuBar,
14955 &_swigt__p_p_wxMessageDialog,
14956 &_swigt__p_p_wxMiniFrame,
14957 &_swigt__p_p_wxMultiChoiceDialog,
14958 &_swigt__p_p_wxNumberEntryDialog,
14959 &_swigt__p_p_wxPanel,
14960 &_swigt__p_p_wxPasswordEntryDialog,
14961 &_swigt__p_p_wxPopupWindow,
14962 &_swigt__p_p_wxPreviewCanvas,
14963 &_swigt__p_p_wxPreviewControlBar,
14964 &_swigt__p_p_wxPreviewFrame,
14965 &_swigt__p_p_wxProgressDialog,
14966 &_swigt__p_p_wxPyHtmlListBox,
14967 &_swigt__p_p_wxPyPanel,
14968 &_swigt__p_p_wxPyPopupTransientWindow,
14969 &_swigt__p_p_wxPyPreviewControlBar,
14970 &_swigt__p_p_wxPyPreviewFrame,
14971 &_swigt__p_p_wxPyScrolledWindow,
14972 &_swigt__p_p_wxPyVListBox,
14973 &_swigt__p_p_wxPyVScrolledWindow,
14974 &_swigt__p_p_wxPyWindow,
14975 &_swigt__p_p_wxSashLayoutWindow,
14976 &_swigt__p_p_wxSashWindow,
14977 &_swigt__p_p_wxScrolledWindow,
14978 &_swigt__p_p_wxSingleChoiceDialog,
14979 &_swigt__p_p_wxSplashScreen,
14980 &_swigt__p_p_wxSplashScreenWindow,
14981 &_swigt__p_p_wxSplitterWindow,
14982 &_swigt__p_p_wxStatusBar,
14983 &_swigt__p_p_wxTextEntryDialog,
14984 &_swigt__p_p_wxTipWindow,
14985 &_swigt__p_p_wxTopLevelWindow,
14986 &_swigt__p_p_wxWindow,
14987 &_swigt__p_unsigned_char,
14988 &_swigt__p_unsigned_int,
14989 &_swigt__p_unsigned_long,
14990 &_swigt__p_wxANIHandler,
14991 &_swigt__p_wxAcceleratorTable,
14992 &_swigt__p_wxActivateEvent,
14993 &_swigt__p_wxAuiMultiNotebook,
14994 &_swigt__p_wxAuiNotebookEvent,
14995 &_swigt__p_wxAuiNotebookPage,
14996 &_swigt__p_wxAuiNotebookPageArray,
14997 &_swigt__p_wxAuiTabContainer,
14998 &_swigt__p_wxAuiTabContainerButton,
14999 &_swigt__p_wxAuiTabCtrl,
15000 &_swigt__p_wxBMPHandler,
15001 &_swigt__p_wxBitmap,
15002 &_swigt__p_wxBoxSizer,
15003 &_swigt__p_wxCURHandler,
15004 &_swigt__p_wxCalculateLayoutEvent,
15005 &_swigt__p_wxChildFocusEvent,
15006 &_swigt__p_wxClipboardTextEvent,
15007 &_swigt__p_wxCloseEvent,
15008 &_swigt__p_wxColor,
15009 &_swigt__p_wxColour,
15010 &_swigt__p_wxColourData,
15011 &_swigt__p_wxColourDialog,
15012 &_swigt__p_wxCommandEvent,
15013 &_swigt__p_wxContextMenuEvent,
15014 &_swigt__p_wxControl,
15015 &_swigt__p_wxControlWithItems,
15016 &_swigt__p_wxDC,
15017 &_swigt__p_wxDateEvent,
15018 &_swigt__p_wxDefaultDockArt,
15019 &_swigt__p_wxDialog,
15020 &_swigt__p_wxDirDialog,
15021 &_swigt__p_wxDisplayChangedEvent,
15022 &_swigt__p_wxDockArt,
15023 &_swigt__p_wxDockInfo,
15024 &_swigt__p_wxDockUIPart,
15025 &_swigt__p_wxDropFilesEvent,
15026 &_swigt__p_wxDuplexMode,
15027 &_swigt__p_wxEraseEvent,
15028 &_swigt__p_wxEvent,
15029 &_swigt__p_wxEvtHandler,
15030 &_swigt__p_wxFSFile,
15031 &_swigt__p_wxFileDialog,
15032 &_swigt__p_wxFileSystem,
15033 &_swigt__p_wxFindDialogEvent,
15034 &_swigt__p_wxFindReplaceData,
15035 &_swigt__p_wxFindReplaceDialog,
15036 &_swigt__p_wxFlexGridSizer,
15037 &_swigt__p_wxFloatingPane,
15038 &_swigt__p_wxFocusEvent,
15039 &_swigt__p_wxFont,
15040 &_swigt__p_wxFontData,
15041 &_swigt__p_wxFontDialog,
15042 &_swigt__p_wxFrame,
15043 &_swigt__p_wxFrameManager,
15044 &_swigt__p_wxFrameManagerEvent,
15045 &_swigt__p_wxGBSizerItem,
15046 &_swigt__p_wxGIFHandler,
15047 &_swigt__p_wxGridBagSizer,
15048 &_swigt__p_wxGridSizer,
15049 &_swigt__p_wxICOHandler,
15050 &_swigt__p_wxIconizeEvent,
15051 &_swigt__p_wxIdleEvent,
15052 &_swigt__p_wxImage,
15053 &_swigt__p_wxImageHandler,
15054 &_swigt__p_wxIndividualLayoutConstraint,
15055 &_swigt__p_wxInitDialogEvent,
15056 &_swigt__p_wxJPEGHandler,
15057 &_swigt__p_wxKeyEvent,
15058 &_swigt__p_wxLayoutAlgorithm,
15059 &_swigt__p_wxLayoutConstraints,
15060 &_swigt__p_wxMDIChildFrame,
15061 &_swigt__p_wxMDIClientWindow,
15062 &_swigt__p_wxMDIParentFrame,
15063 &_swigt__p_wxMaximizeEvent,
15064 &_swigt__p_wxMenu,
15065 &_swigt__p_wxMenuBar,
15066 &_swigt__p_wxMenuEvent,
15067 &_swigt__p_wxMenuItem,
15068 &_swigt__p_wxMessageDialog,
15069 &_swigt__p_wxMiniFrame,
15070 &_swigt__p_wxMouseCaptureChangedEvent,
15071 &_swigt__p_wxMouseCaptureLostEvent,
15072 &_swigt__p_wxMouseEvent,
15073 &_swigt__p_wxMoveEvent,
15074 &_swigt__p_wxMultiChoiceDialog,
15075 &_swigt__p_wxNavigationKeyEvent,
15076 &_swigt__p_wxNcPaintEvent,
15077 &_swigt__p_wxNotifyEvent,
15078 &_swigt__p_wxNumberEntryDialog,
15079 &_swigt__p_wxObject,
15080 &_swigt__p_wxPCXHandler,
15081 &_swigt__p_wxPNGHandler,
15082 &_swigt__p_wxPNMHandler,
15083 &_swigt__p_wxPageSetupDialog,
15084 &_swigt__p_wxPageSetupDialogData,
15085 &_swigt__p_wxPaintEvent,
15086 &_swigt__p_wxPaletteChangedEvent,
15087 &_swigt__p_wxPaneButton,
15088 &_swigt__p_wxPaneButtonArray,
15089 &_swigt__p_wxPaneInfo,
15090 &_swigt__p_wxPaneInfoPtrArray,
15091 &_swigt__p_wxPanel,
15092 &_swigt__p_wxPaperSize,
15093 &_swigt__p_wxPasswordEntryDialog,
15094 &_swigt__p_wxPoint,
15095 &_swigt__p_wxPopupWindow,
15096 &_swigt__p_wxPreviewCanvas,
15097 &_swigt__p_wxPreviewControlBar,
15098 &_swigt__p_wxPreviewFrame,
15099 &_swigt__p_wxPrintData,
15100 &_swigt__p_wxPrintDialog,
15101 &_swigt__p_wxPrintDialogData,
15102 &_swigt__p_wxPrintPreview,
15103 &_swigt__p_wxPrinter,
15104 &_swigt__p_wxProgressDialog,
15105 &_swigt__p_wxPyApp,
15106 &_swigt__p_wxPyCommandEvent,
15107 &_swigt__p_wxPyDockArt,
15108 &_swigt__p_wxPyEvent,
15109 &_swigt__p_wxPyHtmlListBox,
15110 &_swigt__p_wxPyImageHandler,
15111 &_swigt__p_wxPyPanel,
15112 &_swigt__p_wxPyPopupTransientWindow,
15113 &_swigt__p_wxPyPreviewControlBar,
15114 &_swigt__p_wxPyPreviewFrame,
15115 &_swigt__p_wxPyPrintPreview,
15116 &_swigt__p_wxPyPrintout,
15117 &_swigt__p_wxPyScrolledWindow,
15118 &_swigt__p_wxPySizer,
15119 &_swigt__p_wxPyTaskBarIcon,
15120 &_swigt__p_wxPyVListBox,
15121 &_swigt__p_wxPyVScrolledWindow,
15122 &_swigt__p_wxPyValidator,
15123 &_swigt__p_wxPyWindow,
15124 &_swigt__p_wxQueryLayoutInfoEvent,
15125 &_swigt__p_wxQueryNewPaletteEvent,
15126 &_swigt__p_wxRect,
15127 &_swigt__p_wxSashEvent,
15128 &_swigt__p_wxSashLayoutWindow,
15129 &_swigt__p_wxSashWindow,
15130 &_swigt__p_wxScrollEvent,
15131 &_swigt__p_wxScrollWinEvent,
15132 &_swigt__p_wxScrolledWindow,
15133 &_swigt__p_wxSetCursorEvent,
15134 &_swigt__p_wxShowEvent,
15135 &_swigt__p_wxSingleChoiceDialog,
15136 &_swigt__p_wxSize,
15137 &_swigt__p_wxSizeEvent,
15138 &_swigt__p_wxSizer,
15139 &_swigt__p_wxSizerItem,
15140 &_swigt__p_wxSplashScreen,
15141 &_swigt__p_wxSplashScreenWindow,
15142 &_swigt__p_wxSplitterEvent,
15143 &_swigt__p_wxSplitterWindow,
15144 &_swigt__p_wxStaticBoxSizer,
15145 &_swigt__p_wxStatusBar,
15146 &_swigt__p_wxStdDialogButtonSizer,
15147 &_swigt__p_wxString,
15148 &_swigt__p_wxSysColourChangedEvent,
15149 &_swigt__p_wxTIFFHandler,
15150 &_swigt__p_wxTaskBarIconEvent,
15151 &_swigt__p_wxTextEntryDialog,
15152 &_swigt__p_wxTipWindow,
15153 &_swigt__p_wxTopLevelWindow,
15154 &_swigt__p_wxUpdateUIEvent,
15155 &_swigt__p_wxValidator,
15156 &_swigt__p_wxWindow,
15157 &_swigt__p_wxWindowCreateEvent,
15158 &_swigt__p_wxWindowDestroyEvent,
15159 &_swigt__p_wxXPMHandler,
15160 };
15161
15162 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
15163 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
15164 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
15165 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15166 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15167 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
15168 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15169 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15170 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15171 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15172 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15173 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15174 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15175 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15176 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15177 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15178 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15179 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15180 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15181 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15182 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15183 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15184 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15185 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15186 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15187 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
15188 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15189 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15190 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15191 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15192 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15193 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15194 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15195 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
15196 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15197 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15198 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15199 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15200 static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15201 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15202 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15203 static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15204 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15205 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15206 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15207 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
15208 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15209 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15210 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15211 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15212 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15213 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}};
15214 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
15215 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
15216 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
15217 static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15218 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
15219 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
15220 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
15221 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}};
15222 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15223 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15224 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
15225 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
15226 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
15227 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
15228 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
15229 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
15230 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
15231 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
15232 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
15233 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15234 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15235 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
15236 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
15237 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15238 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
15239 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}};
15240 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15241 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}};
15242 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
15243 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}};
15244 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}};
15245 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
15246 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
15247 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
15248 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15249 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
15250 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
15251 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
15252 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
15253 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15254 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
15255 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
15256 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
15257 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
15258 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
15259 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15260 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15261 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
15262 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15263 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
15264 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15265 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15266 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15267 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15268 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15269 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15270 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
15271 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15272 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
15273 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
15274 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15275 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15276 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
15277 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
15278 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}};
15279 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15280 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15281 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15282 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
15283 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
15284 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15285 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15286 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15287 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15288 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15289 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15290 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15291 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15292 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15293 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15294 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15295 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15296 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15297 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15298 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15299 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15300 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15301 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15302 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15303 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15304 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15305 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15306 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15307 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15308 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15309 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
15310 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15311 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15312 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15313 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15314 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15315 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15316 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
15317 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15318 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15319 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15320 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15321 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
15322 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15323 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}};
15324 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15325 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
15326 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}};
15327 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
15328 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
15329 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}};
15330 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}};
15331 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
15332 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
15333 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
15334 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15335 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15336 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
15337 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
15338 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
15339 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15340 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15341 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
15342 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
15343 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
15344 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
15345 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
15346 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
15347 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
15348 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
15349 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
15350 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
15351 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
15352 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
15353 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
15354 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
15355 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
15356 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
15357 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15358 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15359 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
15360 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
15361 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
15362 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
15363 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
15364 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
15365 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15366 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15367 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
15368 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
15369 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
15370 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
15371 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
15372 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}};
15373 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
15374 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
15375 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
15376 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
15377 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
15378 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
15379 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
15380 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
15381 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
15382 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}};
15383 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}};
15384 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
15385 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}};
15386 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}};
15387
15388 static swig_cast_info *swig_cast_initial[] = {
15389 _swigc__p_char,
15390 _swigc__p_form_ops_t,
15391 _swigc__p_int,
15392 _swigc__p_p_wxAuiMultiNotebook,
15393 _swigc__p_p_wxAuiTabContainerButton,
15394 _swigc__p_p_wxAuiTabCtrl,
15395 _swigc__p_p_wxColourDialog,
15396 _swigc__p_p_wxControl,
15397 _swigc__p_p_wxControlWithItems,
15398 _swigc__p_p_wxDialog,
15399 _swigc__p_p_wxDirDialog,
15400 _swigc__p_p_wxFileDialog,
15401 _swigc__p_p_wxFindReplaceDialog,
15402 _swigc__p_p_wxFloatingPane,
15403 _swigc__p_p_wxFontDialog,
15404 _swigc__p_p_wxFrame,
15405 _swigc__p_p_wxMDIChildFrame,
15406 _swigc__p_p_wxMDIClientWindow,
15407 _swigc__p_p_wxMDIParentFrame,
15408 _swigc__p_p_wxMenuBar,
15409 _swigc__p_p_wxMessageDialog,
15410 _swigc__p_p_wxMiniFrame,
15411 _swigc__p_p_wxMultiChoiceDialog,
15412 _swigc__p_p_wxNumberEntryDialog,
15413 _swigc__p_p_wxPanel,
15414 _swigc__p_p_wxPasswordEntryDialog,
15415 _swigc__p_p_wxPopupWindow,
15416 _swigc__p_p_wxPreviewCanvas,
15417 _swigc__p_p_wxPreviewControlBar,
15418 _swigc__p_p_wxPreviewFrame,
15419 _swigc__p_p_wxProgressDialog,
15420 _swigc__p_p_wxPyHtmlListBox,
15421 _swigc__p_p_wxPyPanel,
15422 _swigc__p_p_wxPyPopupTransientWindow,
15423 _swigc__p_p_wxPyPreviewControlBar,
15424 _swigc__p_p_wxPyPreviewFrame,
15425 _swigc__p_p_wxPyScrolledWindow,
15426 _swigc__p_p_wxPyVListBox,
15427 _swigc__p_p_wxPyVScrolledWindow,
15428 _swigc__p_p_wxPyWindow,
15429 _swigc__p_p_wxSashLayoutWindow,
15430 _swigc__p_p_wxSashWindow,
15431 _swigc__p_p_wxScrolledWindow,
15432 _swigc__p_p_wxSingleChoiceDialog,
15433 _swigc__p_p_wxSplashScreen,
15434 _swigc__p_p_wxSplashScreenWindow,
15435 _swigc__p_p_wxSplitterWindow,
15436 _swigc__p_p_wxStatusBar,
15437 _swigc__p_p_wxTextEntryDialog,
15438 _swigc__p_p_wxTipWindow,
15439 _swigc__p_p_wxTopLevelWindow,
15440 _swigc__p_p_wxWindow,
15441 _swigc__p_unsigned_char,
15442 _swigc__p_unsigned_int,
15443 _swigc__p_unsigned_long,
15444 _swigc__p_wxANIHandler,
15445 _swigc__p_wxAcceleratorTable,
15446 _swigc__p_wxActivateEvent,
15447 _swigc__p_wxAuiMultiNotebook,
15448 _swigc__p_wxAuiNotebookEvent,
15449 _swigc__p_wxAuiNotebookPage,
15450 _swigc__p_wxAuiNotebookPageArray,
15451 _swigc__p_wxAuiTabContainer,
15452 _swigc__p_wxAuiTabContainerButton,
15453 _swigc__p_wxAuiTabCtrl,
15454 _swigc__p_wxBMPHandler,
15455 _swigc__p_wxBitmap,
15456 _swigc__p_wxBoxSizer,
15457 _swigc__p_wxCURHandler,
15458 _swigc__p_wxCalculateLayoutEvent,
15459 _swigc__p_wxChildFocusEvent,
15460 _swigc__p_wxClipboardTextEvent,
15461 _swigc__p_wxCloseEvent,
15462 _swigc__p_wxColor,
15463 _swigc__p_wxColour,
15464 _swigc__p_wxColourData,
15465 _swigc__p_wxColourDialog,
15466 _swigc__p_wxCommandEvent,
15467 _swigc__p_wxContextMenuEvent,
15468 _swigc__p_wxControl,
15469 _swigc__p_wxControlWithItems,
15470 _swigc__p_wxDC,
15471 _swigc__p_wxDateEvent,
15472 _swigc__p_wxDefaultDockArt,
15473 _swigc__p_wxDialog,
15474 _swigc__p_wxDirDialog,
15475 _swigc__p_wxDisplayChangedEvent,
15476 _swigc__p_wxDockArt,
15477 _swigc__p_wxDockInfo,
15478 _swigc__p_wxDockUIPart,
15479 _swigc__p_wxDropFilesEvent,
15480 _swigc__p_wxDuplexMode,
15481 _swigc__p_wxEraseEvent,
15482 _swigc__p_wxEvent,
15483 _swigc__p_wxEvtHandler,
15484 _swigc__p_wxFSFile,
15485 _swigc__p_wxFileDialog,
15486 _swigc__p_wxFileSystem,
15487 _swigc__p_wxFindDialogEvent,
15488 _swigc__p_wxFindReplaceData,
15489 _swigc__p_wxFindReplaceDialog,
15490 _swigc__p_wxFlexGridSizer,
15491 _swigc__p_wxFloatingPane,
15492 _swigc__p_wxFocusEvent,
15493 _swigc__p_wxFont,
15494 _swigc__p_wxFontData,
15495 _swigc__p_wxFontDialog,
15496 _swigc__p_wxFrame,
15497 _swigc__p_wxFrameManager,
15498 _swigc__p_wxFrameManagerEvent,
15499 _swigc__p_wxGBSizerItem,
15500 _swigc__p_wxGIFHandler,
15501 _swigc__p_wxGridBagSizer,
15502 _swigc__p_wxGridSizer,
15503 _swigc__p_wxICOHandler,
15504 _swigc__p_wxIconizeEvent,
15505 _swigc__p_wxIdleEvent,
15506 _swigc__p_wxImage,
15507 _swigc__p_wxImageHandler,
15508 _swigc__p_wxIndividualLayoutConstraint,
15509 _swigc__p_wxInitDialogEvent,
15510 _swigc__p_wxJPEGHandler,
15511 _swigc__p_wxKeyEvent,
15512 _swigc__p_wxLayoutAlgorithm,
15513 _swigc__p_wxLayoutConstraints,
15514 _swigc__p_wxMDIChildFrame,
15515 _swigc__p_wxMDIClientWindow,
15516 _swigc__p_wxMDIParentFrame,
15517 _swigc__p_wxMaximizeEvent,
15518 _swigc__p_wxMenu,
15519 _swigc__p_wxMenuBar,
15520 _swigc__p_wxMenuEvent,
15521 _swigc__p_wxMenuItem,
15522 _swigc__p_wxMessageDialog,
15523 _swigc__p_wxMiniFrame,
15524 _swigc__p_wxMouseCaptureChangedEvent,
15525 _swigc__p_wxMouseCaptureLostEvent,
15526 _swigc__p_wxMouseEvent,
15527 _swigc__p_wxMoveEvent,
15528 _swigc__p_wxMultiChoiceDialog,
15529 _swigc__p_wxNavigationKeyEvent,
15530 _swigc__p_wxNcPaintEvent,
15531 _swigc__p_wxNotifyEvent,
15532 _swigc__p_wxNumberEntryDialog,
15533 _swigc__p_wxObject,
15534 _swigc__p_wxPCXHandler,
15535 _swigc__p_wxPNGHandler,
15536 _swigc__p_wxPNMHandler,
15537 _swigc__p_wxPageSetupDialog,
15538 _swigc__p_wxPageSetupDialogData,
15539 _swigc__p_wxPaintEvent,
15540 _swigc__p_wxPaletteChangedEvent,
15541 _swigc__p_wxPaneButton,
15542 _swigc__p_wxPaneButtonArray,
15543 _swigc__p_wxPaneInfo,
15544 _swigc__p_wxPaneInfoPtrArray,
15545 _swigc__p_wxPanel,
15546 _swigc__p_wxPaperSize,
15547 _swigc__p_wxPasswordEntryDialog,
15548 _swigc__p_wxPoint,
15549 _swigc__p_wxPopupWindow,
15550 _swigc__p_wxPreviewCanvas,
15551 _swigc__p_wxPreviewControlBar,
15552 _swigc__p_wxPreviewFrame,
15553 _swigc__p_wxPrintData,
15554 _swigc__p_wxPrintDialog,
15555 _swigc__p_wxPrintDialogData,
15556 _swigc__p_wxPrintPreview,
15557 _swigc__p_wxPrinter,
15558 _swigc__p_wxProgressDialog,
15559 _swigc__p_wxPyApp,
15560 _swigc__p_wxPyCommandEvent,
15561 _swigc__p_wxPyDockArt,
15562 _swigc__p_wxPyEvent,
15563 _swigc__p_wxPyHtmlListBox,
15564 _swigc__p_wxPyImageHandler,
15565 _swigc__p_wxPyPanel,
15566 _swigc__p_wxPyPopupTransientWindow,
15567 _swigc__p_wxPyPreviewControlBar,
15568 _swigc__p_wxPyPreviewFrame,
15569 _swigc__p_wxPyPrintPreview,
15570 _swigc__p_wxPyPrintout,
15571 _swigc__p_wxPyScrolledWindow,
15572 _swigc__p_wxPySizer,
15573 _swigc__p_wxPyTaskBarIcon,
15574 _swigc__p_wxPyVListBox,
15575 _swigc__p_wxPyVScrolledWindow,
15576 _swigc__p_wxPyValidator,
15577 _swigc__p_wxPyWindow,
15578 _swigc__p_wxQueryLayoutInfoEvent,
15579 _swigc__p_wxQueryNewPaletteEvent,
15580 _swigc__p_wxRect,
15581 _swigc__p_wxSashEvent,
15582 _swigc__p_wxSashLayoutWindow,
15583 _swigc__p_wxSashWindow,
15584 _swigc__p_wxScrollEvent,
15585 _swigc__p_wxScrollWinEvent,
15586 _swigc__p_wxScrolledWindow,
15587 _swigc__p_wxSetCursorEvent,
15588 _swigc__p_wxShowEvent,
15589 _swigc__p_wxSingleChoiceDialog,
15590 _swigc__p_wxSize,
15591 _swigc__p_wxSizeEvent,
15592 _swigc__p_wxSizer,
15593 _swigc__p_wxSizerItem,
15594 _swigc__p_wxSplashScreen,
15595 _swigc__p_wxSplashScreenWindow,
15596 _swigc__p_wxSplitterEvent,
15597 _swigc__p_wxSplitterWindow,
15598 _swigc__p_wxStaticBoxSizer,
15599 _swigc__p_wxStatusBar,
15600 _swigc__p_wxStdDialogButtonSizer,
15601 _swigc__p_wxString,
15602 _swigc__p_wxSysColourChangedEvent,
15603 _swigc__p_wxTIFFHandler,
15604 _swigc__p_wxTaskBarIconEvent,
15605 _swigc__p_wxTextEntryDialog,
15606 _swigc__p_wxTipWindow,
15607 _swigc__p_wxTopLevelWindow,
15608 _swigc__p_wxUpdateUIEvent,
15609 _swigc__p_wxValidator,
15610 _swigc__p_wxWindow,
15611 _swigc__p_wxWindowCreateEvent,
15612 _swigc__p_wxWindowDestroyEvent,
15613 _swigc__p_wxXPMHandler,
15614 };
15615
15616
15617 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15618
15619 static swig_const_info swig_const_table[] = {
15620 {0, 0, 0, 0.0, 0, 0}};
15621
15622 #ifdef __cplusplus
15623 }
15624 #endif
15625 /* -----------------------------------------------------------------------------
15626 * Type initialization:
15627 * This problem is tough by the requirement that no dynamic
15628 * memory is used. Also, since swig_type_info structures store pointers to
15629 * swig_cast_info structures and swig_cast_info structures store pointers back
15630 * to swig_type_info structures, we need some lookup code at initialization.
15631 * The idea is that swig generates all the structures that are needed.
15632 * The runtime then collects these partially filled structures.
15633 * The SWIG_InitializeModule function takes these initial arrays out of
15634 * swig_module, and does all the lookup, filling in the swig_module.types
15635 * array with the correct data and linking the correct swig_cast_info
15636 * structures together.
15637 *
15638 * The generated swig_type_info structures are assigned staticly to an initial
15639 * array. We just loop though that array, and handle each type individually.
15640 * First we lookup if this type has been already loaded, and if so, use the
15641 * loaded structure instead of the generated one. Then we have to fill in the
15642 * cast linked list. The cast data is initially stored in something like a
15643 * two-dimensional array. Each row corresponds to a type (there are the same
15644 * number of rows as there are in the swig_type_initial array). Each entry in
15645 * a column is one of the swig_cast_info structures for that type.
15646 * The cast_initial array is actually an array of arrays, because each row has
15647 * a variable number of columns. So to actually build the cast linked list,
15648 * we find the array of casts associated with the type, and loop through it
15649 * adding the casts to the list. The one last trick we need to do is making
15650 * sure the type pointer in the swig_cast_info struct is correct.
15651 *
15652 * First off, we lookup the cast->type name to see if it is already loaded.
15653 * There are three cases to handle:
15654 * 1) If the cast->type has already been loaded AND the type we are adding
15655 * casting info to has not been loaded (it is in this module), THEN we
15656 * replace the cast->type pointer with the type pointer that has already
15657 * been loaded.
15658 * 2) If BOTH types (the one we are adding casting info to, and the
15659 * cast->type) are loaded, THEN the cast info has already been loaded by
15660 * the previous module so we just ignore it.
15661 * 3) Finally, if cast->type has not already been loaded, then we add that
15662 * swig_cast_info to the linked list (because the cast->type) pointer will
15663 * be correct.
15664 * ----------------------------------------------------------------------------- */
15665
15666 #ifdef __cplusplus
15667 extern "C" {
15668 #if 0
15669 } /* c-mode */
15670 #endif
15671 #endif
15672
15673 #if 0
15674 #define SWIGRUNTIME_DEBUG
15675 #endif
15676
15677 SWIGRUNTIME void
15678 SWIG_InitializeModule(void *clientdata) {
15679 size_t i;
15680 swig_module_info *module_head;
15681 static int init_run = 0;
15682
15683 clientdata = clientdata;
15684
15685 if (init_run) return;
15686 init_run = 1;
15687
15688 /* Initialize the swig_module */
15689 swig_module.type_initial = swig_type_initial;
15690 swig_module.cast_initial = swig_cast_initial;
15691
15692 /* Try and load any already created modules */
15693 module_head = SWIG_GetModule(clientdata);
15694 if (module_head) {
15695 swig_module.next = module_head->next;
15696 module_head->next = &swig_module;
15697 } else {
15698 /* This is the first module loaded */
15699 swig_module.next = &swig_module;
15700 SWIG_SetModule(clientdata, &swig_module);
15701 }
15702
15703 /* Now work on filling in swig_module.types */
15704 #ifdef SWIGRUNTIME_DEBUG
15705 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
15706 #endif
15707 for (i = 0; i < swig_module.size; ++i) {
15708 swig_type_info *type = 0;
15709 swig_type_info *ret;
15710 swig_cast_info *cast;
15711
15712 #ifdef SWIGRUNTIME_DEBUG
15713 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15714 #endif
15715
15716 /* if there is another module already loaded */
15717 if (swig_module.next != &swig_module) {
15718 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
15719 }
15720 if (type) {
15721 /* Overwrite clientdata field */
15722 #ifdef SWIGRUNTIME_DEBUG
15723 printf("SWIG_InitializeModule: found type %s\n", type->name);
15724 #endif
15725 if (swig_module.type_initial[i]->clientdata) {
15726 type->clientdata = swig_module.type_initial[i]->clientdata;
15727 #ifdef SWIGRUNTIME_DEBUG
15728 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
15729 #endif
15730 }
15731 } else {
15732 type = swig_module.type_initial[i];
15733 }
15734
15735 /* Insert casting types */
15736 cast = swig_module.cast_initial[i];
15737 while (cast->type) {
15738 /* Don't need to add information already in the list */
15739 ret = 0;
15740 #ifdef SWIGRUNTIME_DEBUG
15741 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
15742 #endif
15743 if (swig_module.next != &swig_module) {
15744 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
15745 #ifdef SWIGRUNTIME_DEBUG
15746 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
15747 #endif
15748 }
15749 if (ret) {
15750 if (type == swig_module.type_initial[i]) {
15751 #ifdef SWIGRUNTIME_DEBUG
15752 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
15753 #endif
15754 cast->type = ret;
15755 ret = 0;
15756 } else {
15757 /* Check for casting already in the list */
15758 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
15759 #ifdef SWIGRUNTIME_DEBUG
15760 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
15761 #endif
15762 if (!ocast) ret = 0;
15763 }
15764 }
15765
15766 if (!ret) {
15767 #ifdef SWIGRUNTIME_DEBUG
15768 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
15769 #endif
15770 if (type->cast) {
15771 type->cast->prev = cast;
15772 cast->next = type->cast;
15773 }
15774 type->cast = cast;
15775 }
15776 cast++;
15777 }
15778 /* Set entry in modules->types array equal to the type */
15779 swig_module.types[i] = type;
15780 }
15781 swig_module.types[i] = 0;
15782
15783 #ifdef SWIGRUNTIME_DEBUG
15784 printf("**** SWIG_InitializeModule: Cast List ******\n");
15785 for (i = 0; i < swig_module.size; ++i) {
15786 int j = 0;
15787 swig_cast_info *cast = swig_module.cast_initial[i];
15788 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15789 while (cast->type) {
15790 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
15791 cast++;
15792 ++j;
15793 }
15794 printf("---- Total casts: %d\n",j);
15795 }
15796 printf("**** SWIG_InitializeModule: Cast List ******\n");
15797 #endif
15798 }
15799
15800 /* This function will propagate the clientdata field of type to
15801 * any new swig_type_info structures that have been added into the list
15802 * of equivalent types. It is like calling
15803 * SWIG_TypeClientData(type, clientdata) a second time.
15804 */
15805 SWIGRUNTIME void
15806 SWIG_PropagateClientData(void) {
15807 size_t i;
15808 swig_cast_info *equiv;
15809 static int init_run = 0;
15810
15811 if (init_run) return;
15812 init_run = 1;
15813
15814 for (i = 0; i < swig_module.size; i++) {
15815 if (swig_module.types[i]->clientdata) {
15816 equiv = swig_module.types[i]->cast;
15817 while (equiv) {
15818 if (!equiv->converter) {
15819 if (equiv->type && !equiv->type->clientdata)
15820 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
15821 }
15822 equiv = equiv->next;
15823 }
15824 }
15825 }
15826 }
15827
15828 #ifdef __cplusplus
15829 #if 0
15830 {
15831 /* c-mode */
15832 #endif
15833 }
15834 #endif
15835
15836
15837
15838 #ifdef __cplusplus
15839 extern "C" {
15840 #endif
15841
15842 /* Python-specific SWIG API */
15843 #define SWIG_newvarlink() SWIG_Python_newvarlink()
15844 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
15845 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
15846
15847 /* -----------------------------------------------------------------------------
15848 * global variable support code.
15849 * ----------------------------------------------------------------------------- */
15850
15851 typedef struct swig_globalvar {
15852 char *name; /* Name of global variable */
15853 PyObject *(*get_attr)(void); /* Return the current value */
15854 int (*set_attr)(PyObject *); /* Set the value */
15855 struct swig_globalvar *next;
15856 } swig_globalvar;
15857
15858 typedef struct swig_varlinkobject {
15859 PyObject_HEAD
15860 swig_globalvar *vars;
15861 } swig_varlinkobject;
15862
15863 SWIGINTERN PyObject *
15864 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
15865 return PyString_FromString("<Swig global variables>");
15866 }
15867
15868 SWIGINTERN PyObject *
15869 swig_varlink_str(swig_varlinkobject *v) {
15870 PyObject *str = PyString_FromString("(");
15871 swig_globalvar *var;
15872 for (var = v->vars; var; var=var->next) {
15873 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
15874 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
15875 }
15876 PyString_ConcatAndDel(&str,PyString_FromString(")"));
15877 return str;
15878 }
15879
15880 SWIGINTERN int
15881 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
15882 PyObject *str = swig_varlink_str(v);
15883 fprintf(fp,"Swig global variables ");
15884 fprintf(fp,"%s\n", PyString_AsString(str));
15885 Py_DECREF(str);
15886 return 0;
15887 }
15888
15889 SWIGINTERN void
15890 swig_varlink_dealloc(swig_varlinkobject *v) {
15891 swig_globalvar *var = v->vars;
15892 while (var) {
15893 swig_globalvar *n = var->next;
15894 free(var->name);
15895 free(var);
15896 var = n;
15897 }
15898 }
15899
15900 SWIGINTERN PyObject *
15901 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
15902 PyObject *res = NULL;
15903 swig_globalvar *var = v->vars;
15904 while (var) {
15905 if (strcmp(var->name,n) == 0) {
15906 res = (*var->get_attr)();
15907 break;
15908 }
15909 var = var->next;
15910 }
15911 if (res == NULL && !PyErr_Occurred()) {
15912 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15913 }
15914 return res;
15915 }
15916
15917 SWIGINTERN int
15918 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
15919 int res = 1;
15920 swig_globalvar *var = v->vars;
15921 while (var) {
15922 if (strcmp(var->name,n) == 0) {
15923 res = (*var->set_attr)(p);
15924 break;
15925 }
15926 var = var->next;
15927 }
15928 if (res == 1 && !PyErr_Occurred()) {
15929 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15930 }
15931 return res;
15932 }
15933
15934 SWIGINTERN PyTypeObject*
15935 swig_varlink_type(void) {
15936 static char varlink__doc__[] = "Swig var link object";
15937 static PyTypeObject varlink_type;
15938 static int type_init = 0;
15939 if (!type_init) {
15940 const PyTypeObject tmp
15941 = {
15942 PyObject_HEAD_INIT(NULL)
15943 0, /* Number of items in variable part (ob_size) */
15944 (char *)"swigvarlink", /* Type name (tp_name) */
15945 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
15946 0, /* Itemsize (tp_itemsize) */
15947 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
15948 (printfunc) swig_varlink_print, /* Print (tp_print) */
15949 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
15950 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
15951 0, /* tp_compare */
15952 (reprfunc) swig_varlink_repr, /* tp_repr */
15953 0, /* tp_as_number */
15954 0, /* tp_as_sequence */
15955 0, /* tp_as_mapping */
15956 0, /* tp_hash */
15957 0, /* tp_call */
15958 (reprfunc)swig_varlink_str, /* tp_str */
15959 0, /* tp_getattro */
15960 0, /* tp_setattro */
15961 0, /* tp_as_buffer */
15962 0, /* tp_flags */
15963 varlink__doc__, /* tp_doc */
15964 0, /* tp_traverse */
15965 0, /* tp_clear */
15966 0, /* tp_richcompare */
15967 0, /* tp_weaklistoffset */
15968 #if PY_VERSION_HEX >= 0x02020000
15969 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
15970 #endif
15971 #if PY_VERSION_HEX >= 0x02030000
15972 0, /* tp_del */
15973 #endif
15974 #ifdef COUNT_ALLOCS
15975 0,0,0,0 /* tp_alloc -> tp_next */
15976 #endif
15977 };
15978 varlink_type = tmp;
15979 varlink_type.ob_type = &PyType_Type;
15980 type_init = 1;
15981 }
15982 return &varlink_type;
15983 }
15984
15985 /* Create a variable linking object for use later */
15986 SWIGINTERN PyObject *
15987 SWIG_Python_newvarlink(void) {
15988 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
15989 if (result) {
15990 result->vars = 0;
15991 }
15992 return ((PyObject*) result);
15993 }
15994
15995 SWIGINTERN void
15996 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
15997 swig_varlinkobject *v = (swig_varlinkobject *) p;
15998 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
15999 if (gv) {
16000 size_t size = strlen(name)+1;
16001 gv->name = (char *)malloc(size);
16002 if (gv->name) {
16003 strncpy(gv->name,name,size);
16004 gv->get_attr = get_attr;
16005 gv->set_attr = set_attr;
16006 gv->next = v->vars;
16007 }
16008 }
16009 v->vars = gv;
16010 }
16011
16012 SWIGINTERN PyObject *
16013 SWIG_globals() {
16014 static PyObject *_SWIG_globals = 0;
16015 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
16016 return _SWIG_globals;
16017 }
16018
16019 /* -----------------------------------------------------------------------------
16020 * constants/methods manipulation
16021 * ----------------------------------------------------------------------------- */
16022
16023 /* Install Constants */
16024 SWIGINTERN void
16025 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
16026 PyObject *obj = 0;
16027 size_t i;
16028 for (i = 0; constants[i].type; ++i) {
16029 switch(constants[i].type) {
16030 case SWIG_PY_POINTER:
16031 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
16032 break;
16033 case SWIG_PY_BINARY:
16034 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
16035 break;
16036 default:
16037 obj = 0;
16038 break;
16039 }
16040 if (obj) {
16041 PyDict_SetItemString(d, constants[i].name, obj);
16042 Py_DECREF(obj);
16043 }
16044 }
16045 }
16046
16047 /* -----------------------------------------------------------------------------*/
16048 /* Fix SwigMethods to carry the callback ptrs when needed */
16049 /* -----------------------------------------------------------------------------*/
16050
16051 SWIGINTERN void
16052 SWIG_Python_FixMethods(PyMethodDef *methods,
16053 swig_const_info *const_table,
16054 swig_type_info **types,
16055 swig_type_info **types_initial) {
16056 size_t i;
16057 for (i = 0; methods[i].ml_name; ++i) {
16058 const char *c = methods[i].ml_doc;
16059 if (c && (c = strstr(c, "swig_ptr: "))) {
16060 int j;
16061 swig_const_info *ci = 0;
16062 const char *name = c + 10;
16063 for (j = 0; const_table[j].type; ++j) {
16064 if (strncmp(const_table[j].name, name,
16065 strlen(const_table[j].name)) == 0) {
16066 ci = &(const_table[j]);
16067 break;
16068 }
16069 }
16070 if (ci) {
16071 size_t shift = (ci->ptype) - types;
16072 swig_type_info *ty = types_initial[shift];
16073 size_t ldoc = (c - methods[i].ml_doc);
16074 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
16075 char *ndoc = (char*)malloc(ldoc + lptr + 10);
16076 if (ndoc) {
16077 char *buff = ndoc;
16078 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
16079 if (ptr) {
16080 strncpy(buff, methods[i].ml_doc, ldoc);
16081 buff += ldoc;
16082 strncpy(buff, "swig_ptr: ", 10);
16083 buff += 10;
16084 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
16085 methods[i].ml_doc = ndoc;
16086 }
16087 }
16088 }
16089 }
16090 }
16091 }
16092
16093 #ifdef __cplusplus
16094 }
16095 #endif
16096
16097 /* -----------------------------------------------------------------------------*
16098 * Partial Init method
16099 * -----------------------------------------------------------------------------*/
16100
16101 #ifdef __cplusplus
16102 extern "C"
16103 #endif
16104 SWIGEXPORT void SWIG_init(void) {
16105 PyObject *m, *d;
16106
16107 /* Fix SwigMethods to carry the callback ptrs when needed */
16108 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
16109
16110 m = Py_InitModule((char *) SWIG_name, SwigMethods);
16111 d = PyModule_GetDict(m);
16112
16113 SWIG_InitializeModule(0);
16114 SWIG_InstallConstants(d,swig_const_table);
16115
16116
16117 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
16118 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
16119 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
16120 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
16121 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
16122 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
16123 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
16124 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
16125 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
16126 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
16127 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
16128 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
16129 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
16130 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS)));
16131 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS_FADE)));
16132 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
16133 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
16134 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
16135 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
16136 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
16137 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
16138 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
16139 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
16140 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
16141 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
16142 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
16143 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
16144 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
16145 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
16146 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
16147 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
16148 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
16149 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
16150 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
16151 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
16152 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
16153 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
16154 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
16155 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
16156 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
16157 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
16158 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
16159 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
16160 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
16161 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
16162 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
16163 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
16164 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
16165 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
16166 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
16167 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
16168 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
16169 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
16170 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
16171 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
16172 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
16173 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
16174 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
16175 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
16176 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
16177 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
16178 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
16179 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
16180 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
16181 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
16182 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
16183 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
16184 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
16185 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
16186 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
16187 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
16188 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
16189 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
16190 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
16191 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
16192 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
16193 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
16194 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
16195 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
16196 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
16197 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
16198 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
16199 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
16200 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
16201 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
16202 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
16203 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
16204 }
16205