]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/aui_wrap.cpp
add some properties
[wxWidgets.git] / wxPython / src / mac / 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
2862 SWIGINTERN int
2863 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2864 {
2865 long v = 0;
2866 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2867 return SWIG_TypeError;
2868 }
2869 else if (val)
2870 *val = (unsigned long)v;
2871 return SWIG_OK;
2872 }
2873
2874
2875 SWIGINTERNINLINE int
2876 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2877 {
2878 unsigned long v;
2879 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2880 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2881 return res;
2882 }
2883
2884
2885 SWIGINTERNINLINE PyObject*
2886 SWIG_From_unsigned_SS_long (unsigned long value)
2887 {
2888 return (value > LONG_MAX) ?
2889 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2890 }
2891
2892
2893 SWIGINTERNINLINE PyObject *
2894 SWIG_From_size_t (size_t value)
2895 {
2896 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2897 }
2898
2899
2900 // A wxDocArt class that knows how to forward virtuals to Python methods
2901 class wxPyDockArt : public wxDefaultDockArt
2902 {
2903 wxPyDockArt() : wxDefaultDockArt() {}
2904
2905 DEC_PYCALLBACK_INT_INT(GetMetric);
2906 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2907 DEC_PYCALLBACK__INTFONT(SetFont);
2908 DEC_PYCALLBACK_FONT_INT(GetFont);
2909 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2910 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2911
2912 virtual void DrawSash(wxDC& dc,
2913 wxWindow* window,
2914 int orientation,
2915 const wxRect& rect)
2916 {
2917 bool found;
2918 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2919 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2920 PyObject* odc = wxPyMake_wxObject(&dc, false);
2921 PyObject* owin = wxPyMake_wxObject(window, false);
2922 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2923 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2924 odc, owin, orientation, orect));
2925 Py_DECREF(odc);
2926 Py_DECREF(orect);
2927 }
2928 wxPyEndBlockThreads(blocked);
2929 if (! found)
2930 wxDefaultDockArt::DrawSash(dc, window, orientation, rect);
2931 }
2932
2933 virtual void DrawBackground(wxDC& dc,
2934 wxWindow* window,
2935 int orientation,
2936 const wxRect& rect)
2937 {
2938 bool found;
2939 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2940 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2941 PyObject* odc = wxPyMake_wxObject(&dc, false);
2942 PyObject* owin = wxPyMake_wxObject(window, false);
2943 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2944 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiO)",
2945 odc, owin, orientation, orect));
2946 Py_DECREF(odc);
2947 Py_DECREF(orect);
2948 }
2949 wxPyEndBlockThreads(blocked);
2950 if (! found)
2951 wxDefaultDockArt::DrawBackground(dc, window, orientation, rect);
2952 }
2953
2954 virtual void DrawCaption(wxDC& dc,
2955 wxWindow* window,
2956 const wxString& text,
2957 const wxRect& rect,
2958 wxPaneInfo& pane)
2959 {
2960 bool found;
2961 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2962 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2963 PyObject* odc = wxPyMake_wxObject(&dc, false);
2964 PyObject* owin = wxPyMake_wxObject(window, false);
2965 PyObject* otext = wx2PyString(text);
2966 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2967 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2968 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOOO)",
2969 odc, owin, otext, orect, opane));
2970 Py_DECREF(odc);
2971 Py_DECREF(otext);
2972 Py_DECREF(orect);
2973 Py_DECREF(opane);
2974 }
2975 wxPyEndBlockThreads(blocked);
2976 if (! found)
2977 wxDefaultDockArt::DrawCaption(dc, window, text, rect, pane);
2978 }
2979
2980 virtual void DrawGripper(wxDC& dc,
2981 wxWindow* window,
2982 const wxRect& rect,
2983 wxPaneInfo& pane)
2984 {
2985 bool found;
2986 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2987 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
2988 PyObject* odc = wxPyMake_wxObject(&dc, false);
2989 PyObject* owin = wxPyMake_wxObject(window, false);
2990 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2991 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2992 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)", odc, owin, orect, opane));
2993 Py_DECREF(odc);
2994 Py_DECREF(orect);
2995 Py_DECREF(opane);
2996 }
2997 wxPyEndBlockThreads(blocked);
2998 if (! found)
2999 wxDefaultDockArt::DrawGripper(dc, window, rect, pane);
3000 }
3001
3002 virtual void DrawBorder(wxDC& dc,
3003 wxWindow* window,
3004 const wxRect& rect,
3005 wxPaneInfo& pane)
3006 {
3007 bool found;
3008 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3009 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
3010 PyObject* odc = wxPyMake_wxObject(&dc, false);
3011 PyObject* owin = wxPyMake_wxObject(window, false);
3012 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3013 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3014 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
3015 Py_DECREF(odc);
3016 Py_DECREF(orect);
3017 Py_DECREF(opane);
3018 }
3019 wxPyEndBlockThreads(blocked);
3020 if (! found)
3021 wxDefaultDockArt::DrawBorder(dc, window, rect, pane);
3022 }
3023
3024 virtual void DrawPaneButton(wxDC& dc,
3025 wxWindow* window,
3026 int button,
3027 int button_state,
3028 const wxRect& rect,
3029 wxPaneInfo& pane)
3030 {
3031 bool found;
3032 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3033 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
3034 PyObject* odc = wxPyMake_wxObject(&dc, false);
3035 PyObject* owin = wxPyMake_wxObject(window, false);
3036 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
3037 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
3038 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOiIOO)",
3039 odc, owin, button, button_state,
3040 orect, opane));
3041 Py_DECREF(odc);
3042 Py_DECREF(orect);
3043 Py_DECREF(opane);
3044 }
3045 wxPyEndBlockThreads(blocked);
3046 if (! found)
3047 wxDefaultDockArt::DrawPaneButton(dc, window, button, button_state, rect, pane);
3048 }
3049
3050 PYPRIVATE;
3051
3052 };
3053
3054 IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric);
3055 IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric);
3056 IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont);
3057 IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont);
3058 IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour);
3059 IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour);
3060
3061
3062 #ifdef __cplusplus
3063 extern "C" {
3064 #endif
3065 SWIGINTERN int NullDockInfo_set(PyObject *_val) {
3066 {
3067 void *argp = 0;
3068 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0);
3069 if (!SWIG_IsOK(res)) {
3070 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3071 }
3072 if (!argp) {
3073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
3074 } else {
3075 wxDockInfo * temp;
3076 temp = reinterpret_cast< wxDockInfo * >(argp);
3077 wxNullDockInfo = *temp;
3078 if (SWIG_IsNewObj(res)) delete temp;
3079 }
3080 }
3081 return 0;
3082 fail:
3083 return 1;
3084 }
3085
3086
3087 SWIGINTERN PyObject *NullDockInfo_get(void) {
3088 PyObject *pyobj = 0;
3089
3090 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 );
3091 return pyobj;
3092 }
3093
3094
3095 SWIGINTERN int NullPaneInfo_set(PyObject *_val) {
3096 {
3097 void *argp = 0;
3098 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3099 if (!SWIG_IsOK(res)) {
3100 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3101 }
3102 if (!argp) {
3103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
3104 } else {
3105 wxPaneInfo * temp;
3106 temp = reinterpret_cast< wxPaneInfo * >(argp);
3107 wxNullPaneInfo = *temp;
3108 if (SWIG_IsNewObj(res)) delete temp;
3109 }
3110 }
3111 return 0;
3112 fail:
3113 return 1;
3114 }
3115
3116
3117 SWIGINTERN PyObject *NullPaneInfo_get(void) {
3118 PyObject *pyobj = 0;
3119
3120 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 );
3121 return pyobj;
3122 }
3123
3124
3125 SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3126 PyObject *resultobj = 0;
3127 wxPaneInfo *result = 0 ;
3128
3129 if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail;
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (wxPaneInfo *)new wxPaneInfo();
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 );
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3144 PyObject *resultobj = 0;
3145 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3146 void *argp1 = 0 ;
3147 int res1 = 0 ;
3148 PyObject *swig_obj[1] ;
3149
3150 if (!args) SWIG_fail;
3151 swig_obj[0] = args;
3152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
3153 if (!SWIG_IsOK(res1)) {
3154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3155 }
3156 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 delete arg1;
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = SWIG_Py_Void();
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 SWIGINTERN PyObject *_wrap_PaneInfo_SafeSet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj = 0;
3173 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3174 wxPaneInfo arg2 ;
3175 void *argp1 = 0 ;
3176 int res1 = 0 ;
3177 void *argp2 ;
3178 int res2 = 0 ;
3179 PyObject * obj0 = 0 ;
3180 PyObject * obj1 = 0 ;
3181 char * kwnames[] = {
3182 (char *) "self",(char *) "source", NULL
3183 };
3184
3185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_SafeSet",kwnames,&obj0,&obj1)) SWIG_fail;
3186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3187 if (!SWIG_IsOK(res1)) {
3188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SafeSet" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3189 }
3190 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3191 {
3192 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
3193 if (!SWIG_IsOK(res2)) {
3194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3195 }
3196 if (!argp2) {
3197 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_SafeSet" "', expected argument " "2"" of type '" "wxPaneInfo""'");
3198 } else {
3199 wxPaneInfo * temp = reinterpret_cast< wxPaneInfo * >(argp2);
3200 arg2 = *temp;
3201 if (SWIG_IsNewObj(res2)) delete temp;
3202 }
3203 }
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 (arg1)->SafeSet(arg2);
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 resultobj = SWIG_Py_Void();
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3218 PyObject *resultobj = 0;
3219 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3220 bool result;
3221 void *argp1 = 0 ;
3222 int res1 = 0 ;
3223 PyObject *swig_obj[1] ;
3224
3225 if (!args) SWIG_fail;
3226 swig_obj[0] = args;
3227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3228 if (!SWIG_IsOK(res1)) {
3229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3230 }
3231 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 result = (bool)((wxPaneInfo const *)arg1)->IsOk();
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 {
3239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3240 }
3241 return resultobj;
3242 fail:
3243 return NULL;
3244 }
3245
3246
3247 SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3248 PyObject *resultobj = 0;
3249 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3250 bool result;
3251 void *argp1 = 0 ;
3252 int res1 = 0 ;
3253 PyObject *swig_obj[1] ;
3254
3255 if (!args) SWIG_fail;
3256 swig_obj[0] = args;
3257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3258 if (!SWIG_IsOK(res1)) {
3259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3260 }
3261 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 result = (bool)((wxPaneInfo const *)arg1)->IsFixed();
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 {
3269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3270 }
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3278 PyObject *resultobj = 0;
3279 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3280 bool result;
3281 void *argp1 = 0 ;
3282 int res1 = 0 ;
3283 PyObject *swig_obj[1] ;
3284
3285 if (!args) SWIG_fail;
3286 swig_obj[0] = args;
3287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3288 if (!SWIG_IsOK(res1)) {
3289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3290 }
3291 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 result = (bool)((wxPaneInfo const *)arg1)->IsResizable();
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
3298 {
3299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3300 }
3301 return resultobj;
3302 fail:
3303 return NULL;
3304 }
3305
3306
3307 SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3308 PyObject *resultobj = 0;
3309 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3310 bool result;
3311 void *argp1 = 0 ;
3312 int res1 = 0 ;
3313 PyObject *swig_obj[1] ;
3314
3315 if (!args) SWIG_fail;
3316 swig_obj[0] = args;
3317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3318 if (!SWIG_IsOK(res1)) {
3319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3320 }
3321 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (bool)((wxPaneInfo const *)arg1)->IsShown();
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 {
3329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3330 }
3331 return resultobj;
3332 fail:
3333 return NULL;
3334 }
3335
3336
3337 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3338 PyObject *resultobj = 0;
3339 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3340 bool result;
3341 void *argp1 = 0 ;
3342 int res1 = 0 ;
3343 PyObject *swig_obj[1] ;
3344
3345 if (!args) SWIG_fail;
3346 swig_obj[0] = args;
3347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3348 if (!SWIG_IsOK(res1)) {
3349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3350 }
3351 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (bool)((wxPaneInfo const *)arg1)->IsFloating();
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 {
3359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3360 }
3361 return resultobj;
3362 fail:
3363 return NULL;
3364 }
3365
3366
3367 SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3368 PyObject *resultobj = 0;
3369 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3370 bool result;
3371 void *argp1 = 0 ;
3372 int res1 = 0 ;
3373 PyObject *swig_obj[1] ;
3374
3375 if (!args) SWIG_fail;
3376 swig_obj[0] = args;
3377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3378 if (!SWIG_IsOK(res1)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3380 }
3381 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (bool)((wxPaneInfo const *)arg1)->IsDocked();
3385 wxPyEndAllowThreads(__tstate);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 {
3389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3390 }
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3398 PyObject *resultobj = 0;
3399 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3400 bool result;
3401 void *argp1 = 0 ;
3402 int res1 = 0 ;
3403 PyObject *swig_obj[1] ;
3404
3405 if (!args) SWIG_fail;
3406 swig_obj[0] = args;
3407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3408 if (!SWIG_IsOK(res1)) {
3409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3410 }
3411 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 result = (bool)((wxPaneInfo const *)arg1)->IsToolbar();
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 {
3419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3420 }
3421 return resultobj;
3422 fail:
3423 return NULL;
3424 }
3425
3426
3427 SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3428 PyObject *resultobj = 0;
3429 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3430 bool result;
3431 void *argp1 = 0 ;
3432 int res1 = 0 ;
3433 PyObject *swig_obj[1] ;
3434
3435 if (!args) SWIG_fail;
3436 swig_obj[0] = args;
3437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3438 if (!SWIG_IsOK(res1)) {
3439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3440 }
3441 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable();
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3450 }
3451 return resultobj;
3452 fail:
3453 return NULL;
3454 }
3455
3456
3457 SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3458 PyObject *resultobj = 0;
3459 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3460 bool result;
3461 void *argp1 = 0 ;
3462 int res1 = 0 ;
3463 PyObject *swig_obj[1] ;
3464
3465 if (!args) SWIG_fail;
3466 swig_obj[0] = args;
3467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3468 if (!SWIG_IsOK(res1)) {
3469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3470 }
3471 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable();
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 {
3479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3480 }
3481 return resultobj;
3482 fail:
3483 return NULL;
3484 }
3485
3486
3487 SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3488 PyObject *resultobj = 0;
3489 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3490 bool result;
3491 void *argp1 = 0 ;
3492 int res1 = 0 ;
3493 PyObject *swig_obj[1] ;
3494
3495 if (!args) SWIG_fail;
3496 swig_obj[0] = args;
3497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3498 if (!SWIG_IsOK(res1)) {
3499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3500 }
3501 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
3504 result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable();
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 {
3509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3510 }
3511 return resultobj;
3512 fail:
3513 return NULL;
3514 }
3515
3516
3517 SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3518 PyObject *resultobj = 0;
3519 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3520 bool result;
3521 void *argp1 = 0 ;
3522 int res1 = 0 ;
3523 PyObject *swig_obj[1] ;
3524
3525 if (!args) SWIG_fail;
3526 swig_obj[0] = args;
3527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3528 if (!SWIG_IsOK(res1)) {
3529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3530 }
3531 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3532 {
3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
3534 result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable();
3535 wxPyEndAllowThreads(__tstate);
3536 if (PyErr_Occurred()) SWIG_fail;
3537 }
3538 {
3539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3540 }
3541 return resultobj;
3542 fail:
3543 return NULL;
3544 }
3545
3546
3547 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3548 PyObject *resultobj = 0;
3549 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3550 bool result;
3551 void *argp1 = 0 ;
3552 int res1 = 0 ;
3553 PyObject *swig_obj[1] ;
3554
3555 if (!args) SWIG_fail;
3556 swig_obj[0] = args;
3557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3558 if (!SWIG_IsOK(res1)) {
3559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3560 }
3561 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (bool)((wxPaneInfo const *)arg1)->IsFloatable();
3565 wxPyEndAllowThreads(__tstate);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 {
3569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3570 }
3571 return resultobj;
3572 fail:
3573 return NULL;
3574 }
3575
3576
3577 SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3578 PyObject *resultobj = 0;
3579 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3580 bool result;
3581 void *argp1 = 0 ;
3582 int res1 = 0 ;
3583 PyObject *swig_obj[1] ;
3584
3585 if (!args) SWIG_fail;
3586 swig_obj[0] = args;
3587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3588 if (!SWIG_IsOK(res1)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3590 }
3591 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)((wxPaneInfo const *)arg1)->IsMovable();
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 {
3599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3600 }
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3608 PyObject *resultobj = 0;
3609 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3610 bool result;
3611 void *argp1 = 0 ;
3612 int res1 = 0 ;
3613 PyObject *swig_obj[1] ;
3614
3615 if (!args) SWIG_fail;
3616 swig_obj[0] = args;
3617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3618 if (!SWIG_IsOK(res1)) {
3619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3620 }
3621 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 result = (bool)((wxPaneInfo const *)arg1)->HasCaption();
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 {
3629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3630 }
3631 return resultobj;
3632 fail:
3633 return NULL;
3634 }
3635
3636
3637 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3638 PyObject *resultobj = 0;
3639 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3640 bool result;
3641 void *argp1 = 0 ;
3642 int res1 = 0 ;
3643 PyObject *swig_obj[1] ;
3644
3645 if (!args) SWIG_fail;
3646 swig_obj[0] = args;
3647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3648 if (!SWIG_IsOK(res1)) {
3649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3650 }
3651 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 result = (bool)((wxPaneInfo const *)arg1)->HasGripper();
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 {
3659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3660 }
3661 return resultobj;
3662 fail:
3663 return NULL;
3664 }
3665
3666
3667 SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3668 PyObject *resultobj = 0;
3669 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3670 bool result;
3671 void *argp1 = 0 ;
3672 int res1 = 0 ;
3673 PyObject *swig_obj[1] ;
3674
3675 if (!args) SWIG_fail;
3676 swig_obj[0] = args;
3677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3678 if (!SWIG_IsOK(res1)) {
3679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3680 }
3681 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3682 {
3683 PyThreadState* __tstate = wxPyBeginAllowThreads();
3684 result = (bool)((wxPaneInfo const *)arg1)->HasBorder();
3685 wxPyEndAllowThreads(__tstate);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 }
3688 {
3689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3690 }
3691 return resultobj;
3692 fail:
3693 return NULL;
3694 }
3695
3696
3697 SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3698 PyObject *resultobj = 0;
3699 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3700 bool result;
3701 void *argp1 = 0 ;
3702 int res1 = 0 ;
3703 PyObject *swig_obj[1] ;
3704
3705 if (!args) SWIG_fail;
3706 swig_obj[0] = args;
3707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3708 if (!SWIG_IsOK(res1)) {
3709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3710 }
3711 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton();
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 {
3719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3720 }
3721 return resultobj;
3722 fail:
3723 return NULL;
3724 }
3725
3726
3727 SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3728 PyObject *resultobj = 0;
3729 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3730 bool result;
3731 void *argp1 = 0 ;
3732 int res1 = 0 ;
3733 PyObject *swig_obj[1] ;
3734
3735 if (!args) SWIG_fail;
3736 swig_obj[0] = args;
3737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3738 if (!SWIG_IsOK(res1)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3740 }
3741 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton();
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 {
3749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3750 }
3751 return resultobj;
3752 fail:
3753 return NULL;
3754 }
3755
3756
3757 SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3758 PyObject *resultobj = 0;
3759 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3760 bool result;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 PyObject *swig_obj[1] ;
3764
3765 if (!args) SWIG_fail;
3766 swig_obj[0] = args;
3767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3768 if (!SWIG_IsOK(res1)) {
3769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3770 }
3771 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton();
3775 wxPyEndAllowThreads(__tstate);
3776 if (PyErr_Occurred()) SWIG_fail;
3777 }
3778 {
3779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3780 }
3781 return resultobj;
3782 fail:
3783 return NULL;
3784 }
3785
3786
3787 SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3788 PyObject *resultobj = 0;
3789 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3790 bool result;
3791 void *argp1 = 0 ;
3792 int res1 = 0 ;
3793 PyObject *swig_obj[1] ;
3794
3795 if (!args) SWIG_fail;
3796 swig_obj[0] = args;
3797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3798 if (!SWIG_IsOK(res1)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3800 }
3801 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (bool)((wxPaneInfo const *)arg1)->HasPinButton();
3805 wxPyEndAllowThreads(__tstate);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 }
3808 {
3809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3810 }
3811 return resultobj;
3812 fail:
3813 return NULL;
3814 }
3815
3816
3817 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3818 PyObject *resultobj = 0;
3819 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3820 bool result;
3821 void *argp1 = 0 ;
3822 int res1 = 0 ;
3823 PyObject *swig_obj[1] ;
3824
3825 if (!args) SWIG_fail;
3826 swig_obj[0] = args;
3827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3828 if (!SWIG_IsOK(res1)) {
3829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3830 }
3831 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop();
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 {
3839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3840 }
3841 return resultobj;
3842 fail:
3843 return NULL;
3844 }
3845
3846
3847 SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj = 0;
3849 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3850 wxWindow *arg2 = (wxWindow *) 0 ;
3851 wxPaneInfo *result = 0 ;
3852 void *argp1 = 0 ;
3853 int res1 = 0 ;
3854 void *argp2 = 0 ;
3855 int res2 = 0 ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj1 = 0 ;
3858 char * kwnames[] = {
3859 (char *) "self",(char *) "w", NULL
3860 };
3861
3862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
3863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3864 if (!SWIG_IsOK(res1)) {
3865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3866 }
3867 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3868 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3869 if (!SWIG_IsOK(res2)) {
3870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
3871 }
3872 arg2 = reinterpret_cast< wxWindow * >(argp2);
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 {
3876 wxPaneInfo &_result_ref = (arg1)->Window(arg2);
3877 result = (wxPaneInfo *) &_result_ref;
3878 }
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 {
3883 resultobj = obj0; Py_INCREF(resultobj);
3884 }
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj = 0;
3893 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3894 wxString *arg2 = 0 ;
3895 wxPaneInfo *result = 0 ;
3896 void *argp1 = 0 ;
3897 int res1 = 0 ;
3898 bool temp2 = false ;
3899 PyObject * obj0 = 0 ;
3900 PyObject * obj1 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "n", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3911 {
3912 arg2 = wxString_in_helper(obj1);
3913 if (arg2 == NULL) SWIG_fail;
3914 temp2 = true;
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 {
3919 wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
3920 result = (wxPaneInfo *) &_result_ref;
3921 }
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 {
3926 resultobj = obj0; Py_INCREF(resultobj);
3927 }
3928 {
3929 if (temp2)
3930 delete arg2;
3931 }
3932 return resultobj;
3933 fail:
3934 {
3935 if (temp2)
3936 delete arg2;
3937 }
3938 return NULL;
3939 }
3940
3941
3942 SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj = 0;
3944 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3945 wxString *arg2 = 0 ;
3946 wxPaneInfo *result = 0 ;
3947 void *argp1 = 0 ;
3948 int res1 = 0 ;
3949 bool temp2 = false ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3952 char * kwnames[] = {
3953 (char *) "self",(char *) "c", NULL
3954 };
3955
3956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
3957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3958 if (!SWIG_IsOK(res1)) {
3959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3960 }
3961 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3962 {
3963 arg2 = wxString_in_helper(obj1);
3964 if (arg2 == NULL) SWIG_fail;
3965 temp2 = true;
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 {
3970 wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
3971 result = (wxPaneInfo *) &_result_ref;
3972 }
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 {
3977 resultobj = obj0; Py_INCREF(resultobj);
3978 }
3979 {
3980 if (temp2)
3981 delete arg2;
3982 }
3983 return resultobj;
3984 fail:
3985 {
3986 if (temp2)
3987 delete arg2;
3988 }
3989 return NULL;
3990 }
3991
3992
3993 SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3994 PyObject *resultobj = 0;
3995 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3996 wxPaneInfo *result = 0 ;
3997 void *argp1 = 0 ;
3998 int res1 = 0 ;
3999 PyObject *swig_obj[1] ;
4000
4001 if (!args) SWIG_fail;
4002 swig_obj[0] = args;
4003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4004 if (!SWIG_IsOK(res1)) {
4005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4006 }
4007 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 {
4011 wxPaneInfo &_result_ref = (arg1)->Left();
4012 result = (wxPaneInfo *) &_result_ref;
4013 }
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 {
4018 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4019 }
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4027 PyObject *resultobj = 0;
4028 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4029 wxPaneInfo *result = 0 ;
4030 void *argp1 = 0 ;
4031 int res1 = 0 ;
4032 PyObject *swig_obj[1] ;
4033
4034 if (!args) SWIG_fail;
4035 swig_obj[0] = args;
4036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4037 if (!SWIG_IsOK(res1)) {
4038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4039 }
4040 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 {
4044 wxPaneInfo &_result_ref = (arg1)->Right();
4045 result = (wxPaneInfo *) &_result_ref;
4046 }
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 {
4051 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4052 }
4053 return resultobj;
4054 fail:
4055 return NULL;
4056 }
4057
4058
4059 SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4060 PyObject *resultobj = 0;
4061 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4062 wxPaneInfo *result = 0 ;
4063 void *argp1 = 0 ;
4064 int res1 = 0 ;
4065 PyObject *swig_obj[1] ;
4066
4067 if (!args) SWIG_fail;
4068 swig_obj[0] = args;
4069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4070 if (!SWIG_IsOK(res1)) {
4071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4072 }
4073 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4074 {
4075 PyThreadState* __tstate = wxPyBeginAllowThreads();
4076 {
4077 wxPaneInfo &_result_ref = (arg1)->Top();
4078 result = (wxPaneInfo *) &_result_ref;
4079 }
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 {
4084 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4085 }
4086 return resultobj;
4087 fail:
4088 return NULL;
4089 }
4090
4091
4092 SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4093 PyObject *resultobj = 0;
4094 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4095 wxPaneInfo *result = 0 ;
4096 void *argp1 = 0 ;
4097 int res1 = 0 ;
4098 PyObject *swig_obj[1] ;
4099
4100 if (!args) SWIG_fail;
4101 swig_obj[0] = args;
4102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4103 if (!SWIG_IsOK(res1)) {
4104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4105 }
4106 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 {
4110 wxPaneInfo &_result_ref = (arg1)->Bottom();
4111 result = (wxPaneInfo *) &_result_ref;
4112 }
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 {
4117 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4118 }
4119 return resultobj;
4120 fail:
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4128 wxPaneInfo *result = 0 ;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 PyObject *swig_obj[1] ;
4132
4133 if (!args) SWIG_fail;
4134 swig_obj[0] = args;
4135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4136 if (!SWIG_IsOK(res1)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4138 }
4139 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 {
4143 wxPaneInfo &_result_ref = (arg1)->Center();
4144 result = (wxPaneInfo *) &_result_ref;
4145 }
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 {
4150 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4151 }
4152 return resultobj;
4153 fail:
4154 return NULL;
4155 }
4156
4157
4158 SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4159 PyObject *resultobj = 0;
4160 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4161 wxPaneInfo *result = 0 ;
4162 void *argp1 = 0 ;
4163 int res1 = 0 ;
4164 PyObject *swig_obj[1] ;
4165
4166 if (!args) SWIG_fail;
4167 swig_obj[0] = args;
4168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4169 if (!SWIG_IsOK(res1)) {
4170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4171 }
4172 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 {
4176 wxPaneInfo &_result_ref = (arg1)->Centre();
4177 result = (wxPaneInfo *) &_result_ref;
4178 }
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 {
4183 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj = 0;
4193 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4194 int arg2 ;
4195 wxPaneInfo *result = 0 ;
4196 void *argp1 = 0 ;
4197 int res1 = 0 ;
4198 int val2 ;
4199 int ecode2 = 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char * kwnames[] = {
4203 (char *) "self",(char *) "direction", NULL
4204 };
4205
4206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4208 if (!SWIG_IsOK(res1)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4210 }
4211 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4212 ecode2 = SWIG_AsVal_int(obj1, &val2);
4213 if (!SWIG_IsOK(ecode2)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4215 }
4216 arg2 = static_cast< int >(val2);
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 {
4220 wxPaneInfo &_result_ref = (arg1)->Direction(arg2);
4221 result = (wxPaneInfo *) &_result_ref;
4222 }
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
4227 resultobj = obj0; Py_INCREF(resultobj);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj = 0;
4237 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4238 int arg2 ;
4239 wxPaneInfo *result = 0 ;
4240 void *argp1 = 0 ;
4241 int res1 = 0 ;
4242 int val2 ;
4243 int ecode2 = 0 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char * kwnames[] = {
4247 (char *) "self",(char *) "layer", NULL
4248 };
4249
4250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4252 if (!SWIG_IsOK(res1)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4254 }
4255 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4256 ecode2 = SWIG_AsVal_int(obj1, &val2);
4257 if (!SWIG_IsOK(ecode2)) {
4258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4259 }
4260 arg2 = static_cast< int >(val2);
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 {
4264 wxPaneInfo &_result_ref = (arg1)->Layer(arg2);
4265 result = (wxPaneInfo *) &_result_ref;
4266 }
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 {
4271 resultobj = obj0; Py_INCREF(resultobj);
4272 }
4273 return resultobj;
4274 fail:
4275 return NULL;
4276 }
4277
4278
4279 SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj = 0;
4281 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4282 int arg2 ;
4283 wxPaneInfo *result = 0 ;
4284 void *argp1 = 0 ;
4285 int res1 = 0 ;
4286 int val2 ;
4287 int ecode2 = 0 ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj1 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "row", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4298 }
4299 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 {
4308 wxPaneInfo &_result_ref = (arg1)->Row(arg2);
4309 result = (wxPaneInfo *) &_result_ref;
4310 }
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 {
4315 resultobj = obj0; Py_INCREF(resultobj);
4316 }
4317 return resultobj;
4318 fail:
4319 return NULL;
4320 }
4321
4322
4323 SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4324 PyObject *resultobj = 0;
4325 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4326 int arg2 ;
4327 wxPaneInfo *result = 0 ;
4328 void *argp1 = 0 ;
4329 int res1 = 0 ;
4330 int val2 ;
4331 int ecode2 = 0 ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 char * kwnames[] = {
4335 (char *) "self",(char *) "pos", NULL
4336 };
4337
4338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4340 if (!SWIG_IsOK(res1)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4342 }
4343 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4344 ecode2 = SWIG_AsVal_int(obj1, &val2);
4345 if (!SWIG_IsOK(ecode2)) {
4346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4347 }
4348 arg2 = static_cast< int >(val2);
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 {
4352 wxPaneInfo &_result_ref = (arg1)->Position(arg2);
4353 result = (wxPaneInfo *) &_result_ref;
4354 }
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 {
4359 resultobj = obj0; Py_INCREF(resultobj);
4360 }
4361 return resultobj;
4362 fail:
4363 return NULL;
4364 }
4365
4366
4367 SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj = 0;
4369 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4370 wxSize *arg2 = 0 ;
4371 wxPaneInfo *result = 0 ;
4372 void *argp1 = 0 ;
4373 int res1 = 0 ;
4374 wxSize temp2 ;
4375 PyObject * obj0 = 0 ;
4376 PyObject * obj1 = 0 ;
4377 char * kwnames[] = {
4378 (char *) "self",(char *) "size", NULL
4379 };
4380
4381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4383 if (!SWIG_IsOK(res1)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4385 }
4386 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4387 {
4388 arg2 = &temp2;
4389 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4390 }
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 {
4394 wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4395 result = (wxPaneInfo *) &_result_ref;
4396 }
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 {
4401 resultobj = obj0; Py_INCREF(resultobj);
4402 }
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj = 0;
4411 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4412 wxSize *arg2 = 0 ;
4413 wxPaneInfo *result = 0 ;
4414 void *argp1 = 0 ;
4415 int res1 = 0 ;
4416 wxSize temp2 ;
4417 PyObject * obj0 = 0 ;
4418 PyObject * obj1 = 0 ;
4419 char * kwnames[] = {
4420 (char *) "self",(char *) "size", NULL
4421 };
4422
4423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4425 if (!SWIG_IsOK(res1)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4427 }
4428 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4429 {
4430 arg2 = &temp2;
4431 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4432 }
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 {
4436 wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4437 result = (wxPaneInfo *) &_result_ref;
4438 }
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 {
4443 resultobj = obj0; Py_INCREF(resultobj);
4444 }
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj = 0;
4453 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4454 wxSize *arg2 = 0 ;
4455 wxPaneInfo *result = 0 ;
4456 void *argp1 = 0 ;
4457 int res1 = 0 ;
4458 wxSize temp2 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 char * kwnames[] = {
4462 (char *) "self",(char *) "size", NULL
4463 };
4464
4465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4467 if (!SWIG_IsOK(res1)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4469 }
4470 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4471 {
4472 arg2 = &temp2;
4473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 {
4478 wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4479 result = (wxPaneInfo *) &_result_ref;
4480 }
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 {
4485 resultobj = obj0; Py_INCREF(resultobj);
4486 }
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4494 PyObject *resultobj = 0;
4495 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4496 wxPoint *arg2 = 0 ;
4497 wxPaneInfo *result = 0 ;
4498 void *argp1 = 0 ;
4499 int res1 = 0 ;
4500 wxPoint temp2 ;
4501 PyObject * obj0 = 0 ;
4502 PyObject * obj1 = 0 ;
4503 char * kwnames[] = {
4504 (char *) "self",(char *) "pos", NULL
4505 };
4506
4507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4509 if (!SWIG_IsOK(res1)) {
4510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4511 }
4512 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4513 {
4514 arg2 = &temp2;
4515 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 {
4520 wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4521 result = (wxPaneInfo *) &_result_ref;
4522 }
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 {
4527 resultobj = obj0; Py_INCREF(resultobj);
4528 }
4529 return resultobj;
4530 fail:
4531 return NULL;
4532 }
4533
4534
4535 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj = 0;
4537 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4538 wxSize *arg2 = 0 ;
4539 wxPaneInfo *result = 0 ;
4540 void *argp1 = 0 ;
4541 int res1 = 0 ;
4542 wxSize temp2 ;
4543 PyObject * obj0 = 0 ;
4544 PyObject * obj1 = 0 ;
4545 char * kwnames[] = {
4546 (char *) "self",(char *) "size", NULL
4547 };
4548
4549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4551 if (!SWIG_IsOK(res1)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4553 }
4554 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4555 {
4556 arg2 = &temp2;
4557 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4558 }
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 {
4562 wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4563 result = (wxPaneInfo *) &_result_ref;
4564 }
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 {
4569 resultobj = obj0; Py_INCREF(resultobj);
4570 }
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4578 PyObject *resultobj = 0;
4579 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4580 wxPaneInfo *result = 0 ;
4581 void *argp1 = 0 ;
4582 int res1 = 0 ;
4583 PyObject *swig_obj[1] ;
4584
4585 if (!args) SWIG_fail;
4586 swig_obj[0] = args;
4587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4588 if (!SWIG_IsOK(res1)) {
4589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4590 }
4591 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 {
4595 wxPaneInfo &_result_ref = (arg1)->Fixed();
4596 result = (wxPaneInfo *) &_result_ref;
4597 }
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 {
4602 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4603 }
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4611 PyObject *resultobj = 0;
4612 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4613 bool arg2 = (bool) true ;
4614 wxPaneInfo *result = 0 ;
4615 void *argp1 = 0 ;
4616 int res1 = 0 ;
4617 bool val2 ;
4618 int ecode2 = 0 ;
4619 PyObject * obj0 = 0 ;
4620 PyObject * obj1 = 0 ;
4621 char * kwnames[] = {
4622 (char *) "self",(char *) "resizable", NULL
4623 };
4624
4625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4627 if (!SWIG_IsOK(res1)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4629 }
4630 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4631 if (obj1) {
4632 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4633 if (!SWIG_IsOK(ecode2)) {
4634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4635 }
4636 arg2 = static_cast< bool >(val2);
4637 }
4638 {
4639 PyThreadState* __tstate = wxPyBeginAllowThreads();
4640 {
4641 wxPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4642 result = (wxPaneInfo *) &_result_ref;
4643 }
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 {
4648 resultobj = obj0; Py_INCREF(resultobj);
4649 }
4650 return resultobj;
4651 fail:
4652 return NULL;
4653 }
4654
4655
4656 SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4657 PyObject *resultobj = 0;
4658 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4659 wxPaneInfo *result = 0 ;
4660 void *argp1 = 0 ;
4661 int res1 = 0 ;
4662 PyObject *swig_obj[1] ;
4663
4664 if (!args) SWIG_fail;
4665 swig_obj[0] = args;
4666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4667 if (!SWIG_IsOK(res1)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4669 }
4670 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4671 {
4672 PyThreadState* __tstate = wxPyBeginAllowThreads();
4673 {
4674 wxPaneInfo &_result_ref = (arg1)->Dock();
4675 result = (wxPaneInfo *) &_result_ref;
4676 }
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 {
4681 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4682 }
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4690 PyObject *resultobj = 0;
4691 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4692 wxPaneInfo *result = 0 ;
4693 void *argp1 = 0 ;
4694 int res1 = 0 ;
4695 PyObject *swig_obj[1] ;
4696
4697 if (!args) SWIG_fail;
4698 swig_obj[0] = args;
4699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4700 if (!SWIG_IsOK(res1)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4702 }
4703 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 {
4707 wxPaneInfo &_result_ref = (arg1)->Float();
4708 result = (wxPaneInfo *) &_result_ref;
4709 }
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 {
4714 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4715 }
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4725 wxPaneInfo *result = 0 ;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4735 }
4736 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 {
4740 wxPaneInfo &_result_ref = (arg1)->Hide();
4741 result = (wxPaneInfo *) &_result_ref;
4742 }
4743 wxPyEndAllowThreads(__tstate);
4744 if (PyErr_Occurred()) SWIG_fail;
4745 }
4746 {
4747 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4748 }
4749 return resultobj;
4750 fail:
4751 return NULL;
4752 }
4753
4754
4755 SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4756 PyObject *resultobj = 0;
4757 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4758 bool arg2 = (bool) true ;
4759 wxPaneInfo *result = 0 ;
4760 void *argp1 = 0 ;
4761 int res1 = 0 ;
4762 bool val2 ;
4763 int ecode2 = 0 ;
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 char * kwnames[] = {
4767 (char *) "self",(char *) "show", NULL
4768 };
4769
4770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4774 }
4775 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4776 if (obj1) {
4777 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4778 if (!SWIG_IsOK(ecode2)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
4780 }
4781 arg2 = static_cast< bool >(val2);
4782 }
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 {
4786 wxPaneInfo &_result_ref = (arg1)->Show(arg2);
4787 result = (wxPaneInfo *) &_result_ref;
4788 }
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 {
4793 resultobj = obj0; Py_INCREF(resultobj);
4794 }
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4802 PyObject *resultobj = 0;
4803 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4804 bool arg2 = (bool) true ;
4805 wxPaneInfo *result = 0 ;
4806 void *argp1 = 0 ;
4807 int res1 = 0 ;
4808 bool val2 ;
4809 int ecode2 = 0 ;
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4812 char * kwnames[] = {
4813 (char *) "self",(char *) "visible", NULL
4814 };
4815
4816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
4817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4818 if (!SWIG_IsOK(res1)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4820 }
4821 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4822 if (obj1) {
4823 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4824 if (!SWIG_IsOK(ecode2)) {
4825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
4826 }
4827 arg2 = static_cast< bool >(val2);
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 {
4832 wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
4833 result = (wxPaneInfo *) &_result_ref;
4834 }
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 {
4839 resultobj = obj0; Py_INCREF(resultobj);
4840 }
4841 return resultobj;
4842 fail:
4843 return NULL;
4844 }
4845
4846
4847 SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj = 0;
4849 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4850 bool arg2 = (bool) true ;
4851 wxPaneInfo *result = 0 ;
4852 void *argp1 = 0 ;
4853 int res1 = 0 ;
4854 bool val2 ;
4855 int ecode2 = 0 ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 char * kwnames[] = {
4859 (char *) "self",(char *) "visible", NULL
4860 };
4861
4862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
4863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4864 if (!SWIG_IsOK(res1)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4866 }
4867 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4868 if (obj1) {
4869 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4870 if (!SWIG_IsOK(ecode2)) {
4871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
4872 }
4873 arg2 = static_cast< bool >(val2);
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 {
4878 wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
4879 result = (wxPaneInfo *) &_result_ref;
4880 }
4881 wxPyEndAllowThreads(__tstate);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 }
4884 {
4885 resultobj = obj0; Py_INCREF(resultobj);
4886 }
4887 return resultobj;
4888 fail:
4889 return NULL;
4890 }
4891
4892
4893 SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj = 0;
4895 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4896 bool arg2 = (bool) true ;
4897 wxPaneInfo *result = 0 ;
4898 void *argp1 = 0 ;
4899 int res1 = 0 ;
4900 bool val2 ;
4901 int ecode2 = 0 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char * kwnames[] = {
4905 (char *) "self",(char *) "visible", NULL
4906 };
4907
4908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
4909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4912 }
4913 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4914 if (obj1) {
4915 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4916 if (!SWIG_IsOK(ecode2)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
4918 }
4919 arg2 = static_cast< bool >(val2);
4920 }
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 {
4924 wxPaneInfo &_result_ref = (arg1)->Gripper(arg2);
4925 result = (wxPaneInfo *) &_result_ref;
4926 }
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 {
4931 resultobj = obj0; Py_INCREF(resultobj);
4932 }
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj = 0;
4941 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4942 bool arg2 = (bool) true ;
4943 wxPaneInfo *result = 0 ;
4944 void *argp1 = 0 ;
4945 int res1 = 0 ;
4946 bool val2 ;
4947 int ecode2 = 0 ;
4948 PyObject * obj0 = 0 ;
4949 PyObject * obj1 = 0 ;
4950 char * kwnames[] = {
4951 (char *) "self",(char *) "attop", NULL
4952 };
4953
4954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
4955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4956 if (!SWIG_IsOK(res1)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4958 }
4959 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4960 if (obj1) {
4961 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4962 if (!SWIG_IsOK(ecode2)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
4964 }
4965 arg2 = static_cast< bool >(val2);
4966 }
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 {
4970 wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
4971 result = (wxPaneInfo *) &_result_ref;
4972 }
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 {
4977 resultobj = obj0; Py_INCREF(resultobj);
4978 }
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj = 0;
4987 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4988 bool arg2 = (bool) true ;
4989 wxPaneInfo *result = 0 ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 bool val2 ;
4993 int ecode2 = 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 char * kwnames[] = {
4997 (char *) "self",(char *) "visible", NULL
4998 };
4999
5000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5004 }
5005 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5006 if (obj1) {
5007 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5008 if (!SWIG_IsOK(ecode2)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
5010 }
5011 arg2 = static_cast< bool >(val2);
5012 }
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 {
5016 wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
5017 result = (wxPaneInfo *) &_result_ref;
5018 }
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 {
5023 resultobj = obj0; Py_INCREF(resultobj);
5024 }
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5032 PyObject *resultobj = 0;
5033 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5034 bool arg2 = (bool) true ;
5035 wxPaneInfo *result = 0 ;
5036 void *argp1 = 0 ;
5037 int res1 = 0 ;
5038 bool val2 ;
5039 int ecode2 = 0 ;
5040 PyObject * obj0 = 0 ;
5041 PyObject * obj1 = 0 ;
5042 char * kwnames[] = {
5043 (char *) "self",(char *) "visible", NULL
5044 };
5045
5046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5048 if (!SWIG_IsOK(res1)) {
5049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5050 }
5051 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5052 if (obj1) {
5053 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5054 if (!SWIG_IsOK(ecode2)) {
5055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
5056 }
5057 arg2 = static_cast< bool >(val2);
5058 }
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 {
5062 wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
5063 result = (wxPaneInfo *) &_result_ref;
5064 }
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 {
5069 resultobj = obj0; Py_INCREF(resultobj);
5070 }
5071 return resultobj;
5072 fail:
5073 return NULL;
5074 }
5075
5076
5077 SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj = 0;
5079 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5080 bool arg2 = (bool) true ;
5081 wxPaneInfo *result = 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 bool val2 ;
5085 int ecode2 = 0 ;
5086 PyObject * obj0 = 0 ;
5087 PyObject * obj1 = 0 ;
5088 char * kwnames[] = {
5089 (char *) "self",(char *) "visible", NULL
5090 };
5091
5092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
5093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5094 if (!SWIG_IsOK(res1)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5096 }
5097 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5098 if (obj1) {
5099 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5100 if (!SWIG_IsOK(ecode2)) {
5101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
5102 }
5103 arg2 = static_cast< bool >(val2);
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 {
5108 wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
5109 result = (wxPaneInfo *) &_result_ref;
5110 }
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 {
5115 resultobj = obj0; Py_INCREF(resultobj);
5116 }
5117 return resultobj;
5118 fail:
5119 return NULL;
5120 }
5121
5122
5123 SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5124 PyObject *resultobj = 0;
5125 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5126 bool arg2 = (bool) true ;
5127 wxPaneInfo *result = 0 ;
5128 void *argp1 = 0 ;
5129 int res1 = 0 ;
5130 bool val2 ;
5131 int ecode2 = 0 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char * kwnames[] = {
5135 (char *) "self",(char *) "visible", NULL
5136 };
5137
5138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
5139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5140 if (!SWIG_IsOK(res1)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5142 }
5143 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5144 if (obj1) {
5145 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5146 if (!SWIG_IsOK(ecode2)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
5148 }
5149 arg2 = static_cast< bool >(val2);
5150 }
5151 {
5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
5153 {
5154 wxPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5155 result = (wxPaneInfo *) &_result_ref;
5156 }
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 {
5161 resultobj = obj0; Py_INCREF(resultobj);
5162 }
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5170 PyObject *resultobj = 0;
5171 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5172 bool arg2 = (bool) true ;
5173 wxPaneInfo *result = 0 ;
5174 void *argp1 = 0 ;
5175 int res1 = 0 ;
5176 bool val2 ;
5177 int ecode2 = 0 ;
5178 PyObject * obj0 = 0 ;
5179 PyObject * obj1 = 0 ;
5180 char * kwnames[] = {
5181 (char *) "self",(char *) "b", NULL
5182 };
5183
5184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5188 }
5189 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5190 if (obj1) {
5191 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5192 if (!SWIG_IsOK(ecode2)) {
5193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5194 }
5195 arg2 = static_cast< bool >(val2);
5196 }
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 {
5200 wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5201 result = (wxPaneInfo *) &_result_ref;
5202 }
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 resultobj = obj0; Py_INCREF(resultobj);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj = 0;
5217 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5218 bool arg2 = (bool) true ;
5219 wxPaneInfo *result = 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 bool val2 ;
5223 int ecode2 = 0 ;
5224 PyObject * obj0 = 0 ;
5225 PyObject * obj1 = 0 ;
5226 char * kwnames[] = {
5227 (char *) "self",(char *) "b", NULL
5228 };
5229
5230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5234 }
5235 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5236 if (obj1) {
5237 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5238 if (!SWIG_IsOK(ecode2)) {
5239 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5240 }
5241 arg2 = static_cast< bool >(val2);
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 {
5246 wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5247 result = (wxPaneInfo *) &_result_ref;
5248 }
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 {
5253 resultobj = obj0; Py_INCREF(resultobj);
5254 }
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj = 0;
5263 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5264 bool arg2 = (bool) true ;
5265 wxPaneInfo *result = 0 ;
5266 void *argp1 = 0 ;
5267 int res1 = 0 ;
5268 bool val2 ;
5269 int ecode2 = 0 ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 char * kwnames[] = {
5273 (char *) "self",(char *) "b", NULL
5274 };
5275
5276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5278 if (!SWIG_IsOK(res1)) {
5279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5280 }
5281 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5282 if (obj1) {
5283 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5284 if (!SWIG_IsOK(ecode2)) {
5285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5286 }
5287 arg2 = static_cast< bool >(val2);
5288 }
5289 {
5290 PyThreadState* __tstate = wxPyBeginAllowThreads();
5291 {
5292 wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5293 result = (wxPaneInfo *) &_result_ref;
5294 }
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 {
5299 resultobj = obj0; Py_INCREF(resultobj);
5300 }
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj = 0;
5309 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5310 bool arg2 = (bool) true ;
5311 wxPaneInfo *result = 0 ;
5312 void *argp1 = 0 ;
5313 int res1 = 0 ;
5314 bool val2 ;
5315 int ecode2 = 0 ;
5316 PyObject * obj0 = 0 ;
5317 PyObject * obj1 = 0 ;
5318 char * kwnames[] = {
5319 (char *) "self",(char *) "b", NULL
5320 };
5321
5322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5324 if (!SWIG_IsOK(res1)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5326 }
5327 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5328 if (obj1) {
5329 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5330 if (!SWIG_IsOK(ecode2)) {
5331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5332 }
5333 arg2 = static_cast< bool >(val2);
5334 }
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 {
5338 wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5339 result = (wxPaneInfo *) &_result_ref;
5340 }
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 {
5345 resultobj = obj0; Py_INCREF(resultobj);
5346 }
5347 return resultobj;
5348 fail:
5349 return NULL;
5350 }
5351
5352
5353 SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj = 0;
5355 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5356 bool arg2 = (bool) true ;
5357 wxPaneInfo *result = 0 ;
5358 void *argp1 = 0 ;
5359 int res1 = 0 ;
5360 bool val2 ;
5361 int ecode2 = 0 ;
5362 PyObject * obj0 = 0 ;
5363 PyObject * obj1 = 0 ;
5364 char * kwnames[] = {
5365 (char *) "self",(char *) "b", NULL
5366 };
5367
5368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5370 if (!SWIG_IsOK(res1)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5372 }
5373 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5374 if (obj1) {
5375 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5376 if (!SWIG_IsOK(ecode2)) {
5377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5378 }
5379 arg2 = static_cast< bool >(val2);
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 {
5384 wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5385 result = (wxPaneInfo *) &_result_ref;
5386 }
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 {
5391 resultobj = obj0; Py_INCREF(resultobj);
5392 }
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj = 0;
5401 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5402 bool arg2 = (bool) true ;
5403 wxPaneInfo *result = 0 ;
5404 void *argp1 = 0 ;
5405 int res1 = 0 ;
5406 bool val2 ;
5407 int ecode2 = 0 ;
5408 PyObject * obj0 = 0 ;
5409 PyObject * obj1 = 0 ;
5410 char * kwnames[] = {
5411 (char *) "self",(char *) "b", NULL
5412 };
5413
5414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5416 if (!SWIG_IsOK(res1)) {
5417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5418 }
5419 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5420 if (obj1) {
5421 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5422 if (!SWIG_IsOK(ecode2)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5424 }
5425 arg2 = static_cast< bool >(val2);
5426 }
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 {
5430 wxPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5431 result = (wxPaneInfo *) &_result_ref;
5432 }
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 resultobj = obj0; Py_INCREF(resultobj);
5438 }
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj = 0;
5447 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5448 bool arg2 = (bool) true ;
5449 wxPaneInfo *result = 0 ;
5450 void *argp1 = 0 ;
5451 int res1 = 0 ;
5452 bool val2 ;
5453 int ecode2 = 0 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char * kwnames[] = {
5457 (char *) "self",(char *) "b", NULL
5458 };
5459
5460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5464 }
5465 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5466 if (obj1) {
5467 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5468 if (!SWIG_IsOK(ecode2)) {
5469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5470 }
5471 arg2 = static_cast< bool >(val2);
5472 }
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 {
5476 wxPaneInfo &_result_ref = (arg1)->Movable(arg2);
5477 result = (wxPaneInfo *) &_result_ref;
5478 }
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 resultobj = obj0; Py_INCREF(resultobj);
5484 }
5485 return resultobj;
5486 fail:
5487 return NULL;
5488 }
5489
5490
5491 SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj = 0;
5493 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5494 bool arg2 = (bool) true ;
5495 wxPaneInfo *result = 0 ;
5496 void *argp1 = 0 ;
5497 int res1 = 0 ;
5498 bool val2 ;
5499 int ecode2 = 0 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char * kwnames[] = {
5503 (char *) "self",(char *) "b", NULL
5504 };
5505
5506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5508 if (!SWIG_IsOK(res1)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5510 }
5511 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5512 if (obj1) {
5513 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5514 if (!SWIG_IsOK(ecode2)) {
5515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5516 }
5517 arg2 = static_cast< bool >(val2);
5518 }
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 {
5522 wxPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5523 result = (wxPaneInfo *) &_result_ref;
5524 }
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529 resultobj = obj0; Py_INCREF(resultobj);
5530 }
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5538 PyObject *resultobj = 0;
5539 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5540 wxPaneInfo *result = 0 ;
5541 void *argp1 = 0 ;
5542 int res1 = 0 ;
5543 PyObject *swig_obj[1] ;
5544
5545 if (!args) SWIG_fail;
5546 swig_obj[0] = args;
5547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5548 if (!SWIG_IsOK(res1)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5550 }
5551 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 {
5555 wxPaneInfo &_result_ref = (arg1)->DefaultPane();
5556 result = (wxPaneInfo *) &_result_ref;
5557 }
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 {
5562 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5563 }
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5571 PyObject *resultobj = 0;
5572 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5573 wxPaneInfo *result = 0 ;
5574 void *argp1 = 0 ;
5575 int res1 = 0 ;
5576 PyObject *swig_obj[1] ;
5577
5578 if (!args) SWIG_fail;
5579 swig_obj[0] = args;
5580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5581 if (!SWIG_IsOK(res1)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5583 }
5584 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 {
5588 wxPaneInfo &_result_ref = (arg1)->CentrePane();
5589 result = (wxPaneInfo *) &_result_ref;
5590 }
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 {
5595 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5596 }
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5604 PyObject *resultobj = 0;
5605 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5606 wxPaneInfo *result = 0 ;
5607 void *argp1 = 0 ;
5608 int res1 = 0 ;
5609 PyObject *swig_obj[1] ;
5610
5611 if (!args) SWIG_fail;
5612 swig_obj[0] = args;
5613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5614 if (!SWIG_IsOK(res1)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5616 }
5617 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5618 {
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 {
5621 wxPaneInfo &_result_ref = (arg1)->CenterPane();
5622 result = (wxPaneInfo *) &_result_ref;
5623 }
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 {
5628 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5629 }
5630 return resultobj;
5631 fail:
5632 return NULL;
5633 }
5634
5635
5636 SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5637 PyObject *resultobj = 0;
5638 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5639 wxPaneInfo *result = 0 ;
5640 void *argp1 = 0 ;
5641 int res1 = 0 ;
5642 PyObject *swig_obj[1] ;
5643
5644 if (!args) SWIG_fail;
5645 swig_obj[0] = args;
5646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5647 if (!SWIG_IsOK(res1)) {
5648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5649 }
5650 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 {
5654 wxPaneInfo &_result_ref = (arg1)->ToolbarPane();
5655 result = (wxPaneInfo *) &_result_ref;
5656 }
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
5661 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5662 }
5663 return resultobj;
5664 fail:
5665 return NULL;
5666 }
5667
5668
5669 SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5670 PyObject *resultobj = 0;
5671 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5672 int arg2 ;
5673 bool arg3 ;
5674 wxPaneInfo *result = 0 ;
5675 void *argp1 = 0 ;
5676 int res1 = 0 ;
5677 int val2 ;
5678 int ecode2 = 0 ;
5679 bool val3 ;
5680 int ecode3 = 0 ;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 PyObject * obj2 = 0 ;
5684 char * kwnames[] = {
5685 (char *) "self",(char *) "flag",(char *) "option_state", NULL
5686 };
5687
5688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5690 if (!SWIG_IsOK(res1)) {
5691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5692 }
5693 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5694 ecode2 = SWIG_AsVal_int(obj1, &val2);
5695 if (!SWIG_IsOK(ecode2)) {
5696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
5697 }
5698 arg2 = static_cast< int >(val2);
5699 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5700 if (!SWIG_IsOK(ecode3)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
5702 }
5703 arg3 = static_cast< bool >(val3);
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 {
5707 wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
5708 result = (wxPaneInfo *) &_result_ref;
5709 }
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 {
5714 resultobj = obj0; Py_INCREF(resultobj);
5715 }
5716 return resultobj;
5717 fail:
5718 return NULL;
5719 }
5720
5721
5722 SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj = 0;
5724 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5725 int arg2 ;
5726 bool result;
5727 void *argp1 = 0 ;
5728 int res1 = 0 ;
5729 int val2 ;
5730 int ecode2 = 0 ;
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 char * kwnames[] = {
5734 (char *) "self",(char *) "flag", NULL
5735 };
5736
5737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5739 if (!SWIG_IsOK(res1)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
5741 }
5742 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5743 ecode2 = SWIG_AsVal_int(obj1, &val2);
5744 if (!SWIG_IsOK(ecode2)) {
5745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
5746 }
5747 arg2 = static_cast< int >(val2);
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2);
5751 wxPyEndAllowThreads(__tstate);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 {
5755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5756 }
5757 return resultobj;
5758 fail:
5759 return NULL;
5760 }
5761
5762
5763 SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5764 PyObject *resultobj = 0;
5765 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5766 wxString *arg2 = (wxString *) 0 ;
5767 void *argp1 = 0 ;
5768 int res1 = 0 ;
5769 bool temp2 = false ;
5770 PyObject *swig_obj[2] ;
5771
5772 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
5773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5774 if (!SWIG_IsOK(res1)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5776 }
5777 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5778 {
5779 arg2 = wxString_in_helper(swig_obj[1]);
5780 if (arg2 == NULL) SWIG_fail;
5781 temp2 = true;
5782 }
5783 if (arg1) (arg1)->name = *arg2;
5784
5785 resultobj = SWIG_Py_Void();
5786 {
5787 if (temp2)
5788 delete arg2;
5789 }
5790 return resultobj;
5791 fail:
5792 {
5793 if (temp2)
5794 delete arg2;
5795 }
5796 return NULL;
5797 }
5798
5799
5800 SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5801 PyObject *resultobj = 0;
5802 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5803 wxString *result = 0 ;
5804 void *argp1 = 0 ;
5805 int res1 = 0 ;
5806 PyObject *swig_obj[1] ;
5807
5808 if (!args) SWIG_fail;
5809 swig_obj[0] = args;
5810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5811 if (!SWIG_IsOK(res1)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5813 }
5814 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5815 result = (wxString *)& ((arg1)->name);
5816 {
5817 #if wxUSE_UNICODE
5818 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5819 #else
5820 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5821 #endif
5822 }
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5830 PyObject *resultobj = 0;
5831 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5832 wxString *arg2 = (wxString *) 0 ;
5833 void *argp1 = 0 ;
5834 int res1 = 0 ;
5835 bool temp2 = false ;
5836 PyObject *swig_obj[2] ;
5837
5838 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
5839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5840 if (!SWIG_IsOK(res1)) {
5841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5842 }
5843 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5844 {
5845 arg2 = wxString_in_helper(swig_obj[1]);
5846 if (arg2 == NULL) SWIG_fail;
5847 temp2 = true;
5848 }
5849 if (arg1) (arg1)->caption = *arg2;
5850
5851 resultobj = SWIG_Py_Void();
5852 {
5853 if (temp2)
5854 delete arg2;
5855 }
5856 return resultobj;
5857 fail:
5858 {
5859 if (temp2)
5860 delete arg2;
5861 }
5862 return NULL;
5863 }
5864
5865
5866 SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5867 PyObject *resultobj = 0;
5868 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5869 wxString *result = 0 ;
5870 void *argp1 = 0 ;
5871 int res1 = 0 ;
5872 PyObject *swig_obj[1] ;
5873
5874 if (!args) SWIG_fail;
5875 swig_obj[0] = args;
5876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5877 if (!SWIG_IsOK(res1)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5879 }
5880 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5881 result = (wxString *)& ((arg1)->caption);
5882 {
5883 #if wxUSE_UNICODE
5884 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5885 #else
5886 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5887 #endif
5888 }
5889 return resultobj;
5890 fail:
5891 return NULL;
5892 }
5893
5894
5895 SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5896 PyObject *resultobj = 0;
5897 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5898 wxWindow *arg2 = (wxWindow *) 0 ;
5899 void *argp1 = 0 ;
5900 int res1 = 0 ;
5901 void *argp2 = 0 ;
5902 int res2 = 0 ;
5903 PyObject *swig_obj[2] ;
5904
5905 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
5906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5909 }
5910 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5911 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
5912 if (!SWIG_IsOK(res2)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
5914 }
5915 arg2 = reinterpret_cast< wxWindow * >(argp2);
5916 if (arg1) (arg1)->window = arg2;
5917
5918 resultobj = SWIG_Py_Void();
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5926 PyObject *resultobj = 0;
5927 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5928 wxWindow *result = 0 ;
5929 void *argp1 = 0 ;
5930 int res1 = 0 ;
5931 PyObject *swig_obj[1] ;
5932
5933 if (!args) SWIG_fail;
5934 swig_obj[0] = args;
5935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5936 if (!SWIG_IsOK(res1)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5938 }
5939 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5940 result = (wxWindow *) ((arg1)->window);
5941 {
5942 resultobj = wxPyMake_wxObject(result, 0);
5943 }
5944 return resultobj;
5945 fail:
5946 return NULL;
5947 }
5948
5949
5950 SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5951 PyObject *resultobj = 0;
5952 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5953 wxFrame *arg2 = (wxFrame *) 0 ;
5954 void *argp1 = 0 ;
5955 int res1 = 0 ;
5956 void *argp2 = 0 ;
5957 int res2 = 0 ;
5958 PyObject *swig_obj[2] ;
5959
5960 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
5961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5962 if (!SWIG_IsOK(res1)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5964 }
5965 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5966 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
5967 if (!SWIG_IsOK(res2)) {
5968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
5969 }
5970 arg2 = reinterpret_cast< wxFrame * >(argp2);
5971 if (arg1) (arg1)->frame = arg2;
5972
5973 resultobj = SWIG_Py_Void();
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5981 PyObject *resultobj = 0;
5982 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5983 wxFrame *result = 0 ;
5984 void *argp1 = 0 ;
5985 int res1 = 0 ;
5986 PyObject *swig_obj[1] ;
5987
5988 if (!args) SWIG_fail;
5989 swig_obj[0] = args;
5990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5991 if (!SWIG_IsOK(res1)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5993 }
5994 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5995 result = (wxFrame *) ((arg1)->frame);
5996 {
5997 resultobj = wxPyMake_wxObject(result, 0);
5998 }
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6006 PyObject *resultobj = 0;
6007 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6008 int arg2 ;
6009 void *argp1 = 0 ;
6010 int res1 = 0 ;
6011 int val2 ;
6012 int ecode2 = 0 ;
6013 PyObject *swig_obj[2] ;
6014
6015 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
6016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6017 if (!SWIG_IsOK(res1)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6019 }
6020 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6021 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6022 if (!SWIG_IsOK(ecode2)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
6024 }
6025 arg2 = static_cast< int >(val2);
6026 if (arg1) (arg1)->state = arg2;
6027
6028 resultobj = SWIG_Py_Void();
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6036 PyObject *resultobj = 0;
6037 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6038 int result;
6039 void *argp1 = 0 ;
6040 int res1 = 0 ;
6041 PyObject *swig_obj[1] ;
6042
6043 if (!args) SWIG_fail;
6044 swig_obj[0] = args;
6045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6046 if (!SWIG_IsOK(res1)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6048 }
6049 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6050 result = (int) ((arg1)->state);
6051 resultobj = SWIG_From_int(static_cast< int >(result));
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6059 PyObject *resultobj = 0;
6060 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6061 int arg2 ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 int val2 ;
6065 int ecode2 = 0 ;
6066 PyObject *swig_obj[2] ;
6067
6068 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
6069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6070 if (!SWIG_IsOK(res1)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6072 }
6073 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6074 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6075 if (!SWIG_IsOK(ecode2)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
6077 }
6078 arg2 = static_cast< int >(val2);
6079 if (arg1) (arg1)->dock_direction = arg2;
6080
6081 resultobj = SWIG_Py_Void();
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6089 PyObject *resultobj = 0;
6090 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6091 int result;
6092 void *argp1 = 0 ;
6093 int res1 = 0 ;
6094 PyObject *swig_obj[1] ;
6095
6096 if (!args) SWIG_fail;
6097 swig_obj[0] = args;
6098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6099 if (!SWIG_IsOK(res1)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6101 }
6102 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6103 result = (int) ((arg1)->dock_direction);
6104 resultobj = SWIG_From_int(static_cast< int >(result));
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6112 PyObject *resultobj = 0;
6113 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6114 int arg2 ;
6115 void *argp1 = 0 ;
6116 int res1 = 0 ;
6117 int val2 ;
6118 int ecode2 = 0 ;
6119 PyObject *swig_obj[2] ;
6120
6121 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
6122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6123 if (!SWIG_IsOK(res1)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6125 }
6126 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6127 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6128 if (!SWIG_IsOK(ecode2)) {
6129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
6130 }
6131 arg2 = static_cast< int >(val2);
6132 if (arg1) (arg1)->dock_layer = arg2;
6133
6134 resultobj = SWIG_Py_Void();
6135 return resultobj;
6136 fail:
6137 return NULL;
6138 }
6139
6140
6141 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6142 PyObject *resultobj = 0;
6143 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6144 int result;
6145 void *argp1 = 0 ;
6146 int res1 = 0 ;
6147 PyObject *swig_obj[1] ;
6148
6149 if (!args) SWIG_fail;
6150 swig_obj[0] = args;
6151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6154 }
6155 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6156 result = (int) ((arg1)->dock_layer);
6157 resultobj = SWIG_From_int(static_cast< int >(result));
6158 return resultobj;
6159 fail:
6160 return NULL;
6161 }
6162
6163
6164 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6165 PyObject *resultobj = 0;
6166 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6167 int arg2 ;
6168 void *argp1 = 0 ;
6169 int res1 = 0 ;
6170 int val2 ;
6171 int ecode2 = 0 ;
6172 PyObject *swig_obj[2] ;
6173
6174 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6176 if (!SWIG_IsOK(res1)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6178 }
6179 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6180 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6181 if (!SWIG_IsOK(ecode2)) {
6182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6183 }
6184 arg2 = static_cast< int >(val2);
6185 if (arg1) (arg1)->dock_row = arg2;
6186
6187 resultobj = SWIG_Py_Void();
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6195 PyObject *resultobj = 0;
6196 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6197 int result;
6198 void *argp1 = 0 ;
6199 int res1 = 0 ;
6200 PyObject *swig_obj[1] ;
6201
6202 if (!args) SWIG_fail;
6203 swig_obj[0] = args;
6204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6205 if (!SWIG_IsOK(res1)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6207 }
6208 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6209 result = (int) ((arg1)->dock_row);
6210 resultobj = SWIG_From_int(static_cast< int >(result));
6211 return resultobj;
6212 fail:
6213 return NULL;
6214 }
6215
6216
6217 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6218 PyObject *resultobj = 0;
6219 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6220 int arg2 ;
6221 void *argp1 = 0 ;
6222 int res1 = 0 ;
6223 int val2 ;
6224 int ecode2 = 0 ;
6225 PyObject *swig_obj[2] ;
6226
6227 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6229 if (!SWIG_IsOK(res1)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6231 }
6232 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6233 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6234 if (!SWIG_IsOK(ecode2)) {
6235 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6236 }
6237 arg2 = static_cast< int >(val2);
6238 if (arg1) (arg1)->dock_pos = arg2;
6239
6240 resultobj = SWIG_Py_Void();
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6248 PyObject *resultobj = 0;
6249 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6250 int result;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 PyObject *swig_obj[1] ;
6254
6255 if (!args) SWIG_fail;
6256 swig_obj[0] = args;
6257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6258 if (!SWIG_IsOK(res1)) {
6259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6260 }
6261 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6262 result = (int) ((arg1)->dock_pos);
6263 resultobj = SWIG_From_int(static_cast< int >(result));
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6271 PyObject *resultobj = 0;
6272 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6273 wxSize *arg2 = (wxSize *) 0 ;
6274 void *argp1 = 0 ;
6275 int res1 = 0 ;
6276 void *argp2 = 0 ;
6277 int res2 = 0 ;
6278 PyObject *swig_obj[2] ;
6279
6280 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6284 }
6285 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6286 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6287 if (!SWIG_IsOK(res2)) {
6288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6289 }
6290 arg2 = reinterpret_cast< wxSize * >(argp2);
6291 if (arg1) (arg1)->best_size = *arg2;
6292
6293 resultobj = SWIG_Py_Void();
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6301 PyObject *resultobj = 0;
6302 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6303 wxSize *result = 0 ;
6304 void *argp1 = 0 ;
6305 int res1 = 0 ;
6306 PyObject *swig_obj[1] ;
6307
6308 if (!args) SWIG_fail;
6309 swig_obj[0] = args;
6310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6311 if (!SWIG_IsOK(res1)) {
6312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6313 }
6314 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6315 result = (wxSize *)& ((arg1)->best_size);
6316 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6324 PyObject *resultobj = 0;
6325 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6326 wxSize *arg2 = (wxSize *) 0 ;
6327 void *argp1 = 0 ;
6328 int res1 = 0 ;
6329 void *argp2 = 0 ;
6330 int res2 = 0 ;
6331 PyObject *swig_obj[2] ;
6332
6333 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6335 if (!SWIG_IsOK(res1)) {
6336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6337 }
6338 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6339 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6340 if (!SWIG_IsOK(res2)) {
6341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6342 }
6343 arg2 = reinterpret_cast< wxSize * >(argp2);
6344 if (arg1) (arg1)->min_size = *arg2;
6345
6346 resultobj = SWIG_Py_Void();
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6354 PyObject *resultobj = 0;
6355 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6356 wxSize *result = 0 ;
6357 void *argp1 = 0 ;
6358 int res1 = 0 ;
6359 PyObject *swig_obj[1] ;
6360
6361 if (!args) SWIG_fail;
6362 swig_obj[0] = args;
6363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6364 if (!SWIG_IsOK(res1)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6366 }
6367 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6368 result = (wxSize *)& ((arg1)->min_size);
6369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6377 PyObject *resultobj = 0;
6378 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6379 wxSize *arg2 = (wxSize *) 0 ;
6380 void *argp1 = 0 ;
6381 int res1 = 0 ;
6382 void *argp2 = 0 ;
6383 int res2 = 0 ;
6384 PyObject *swig_obj[2] ;
6385
6386 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6388 if (!SWIG_IsOK(res1)) {
6389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6390 }
6391 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6392 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6393 if (!SWIG_IsOK(res2)) {
6394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6395 }
6396 arg2 = reinterpret_cast< wxSize * >(argp2);
6397 if (arg1) (arg1)->max_size = *arg2;
6398
6399 resultobj = SWIG_Py_Void();
6400 return resultobj;
6401 fail:
6402 return NULL;
6403 }
6404
6405
6406 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6407 PyObject *resultobj = 0;
6408 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6409 wxSize *result = 0 ;
6410 void *argp1 = 0 ;
6411 int res1 = 0 ;
6412 PyObject *swig_obj[1] ;
6413
6414 if (!args) SWIG_fail;
6415 swig_obj[0] = args;
6416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6417 if (!SWIG_IsOK(res1)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6419 }
6420 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6421 result = (wxSize *)& ((arg1)->max_size);
6422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6430 PyObject *resultobj = 0;
6431 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6432 wxPoint *arg2 = (wxPoint *) 0 ;
6433 void *argp1 = 0 ;
6434 int res1 = 0 ;
6435 void *argp2 = 0 ;
6436 int res2 = 0 ;
6437 PyObject *swig_obj[2] ;
6438
6439 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6441 if (!SWIG_IsOK(res1)) {
6442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6443 }
6444 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6445 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6446 if (!SWIG_IsOK(res2)) {
6447 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6448 }
6449 arg2 = reinterpret_cast< wxPoint * >(argp2);
6450 if (arg1) (arg1)->floating_pos = *arg2;
6451
6452 resultobj = SWIG_Py_Void();
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6460 PyObject *resultobj = 0;
6461 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6462 wxPoint *result = 0 ;
6463 void *argp1 = 0 ;
6464 int res1 = 0 ;
6465 PyObject *swig_obj[1] ;
6466
6467 if (!args) SWIG_fail;
6468 swig_obj[0] = args;
6469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6470 if (!SWIG_IsOK(res1)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6472 }
6473 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6474 result = (wxPoint *)& ((arg1)->floating_pos);
6475 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6483 PyObject *resultobj = 0;
6484 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6485 wxSize *arg2 = (wxSize *) 0 ;
6486 void *argp1 = 0 ;
6487 int res1 = 0 ;
6488 void *argp2 = 0 ;
6489 int res2 = 0 ;
6490 PyObject *swig_obj[2] ;
6491
6492 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6494 if (!SWIG_IsOK(res1)) {
6495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6496 }
6497 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6498 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6499 if (!SWIG_IsOK(res2)) {
6500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6501 }
6502 arg2 = reinterpret_cast< wxSize * >(argp2);
6503 if (arg1) (arg1)->floating_size = *arg2;
6504
6505 resultobj = SWIG_Py_Void();
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6513 PyObject *resultobj = 0;
6514 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6515 wxSize *result = 0 ;
6516 void *argp1 = 0 ;
6517 int res1 = 0 ;
6518 PyObject *swig_obj[1] ;
6519
6520 if (!args) SWIG_fail;
6521 swig_obj[0] = args;
6522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6523 if (!SWIG_IsOK(res1)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6525 }
6526 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6527 result = (wxSize *)& ((arg1)->floating_size);
6528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6529 return resultobj;
6530 fail:
6531 return NULL;
6532 }
6533
6534
6535 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6536 PyObject *resultobj = 0;
6537 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6538 int arg2 ;
6539 void *argp1 = 0 ;
6540 int res1 = 0 ;
6541 int val2 ;
6542 int ecode2 = 0 ;
6543 PyObject *swig_obj[2] ;
6544
6545 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6547 if (!SWIG_IsOK(res1)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6549 }
6550 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6551 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6552 if (!SWIG_IsOK(ecode2)) {
6553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6554 }
6555 arg2 = static_cast< int >(val2);
6556 if (arg1) (arg1)->dock_proportion = arg2;
6557
6558 resultobj = SWIG_Py_Void();
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6566 PyObject *resultobj = 0;
6567 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6568 int result;
6569 void *argp1 = 0 ;
6570 int res1 = 0 ;
6571 PyObject *swig_obj[1] ;
6572
6573 if (!args) SWIG_fail;
6574 swig_obj[0] = args;
6575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6576 if (!SWIG_IsOK(res1)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6578 }
6579 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6580 result = (int) ((arg1)->dock_proportion);
6581 resultobj = SWIG_From_int(static_cast< int >(result));
6582 return resultobj;
6583 fail:
6584 return NULL;
6585 }
6586
6587
6588 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6589 PyObject *resultobj = 0;
6590 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6591 wxPaneButtonArray arg2 ;
6592 void *argp1 = 0 ;
6593 int res1 = 0 ;
6594 void *argp2 ;
6595 int res2 = 0 ;
6596 PyObject *swig_obj[2] ;
6597
6598 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6602 }
6603 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6604 {
6605 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0);
6606 if (!SWIG_IsOK(res2)) {
6607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6608 }
6609 if (!argp2) {
6610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6611 } else {
6612 wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2);
6613 arg2 = *temp;
6614 if (SWIG_IsNewObj(res2)) delete temp;
6615 }
6616 }
6617 if (arg1) (arg1)->buttons = arg2;
6618
6619 resultobj = SWIG_Py_Void();
6620 return resultobj;
6621 fail:
6622 return NULL;
6623 }
6624
6625
6626 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6627 PyObject *resultobj = 0;
6628 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6629 wxPaneButtonArray result;
6630 void *argp1 = 0 ;
6631 int res1 = 0 ;
6632 PyObject *swig_obj[1] ;
6633
6634 if (!args) SWIG_fail;
6635 swig_obj[0] = args;
6636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6637 if (!SWIG_IsOK(res1)) {
6638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6639 }
6640 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6641 result = ((arg1)->buttons);
6642 resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 );
6643 return resultobj;
6644 fail:
6645 return NULL;
6646 }
6647
6648
6649 SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6650 PyObject *resultobj = 0;
6651 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6652 wxRect *arg2 = (wxRect *) 0 ;
6653 void *argp1 = 0 ;
6654 int res1 = 0 ;
6655 void *argp2 = 0 ;
6656 int res2 = 0 ;
6657 PyObject *swig_obj[2] ;
6658
6659 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
6660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6661 if (!SWIG_IsOK(res1)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6663 }
6664 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6665 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
6666 if (!SWIG_IsOK(res2)) {
6667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
6668 }
6669 arg2 = reinterpret_cast< wxRect * >(argp2);
6670 if (arg1) (arg1)->rect = *arg2;
6671
6672 resultobj = SWIG_Py_Void();
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6680 PyObject *resultobj = 0;
6681 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6682 wxRect *result = 0 ;
6683 void *argp1 = 0 ;
6684 int res1 = 0 ;
6685 PyObject *swig_obj[1] ;
6686
6687 if (!args) SWIG_fail;
6688 swig_obj[0] = args;
6689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6690 if (!SWIG_IsOK(res1)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6692 }
6693 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6694 result = (wxRect *)& ((arg1)->rect);
6695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
6696 return resultobj;
6697 fail:
6698 return NULL;
6699 }
6700
6701
6702 SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6703 PyObject *obj;
6704 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj));
6706 return SWIG_Py_Void();
6707 }
6708
6709 SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6710 return SWIG_Python_InitShadowInstance(args);
6711 }
6712
6713 SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj = 0;
6715 wxWindow *arg1 = (wxWindow *) NULL ;
6716 int arg2 = (int) wxAUI_MGR_DEFAULT ;
6717 wxFrameManager *result = 0 ;
6718 void *argp1 = 0 ;
6719 int res1 = 0 ;
6720 int val2 ;
6721 int ecode2 = 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 char * kwnames[] = {
6725 (char *) "managed_wnd",(char *) "flags", NULL
6726 };
6727
6728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
6729 if (obj0) {
6730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
6733 }
6734 arg1 = reinterpret_cast< wxWindow * >(argp1);
6735 }
6736 if (obj1) {
6737 ecode2 = SWIG_AsVal_int(obj1, &val2);
6738 if (!SWIG_IsOK(ecode2)) {
6739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'");
6740 }
6741 arg2 = static_cast< int >(val2);
6742 }
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (wxFrameManager *)new wxFrameManager(arg1,arg2);
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 );
6750 return resultobj;
6751 fail:
6752 return NULL;
6753 }
6754
6755
6756 SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6757 PyObject *resultobj = 0;
6758 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6759 void *argp1 = 0 ;
6760 int res1 = 0 ;
6761 PyObject *swig_obj[1] ;
6762
6763 if (!args) SWIG_fail;
6764 swig_obj[0] = args;
6765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 );
6766 if (!SWIG_IsOK(res1)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6768 }
6769 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 delete arg1;
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6785 PyObject *resultobj = 0;
6786 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6787 void *argp1 = 0 ;
6788 int res1 = 0 ;
6789 PyObject *swig_obj[1] ;
6790
6791 if (!args) SWIG_fail;
6792 swig_obj[0] = args;
6793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6794 if (!SWIG_IsOK(res1)) {
6795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6796 }
6797 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->UnInit();
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 resultobj = SWIG_Py_Void();
6805 return resultobj;
6806 fail:
6807 return NULL;
6808 }
6809
6810
6811 SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj = 0;
6813 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6814 int arg2 ;
6815 void *argp1 = 0 ;
6816 int res1 = 0 ;
6817 int val2 ;
6818 int ecode2 = 0 ;
6819 PyObject * obj0 = 0 ;
6820 PyObject * obj1 = 0 ;
6821 char * kwnames[] = {
6822 (char *) "self",(char *) "flags", NULL
6823 };
6824
6825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
6826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6827 if (!SWIG_IsOK(res1)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6829 }
6830 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6831 ecode2 = SWIG_AsVal_int(obj1, &val2);
6832 if (!SWIG_IsOK(ecode2)) {
6833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
6834 }
6835 arg2 = static_cast< int >(val2);
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 (arg1)->SetFlags(arg2);
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 resultobj = SWIG_Py_Void();
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6850 PyObject *resultobj = 0;
6851 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6852 int result;
6853 void *argp1 = 0 ;
6854 int res1 = 0 ;
6855 PyObject *swig_obj[1] ;
6856
6857 if (!args) SWIG_fail;
6858 swig_obj[0] = args;
6859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6860 if (!SWIG_IsOK(res1)) {
6861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6862 }
6863 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (int)((wxFrameManager const *)arg1)->GetFlags();
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_From_int(static_cast< int >(result));
6871 return resultobj;
6872 fail:
6873 return NULL;
6874 }
6875
6876
6877 SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj = 0;
6879 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6880 wxWindow *arg2 = (wxWindow *) 0 ;
6881 void *argp1 = 0 ;
6882 int res1 = 0 ;
6883 void *argp2 = 0 ;
6884 int res2 = 0 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char * kwnames[] = {
6888 (char *) "self",(char *) "managed_wnd", NULL
6889 };
6890
6891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
6892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6893 if (!SWIG_IsOK(res1)) {
6894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6895 }
6896 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6897 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6898 if (!SWIG_IsOK(res2)) {
6899 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
6900 }
6901 arg2 = reinterpret_cast< wxWindow * >(argp2);
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->SetManagedWindow(arg2);
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_Py_Void();
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6916 PyObject *resultobj = 0;
6917 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6918 wxWindow *result = 0 ;
6919 void *argp1 = 0 ;
6920 int res1 = 0 ;
6921 PyObject *swig_obj[1] ;
6922
6923 if (!args) SWIG_fail;
6924 swig_obj[0] = args;
6925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6926 if (!SWIG_IsOK(res1)) {
6927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6928 }
6929 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 {
6937 resultobj = wxPyMake_wxObject(result, 0);
6938 }
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6946 PyObject *resultobj = 0;
6947 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6948 wxDockArt *arg2 = (wxDockArt *) 0 ;
6949 void *argp1 = 0 ;
6950 int res1 = 0 ;
6951 int res2 = 0 ;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 char * kwnames[] = {
6955 (char *) "self",(char *) "art_provider", NULL
6956 };
6957
6958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
6959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6960 if (!SWIG_IsOK(res1)) {
6961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6962 }
6963 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6964 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
6965 if (!SWIG_IsOK(res2)) {
6966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'");
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->SetArtProvider(arg2);
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 resultobj = SWIG_Py_Void();
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6982 PyObject *resultobj = 0;
6983 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6984 wxDockArt *result = 0 ;
6985 void *argp1 = 0 ;
6986 int res1 = 0 ;
6987 PyObject *swig_obj[1] ;
6988
6989 if (!args) SWIG_fail;
6990 swig_obj[0] = args;
6991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6992 if (!SWIG_IsOK(res1)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6994 }
6995 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider();
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 );
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj = 0;
7011 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7012 wxWindow *arg2 = (wxWindow *) 0 ;
7013 wxPaneInfo *result = 0 ;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
7016 void *argp2 = 0 ;
7017 int res2 = 0 ;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 char * kwnames[] = {
7021 (char *) "self",(char *) "window", NULL
7022 };
7023
7024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
7025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7026 if (!SWIG_IsOK(res1)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7028 }
7029 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7031 if (!SWIG_IsOK(res2)) {
7032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
7033 }
7034 arg2 = reinterpret_cast< wxWindow * >(argp2);
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 {
7038 wxPaneInfo &_result_ref = (arg1)->GetPane(arg2);
7039 result = (wxPaneInfo *) &_result_ref;
7040 }
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7045 return resultobj;
7046 fail:
7047 return NULL;
7048 }
7049
7050
7051 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj = 0;
7053 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7054 wxString *arg2 = 0 ;
7055 wxPaneInfo *result = 0 ;
7056 void *argp1 = 0 ;
7057 int res1 = 0 ;
7058 bool temp2 = false ;
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 char * kwnames[] = {
7062 (char *) "self",(char *) "name", NULL
7063 };
7064
7065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
7066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7067 if (!SWIG_IsOK(res1)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7069 }
7070 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7071 {
7072 arg2 = wxString_in_helper(obj1);
7073 if (arg2 == NULL) SWIG_fail;
7074 temp2 = true;
7075 }
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 {
7079 wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
7080 result = (wxPaneInfo *) &_result_ref;
7081 }
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7086 {
7087 if (temp2)
7088 delete arg2;
7089 }
7090 return resultobj;
7091 fail:
7092 {
7093 if (temp2)
7094 delete arg2;
7095 }
7096 return NULL;
7097 }
7098
7099
7100 SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7101 PyObject *resultobj = 0;
7102 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7103 wxPaneInfoArray *result = 0 ;
7104 void *argp1 = 0 ;
7105 int res1 = 0 ;
7106 PyObject *swig_obj[1] ;
7107
7108 if (!args) SWIG_fail;
7109 swig_obj[0] = args;
7110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7111 if (!SWIG_IsOK(res1)) {
7112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7113 }
7114 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 {
7118 wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
7119 result = (wxPaneInfoArray *) &_result_ref;
7120 }
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 {
7125 resultobj = PyList_New(0);
7126 for (size_t i=0; i < result->GetCount(); i++) {
7127 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0);
7128 PyList_Append(resultobj, pane_obj);
7129 }
7130 }
7131 return resultobj;
7132 fail:
7133 return NULL;
7134 }
7135
7136
7137 SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj = 0;
7139 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7140 wxWindow *arg2 = (wxWindow *) 0 ;
7141 wxPaneInfo *arg3 = 0 ;
7142 bool result;
7143 void *argp1 = 0 ;
7144 int res1 = 0 ;
7145 void *argp2 = 0 ;
7146 int res2 = 0 ;
7147 void *argp3 = 0 ;
7148 int res3 = 0 ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 PyObject * obj2 = 0 ;
7152 char * kwnames[] = {
7153 (char *) "self",(char *) "window",(char *) "pane_info", NULL
7154 };
7155
7156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7158 if (!SWIG_IsOK(res1)) {
7159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7160 }
7161 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7162 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7163 if (!SWIG_IsOK(res2)) {
7164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7165 }
7166 arg2 = reinterpret_cast< wxWindow * >(argp2);
7167 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7168 if (!SWIG_IsOK(res3)) {
7169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7170 }
7171 if (!argp3) {
7172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7173 }
7174 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3);
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7183 }
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj = 0;
7192 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7193 wxWindow *arg2 = (wxWindow *) 0 ;
7194 wxPaneInfo *arg3 = 0 ;
7195 wxPoint *arg4 = 0 ;
7196 bool result;
7197 void *argp1 = 0 ;
7198 int res1 = 0 ;
7199 void *argp2 = 0 ;
7200 int res2 = 0 ;
7201 void *argp3 = 0 ;
7202 int res3 = 0 ;
7203 wxPoint temp4 ;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 PyObject * obj2 = 0 ;
7207 PyObject * obj3 = 0 ;
7208 char * kwnames[] = {
7209 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7210 };
7211
7212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7214 if (!SWIG_IsOK(res1)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7216 }
7217 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7219 if (!SWIG_IsOK(res2)) {
7220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
7221 }
7222 arg2 = reinterpret_cast< wxWindow * >(argp2);
7223 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7224 if (!SWIG_IsOK(res3)) {
7225 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7226 }
7227 if (!argp3) {
7228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7229 }
7230 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7231 {
7232 arg4 = &temp4;
7233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7234 }
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 {
7242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7243 }
7244 return resultobj;
7245 fail:
7246 return NULL;
7247 }
7248
7249
7250 SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj = 0;
7252 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7253 wxWindow *arg2 = (wxWindow *) 0 ;
7254 int arg3 = (int) wxLEFT ;
7255 wxString const &arg4_defvalue = wxEmptyString ;
7256 wxString *arg4 = (wxString *) &arg4_defvalue ;
7257 bool result;
7258 void *argp1 = 0 ;
7259 int res1 = 0 ;
7260 void *argp2 = 0 ;
7261 int res2 = 0 ;
7262 int val3 ;
7263 int ecode3 = 0 ;
7264 bool temp4 = false ;
7265 PyObject * obj0 = 0 ;
7266 PyObject * obj1 = 0 ;
7267 PyObject * obj2 = 0 ;
7268 PyObject * obj3 = 0 ;
7269 char * kwnames[] = {
7270 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7271 };
7272
7273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7275 if (!SWIG_IsOK(res1)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7277 }
7278 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7280 if (!SWIG_IsOK(res2)) {
7281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7282 }
7283 arg2 = reinterpret_cast< wxWindow * >(argp2);
7284 if (obj2) {
7285 ecode3 = SWIG_AsVal_int(obj2, &val3);
7286 if (!SWIG_IsOK(ecode3)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7288 }
7289 arg3 = static_cast< int >(val3);
7290 }
7291 if (obj3) {
7292 {
7293 arg4 = wxString_in_helper(obj3);
7294 if (arg4 == NULL) SWIG_fail;
7295 temp4 = true;
7296 }
7297 }
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 {
7305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7306 }
7307 {
7308 if (temp4)
7309 delete arg4;
7310 }
7311 return resultobj;
7312 fail:
7313 {
7314 if (temp4)
7315 delete arg4;
7316 }
7317 return NULL;
7318 }
7319
7320
7321 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7322 PyObject *resultobj = 0;
7323 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7324 wxWindow *arg2 = (wxWindow *) 0 ;
7325 wxPaneInfo *arg3 = 0 ;
7326 int arg4 = (int) wxAUI_INSERT_PANE ;
7327 bool result;
7328 void *argp1 = 0 ;
7329 int res1 = 0 ;
7330 void *argp2 = 0 ;
7331 int res2 = 0 ;
7332 void *argp3 = 0 ;
7333 int res3 = 0 ;
7334 int val4 ;
7335 int ecode4 = 0 ;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 PyObject * obj2 = 0 ;
7339 PyObject * obj3 = 0 ;
7340 char * kwnames[] = {
7341 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7342 };
7343
7344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7346 if (!SWIG_IsOK(res1)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7348 }
7349 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7351 if (!SWIG_IsOK(res2)) {
7352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7353 }
7354 arg2 = reinterpret_cast< wxWindow * >(argp2);
7355 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7356 if (!SWIG_IsOK(res3)) {
7357 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7358 }
7359 if (!argp3) {
7360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7361 }
7362 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7363 if (obj3) {
7364 ecode4 = SWIG_AsVal_int(obj3, &val4);
7365 if (!SWIG_IsOK(ecode4)) {
7366 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7367 }
7368 arg4 = static_cast< int >(val4);
7369 }
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 {
7377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7378 }
7379 return resultobj;
7380 fail:
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7388 wxWindow *arg2 = (wxWindow *) 0 ;
7389 bool result;
7390 void *argp1 = 0 ;
7391 int res1 = 0 ;
7392 void *argp2 = 0 ;
7393 int res2 = 0 ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char * kwnames[] = {
7397 (char *) "self",(char *) "window", NULL
7398 };
7399
7400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7402 if (!SWIG_IsOK(res1)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7404 }
7405 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7407 if (!SWIG_IsOK(res2)) {
7408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7409 }
7410 arg2 = reinterpret_cast< wxWindow * >(argp2);
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = (bool)(arg1)->DetachPane(arg2);
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 {
7418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7419 }
7420 return resultobj;
7421 fail:
7422 return NULL;
7423 }
7424
7425
7426 SWIGINTERN PyObject *_wrap_FrameManager_SavePaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj = 0;
7428 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7429 wxPaneInfo *arg2 = 0 ;
7430 wxString result;
7431 void *argp1 = 0 ;
7432 int res1 = 0 ;
7433 void *argp2 = 0 ;
7434 int res2 = 0 ;
7435 PyObject * obj0 = 0 ;
7436 PyObject * obj1 = 0 ;
7437 char * kwnames[] = {
7438 (char *) "self",(char *) "pane", NULL
7439 };
7440
7441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SavePaneInfo",kwnames,&obj0,&obj1)) SWIG_fail;
7442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7443 if (!SWIG_IsOK(res1)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7445 }
7446 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7447 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 );
7448 if (!SWIG_IsOK(res2)) {
7449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7450 }
7451 if (!argp2) {
7452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_SavePaneInfo" "', expected argument " "2"" of type '" "wxPaneInfo &""'");
7453 }
7454 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (arg1)->SavePaneInfo(*arg2);
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 {
7462 #if wxUSE_UNICODE
7463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7464 #else
7465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7466 #endif
7467 }
7468 return resultobj;
7469 fail:
7470 return NULL;
7471 }
7472
7473
7474 SWIGINTERN PyObject *_wrap_FrameManager_LoadPaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj = 0;
7476 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7477 wxString arg2 ;
7478 wxPaneInfo *arg3 = 0 ;
7479 void *argp1 = 0 ;
7480 int res1 = 0 ;
7481 void *argp3 = 0 ;
7482 int res3 = 0 ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 PyObject * obj2 = 0 ;
7486 char * kwnames[] = {
7487 (char *) "self",(char *) "pane_part",(char *) "pane", NULL
7488 };
7489
7490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager_LoadPaneInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7492 if (!SWIG_IsOK(res1)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7494 }
7495 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7496 {
7497 wxString* sptr = wxString_in_helper(obj1);
7498 if (sptr == NULL) SWIG_fail;
7499 arg2 = *sptr;
7500 delete sptr;
7501 }
7502 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 );
7503 if (!SWIG_IsOK(res3)) {
7504 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7505 }
7506 if (!argp3) {
7507 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_LoadPaneInfo" "', expected argument " "3"" of type '" "wxPaneInfo &""'");
7508 }
7509 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 (arg1)->LoadPaneInfo(arg2,*arg3);
7513 wxPyEndAllowThreads(__tstate);
7514 if (PyErr_Occurred()) SWIG_fail;
7515 }
7516 resultobj = SWIG_Py_Void();
7517 return resultobj;
7518 fail:
7519 return NULL;
7520 }
7521
7522
7523 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7524 PyObject *resultobj = 0;
7525 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7526 wxString result;
7527 void *argp1 = 0 ;
7528 int res1 = 0 ;
7529 PyObject *swig_obj[1] ;
7530
7531 if (!args) SWIG_fail;
7532 swig_obj[0] = args;
7533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7534 if (!SWIG_IsOK(res1)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7536 }
7537 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (arg1)->SavePerspective();
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 {
7545 #if wxUSE_UNICODE
7546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7547 #else
7548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7549 #endif
7550 }
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj = 0;
7559 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7560 wxString *arg2 = 0 ;
7561 bool arg3 = (bool) true ;
7562 bool result;
7563 void *argp1 = 0 ;
7564 int res1 = 0 ;
7565 bool temp2 = false ;
7566 bool val3 ;
7567 int ecode3 = 0 ;
7568 PyObject * obj0 = 0 ;
7569 PyObject * obj1 = 0 ;
7570 PyObject * obj2 = 0 ;
7571 char * kwnames[] = {
7572 (char *) "self",(char *) "perspective",(char *) "update", NULL
7573 };
7574
7575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7577 if (!SWIG_IsOK(res1)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7579 }
7580 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7581 {
7582 arg2 = wxString_in_helper(obj1);
7583 if (arg2 == NULL) SWIG_fail;
7584 temp2 = true;
7585 }
7586 if (obj2) {
7587 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7588 if (!SWIG_IsOK(ecode3)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7590 }
7591 arg3 = static_cast< bool >(val3);
7592 }
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 {
7600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7601 }
7602 {
7603 if (temp2)
7604 delete arg2;
7605 }
7606 return resultobj;
7607 fail:
7608 {
7609 if (temp2)
7610 delete arg2;
7611 }
7612 return NULL;
7613 }
7614
7615
7616 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7617 PyObject *resultobj = 0;
7618 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7619 void *argp1 = 0 ;
7620 int res1 = 0 ;
7621 PyObject *swig_obj[1] ;
7622
7623 if (!args) SWIG_fail;
7624 swig_obj[0] = args;
7625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7626 if (!SWIG_IsOK(res1)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7628 }
7629 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 (arg1)->Update();
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = SWIG_Py_Void();
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj = 0;
7645 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7646 wxWindow *arg2 = (wxWindow *) 0 ;
7647 wxPoint *arg3 = 0 ;
7648 wxPoint *arg4 = 0 ;
7649 void *argp1 = 0 ;
7650 int res1 = 0 ;
7651 void *argp2 = 0 ;
7652 int res2 = 0 ;
7653 wxPoint temp3 ;
7654 wxPoint temp4 ;
7655 PyObject * obj0 = 0 ;
7656 PyObject * obj1 = 0 ;
7657 PyObject * obj2 = 0 ;
7658 PyObject * obj3 = 0 ;
7659 char * kwnames[] = {
7660 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
7661 };
7662
7663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7665 if (!SWIG_IsOK(res1)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7667 }
7668 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7670 if (!SWIG_IsOK(res2)) {
7671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
7672 }
7673 arg2 = reinterpret_cast< wxWindow * >(argp2);
7674 {
7675 arg3 = &temp3;
7676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7677 }
7678 {
7679 arg4 = &temp4;
7680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7681 }
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_Py_Void();
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj = 0;
7697 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7698 wxRect *arg2 = 0 ;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 wxRect temp2 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 char * kwnames[] = {
7705 (char *) "self",(char *) "rect", NULL
7706 };
7707
7708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
7709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7710 if (!SWIG_IsOK(res1)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7712 }
7713 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7714 {
7715 arg2 = &temp2;
7716 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7717 }
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->ShowHint((wxRect const &)*arg2);
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 resultobj = SWIG_Py_Void();
7725 return resultobj;
7726 fail:
7727 return NULL;
7728 }
7729
7730
7731 SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7732 PyObject *resultobj = 0;
7733 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7734 void *argp1 = 0 ;
7735 int res1 = 0 ;
7736 PyObject *swig_obj[1] ;
7737
7738 if (!args) SWIG_fail;
7739 swig_obj[0] = args;
7740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7741 if (!SWIG_IsOK(res1)) {
7742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7743 }
7744 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->HideHint();
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_Py_Void();
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj = 0;
7760 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7761 wxFrameManagerEvent *arg2 = 0 ;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 void *argp2 = 0 ;
7765 int res2 = 0 ;
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 char * kwnames[] = {
7769 (char *) "self",(char *) "evt", NULL
7770 };
7771
7772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
7773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7774 if (!SWIG_IsOK(res1)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7776 }
7777 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7778 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7779 if (!SWIG_IsOK(res2)) {
7780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7781 }
7782 if (!argp2) {
7783 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7784 }
7785 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->OnRender(*arg2);
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 resultobj = SWIG_Py_Void();
7793 return resultobj;
7794 fail:
7795 return NULL;
7796 }
7797
7798
7799 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7800 PyObject *resultobj = 0;
7801 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7802 wxFrameManagerEvent *arg2 = 0 ;
7803 void *argp1 = 0 ;
7804 int res1 = 0 ;
7805 void *argp2 = 0 ;
7806 int res2 = 0 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char * kwnames[] = {
7810 (char *) "self",(char *) "evt", NULL
7811 };
7812
7813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
7814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7815 if (!SWIG_IsOK(res1)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7817 }
7818 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7819 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7820 if (!SWIG_IsOK(res2)) {
7821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7822 }
7823 if (!argp2) {
7824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7825 }
7826 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 (arg1)->OnPaneButton(*arg2);
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 resultobj = SWIG_Py_Void();
7834 return resultobj;
7835 fail:
7836 return NULL;
7837 }
7838
7839
7840 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7841 PyObject *obj;
7842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7843 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7844 return SWIG_Py_Void();
7845 }
7846
7847 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7848 return SWIG_Python_InitShadowInstance(args);
7849 }
7850
7851 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj = 0;
7853 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7854 wxFrameManagerEvent *result = 0 ;
7855 int val1 ;
7856 int ecode1 = 0 ;
7857 PyObject * obj0 = 0 ;
7858 char * kwnames[] = {
7859 (char *) "type", NULL
7860 };
7861
7862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7863 if (obj0) {
7864 ecode1 = SWIG_AsVal_int(obj0, &val1);
7865 if (!SWIG_IsOK(ecode1)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7867 }
7868 arg1 = static_cast< wxEventType >(val1);
7869 }
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7884 PyObject *resultobj = 0;
7885 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7886 wxEvent *result = 0 ;
7887 void *argp1 = 0 ;
7888 int res1 = 0 ;
7889 PyObject *swig_obj[1] ;
7890
7891 if (!args) SWIG_fail;
7892 swig_obj[0] = args;
7893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7894 if (!SWIG_IsOK(res1)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7896 }
7897 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7898 {
7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
7900 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7905 return resultobj;
7906 fail:
7907 return NULL;
7908 }
7909
7910
7911 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj = 0;
7913 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7914 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7915 void *argp1 = 0 ;
7916 int res1 = 0 ;
7917 void *argp2 = 0 ;
7918 int res2 = 0 ;
7919 PyObject * obj0 = 0 ;
7920 PyObject * obj1 = 0 ;
7921 char * kwnames[] = {
7922 (char *) "self",(char *) "p", NULL
7923 };
7924
7925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7927 if (!SWIG_IsOK(res1)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7929 }
7930 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7931 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7932 if (!SWIG_IsOK(res2)) {
7933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7934 }
7935 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 (arg1)->SetPane(arg2);
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 resultobj = SWIG_Py_Void();
7943 return resultobj;
7944 fail:
7945 return NULL;
7946 }
7947
7948
7949 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj = 0;
7951 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7952 int arg2 ;
7953 void *argp1 = 0 ;
7954 int res1 = 0 ;
7955 int val2 ;
7956 int ecode2 = 0 ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 char * kwnames[] = {
7960 (char *) "self",(char *) "b", NULL
7961 };
7962
7963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7965 if (!SWIG_IsOK(res1)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7967 }
7968 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7969 ecode2 = SWIG_AsVal_int(obj1, &val2);
7970 if (!SWIG_IsOK(ecode2)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7972 }
7973 arg2 = static_cast< int >(val2);
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 (arg1)->SetButton(arg2);
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = SWIG_Py_Void();
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj = 0;
7989 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7990 wxDC *arg2 = (wxDC *) 0 ;
7991 void *argp1 = 0 ;
7992 int res1 = 0 ;
7993 void *argp2 = 0 ;
7994 int res2 = 0 ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj1 = 0 ;
7997 char * kwnames[] = {
7998 (char *) "self",(char *) "pdc", NULL
7999 };
8000
8001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
8002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8003 if (!SWIG_IsOK(res1)) {
8004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8005 }
8006 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8007 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
8008 if (!SWIG_IsOK(res2)) {
8009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
8010 }
8011 arg2 = reinterpret_cast< wxDC * >(argp2);
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->SetDC(arg2);
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 resultobj = SWIG_Py_Void();
8019 return resultobj;
8020 fail:
8021 return NULL;
8022 }
8023
8024
8025 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8026 PyObject *resultobj = 0;
8027 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8028 wxPaneInfo *result = 0 ;
8029 void *argp1 = 0 ;
8030 int res1 = 0 ;
8031 PyObject *swig_obj[1] ;
8032
8033 if (!args) SWIG_fail;
8034 swig_obj[0] = args;
8035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8036 if (!SWIG_IsOK(res1)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8038 }
8039 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8040 {
8041 PyThreadState* __tstate = wxPyBeginAllowThreads();
8042 result = (wxPaneInfo *)(arg1)->GetPane();
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8054 PyObject *resultobj = 0;
8055 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8056 int result;
8057 void *argp1 = 0 ;
8058 int res1 = 0 ;
8059 PyObject *swig_obj[1] ;
8060
8061 if (!args) SWIG_fail;
8062 swig_obj[0] = args;
8063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8064 if (!SWIG_IsOK(res1)) {
8065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8066 }
8067 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 result = (int)(arg1)->GetButton();
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = SWIG_From_int(static_cast< int >(result));
8075 return resultobj;
8076 fail:
8077 return NULL;
8078 }
8079
8080
8081 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8082 PyObject *resultobj = 0;
8083 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8084 wxDC *result = 0 ;
8085 void *argp1 = 0 ;
8086 int res1 = 0 ;
8087 PyObject *swig_obj[1] ;
8088
8089 if (!args) SWIG_fail;
8090 swig_obj[0] = args;
8091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8092 if (!SWIG_IsOK(res1)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8094 }
8095 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (wxDC *)(arg1)->GetDC();
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 {
8103 resultobj = wxPyMake_wxObject(result, (bool)0);
8104 }
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj = 0;
8113 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8114 bool arg2 = (bool) true ;
8115 void *argp1 = 0 ;
8116 int res1 = 0 ;
8117 bool val2 ;
8118 int ecode2 = 0 ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char * kwnames[] = {
8122 (char *) "self",(char *) "veto", NULL
8123 };
8124
8125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
8126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8127 if (!SWIG_IsOK(res1)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8129 }
8130 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8131 if (obj1) {
8132 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8133 if (!SWIG_IsOK(ecode2)) {
8134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
8135 }
8136 arg2 = static_cast< bool >(val2);
8137 }
8138 {
8139 PyThreadState* __tstate = wxPyBeginAllowThreads();
8140 (arg1)->Veto(arg2);
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 resultobj = SWIG_Py_Void();
8145 return resultobj;
8146 fail:
8147 return NULL;
8148 }
8149
8150
8151 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8152 PyObject *resultobj = 0;
8153 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8154 bool result;
8155 void *argp1 = 0 ;
8156 int res1 = 0 ;
8157 PyObject *swig_obj[1] ;
8158
8159 if (!args) SWIG_fail;
8160 swig_obj[0] = args;
8161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8162 if (!SWIG_IsOK(res1)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8164 }
8165 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 {
8173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8174 }
8175 return resultobj;
8176 fail:
8177 return NULL;
8178 }
8179
8180
8181 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj = 0;
8183 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8184 bool arg2 ;
8185 void *argp1 = 0 ;
8186 int res1 = 0 ;
8187 bool val2 ;
8188 int ecode2 = 0 ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 char * kwnames[] = {
8192 (char *) "self",(char *) "can_veto", NULL
8193 };
8194
8195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
8196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8197 if (!SWIG_IsOK(res1)) {
8198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8199 }
8200 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8201 ecode2 = SWIG_AsVal_bool(obj1, &val2);
8202 if (!SWIG_IsOK(ecode2)) {
8203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
8204 }
8205 arg2 = static_cast< bool >(val2);
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 (arg1)->SetCanVeto(arg2);
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_Py_Void();
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8220 PyObject *resultobj = 0;
8221 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8222 bool result;
8223 void *argp1 = 0 ;
8224 int res1 = 0 ;
8225 PyObject *swig_obj[1] ;
8226
8227 if (!args) SWIG_fail;
8228 swig_obj[0] = args;
8229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8230 if (!SWIG_IsOK(res1)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
8232 }
8233 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
8240 {
8241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8242 }
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8250 PyObject *resultobj = 0;
8251 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8252 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8253 void *argp1 = 0 ;
8254 int res1 = 0 ;
8255 void *argp2 = 0 ;
8256 int res2 = 0 ;
8257 PyObject *swig_obj[2] ;
8258
8259 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8261 if (!SWIG_IsOK(res1)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8263 }
8264 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8265 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8266 if (!SWIG_IsOK(res2)) {
8267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8268 }
8269 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8270 if (arg1) (arg1)->pane = arg2;
8271
8272 resultobj = SWIG_Py_Void();
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8280 PyObject *resultobj = 0;
8281 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8282 wxPaneInfo *result = 0 ;
8283 void *argp1 = 0 ;
8284 int res1 = 0 ;
8285 PyObject *swig_obj[1] ;
8286
8287 if (!args) SWIG_fail;
8288 swig_obj[0] = args;
8289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8290 if (!SWIG_IsOK(res1)) {
8291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8292 }
8293 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8294 result = (wxPaneInfo *) ((arg1)->pane);
8295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8296 return resultobj;
8297 fail:
8298 return NULL;
8299 }
8300
8301
8302 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8303 PyObject *resultobj = 0;
8304 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8305 int arg2 ;
8306 void *argp1 = 0 ;
8307 int res1 = 0 ;
8308 int val2 ;
8309 int ecode2 = 0 ;
8310 PyObject *swig_obj[2] ;
8311
8312 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8314 if (!SWIG_IsOK(res1)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8316 }
8317 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8318 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8319 if (!SWIG_IsOK(ecode2)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8321 }
8322 arg2 = static_cast< int >(val2);
8323 if (arg1) (arg1)->button = arg2;
8324
8325 resultobj = SWIG_Py_Void();
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8333 PyObject *resultobj = 0;
8334 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8335 int result;
8336 void *argp1 = 0 ;
8337 int res1 = 0 ;
8338 PyObject *swig_obj[1] ;
8339
8340 if (!args) SWIG_fail;
8341 swig_obj[0] = args;
8342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8343 if (!SWIG_IsOK(res1)) {
8344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8345 }
8346 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8347 result = (int) ((arg1)->button);
8348 resultobj = SWIG_From_int(static_cast< int >(result));
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8356 PyObject *resultobj = 0;
8357 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8358 bool arg2 ;
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 bool val2 ;
8362 int ecode2 = 0 ;
8363 PyObject *swig_obj[2] ;
8364
8365 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
8366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8369 }
8370 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8371 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8372 if (!SWIG_IsOK(ecode2)) {
8373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8374 }
8375 arg2 = static_cast< bool >(val2);
8376 if (arg1) (arg1)->veto_flag = arg2;
8377
8378 resultobj = SWIG_Py_Void();
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8386 PyObject *resultobj = 0;
8387 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8388 bool result;
8389 void *argp1 = 0 ;
8390 int res1 = 0 ;
8391 PyObject *swig_obj[1] ;
8392
8393 if (!args) SWIG_fail;
8394 swig_obj[0] = args;
8395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8396 if (!SWIG_IsOK(res1)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8398 }
8399 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8400 result = (bool) ((arg1)->veto_flag);
8401 {
8402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8403 }
8404 return resultobj;
8405 fail:
8406 return NULL;
8407 }
8408
8409
8410 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8411 PyObject *resultobj = 0;
8412 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8413 bool arg2 ;
8414 void *argp1 = 0 ;
8415 int res1 = 0 ;
8416 bool val2 ;
8417 int ecode2 = 0 ;
8418 PyObject *swig_obj[2] ;
8419
8420 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
8421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8422 if (!SWIG_IsOK(res1)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8424 }
8425 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8426 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8427 if (!SWIG_IsOK(ecode2)) {
8428 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8429 }
8430 arg2 = static_cast< bool >(val2);
8431 if (arg1) (arg1)->canveto_flag = arg2;
8432
8433 resultobj = SWIG_Py_Void();
8434 return resultobj;
8435 fail:
8436 return NULL;
8437 }
8438
8439
8440 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8441 PyObject *resultobj = 0;
8442 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8443 bool result;
8444 void *argp1 = 0 ;
8445 int res1 = 0 ;
8446 PyObject *swig_obj[1] ;
8447
8448 if (!args) SWIG_fail;
8449 swig_obj[0] = args;
8450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8451 if (!SWIG_IsOK(res1)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8453 }
8454 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8455 result = (bool) ((arg1)->canveto_flag);
8456 {
8457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8458 }
8459 return resultobj;
8460 fail:
8461 return NULL;
8462 }
8463
8464
8465 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8466 PyObject *resultobj = 0;
8467 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8468 wxDC *arg2 = (wxDC *) 0 ;
8469 void *argp1 = 0 ;
8470 int res1 = 0 ;
8471 void *argp2 = 0 ;
8472 int res2 = 0 ;
8473 PyObject *swig_obj[2] ;
8474
8475 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8477 if (!SWIG_IsOK(res1)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8479 }
8480 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8481 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8482 if (!SWIG_IsOK(res2)) {
8483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8484 }
8485 arg2 = reinterpret_cast< wxDC * >(argp2);
8486 if (arg1) (arg1)->dc = arg2;
8487
8488 resultobj = SWIG_Py_Void();
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8496 PyObject *resultobj = 0;
8497 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8498 wxDC *result = 0 ;
8499 void *argp1 = 0 ;
8500 int res1 = 0 ;
8501 PyObject *swig_obj[1] ;
8502
8503 if (!args) SWIG_fail;
8504 swig_obj[0] = args;
8505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8506 if (!SWIG_IsOK(res1)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8508 }
8509 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8510 result = (wxDC *) ((arg1)->dc);
8511 {
8512 resultobj = wxPyMake_wxObject(result, (bool)0);
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8521 PyObject *obj;
8522 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8523 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8524 return SWIG_Py_Void();
8525 }
8526
8527 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8528 return SWIG_Python_InitShadowInstance(args);
8529 }
8530
8531 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8532 PyObject *resultobj = 0;
8533 wxDockInfo *result = 0 ;
8534
8535 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (wxDockInfo *)new wxDockInfo();
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8543 return resultobj;
8544 fail:
8545 return NULL;
8546 }
8547
8548
8549 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8550 PyObject *resultobj = 0;
8551 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8552 bool result;
8553 void *argp1 = 0 ;
8554 int res1 = 0 ;
8555 PyObject *swig_obj[1] ;
8556
8557 if (!args) SWIG_fail;
8558 swig_obj[0] = args;
8559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8560 if (!SWIG_IsOK(res1)) {
8561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8562 }
8563 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 {
8571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8572 }
8573 return resultobj;
8574 fail:
8575 return NULL;
8576 }
8577
8578
8579 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8580 PyObject *resultobj = 0;
8581 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8582 bool result;
8583 void *argp1 = 0 ;
8584 int res1 = 0 ;
8585 PyObject *swig_obj[1] ;
8586
8587 if (!args) SWIG_fail;
8588 swig_obj[0] = args;
8589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8590 if (!SWIG_IsOK(res1)) {
8591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8592 }
8593 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 {
8601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8602 }
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8610 PyObject *resultobj = 0;
8611 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8612 bool result;
8613 void *argp1 = 0 ;
8614 int res1 = 0 ;
8615 PyObject *swig_obj[1] ;
8616
8617 if (!args) SWIG_fail;
8618 swig_obj[0] = args;
8619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8620 if (!SWIG_IsOK(res1)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8622 }
8623 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 {
8631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8632 }
8633 return resultobj;
8634 fail:
8635 return NULL;
8636 }
8637
8638
8639 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8640 PyObject *resultobj = 0;
8641 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8642 wxPaneInfoPtrArray arg2 ;
8643 void *argp1 = 0 ;
8644 int res1 = 0 ;
8645 void *argp2 ;
8646 int res2 = 0 ;
8647 PyObject *swig_obj[2] ;
8648
8649 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8651 if (!SWIG_IsOK(res1)) {
8652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8653 }
8654 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8655 {
8656 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8657 if (!SWIG_IsOK(res2)) {
8658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8659 }
8660 if (!argp2) {
8661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8662 } else {
8663 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8664 arg2 = *temp;
8665 if (SWIG_IsNewObj(res2)) delete temp;
8666 }
8667 }
8668 if (arg1) (arg1)->panes = arg2;
8669
8670 resultobj = SWIG_Py_Void();
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8678 PyObject *resultobj = 0;
8679 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8680 wxPaneInfoPtrArray result;
8681 void *argp1 = 0 ;
8682 int res1 = 0 ;
8683 PyObject *swig_obj[1] ;
8684
8685 if (!args) SWIG_fail;
8686 swig_obj[0] = args;
8687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8690 }
8691 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8692 result = ((arg1)->panes);
8693 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *resultobj = 0;
8702 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8703 wxRect *arg2 = (wxRect *) 0 ;
8704 void *argp1 = 0 ;
8705 int res1 = 0 ;
8706 void *argp2 = 0 ;
8707 int res2 = 0 ;
8708 PyObject *swig_obj[2] ;
8709
8710 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8712 if (!SWIG_IsOK(res1)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8714 }
8715 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8716 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8717 if (!SWIG_IsOK(res2)) {
8718 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8719 }
8720 arg2 = reinterpret_cast< wxRect * >(argp2);
8721 if (arg1) (arg1)->rect = *arg2;
8722
8723 resultobj = SWIG_Py_Void();
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8731 PyObject *resultobj = 0;
8732 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8733 wxRect *result = 0 ;
8734 void *argp1 = 0 ;
8735 int res1 = 0 ;
8736 PyObject *swig_obj[1] ;
8737
8738 if (!args) SWIG_fail;
8739 swig_obj[0] = args;
8740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8741 if (!SWIG_IsOK(res1)) {
8742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8743 }
8744 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8745 result = (wxRect *)& ((arg1)->rect);
8746 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8754 PyObject *resultobj = 0;
8755 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8756 int arg2 ;
8757 void *argp1 = 0 ;
8758 int res1 = 0 ;
8759 int val2 ;
8760 int ecode2 = 0 ;
8761 PyObject *swig_obj[2] ;
8762
8763 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8765 if (!SWIG_IsOK(res1)) {
8766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8767 }
8768 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8769 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8770 if (!SWIG_IsOK(ecode2)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8772 }
8773 arg2 = static_cast< int >(val2);
8774 if (arg1) (arg1)->dock_direction = arg2;
8775
8776 resultobj = SWIG_Py_Void();
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8784 PyObject *resultobj = 0;
8785 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8786 int result;
8787 void *argp1 = 0 ;
8788 int res1 = 0 ;
8789 PyObject *swig_obj[1] ;
8790
8791 if (!args) SWIG_fail;
8792 swig_obj[0] = args;
8793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8794 if (!SWIG_IsOK(res1)) {
8795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8796 }
8797 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8798 result = (int) ((arg1)->dock_direction);
8799 resultobj = SWIG_From_int(static_cast< int >(result));
8800 return resultobj;
8801 fail:
8802 return NULL;
8803 }
8804
8805
8806 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8807 PyObject *resultobj = 0;
8808 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8809 int arg2 ;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 int val2 ;
8813 int ecode2 = 0 ;
8814 PyObject *swig_obj[2] ;
8815
8816 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8818 if (!SWIG_IsOK(res1)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8820 }
8821 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8822 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8823 if (!SWIG_IsOK(ecode2)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8825 }
8826 arg2 = static_cast< int >(val2);
8827 if (arg1) (arg1)->dock_layer = arg2;
8828
8829 resultobj = SWIG_Py_Void();
8830 return resultobj;
8831 fail:
8832 return NULL;
8833 }
8834
8835
8836 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8837 PyObject *resultobj = 0;
8838 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8839 int result;
8840 void *argp1 = 0 ;
8841 int res1 = 0 ;
8842 PyObject *swig_obj[1] ;
8843
8844 if (!args) SWIG_fail;
8845 swig_obj[0] = args;
8846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8847 if (!SWIG_IsOK(res1)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8849 }
8850 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8851 result = (int) ((arg1)->dock_layer);
8852 resultobj = SWIG_From_int(static_cast< int >(result));
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8860 PyObject *resultobj = 0;
8861 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8862 int arg2 ;
8863 void *argp1 = 0 ;
8864 int res1 = 0 ;
8865 int val2 ;
8866 int ecode2 = 0 ;
8867 PyObject *swig_obj[2] ;
8868
8869 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8871 if (!SWIG_IsOK(res1)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8873 }
8874 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8875 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8876 if (!SWIG_IsOK(ecode2)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8878 }
8879 arg2 = static_cast< int >(val2);
8880 if (arg1) (arg1)->dock_row = arg2;
8881
8882 resultobj = SWIG_Py_Void();
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8890 PyObject *resultobj = 0;
8891 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8892 int result;
8893 void *argp1 = 0 ;
8894 int res1 = 0 ;
8895 PyObject *swig_obj[1] ;
8896
8897 if (!args) SWIG_fail;
8898 swig_obj[0] = args;
8899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8902 }
8903 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8904 result = (int) ((arg1)->dock_row);
8905 resultobj = SWIG_From_int(static_cast< int >(result));
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8913 PyObject *resultobj = 0;
8914 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8915 int arg2 ;
8916 void *argp1 = 0 ;
8917 int res1 = 0 ;
8918 int val2 ;
8919 int ecode2 = 0 ;
8920 PyObject *swig_obj[2] ;
8921
8922 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8924 if (!SWIG_IsOK(res1)) {
8925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8926 }
8927 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8928 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8929 if (!SWIG_IsOK(ecode2)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8931 }
8932 arg2 = static_cast< int >(val2);
8933 if (arg1) (arg1)->size = arg2;
8934
8935 resultobj = SWIG_Py_Void();
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8943 PyObject *resultobj = 0;
8944 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8945 int result;
8946 void *argp1 = 0 ;
8947 int res1 = 0 ;
8948 PyObject *swig_obj[1] ;
8949
8950 if (!args) SWIG_fail;
8951 swig_obj[0] = args;
8952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8953 if (!SWIG_IsOK(res1)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8955 }
8956 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8957 result = (int) ((arg1)->size);
8958 resultobj = SWIG_From_int(static_cast< int >(result));
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8966 PyObject *resultobj = 0;
8967 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8968 int arg2 ;
8969 void *argp1 = 0 ;
8970 int res1 = 0 ;
8971 int val2 ;
8972 int ecode2 = 0 ;
8973 PyObject *swig_obj[2] ;
8974
8975 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8977 if (!SWIG_IsOK(res1)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8979 }
8980 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8981 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8982 if (!SWIG_IsOK(ecode2)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8984 }
8985 arg2 = static_cast< int >(val2);
8986 if (arg1) (arg1)->min_size = arg2;
8987
8988 resultobj = SWIG_Py_Void();
8989 return resultobj;
8990 fail:
8991 return NULL;
8992 }
8993
8994
8995 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8996 PyObject *resultobj = 0;
8997 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8998 int result;
8999 void *argp1 = 0 ;
9000 int res1 = 0 ;
9001 PyObject *swig_obj[1] ;
9002
9003 if (!args) SWIG_fail;
9004 swig_obj[0] = args;
9005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9006 if (!SWIG_IsOK(res1)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9008 }
9009 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9010 result = (int) ((arg1)->min_size);
9011 resultobj = SWIG_From_int(static_cast< int >(result));
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9019 PyObject *resultobj = 0;
9020 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9021 bool arg2 ;
9022 void *argp1 = 0 ;
9023 int res1 = 0 ;
9024 bool val2 ;
9025 int ecode2 = 0 ;
9026 PyObject *swig_obj[2] ;
9027
9028 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
9029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9030 if (!SWIG_IsOK(res1)) {
9031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9032 }
9033 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9034 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9035 if (!SWIG_IsOK(ecode2)) {
9036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
9037 }
9038 arg2 = static_cast< bool >(val2);
9039 if (arg1) (arg1)->resizable = arg2;
9040
9041 resultobj = SWIG_Py_Void();
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9049 PyObject *resultobj = 0;
9050 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9051 bool result;
9052 void *argp1 = 0 ;
9053 int res1 = 0 ;
9054 PyObject *swig_obj[1] ;
9055
9056 if (!args) SWIG_fail;
9057 swig_obj[0] = args;
9058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9059 if (!SWIG_IsOK(res1)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9061 }
9062 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9063 result = (bool) ((arg1)->resizable);
9064 {
9065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9066 }
9067 return resultobj;
9068 fail:
9069 return NULL;
9070 }
9071
9072
9073 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9074 PyObject *resultobj = 0;
9075 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9076 bool arg2 ;
9077 void *argp1 = 0 ;
9078 int res1 = 0 ;
9079 bool val2 ;
9080 int ecode2 = 0 ;
9081 PyObject *swig_obj[2] ;
9082
9083 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
9084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9085 if (!SWIG_IsOK(res1)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9087 }
9088 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9089 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9090 if (!SWIG_IsOK(ecode2)) {
9091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
9092 }
9093 arg2 = static_cast< bool >(val2);
9094 if (arg1) (arg1)->toolbar = arg2;
9095
9096 resultobj = SWIG_Py_Void();
9097 return resultobj;
9098 fail:
9099 return NULL;
9100 }
9101
9102
9103 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9104 PyObject *resultobj = 0;
9105 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9106 bool result;
9107 void *argp1 = 0 ;
9108 int res1 = 0 ;
9109 PyObject *swig_obj[1] ;
9110
9111 if (!args) SWIG_fail;
9112 swig_obj[0] = args;
9113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9114 if (!SWIG_IsOK(res1)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9116 }
9117 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9118 result = (bool) ((arg1)->toolbar);
9119 {
9120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9121 }
9122 return resultobj;
9123 fail:
9124 return NULL;
9125 }
9126
9127
9128 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9129 PyObject *resultobj = 0;
9130 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9131 bool arg2 ;
9132 void *argp1 = 0 ;
9133 int res1 = 0 ;
9134 bool val2 ;
9135 int ecode2 = 0 ;
9136 PyObject *swig_obj[2] ;
9137
9138 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
9139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9140 if (!SWIG_IsOK(res1)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9142 }
9143 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9144 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
9145 if (!SWIG_IsOK(ecode2)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
9147 }
9148 arg2 = static_cast< bool >(val2);
9149 if (arg1) (arg1)->fixed = arg2;
9150
9151 resultobj = SWIG_Py_Void();
9152 return resultobj;
9153 fail:
9154 return NULL;
9155 }
9156
9157
9158 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9159 PyObject *resultobj = 0;
9160 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
9161 bool result;
9162 void *argp1 = 0 ;
9163 int res1 = 0 ;
9164 PyObject *swig_obj[1] ;
9165
9166 if (!args) SWIG_fail;
9167 swig_obj[0] = args;
9168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
9169 if (!SWIG_IsOK(res1)) {
9170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
9171 }
9172 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
9173 result = (bool) ((arg1)->fixed);
9174 {
9175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9176 }
9177 return resultobj;
9178 fail:
9179 return NULL;
9180 }
9181
9182
9183 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9184 PyObject *obj;
9185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9186 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
9187 return SWIG_Py_Void();
9188 }
9189
9190 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9191 return SWIG_Python_InitShadowInstance(args);
9192 }
9193
9194 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9195 PyObject *resultobj = 0;
9196 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9197 int arg2 ;
9198 void *argp1 = 0 ;
9199 int res1 = 0 ;
9200 int val2 ;
9201 int ecode2 = 0 ;
9202 PyObject *swig_obj[2] ;
9203
9204 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
9205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9206 if (!SWIG_IsOK(res1)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9208 }
9209 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9210 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9211 if (!SWIG_IsOK(ecode2)) {
9212 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
9213 }
9214 arg2 = static_cast< int >(val2);
9215 if (arg1) (arg1)->type = arg2;
9216
9217 resultobj = SWIG_Py_Void();
9218 return resultobj;
9219 fail:
9220 return NULL;
9221 }
9222
9223
9224 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9225 PyObject *resultobj = 0;
9226 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9227 int result;
9228 void *argp1 = 0 ;
9229 int res1 = 0 ;
9230 PyObject *swig_obj[1] ;
9231
9232 if (!args) SWIG_fail;
9233 swig_obj[0] = args;
9234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9235 if (!SWIG_IsOK(res1)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9237 }
9238 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9239 result = (int) ((arg1)->type);
9240 resultobj = SWIG_From_int(static_cast< int >(result));
9241 return resultobj;
9242 fail:
9243 return NULL;
9244 }
9245
9246
9247 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9248 PyObject *resultobj = 0;
9249 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9250 int arg2 ;
9251 void *argp1 = 0 ;
9252 int res1 = 0 ;
9253 int val2 ;
9254 int ecode2 = 0 ;
9255 PyObject *swig_obj[2] ;
9256
9257 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9259 if (!SWIG_IsOK(res1)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9261 }
9262 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9263 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9264 if (!SWIG_IsOK(ecode2)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9266 }
9267 arg2 = static_cast< int >(val2);
9268 if (arg1) (arg1)->orientation = arg2;
9269
9270 resultobj = SWIG_Py_Void();
9271 return resultobj;
9272 fail:
9273 return NULL;
9274 }
9275
9276
9277 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9278 PyObject *resultobj = 0;
9279 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9280 int result;
9281 void *argp1 = 0 ;
9282 int res1 = 0 ;
9283 PyObject *swig_obj[1] ;
9284
9285 if (!args) SWIG_fail;
9286 swig_obj[0] = args;
9287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9288 if (!SWIG_IsOK(res1)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9290 }
9291 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9292 result = (int) ((arg1)->orientation);
9293 resultobj = SWIG_From_int(static_cast< int >(result));
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9301 PyObject *resultobj = 0;
9302 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9303 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
9304 void *argp1 = 0 ;
9305 int res1 = 0 ;
9306 void *argp2 = 0 ;
9307 int res2 = 0 ;
9308 PyObject *swig_obj[2] ;
9309
9310 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
9311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9312 if (!SWIG_IsOK(res1)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9314 }
9315 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9316 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9317 if (!SWIG_IsOK(res2)) {
9318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
9319 }
9320 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
9321 if (arg1) (arg1)->dock = arg2;
9322
9323 resultobj = SWIG_Py_Void();
9324 return resultobj;
9325 fail:
9326 return NULL;
9327 }
9328
9329
9330 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9331 PyObject *resultobj = 0;
9332 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9333 wxDockInfo *result = 0 ;
9334 void *argp1 = 0 ;
9335 int res1 = 0 ;
9336 PyObject *swig_obj[1] ;
9337
9338 if (!args) SWIG_fail;
9339 swig_obj[0] = args;
9340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9341 if (!SWIG_IsOK(res1)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9343 }
9344 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9345 result = (wxDockInfo *) ((arg1)->dock);
9346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9354 PyObject *resultobj = 0;
9355 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9356 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
9357 void *argp1 = 0 ;
9358 int res1 = 0 ;
9359 void *argp2 = 0 ;
9360 int res2 = 0 ;
9361 PyObject *swig_obj[2] ;
9362
9363 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
9364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9365 if (!SWIG_IsOK(res1)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9367 }
9368 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9369 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
9370 if (!SWIG_IsOK(res2)) {
9371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
9372 }
9373 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9374 if (arg1) (arg1)->pane = arg2;
9375
9376 resultobj = SWIG_Py_Void();
9377 return resultobj;
9378 fail:
9379 return NULL;
9380 }
9381
9382
9383 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9384 PyObject *resultobj = 0;
9385 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9386 wxPaneInfo *result = 0 ;
9387 void *argp1 = 0 ;
9388 int res1 = 0 ;
9389 PyObject *swig_obj[1] ;
9390
9391 if (!args) SWIG_fail;
9392 swig_obj[0] = args;
9393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9396 }
9397 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9398 result = (wxPaneInfo *) ((arg1)->pane);
9399 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
9400 return resultobj;
9401 fail:
9402 return NULL;
9403 }
9404
9405
9406 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9407 PyObject *resultobj = 0;
9408 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9409 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
9410 void *argp1 = 0 ;
9411 int res1 = 0 ;
9412 void *argp2 = 0 ;
9413 int res2 = 0 ;
9414 PyObject *swig_obj[2] ;
9415
9416 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
9417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9418 if (!SWIG_IsOK(res1)) {
9419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9420 }
9421 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9422 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9423 if (!SWIG_IsOK(res2)) {
9424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
9425 }
9426 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9427 if (arg1) (arg1)->button = arg2;
9428
9429 resultobj = SWIG_Py_Void();
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9437 PyObject *resultobj = 0;
9438 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9439 wxPaneButton *result = 0 ;
9440 void *argp1 = 0 ;
9441 int res1 = 0 ;
9442 PyObject *swig_obj[1] ;
9443
9444 if (!args) SWIG_fail;
9445 swig_obj[0] = args;
9446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9447 if (!SWIG_IsOK(res1)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9449 }
9450 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9451 result = (wxPaneButton *) ((arg1)->button);
9452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9453 return resultobj;
9454 fail:
9455 return NULL;
9456 }
9457
9458
9459 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9460 PyObject *resultobj = 0;
9461 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9462 wxSizer *arg2 = (wxSizer *) 0 ;
9463 void *argp1 = 0 ;
9464 int res1 = 0 ;
9465 void *argp2 = 0 ;
9466 int res2 = 0 ;
9467 PyObject *swig_obj[2] ;
9468
9469 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9471 if (!SWIG_IsOK(res1)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9473 }
9474 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9475 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9476 if (!SWIG_IsOK(res2)) {
9477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9478 }
9479 arg2 = reinterpret_cast< wxSizer * >(argp2);
9480 if (arg1) (arg1)->cont_sizer = arg2;
9481
9482 resultobj = SWIG_Py_Void();
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9490 PyObject *resultobj = 0;
9491 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9492 wxSizer *result = 0 ;
9493 void *argp1 = 0 ;
9494 int res1 = 0 ;
9495 PyObject *swig_obj[1] ;
9496
9497 if (!args) SWIG_fail;
9498 swig_obj[0] = args;
9499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9500 if (!SWIG_IsOK(res1)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9502 }
9503 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9504 result = (wxSizer *) ((arg1)->cont_sizer);
9505 {
9506 resultobj = wxPyMake_wxObject(result, (bool)0);
9507 }
9508 return resultobj;
9509 fail:
9510 return NULL;
9511 }
9512
9513
9514 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9515 PyObject *resultobj = 0;
9516 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9517 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9518 void *argp1 = 0 ;
9519 int res1 = 0 ;
9520 void *argp2 = 0 ;
9521 int res2 = 0 ;
9522 PyObject *swig_obj[2] ;
9523
9524 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9526 if (!SWIG_IsOK(res1)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9528 }
9529 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9530 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9531 if (!SWIG_IsOK(res2)) {
9532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9533 }
9534 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9535 if (arg1) (arg1)->sizer_item = arg2;
9536
9537 resultobj = SWIG_Py_Void();
9538 return resultobj;
9539 fail:
9540 return NULL;
9541 }
9542
9543
9544 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9545 PyObject *resultobj = 0;
9546 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9547 wxSizerItem *result = 0 ;
9548 void *argp1 = 0 ;
9549 int res1 = 0 ;
9550 PyObject *swig_obj[1] ;
9551
9552 if (!args) SWIG_fail;
9553 swig_obj[0] = args;
9554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9555 if (!SWIG_IsOK(res1)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9557 }
9558 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9559 result = (wxSizerItem *) ((arg1)->sizer_item);
9560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9561 return resultobj;
9562 fail:
9563 return NULL;
9564 }
9565
9566
9567 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9568 PyObject *resultobj = 0;
9569 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9570 wxRect *arg2 = (wxRect *) 0 ;
9571 void *argp1 = 0 ;
9572 int res1 = 0 ;
9573 void *argp2 = 0 ;
9574 int res2 = 0 ;
9575 PyObject *swig_obj[2] ;
9576
9577 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9579 if (!SWIG_IsOK(res1)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9581 }
9582 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9583 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9584 if (!SWIG_IsOK(res2)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9586 }
9587 arg2 = reinterpret_cast< wxRect * >(argp2);
9588 if (arg1) (arg1)->rect = *arg2;
9589
9590 resultobj = SWIG_Py_Void();
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9598 PyObject *resultobj = 0;
9599 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9600 wxRect *result = 0 ;
9601 void *argp1 = 0 ;
9602 int res1 = 0 ;
9603 PyObject *swig_obj[1] ;
9604
9605 if (!args) SWIG_fail;
9606 swig_obj[0] = args;
9607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9608 if (!SWIG_IsOK(res1)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9610 }
9611 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9612 result = (wxRect *)& ((arg1)->rect);
9613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9621 PyObject *obj;
9622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9623 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9624 return SWIG_Py_Void();
9625 }
9626
9627 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9628 PyObject *resultobj = 0;
9629 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9630 int arg2 ;
9631 void *argp1 = 0 ;
9632 int res1 = 0 ;
9633 int val2 ;
9634 int ecode2 = 0 ;
9635 PyObject *swig_obj[2] ;
9636
9637 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9639 if (!SWIG_IsOK(res1)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9641 }
9642 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9643 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9644 if (!SWIG_IsOK(ecode2)) {
9645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9646 }
9647 arg2 = static_cast< int >(val2);
9648 if (arg1) (arg1)->button_id = arg2;
9649
9650 resultobj = SWIG_Py_Void();
9651 return resultobj;
9652 fail:
9653 return NULL;
9654 }
9655
9656
9657 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9658 PyObject *resultobj = 0;
9659 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9660 int result;
9661 void *argp1 = 0 ;
9662 int res1 = 0 ;
9663 PyObject *swig_obj[1] ;
9664
9665 if (!args) SWIG_fail;
9666 swig_obj[0] = args;
9667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9668 if (!SWIG_IsOK(res1)) {
9669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9670 }
9671 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9672 result = (int) ((arg1)->button_id);
9673 resultobj = SWIG_From_int(static_cast< int >(result));
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9681 PyObject *obj;
9682 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9683 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9684 return SWIG_Py_Void();
9685 }
9686
9687 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9688 PyObject *resultobj = 0;
9689 wxDockArt *arg1 = (wxDockArt *) 0 ;
9690 void *argp1 = 0 ;
9691 int res1 = 0 ;
9692 PyObject *swig_obj[1] ;
9693
9694 if (!args) SWIG_fail;
9695 swig_obj[0] = args;
9696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9697 if (!SWIG_IsOK(res1)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9699 }
9700 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9701 {
9702 PyThreadState* __tstate = wxPyBeginAllowThreads();
9703 delete arg1;
9704
9705 wxPyEndAllowThreads(__tstate);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 }
9708 resultobj = SWIG_Py_Void();
9709 return resultobj;
9710 fail:
9711 return NULL;
9712 }
9713
9714
9715 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj = 0;
9717 wxDockArt *arg1 = (wxDockArt *) 0 ;
9718 int arg2 ;
9719 int result;
9720 void *argp1 = 0 ;
9721 int res1 = 0 ;
9722 int val2 ;
9723 int ecode2 = 0 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char * kwnames[] = {
9727 (char *) "self",(char *) "id", NULL
9728 };
9729
9730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9734 }
9735 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9736 ecode2 = SWIG_AsVal_int(obj1, &val2);
9737 if (!SWIG_IsOK(ecode2)) {
9738 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9739 }
9740 arg2 = static_cast< int >(val2);
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (int)(arg1)->GetMetric(arg2);
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 resultobj = SWIG_From_int(static_cast< int >(result));
9748 return resultobj;
9749 fail:
9750 return NULL;
9751 }
9752
9753
9754 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj = 0;
9756 wxDockArt *arg1 = (wxDockArt *) 0 ;
9757 int arg2 ;
9758 int arg3 ;
9759 void *argp1 = 0 ;
9760 int res1 = 0 ;
9761 int val2 ;
9762 int ecode2 = 0 ;
9763 int val3 ;
9764 int ecode3 = 0 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 PyObject * obj2 = 0 ;
9768 char * kwnames[] = {
9769 (char *) "self",(char *) "id",(char *) "new_val", NULL
9770 };
9771
9772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9774 if (!SWIG_IsOK(res1)) {
9775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9776 }
9777 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9778 ecode2 = SWIG_AsVal_int(obj1, &val2);
9779 if (!SWIG_IsOK(ecode2)) {
9780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9781 }
9782 arg2 = static_cast< int >(val2);
9783 ecode3 = SWIG_AsVal_int(obj2, &val3);
9784 if (!SWIG_IsOK(ecode3)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9786 }
9787 arg3 = static_cast< int >(val3);
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->SetMetric(arg2,arg3);
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_Py_Void();
9795 return resultobj;
9796 fail:
9797 return NULL;
9798 }
9799
9800
9801 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9802 PyObject *resultobj = 0;
9803 wxDockArt *arg1 = (wxDockArt *) 0 ;
9804 int arg2 ;
9805 wxFont *arg3 = 0 ;
9806 void *argp1 = 0 ;
9807 int res1 = 0 ;
9808 int val2 ;
9809 int ecode2 = 0 ;
9810 void *argp3 = 0 ;
9811 int res3 = 0 ;
9812 PyObject * obj0 = 0 ;
9813 PyObject * obj1 = 0 ;
9814 PyObject * obj2 = 0 ;
9815 char * kwnames[] = {
9816 (char *) "self",(char *) "id",(char *) "font", NULL
9817 };
9818
9819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9821 if (!SWIG_IsOK(res1)) {
9822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9823 }
9824 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9825 ecode2 = SWIG_AsVal_int(obj1, &val2);
9826 if (!SWIG_IsOK(ecode2)) {
9827 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9828 }
9829 arg2 = static_cast< int >(val2);
9830 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9831 if (!SWIG_IsOK(res3)) {
9832 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9833 }
9834 if (!argp3) {
9835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9836 }
9837 arg3 = reinterpret_cast< wxFont * >(argp3);
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = SWIG_Py_Void();
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj = 0;
9853 wxDockArt *arg1 = (wxDockArt *) 0 ;
9854 int arg2 ;
9855 wxFont result;
9856 void *argp1 = 0 ;
9857 int res1 = 0 ;
9858 int val2 ;
9859 int ecode2 = 0 ;
9860 PyObject * obj0 = 0 ;
9861 PyObject * obj1 = 0 ;
9862 char * kwnames[] = {
9863 (char *) "self",(char *) "id", NULL
9864 };
9865
9866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
9867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9868 if (!SWIG_IsOK(res1)) {
9869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9870 }
9871 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9872 ecode2 = SWIG_AsVal_int(obj1, &val2);
9873 if (!SWIG_IsOK(ecode2)) {
9874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
9875 }
9876 arg2 = static_cast< int >(val2);
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 result = (arg1)->GetFont(arg2);
9880 wxPyEndAllowThreads(__tstate);
9881 if (PyErr_Occurred()) SWIG_fail;
9882 }
9883 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
9884 return resultobj;
9885 fail:
9886 return NULL;
9887 }
9888
9889
9890 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9891 PyObject *resultobj = 0;
9892 wxDockArt *arg1 = (wxDockArt *) 0 ;
9893 int arg2 ;
9894 wxColour result;
9895 void *argp1 = 0 ;
9896 int res1 = 0 ;
9897 int val2 ;
9898 int ecode2 = 0 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 char * kwnames[] = {
9902 (char *) "self",(char *) "id", NULL
9903 };
9904
9905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
9906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9907 if (!SWIG_IsOK(res1)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9909 }
9910 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9911 ecode2 = SWIG_AsVal_int(obj1, &val2);
9912 if (!SWIG_IsOK(ecode2)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
9914 }
9915 arg2 = static_cast< int >(val2);
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (arg1)->GetColour(arg2);
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9923 return resultobj;
9924 fail:
9925 return NULL;
9926 }
9927
9928
9929 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj = 0;
9931 wxDockArt *arg1 = (wxDockArt *) 0 ;
9932 int arg2 ;
9933 wxColor *arg3 = 0 ;
9934 void *argp1 = 0 ;
9935 int res1 = 0 ;
9936 int val2 ;
9937 int ecode2 = 0 ;
9938 void *argp3 = 0 ;
9939 int res3 = 0 ;
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 PyObject * obj2 = 0 ;
9943 char * kwnames[] = {
9944 (char *) "self",(char *) "id",(char *) "colour", NULL
9945 };
9946
9947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9949 if (!SWIG_IsOK(res1)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9951 }
9952 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9953 ecode2 = SWIG_AsVal_int(obj1, &val2);
9954 if (!SWIG_IsOK(ecode2)) {
9955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
9956 }
9957 arg2 = static_cast< int >(val2);
9958 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
9959 if (!SWIG_IsOK(res3)) {
9960 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9961 }
9962 if (!argp3) {
9963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9964 }
9965 arg3 = reinterpret_cast< wxColor * >(argp3);
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = SWIG_Py_Void();
9973 return resultobj;
9974 fail:
9975 return NULL;
9976 }
9977
9978
9979 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj = 0;
9981 wxDockArt *arg1 = (wxDockArt *) 0 ;
9982 int arg2 ;
9983 wxColour result;
9984 void *argp1 = 0 ;
9985 int res1 = 0 ;
9986 int val2 ;
9987 int ecode2 = 0 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char * kwnames[] = {
9991 (char *) "self",(char *) "id", NULL
9992 };
9993
9994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
9995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9996 if (!SWIG_IsOK(res1)) {
9997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9998 }
9999 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10000 ecode2 = SWIG_AsVal_int(obj1, &val2);
10001 if (!SWIG_IsOK(ecode2)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
10003 }
10004 arg2 = static_cast< int >(val2);
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (arg1)->GetColor(arg2);
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj = 0;
10020 wxDockArt *arg1 = (wxDockArt *) 0 ;
10021 int arg2 ;
10022 wxColour *arg3 = 0 ;
10023 void *argp1 = 0 ;
10024 int res1 = 0 ;
10025 int val2 ;
10026 int ecode2 = 0 ;
10027 wxColour temp3 ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 PyObject * obj2 = 0 ;
10031 char * kwnames[] = {
10032 (char *) "self",(char *) "id",(char *) "color", NULL
10033 };
10034
10035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10037 if (!SWIG_IsOK(res1)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
10039 }
10040 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10041 ecode2 = SWIG_AsVal_int(obj1, &val2);
10042 if (!SWIG_IsOK(ecode2)) {
10043 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
10044 }
10045 arg2 = static_cast< int >(val2);
10046 {
10047 arg3 = &temp3;
10048 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10049 }
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
10053 wxPyEndAllowThreads(__tstate);
10054 if (PyErr_Occurred()) SWIG_fail;
10055 }
10056 resultobj = SWIG_Py_Void();
10057 return resultobj;
10058 fail:
10059 return NULL;
10060 }
10061
10062
10063 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj = 0;
10065 wxDockArt *arg1 = (wxDockArt *) 0 ;
10066 wxDC *arg2 = 0 ;
10067 wxWindow *arg3 = (wxWindow *) 0 ;
10068 int arg4 ;
10069 wxRect *arg5 = 0 ;
10070 void *argp1 = 0 ;
10071 int res1 = 0 ;
10072 void *argp2 = 0 ;
10073 int res2 = 0 ;
10074 void *argp3 = 0 ;
10075 int res3 = 0 ;
10076 int val4 ;
10077 int ecode4 = 0 ;
10078 wxRect temp5 ;
10079 PyObject * obj0 = 0 ;
10080 PyObject * obj1 = 0 ;
10081 PyObject * obj2 = 0 ;
10082 PyObject * obj3 = 0 ;
10083 PyObject * obj4 = 0 ;
10084 char * kwnames[] = {
10085 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10086 };
10087
10088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10090 if (!SWIG_IsOK(res1)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
10092 }
10093 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10094 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10095 if (!SWIG_IsOK(res2)) {
10096 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10097 }
10098 if (!argp2) {
10099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
10100 }
10101 arg2 = reinterpret_cast< wxDC * >(argp2);
10102 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10103 if (!SWIG_IsOK(res3)) {
10104 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "wxWindow *""'");
10105 }
10106 arg3 = reinterpret_cast< wxWindow * >(argp3);
10107 ecode4 = SWIG_AsVal_int(obj3, &val4);
10108 if (!SWIG_IsOK(ecode4)) {
10109 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawSash" "', expected argument " "4"" of type '" "int""'");
10110 }
10111 arg4 = static_cast< int >(val4);
10112 {
10113 arg5 = &temp5;
10114 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10115 }
10116 {
10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
10118 (arg1)->DrawSash(*arg2,arg3,arg4,(wxRect const &)*arg5);
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 resultobj = SWIG_Py_Void();
10123 return resultobj;
10124 fail:
10125 return NULL;
10126 }
10127
10128
10129 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj = 0;
10131 wxDockArt *arg1 = (wxDockArt *) 0 ;
10132 wxDC *arg2 = 0 ;
10133 wxWindow *arg3 = (wxWindow *) 0 ;
10134 int arg4 ;
10135 wxRect *arg5 = 0 ;
10136 void *argp1 = 0 ;
10137 int res1 = 0 ;
10138 void *argp2 = 0 ;
10139 int res2 = 0 ;
10140 void *argp3 = 0 ;
10141 int res3 = 0 ;
10142 int val4 ;
10143 int ecode4 = 0 ;
10144 wxRect temp5 ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj1 = 0 ;
10147 PyObject * obj2 = 0 ;
10148 PyObject * obj3 = 0 ;
10149 PyObject * obj4 = 0 ;
10150 char * kwnames[] = {
10151 (char *) "self",(char *) "dc",(char *) "window",(char *) "orientation",(char *) "rect", NULL
10152 };
10153
10154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10156 if (!SWIG_IsOK(res1)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
10158 }
10159 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10160 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10161 if (!SWIG_IsOK(res2)) {
10162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10163 }
10164 if (!argp2) {
10165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
10166 }
10167 arg2 = reinterpret_cast< wxDC * >(argp2);
10168 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10169 if (!SWIG_IsOK(res3)) {
10170 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "wxWindow *""'");
10171 }
10172 arg3 = reinterpret_cast< wxWindow * >(argp3);
10173 ecode4 = SWIG_AsVal_int(obj3, &val4);
10174 if (!SWIG_IsOK(ecode4)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawBackground" "', expected argument " "4"" of type '" "int""'");
10176 }
10177 arg4 = static_cast< int >(val4);
10178 {
10179 arg5 = &temp5;
10180 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->DrawBackground(*arg2,arg3,arg4,(wxRect const &)*arg5);
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = SWIG_Py_Void();
10189 return resultobj;
10190 fail:
10191 return NULL;
10192 }
10193
10194
10195 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj = 0;
10197 wxDockArt *arg1 = (wxDockArt *) 0 ;
10198 wxDC *arg2 = 0 ;
10199 wxWindow *arg3 = (wxWindow *) 0 ;
10200 wxString *arg4 = 0 ;
10201 wxRect *arg5 = 0 ;
10202 wxPaneInfo *arg6 = 0 ;
10203 void *argp1 = 0 ;
10204 int res1 = 0 ;
10205 void *argp2 = 0 ;
10206 int res2 = 0 ;
10207 void *argp3 = 0 ;
10208 int res3 = 0 ;
10209 bool temp4 = false ;
10210 wxRect temp5 ;
10211 void *argp6 = 0 ;
10212 int res6 = 0 ;
10213 PyObject * obj0 = 0 ;
10214 PyObject * obj1 = 0 ;
10215 PyObject * obj2 = 0 ;
10216 PyObject * obj3 = 0 ;
10217 PyObject * obj4 = 0 ;
10218 PyObject * obj5 = 0 ;
10219 char * kwnames[] = {
10220 (char *) "self",(char *) "dc",(char *) "window",(char *) "text",(char *) "rect",(char *) "pane", NULL
10221 };
10222
10223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10225 if (!SWIG_IsOK(res1)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
10227 }
10228 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10229 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10230 if (!SWIG_IsOK(res2)) {
10231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10232 }
10233 if (!argp2) {
10234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
10235 }
10236 arg2 = reinterpret_cast< wxDC * >(argp2);
10237 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10238 if (!SWIG_IsOK(res3)) {
10239 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawCaption" "', expected argument " "3"" of type '" "wxWindow *""'");
10240 }
10241 arg3 = reinterpret_cast< wxWindow * >(argp3);
10242 {
10243 arg4 = wxString_in_helper(obj3);
10244 if (arg4 == NULL) SWIG_fail;
10245 temp4 = true;
10246 }
10247 {
10248 arg5 = &temp5;
10249 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10250 }
10251 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10252 if (!SWIG_IsOK(res6)) {
10253 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10254 }
10255 if (!argp6) {
10256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10257 }
10258 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 (arg1)->DrawCaption(*arg2,arg3,(wxString const &)*arg4,(wxRect const &)*arg5,*arg6);
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 resultobj = SWIG_Py_Void();
10266 {
10267 if (temp4)
10268 delete arg4;
10269 }
10270 return resultobj;
10271 fail:
10272 {
10273 if (temp4)
10274 delete arg4;
10275 }
10276 return NULL;
10277 }
10278
10279
10280 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj = 0;
10282 wxDockArt *arg1 = (wxDockArt *) 0 ;
10283 wxDC *arg2 = 0 ;
10284 wxWindow *arg3 = (wxWindow *) 0 ;
10285 wxRect *arg4 = 0 ;
10286 wxPaneInfo *arg5 = 0 ;
10287 void *argp1 = 0 ;
10288 int res1 = 0 ;
10289 void *argp2 = 0 ;
10290 int res2 = 0 ;
10291 void *argp3 = 0 ;
10292 int res3 = 0 ;
10293 wxRect temp4 ;
10294 void *argp5 = 0 ;
10295 int res5 = 0 ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 PyObject * obj2 = 0 ;
10299 PyObject * obj3 = 0 ;
10300 PyObject * obj4 = 0 ;
10301 char * kwnames[] = {
10302 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10303 };
10304
10305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10307 if (!SWIG_IsOK(res1)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
10309 }
10310 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10311 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10312 if (!SWIG_IsOK(res2)) {
10313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10314 }
10315 if (!argp2) {
10316 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10317 }
10318 arg2 = reinterpret_cast< wxDC * >(argp2);
10319 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10320 if (!SWIG_IsOK(res3)) {
10321 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawGripper" "', expected argument " "3"" of type '" "wxWindow *""'");
10322 }
10323 arg3 = reinterpret_cast< wxWindow * >(argp3);
10324 {
10325 arg4 = &temp4;
10326 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10327 }
10328 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10329 if (!SWIG_IsOK(res5)) {
10330 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10331 }
10332 if (!argp5) {
10333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10334 }
10335 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->DrawGripper(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_Py_Void();
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj = 0;
10351 wxDockArt *arg1 = (wxDockArt *) 0 ;
10352 wxDC *arg2 = 0 ;
10353 wxWindow *arg3 = (wxWindow *) 0 ;
10354 wxRect *arg4 = 0 ;
10355 wxPaneInfo *arg5 = 0 ;
10356 void *argp1 = 0 ;
10357 int res1 = 0 ;
10358 void *argp2 = 0 ;
10359 int res2 = 0 ;
10360 void *argp3 = 0 ;
10361 int res3 = 0 ;
10362 wxRect temp4 ;
10363 void *argp5 = 0 ;
10364 int res5 = 0 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 PyObject * obj2 = 0 ;
10368 PyObject * obj3 = 0 ;
10369 PyObject * obj4 = 0 ;
10370 char * kwnames[] = {
10371 (char *) "self",(char *) "dc",(char *) "window",(char *) "rect",(char *) "pane", NULL
10372 };
10373
10374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10376 if (!SWIG_IsOK(res1)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
10378 }
10379 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10380 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10381 if (!SWIG_IsOK(res2)) {
10382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10383 }
10384 if (!argp2) {
10385 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10386 }
10387 arg2 = reinterpret_cast< wxDC * >(argp2);
10388 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10389 if (!SWIG_IsOK(res3)) {
10390 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawBorder" "', expected argument " "3"" of type '" "wxWindow *""'");
10391 }
10392 arg3 = reinterpret_cast< wxWindow * >(argp3);
10393 {
10394 arg4 = &temp4;
10395 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
10396 }
10397 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
10398 if (!SWIG_IsOK(res5)) {
10399 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10400 }
10401 if (!argp5) {
10402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
10403 }
10404 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->DrawBorder(*arg2,arg3,(wxRect const &)*arg4,*arg5);
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = SWIG_Py_Void();
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj = 0;
10420 wxDockArt *arg1 = (wxDockArt *) 0 ;
10421 wxDC *arg2 = 0 ;
10422 wxWindow *arg3 = (wxWindow *) 0 ;
10423 int arg4 ;
10424 int arg5 ;
10425 wxRect *arg6 = 0 ;
10426 wxPaneInfo *arg7 = 0 ;
10427 void *argp1 = 0 ;
10428 int res1 = 0 ;
10429 void *argp2 = 0 ;
10430 int res2 = 0 ;
10431 void *argp3 = 0 ;
10432 int res3 = 0 ;
10433 int val4 ;
10434 int ecode4 = 0 ;
10435 int val5 ;
10436 int ecode5 = 0 ;
10437 wxRect temp6 ;
10438 void *argp7 = 0 ;
10439 int res7 = 0 ;
10440 PyObject * obj0 = 0 ;
10441 PyObject * obj1 = 0 ;
10442 PyObject * obj2 = 0 ;
10443 PyObject * obj3 = 0 ;
10444 PyObject * obj4 = 0 ;
10445 PyObject * obj5 = 0 ;
10446 PyObject * obj6 = 0 ;
10447 char * kwnames[] = {
10448 (char *) "self",(char *) "dc",(char *) "window",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
10449 };
10450
10451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10453 if (!SWIG_IsOK(res1)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
10455 }
10456 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10458 if (!SWIG_IsOK(res2)) {
10459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10460 }
10461 if (!argp2) {
10462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10463 }
10464 arg2 = reinterpret_cast< wxDC * >(argp2);
10465 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10466 if (!SWIG_IsOK(res3)) {
10467 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "wxWindow *""'");
10468 }
10469 arg3 = reinterpret_cast< wxWindow * >(argp3);
10470 ecode4 = SWIG_AsVal_int(obj3, &val4);
10471 if (!SWIG_IsOK(ecode4)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
10473 }
10474 arg4 = static_cast< int >(val4);
10475 ecode5 = SWIG_AsVal_int(obj4, &val5);
10476 if (!SWIG_IsOK(ecode5)) {
10477 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DockArt_DrawPaneButton" "', expected argument " "5"" of type '" "int""'");
10478 }
10479 arg5 = static_cast< int >(val5);
10480 {
10481 arg6 = &temp6;
10482 if ( ! wxRect_helper(obj5, &arg6)) SWIG_fail;
10483 }
10484 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxPaneInfo, 0 );
10485 if (!SWIG_IsOK(res7)) {
10486 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10487 }
10488 if (!argp7) {
10489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "7"" of type '" "wxPaneInfo &""'");
10490 }
10491 arg7 = reinterpret_cast< wxPaneInfo * >(argp7);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->DrawPaneButton(*arg2,arg3,arg4,arg5,(wxRect const &)*arg6,*arg7);
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 *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10506 PyObject *obj;
10507 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10508 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10509 return SWIG_Py_Void();
10510 }
10511
10512 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10513 PyObject *resultobj = 0;
10514 wxDefaultDockArt *result = 0 ;
10515
10516 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10520 wxPyEndAllowThreads(__tstate);
10521 if (PyErr_Occurred()) SWIG_fail;
10522 }
10523 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10524 return resultobj;
10525 fail:
10526 return NULL;
10527 }
10528
10529
10530 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10531 PyObject *obj;
10532 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10533 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10534 return SWIG_Py_Void();
10535 }
10536
10537 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10538 return SWIG_Python_InitShadowInstance(args);
10539 }
10540
10541 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj = 0;
10543 wxWindow *arg1 = (wxWindow *) 0 ;
10544 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10545 wxPaneInfo *arg3 = 0 ;
10546 int arg4 = (int) wxID_ANY ;
10547 wxFloatingPane *result = 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 void *argp2 = 0 ;
10551 int res2 = 0 ;
10552 void *argp3 = 0 ;
10553 int res3 = 0 ;
10554 int val4 ;
10555 int ecode4 = 0 ;
10556 PyObject * obj0 = 0 ;
10557 PyObject * obj1 = 0 ;
10558 PyObject * obj2 = 0 ;
10559 PyObject * obj3 = 0 ;
10560 char * kwnames[] = {
10561 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
10562 };
10563
10564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10566 if (!SWIG_IsOK(res1)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10568 }
10569 arg1 = reinterpret_cast< wxWindow * >(argp1);
10570 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10571 if (!SWIG_IsOK(res2)) {
10572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10573 }
10574 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10575 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10576 if (!SWIG_IsOK(res3)) {
10577 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10578 }
10579 if (!argp3) {
10580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10581 }
10582 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10583 if (obj3) {
10584 ecode4 = SWIG_AsVal_int(obj3, &val4);
10585 if (!SWIG_IsOK(ecode4)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10587 }
10588 arg4 = static_cast< int >(val4);
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10604 PyObject *resultobj = 0;
10605 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10606 void *argp1 = 0 ;
10607 int res1 = 0 ;
10608 PyObject *swig_obj[1] ;
10609
10610 if (!args) SWIG_fail;
10611 swig_obj[0] = args;
10612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
10613 if (!SWIG_IsOK(res1)) {
10614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10615 }
10616 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 delete arg1;
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_Py_Void();
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj = 0;
10633 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10634 wxPaneInfo *arg2 = 0 ;
10635 void *argp1 = 0 ;
10636 int res1 = 0 ;
10637 void *argp2 = 0 ;
10638 int res2 = 0 ;
10639 PyObject * obj0 = 0 ;
10640 PyObject * obj1 = 0 ;
10641 char * kwnames[] = {
10642 (char *) "self",(char *) "pane", NULL
10643 };
10644
10645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
10646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
10647 if (!SWIG_IsOK(res1)) {
10648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10649 }
10650 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10651 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10652 if (!SWIG_IsOK(res2)) {
10653 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10654 }
10655 if (!argp2) {
10656 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10657 }
10658 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 resultobj = SWIG_Py_Void();
10666 return resultobj;
10667 fail:
10668 return NULL;
10669 }
10670
10671
10672 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10673 PyObject *obj;
10674 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10675 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
10676 return SWIG_Py_Void();
10677 }
10678
10679 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10680 return SWIG_Python_InitShadowInstance(args);
10681 }
10682
10683 SWIGINTERN PyObject *_wrap_new_AuiNotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj = 0;
10685 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10686 int arg2 = (int) 0 ;
10687 wxAuiNotebookEvent *result = 0 ;
10688 int val1 ;
10689 int ecode1 = 0 ;
10690 int val2 ;
10691 int ecode2 = 0 ;
10692 PyObject * obj0 = 0 ;
10693 PyObject * obj1 = 0 ;
10694 char * kwnames[] = {
10695 (char *) "command_type",(char *) "win_id", NULL
10696 };
10697
10698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_AuiNotebookEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10699 if (obj0) {
10700 ecode1 = SWIG_AsVal_int(obj0, &val1);
10701 if (!SWIG_IsOK(ecode1)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_AuiNotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10703 }
10704 arg1 = static_cast< wxEventType >(val1);
10705 }
10706 if (obj1) {
10707 ecode2 = SWIG_AsVal_int(obj1, &val2);
10708 if (!SWIG_IsOK(ecode2)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiNotebookEvent" "', expected argument " "2"" of type '" "int""'");
10710 }
10711 arg2 = static_cast< int >(val2);
10712 }
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (wxAuiNotebookEvent *)new wxAuiNotebookEvent(arg1,arg2);
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookEvent, SWIG_POINTER_NEW | 0 );
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj = 0;
10728 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10729 int arg2 ;
10730 void *argp1 = 0 ;
10731 int res1 = 0 ;
10732 int val2 ;
10733 int ecode2 = 0 ;
10734 PyObject * obj0 = 0 ;
10735 PyObject * obj1 = 0 ;
10736 char * kwnames[] = {
10737 (char *) "self",(char *) "s", NULL
10738 };
10739
10740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10742 if (!SWIG_IsOK(res1)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10744 }
10745 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10746 ecode2 = SWIG_AsVal_int(obj1, &val2);
10747 if (!SWIG_IsOK(ecode2)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
10749 }
10750 arg2 = static_cast< int >(val2);
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 (arg1)->SetSelection(arg2);
10754 wxPyEndAllowThreads(__tstate);
10755 if (PyErr_Occurred()) SWIG_fail;
10756 }
10757 resultobj = SWIG_Py_Void();
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10765 PyObject *resultobj = 0;
10766 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10767 int arg2 ;
10768 void *argp1 = 0 ;
10769 int res1 = 0 ;
10770 int val2 ;
10771 int ecode2 = 0 ;
10772 PyObject * obj0 = 0 ;
10773 PyObject * obj1 = 0 ;
10774 char * kwnames[] = {
10775 (char *) "self",(char *) "s", NULL
10776 };
10777
10778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiNotebookEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
10779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10780 if (!SWIG_IsOK(res1)) {
10781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10782 }
10783 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10784 ecode2 = SWIG_AsVal_int(obj1, &val2);
10785 if (!SWIG_IsOK(ecode2)) {
10786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
10787 }
10788 arg2 = static_cast< int >(val2);
10789 {
10790 PyThreadState* __tstate = wxPyBeginAllowThreads();
10791 (arg1)->SetOldSelection(arg2);
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 resultobj = SWIG_Py_Void();
10796 return resultobj;
10797 fail:
10798 return NULL;
10799 }
10800
10801
10802 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10803 PyObject *resultobj = 0;
10804 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10805 int result;
10806 void *argp1 = 0 ;
10807 int res1 = 0 ;
10808 PyObject *swig_obj[1] ;
10809
10810 if (!args) SWIG_fail;
10811 swig_obj[0] = args;
10812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10813 if (!SWIG_IsOK(res1)) {
10814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10815 }
10816 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10817 {
10818 PyThreadState* __tstate = wxPyBeginAllowThreads();
10819 result = (int)((wxAuiNotebookEvent const *)arg1)->GetSelection();
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 resultobj = SWIG_From_int(static_cast< int >(result));
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10831 PyObject *resultobj = 0;
10832 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10833 int result;
10834 void *argp1 = 0 ;
10835 int res1 = 0 ;
10836 PyObject *swig_obj[1] ;
10837
10838 if (!args) SWIG_fail;
10839 swig_obj[0] = args;
10840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10841 if (!SWIG_IsOK(res1)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxAuiNotebookEvent const *""'");
10843 }
10844 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10845 {
10846 PyThreadState* __tstate = wxPyBeginAllowThreads();
10847 result = (int)((wxAuiNotebookEvent const *)arg1)->GetOldSelection();
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 resultobj = SWIG_From_int(static_cast< int >(result));
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10859 PyObject *resultobj = 0;
10860 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10861 int arg2 ;
10862 void *argp1 = 0 ;
10863 int res1 = 0 ;
10864 int val2 ;
10865 int ecode2 = 0 ;
10866 PyObject *swig_obj[2] ;
10867
10868 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_old_selection_set",2,2,swig_obj)) SWIG_fail;
10869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10870 if (!SWIG_IsOK(res1)) {
10871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10872 }
10873 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10874 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10875 if (!SWIG_IsOK(ecode2)) {
10876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_old_selection_set" "', expected argument " "2"" of type '" "int""'");
10877 }
10878 arg2 = static_cast< int >(val2);
10879 if (arg1) (arg1)->old_selection = arg2;
10880
10881 resultobj = SWIG_Py_Void();
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_old_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10889 PyObject *resultobj = 0;
10890 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10891 int result;
10892 void *argp1 = 0 ;
10893 int res1 = 0 ;
10894 PyObject *swig_obj[1] ;
10895
10896 if (!args) SWIG_fail;
10897 swig_obj[0] = args;
10898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10899 if (!SWIG_IsOK(res1)) {
10900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_old_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10901 }
10902 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10903 result = (int) ((arg1)->old_selection);
10904 resultobj = SWIG_From_int(static_cast< int >(result));
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10912 PyObject *resultobj = 0;
10913 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10914 int arg2 ;
10915 void *argp1 = 0 ;
10916 int res1 = 0 ;
10917 int val2 ;
10918 int ecode2 = 0 ;
10919 PyObject *swig_obj[2] ;
10920
10921 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookEvent_selection_set",2,2,swig_obj)) SWIG_fail;
10922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10923 if (!SWIG_IsOK(res1)) {
10924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10925 }
10926 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10927 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
10928 if (!SWIG_IsOK(ecode2)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookEvent_selection_set" "', expected argument " "2"" of type '" "int""'");
10930 }
10931 arg2 = static_cast< int >(val2);
10932 if (arg1) (arg1)->selection = arg2;
10933
10934 resultobj = SWIG_Py_Void();
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 SWIGINTERN PyObject *_wrap_AuiNotebookEvent_selection_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10942 PyObject *resultobj = 0;
10943 wxAuiNotebookEvent *arg1 = (wxAuiNotebookEvent *) 0 ;
10944 int result;
10945 void *argp1 = 0 ;
10946 int res1 = 0 ;
10947 PyObject *swig_obj[1] ;
10948
10949 if (!args) SWIG_fail;
10950 swig_obj[0] = args;
10951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookEvent, 0 | 0 );
10952 if (!SWIG_IsOK(res1)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookEvent_selection_get" "', expected argument " "1"" of type '" "wxAuiNotebookEvent *""'");
10954 }
10955 arg1 = reinterpret_cast< wxAuiNotebookEvent * >(argp1);
10956 result = (int) ((arg1)->selection);
10957 resultobj = SWIG_From_int(static_cast< int >(result));
10958 return resultobj;
10959 fail:
10960 return NULL;
10961 }
10962
10963
10964 SWIGINTERN PyObject *AuiNotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10965 PyObject *obj;
10966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10967 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookEvent, SWIG_NewClientData(obj));
10968 return SWIG_Py_Void();
10969 }
10970
10971 SWIGINTERN PyObject *AuiNotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10972 return SWIG_Python_InitShadowInstance(args);
10973 }
10974
10975 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10976 PyObject *resultobj = 0;
10977 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
10978 wxWindow *arg2 = (wxWindow *) 0 ;
10979 void *argp1 = 0 ;
10980 int res1 = 0 ;
10981 void *argp2 = 0 ;
10982 int res2 = 0 ;
10983 PyObject *swig_obj[2] ;
10984
10985 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_window_set",2,2,swig_obj)) SWIG_fail;
10986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
10987 if (!SWIG_IsOK(res1)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
10989 }
10990 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
10991 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
10992 if (!SWIG_IsOK(res2)) {
10993 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
10994 }
10995 arg2 = reinterpret_cast< wxWindow * >(argp2);
10996 if (arg1) (arg1)->window = arg2;
10997
10998 resultobj = SWIG_Py_Void();
10999 return resultobj;
11000 fail:
11001 return NULL;
11002 }
11003
11004
11005 SWIGINTERN PyObject *_wrap_AuiNotebookPage_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11006 PyObject *resultobj = 0;
11007 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11008 wxWindow *result = 0 ;
11009 void *argp1 = 0 ;
11010 int res1 = 0 ;
11011 PyObject *swig_obj[1] ;
11012
11013 if (!args) SWIG_fail;
11014 swig_obj[0] = args;
11015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11016 if (!SWIG_IsOK(res1)) {
11017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_window_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11018 }
11019 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11020 result = (wxWindow *) ((arg1)->window);
11021 {
11022 resultobj = wxPyMake_wxObject(result, 0);
11023 }
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11031 PyObject *resultobj = 0;
11032 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11033 wxString *arg2 = (wxString *) 0 ;
11034 void *argp1 = 0 ;
11035 int res1 = 0 ;
11036 bool temp2 = false ;
11037 PyObject *swig_obj[2] ;
11038
11039 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_caption_set",2,2,swig_obj)) SWIG_fail;
11040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11041 if (!SWIG_IsOK(res1)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11043 }
11044 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11045 {
11046 arg2 = wxString_in_helper(swig_obj[1]);
11047 if (arg2 == NULL) SWIG_fail;
11048 temp2 = true;
11049 }
11050 if (arg1) (arg1)->caption = *arg2;
11051
11052 resultobj = SWIG_Py_Void();
11053 {
11054 if (temp2)
11055 delete arg2;
11056 }
11057 return resultobj;
11058 fail:
11059 {
11060 if (temp2)
11061 delete arg2;
11062 }
11063 return NULL;
11064 }
11065
11066
11067 SWIGINTERN PyObject *_wrap_AuiNotebookPage_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11068 PyObject *resultobj = 0;
11069 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11070 wxString *result = 0 ;
11071 void *argp1 = 0 ;
11072 int res1 = 0 ;
11073 PyObject *swig_obj[1] ;
11074
11075 if (!args) SWIG_fail;
11076 swig_obj[0] = args;
11077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11078 if (!SWIG_IsOK(res1)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_caption_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11080 }
11081 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11082 result = (wxString *)& ((arg1)->caption);
11083 {
11084 #if wxUSE_UNICODE
11085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11086 #else
11087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11088 #endif
11089 }
11090 return resultobj;
11091 fail:
11092 return NULL;
11093 }
11094
11095
11096 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11097 PyObject *resultobj = 0;
11098 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11099 wxBitmap *arg2 = (wxBitmap *) 0 ;
11100 void *argp1 = 0 ;
11101 int res1 = 0 ;
11102 void *argp2 = 0 ;
11103 int res2 = 0 ;
11104 PyObject *swig_obj[2] ;
11105
11106 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_bitmap_set",2,2,swig_obj)) SWIG_fail;
11107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11108 if (!SWIG_IsOK(res1)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11110 }
11111 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11112 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11113 if (!SWIG_IsOK(res2)) {
11114 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11115 }
11116 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11117 if (arg1) (arg1)->bitmap = *arg2;
11118
11119 resultobj = SWIG_Py_Void();
11120 return resultobj;
11121 fail:
11122 return NULL;
11123 }
11124
11125
11126 SWIGINTERN PyObject *_wrap_AuiNotebookPage_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11127 PyObject *resultobj = 0;
11128 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11129 wxBitmap *result = 0 ;
11130 void *argp1 = 0 ;
11131 int res1 = 0 ;
11132 PyObject *swig_obj[1] ;
11133
11134 if (!args) SWIG_fail;
11135 swig_obj[0] = args;
11136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11137 if (!SWIG_IsOK(res1)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_bitmap_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11139 }
11140 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11141 result = (wxBitmap *)& ((arg1)->bitmap);
11142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11143 return resultobj;
11144 fail:
11145 return NULL;
11146 }
11147
11148
11149 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11150 PyObject *resultobj = 0;
11151 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11152 wxRect *arg2 = (wxRect *) 0 ;
11153 void *argp1 = 0 ;
11154 int res1 = 0 ;
11155 void *argp2 = 0 ;
11156 int res2 = 0 ;
11157 PyObject *swig_obj[2] ;
11158
11159 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_rect_set",2,2,swig_obj)) SWIG_fail;
11160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11161 if (!SWIG_IsOK(res1)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11163 }
11164 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11165 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11166 if (!SWIG_IsOK(res2)) {
11167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiNotebookPage_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11168 }
11169 arg2 = reinterpret_cast< wxRect * >(argp2);
11170 if (arg1) (arg1)->rect = *arg2;
11171
11172 resultobj = SWIG_Py_Void();
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 SWIGINTERN PyObject *_wrap_AuiNotebookPage_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11180 PyObject *resultobj = 0;
11181 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11182 wxRect *result = 0 ;
11183 void *argp1 = 0 ;
11184 int res1 = 0 ;
11185 PyObject *swig_obj[1] ;
11186
11187 if (!args) SWIG_fail;
11188 swig_obj[0] = args;
11189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11190 if (!SWIG_IsOK(res1)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_rect_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11192 }
11193 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11194 result = (wxRect *)& ((arg1)->rect);
11195 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11196 return resultobj;
11197 fail:
11198 return NULL;
11199 }
11200
11201
11202 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11203 PyObject *resultobj = 0;
11204 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11205 bool arg2 ;
11206 void *argp1 = 0 ;
11207 int res1 = 0 ;
11208 bool val2 ;
11209 int ecode2 = 0 ;
11210 PyObject *swig_obj[2] ;
11211
11212 if (!SWIG_Python_UnpackTuple(args,"AuiNotebookPage_active_set",2,2,swig_obj)) SWIG_fail;
11213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11214 if (!SWIG_IsOK(res1)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_set" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11216 }
11217 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11218 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
11219 if (!SWIG_IsOK(ecode2)) {
11220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiNotebookPage_active_set" "', expected argument " "2"" of type '" "bool""'");
11221 }
11222 arg2 = static_cast< bool >(val2);
11223 if (arg1) (arg1)->active = arg2;
11224
11225 resultobj = SWIG_Py_Void();
11226 return resultobj;
11227 fail:
11228 return NULL;
11229 }
11230
11231
11232 SWIGINTERN PyObject *_wrap_AuiNotebookPage_active_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11233 PyObject *resultobj = 0;
11234 wxAuiNotebookPage *arg1 = (wxAuiNotebookPage *) 0 ;
11235 bool result;
11236 void *argp1 = 0 ;
11237 int res1 = 0 ;
11238 PyObject *swig_obj[1] ;
11239
11240 if (!args) SWIG_fail;
11241 swig_obj[0] = args;
11242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
11243 if (!SWIG_IsOK(res1)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiNotebookPage_active_get" "', expected argument " "1"" of type '" "wxAuiNotebookPage *""'");
11245 }
11246 arg1 = reinterpret_cast< wxAuiNotebookPage * >(argp1);
11247 result = (bool) ((arg1)->active);
11248 {
11249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11250 }
11251 return resultobj;
11252 fail:
11253 return NULL;
11254 }
11255
11256
11257 SWIGINTERN PyObject *AuiNotebookPage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11258 PyObject *obj;
11259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11260 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiNotebookPage, SWIG_NewClientData(obj));
11261 return SWIG_Py_Void();
11262 }
11263
11264 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11265 PyObject *resultobj = 0;
11266 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11267 int arg2 ;
11268 void *argp1 = 0 ;
11269 int res1 = 0 ;
11270 int val2 ;
11271 int ecode2 = 0 ;
11272 PyObject *swig_obj[2] ;
11273
11274 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_id_set",2,2,swig_obj)) SWIG_fail;
11275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11276 if (!SWIG_IsOK(res1)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11278 }
11279 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11280 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11281 if (!SWIG_IsOK(ecode2)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_id_set" "', expected argument " "2"" of type '" "int""'");
11283 }
11284 arg2 = static_cast< int >(val2);
11285 if (arg1) (arg1)->id = arg2;
11286
11287 resultobj = SWIG_Py_Void();
11288 return resultobj;
11289 fail:
11290 return NULL;
11291 }
11292
11293
11294 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11295 PyObject *resultobj = 0;
11296 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11297 int result;
11298 void *argp1 = 0 ;
11299 int res1 = 0 ;
11300 PyObject *swig_obj[1] ;
11301
11302 if (!args) SWIG_fail;
11303 swig_obj[0] = args;
11304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11305 if (!SWIG_IsOK(res1)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_id_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11307 }
11308 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11309 result = (int) ((arg1)->id);
11310 resultobj = SWIG_From_int(static_cast< int >(result));
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11318 PyObject *resultobj = 0;
11319 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11320 int arg2 ;
11321 void *argp1 = 0 ;
11322 int res1 = 0 ;
11323 int val2 ;
11324 int ecode2 = 0 ;
11325 PyObject *swig_obj[2] ;
11326
11327 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_cur_state_set",2,2,swig_obj)) SWIG_fail;
11328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11329 if (!SWIG_IsOK(res1)) {
11330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11331 }
11332 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11333 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
11334 if (!SWIG_IsOK(ecode2)) {
11335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainerButton_cur_state_set" "', expected argument " "2"" of type '" "int""'");
11336 }
11337 arg2 = static_cast< int >(val2);
11338 if (arg1) (arg1)->cur_state = arg2;
11339
11340 resultobj = SWIG_Py_Void();
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_cur_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11348 PyObject *resultobj = 0;
11349 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11350 int result;
11351 void *argp1 = 0 ;
11352 int res1 = 0 ;
11353 PyObject *swig_obj[1] ;
11354
11355 if (!args) SWIG_fail;
11356 swig_obj[0] = args;
11357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11358 if (!SWIG_IsOK(res1)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_cur_state_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11360 }
11361 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11362 result = (int) ((arg1)->cur_state);
11363 resultobj = SWIG_From_int(static_cast< int >(result));
11364 return resultobj;
11365 fail:
11366 return NULL;
11367 }
11368
11369
11370 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11371 PyObject *resultobj = 0;
11372 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11373 wxBitmap *arg2 = (wxBitmap *) 0 ;
11374 void *argp1 = 0 ;
11375 int res1 = 0 ;
11376 void *argp2 = 0 ;
11377 int res2 = 0 ;
11378 PyObject *swig_obj[2] ;
11379
11380 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_bitmap_set",2,2,swig_obj)) SWIG_fail;
11381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11384 }
11385 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11386 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
11387 if (!SWIG_IsOK(res2)) {
11388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_bitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
11389 }
11390 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11391 if (arg1) (arg1)->bitmap = *arg2;
11392
11393 resultobj = SWIG_Py_Void();
11394 return resultobj;
11395 fail:
11396 return NULL;
11397 }
11398
11399
11400 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_bitmap_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11403 wxBitmap *result = 0 ;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_bitmap_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11413 }
11414 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11415 result = (wxBitmap *)& ((arg1)->bitmap);
11416 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmap, 0 | 0 );
11417 return resultobj;
11418 fail:
11419 return NULL;
11420 }
11421
11422
11423 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11424 PyObject *resultobj = 0;
11425 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11426 wxRect *arg2 = (wxRect *) 0 ;
11427 void *argp1 = 0 ;
11428 int res1 = 0 ;
11429 void *argp2 = 0 ;
11430 int res2 = 0 ;
11431 PyObject *swig_obj[2] ;
11432
11433 if (!SWIG_Python_UnpackTuple(args,"AuiTabContainerButton_rect_set",2,2,swig_obj)) SWIG_fail;
11434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11435 if (!SWIG_IsOK(res1)) {
11436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11437 }
11438 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11439 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
11440 if (!SWIG_IsOK(res2)) {
11441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainerButton_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
11442 }
11443 arg2 = reinterpret_cast< wxRect * >(argp2);
11444 if (arg1) (arg1)->rect = *arg2;
11445
11446 resultobj = SWIG_Py_Void();
11447 return resultobj;
11448 fail:
11449 return NULL;
11450 }
11451
11452
11453 SWIGINTERN PyObject *_wrap_AuiTabContainerButton_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11454 PyObject *resultobj = 0;
11455 wxAuiTabContainerButton *arg1 = (wxAuiTabContainerButton *) 0 ;
11456 wxRect *result = 0 ;
11457 void *argp1 = 0 ;
11458 int res1 = 0 ;
11459 PyObject *swig_obj[1] ;
11460
11461 if (!args) SWIG_fail;
11462 swig_obj[0] = args;
11463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainerButton, 0 | 0 );
11464 if (!SWIG_IsOK(res1)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainerButton_rect_get" "', expected argument " "1"" of type '" "wxAuiTabContainerButton *""'");
11466 }
11467 arg1 = reinterpret_cast< wxAuiTabContainerButton * >(argp1);
11468 result = (wxRect *)& ((arg1)->rect);
11469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
11470 return resultobj;
11471 fail:
11472 return NULL;
11473 }
11474
11475
11476 SWIGINTERN PyObject *AuiTabContainerButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11477 PyObject *obj;
11478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11479 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainerButton, SWIG_NewClientData(obj));
11480 return SWIG_Py_Void();
11481 }
11482
11483 SWIGINTERN PyObject *_wrap_new_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11484 PyObject *resultobj = 0;
11485 wxAuiTabContainer *result = 0 ;
11486
11487 if (!SWIG_Python_UnpackTuple(args,"new_AuiTabContainer",0,0,0)) SWIG_fail;
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (wxAuiTabContainer *)new wxAuiTabContainer();
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_NEW | 0 );
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 SWIGINTERN PyObject *_wrap_delete_AuiTabContainer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11502 PyObject *resultobj = 0;
11503 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11504 void *argp1 = 0 ;
11505 int res1 = 0 ;
11506 PyObject *swig_obj[1] ;
11507
11508 if (!args) SWIG_fail;
11509 swig_obj[0] = args;
11510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, SWIG_POINTER_DISOWN | 0 );
11511 if (!SWIG_IsOK(res1)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AuiTabContainer" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11513 }
11514 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 delete arg1;
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 resultobj = SWIG_Py_Void();
11523 return resultobj;
11524 fail:
11525 return NULL;
11526 }
11527
11528
11529 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj = 0;
11531 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11532 wxWindow *arg2 = (wxWindow *) 0 ;
11533 wxAuiNotebookPage *arg3 = 0 ;
11534 bool result;
11535 void *argp1 = 0 ;
11536 int res1 = 0 ;
11537 void *argp2 = 0 ;
11538 int res2 = 0 ;
11539 void *argp3 = 0 ;
11540 int res3 = 0 ;
11541 PyObject * obj0 = 0 ;
11542 PyObject * obj1 = 0 ;
11543 PyObject * obj2 = 0 ;
11544 char * kwnames[] = {
11545 (char *) "self",(char *) "page",(char *) "info", NULL
11546 };
11547
11548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11550 if (!SWIG_IsOK(res1)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11552 }
11553 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11554 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11555 if (!SWIG_IsOK(res2)) {
11556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11557 }
11558 arg2 = reinterpret_cast< wxWindow * >(argp2);
11559 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11560 if (!SWIG_IsOK(res3)) {
11561 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11562 }
11563 if (!argp3) {
11564 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11565 }
11566 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (bool)(arg1)->AddPage(arg2,(wxAuiNotebookPage const &)*arg3);
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 {
11574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11575 }
11576 return resultobj;
11577 fail:
11578 return NULL;
11579 }
11580
11581
11582 SWIGINTERN PyObject *_wrap_AuiTabContainer_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj = 0;
11584 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11585 wxWindow *arg2 = (wxWindow *) 0 ;
11586 wxAuiNotebookPage *arg3 = 0 ;
11587 size_t arg4 ;
11588 bool result;
11589 void *argp1 = 0 ;
11590 int res1 = 0 ;
11591 void *argp2 = 0 ;
11592 int res2 = 0 ;
11593 void *argp3 = 0 ;
11594 int res3 = 0 ;
11595 size_t val4 ;
11596 int ecode4 = 0 ;
11597 PyObject * obj0 = 0 ;
11598 PyObject * obj1 = 0 ;
11599 PyObject * obj2 = 0 ;
11600 PyObject * obj3 = 0 ;
11601 char * kwnames[] = {
11602 (char *) "self",(char *) "page",(char *) "info",(char *) "idx", NULL
11603 };
11604
11605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11607 if (!SWIG_IsOK(res1)) {
11608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11609 }
11610 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11611 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11612 if (!SWIG_IsOK(res2)) {
11613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "2"" of type '" "wxWindow *""'");
11614 }
11615 arg2 = reinterpret_cast< wxWindow * >(argp2);
11616 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxAuiNotebookPage, 0 | 0);
11617 if (!SWIG_IsOK(res3)) {
11618 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11619 }
11620 if (!argp3) {
11621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_InsertPage" "', expected argument " "3"" of type '" "wxAuiNotebookPage const &""'");
11622 }
11623 arg3 = reinterpret_cast< wxAuiNotebookPage * >(argp3);
11624 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
11625 if (!SWIG_IsOK(ecode4)) {
11626 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiTabContainer_InsertPage" "', expected argument " "4"" of type '" "size_t""'");
11627 }
11628 arg4 = static_cast< size_t >(val4);
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (bool)(arg1)->InsertPage(arg2,(wxAuiNotebookPage const &)*arg3,arg4);
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 {
11636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11637 }
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 SWIGINTERN PyObject *_wrap_AuiTabContainer_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj = 0;
11646 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11647 wxWindow *arg2 = (wxWindow *) 0 ;
11648 bool result;
11649 void *argp1 = 0 ;
11650 int res1 = 0 ;
11651 void *argp2 = 0 ;
11652 int res2 = 0 ;
11653 PyObject * obj0 = 0 ;
11654 PyObject * obj1 = 0 ;
11655 char * kwnames[] = {
11656 (char *) "self",(char *) "page", NULL
11657 };
11658
11659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
11660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11661 if (!SWIG_IsOK(res1)) {
11662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11663 }
11664 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11666 if (!SWIG_IsOK(res2)) {
11667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_RemovePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11668 }
11669 arg2 = reinterpret_cast< wxWindow * >(argp2);
11670 {
11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
11672 result = (bool)(arg1)->RemovePage(arg2);
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11686 PyObject *resultobj = 0;
11687 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11688 wxWindow *arg2 = (wxWindow *) 0 ;
11689 bool result;
11690 void *argp1 = 0 ;
11691 int res1 = 0 ;
11692 void *argp2 = 0 ;
11693 int res2 = 0 ;
11694
11695 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11697 if (!SWIG_IsOK(res1)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11699 }
11700 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11701 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11702 if (!SWIG_IsOK(res2)) {
11703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "wxWindow *""'");
11704 }
11705 arg2 = reinterpret_cast< wxWindow * >(argp2);
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (bool)(arg1)->SetActivePage(arg2);
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 {
11713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11714 }
11715 return resultobj;
11716 fail:
11717 return NULL;
11718 }
11719
11720
11721 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
11722 PyObject *resultobj = 0;
11723 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11724 size_t arg2 ;
11725 bool result;
11726 void *argp1 = 0 ;
11727 int res1 = 0 ;
11728 size_t val2 ;
11729 int ecode2 = 0 ;
11730
11731 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
11732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11733 if (!SWIG_IsOK(res1)) {
11734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11735 }
11736 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11737 ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2);
11738 if (!SWIG_IsOK(ecode2)) {
11739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_SetActivePage" "', expected argument " "2"" of type '" "size_t""'");
11740 }
11741 arg2 = static_cast< size_t >(val2);
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = (bool)(arg1)->SetActivePage(arg2);
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11750 }
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetActivePage(PyObject *self, PyObject *args) {
11758 int argc;
11759 PyObject *argv[3];
11760
11761 if (!(argc = SWIG_Python_UnpackTuple(args,"AuiTabContainer_SetActivePage",0,2,argv))) SWIG_fail;
11762 --argc;
11763 if (argc == 2) {
11764 int _v = 0;
11765 {
11766 void *vptr = 0;
11767 int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_wxWindow, 0);
11768 _v = SWIG_CheckState(res);
11769 }
11770 if (!_v) goto check_1;
11771 return _wrap_AuiTabContainer_SetActivePage__SWIG_0(self, argc, argv);
11772 }
11773 check_1:
11774
11775 if (argc == 2) {
11776 return _wrap_AuiTabContainer_SetActivePage__SWIG_1(self, argc, argv);
11777 }
11778
11779 fail:
11780 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'AuiTabContainer_SetActivePage'");
11781 return NULL;
11782 }
11783
11784
11785 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNoneActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNoneActive" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
11797 }
11798 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 (arg1)->SetNoneActive();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_Py_Void();
11806 return resultobj;
11807 fail:
11808 return NULL;
11809 }
11810
11811
11812 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetActivePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11813 PyObject *resultobj = 0;
11814 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11815 int result;
11816 void *argp1 = 0 ;
11817 int res1 = 0 ;
11818 PyObject *swig_obj[1] ;
11819
11820 if (!args) SWIG_fail;
11821 swig_obj[0] = args;
11822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11823 if (!SWIG_IsOK(res1)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetActivePage" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11825 }
11826 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11827 {
11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
11829 result = (int)((wxAuiTabContainer const *)arg1)->GetActivePage();
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 resultobj = SWIG_From_int(static_cast< int >(result));
11834 return resultobj;
11835 fail:
11836 return NULL;
11837 }
11838
11839
11840 SWIGINTERN PyObject *_wrap_AuiTabContainer_TabHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11841 PyObject *resultobj = 0;
11842 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11843 int arg2 ;
11844 int arg3 ;
11845 wxWindow **arg4 = (wxWindow **) 0 ;
11846 bool result;
11847 void *argp1 = 0 ;
11848 int res1 = 0 ;
11849 int val2 ;
11850 int ecode2 = 0 ;
11851 int val3 ;
11852 int ecode3 = 0 ;
11853 void *argp4 = 0 ;
11854 int res4 = 0 ;
11855 PyObject * obj0 = 0 ;
11856 PyObject * obj1 = 0 ;
11857 PyObject * obj2 = 0 ;
11858 PyObject * obj3 = 0 ;
11859 char * kwnames[] = {
11860 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
11861 };
11862
11863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_TabHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11865 if (!SWIG_IsOK(res1)) {
11866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11867 }
11868 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11869 ecode2 = SWIG_AsVal_int(obj1, &val2);
11870 if (!SWIG_IsOK(ecode2)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "2"" of type '" "int""'");
11872 }
11873 arg2 = static_cast< int >(val2);
11874 ecode3 = SWIG_AsVal_int(obj2, &val3);
11875 if (!SWIG_IsOK(ecode3)) {
11876 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "3"" of type '" "int""'");
11877 }
11878 arg3 = static_cast< int >(val3);
11879 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxWindow, 0 | 0 );
11880 if (!SWIG_IsOK(res4)) {
11881 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_TabHitTest" "', expected argument " "4"" of type '" "wxWindow **""'");
11882 }
11883 arg4 = reinterpret_cast< wxWindow ** >(argp4);
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (bool)((wxAuiTabContainer const *)arg1)->TabHitTest(arg2,arg3,arg4);
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 {
11891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11892 }
11893 return resultobj;
11894 fail:
11895 return NULL;
11896 }
11897
11898
11899 SWIGINTERN PyObject *_wrap_AuiTabContainer_ButtonHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11900 PyObject *resultobj = 0;
11901 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11902 int arg2 ;
11903 int arg3 ;
11904 wxAuiTabContainerButton **arg4 = (wxAuiTabContainerButton **) 0 ;
11905 bool result;
11906 void *argp1 = 0 ;
11907 int res1 = 0 ;
11908 int val2 ;
11909 int ecode2 = 0 ;
11910 int val3 ;
11911 int ecode3 = 0 ;
11912 void *argp4 = 0 ;
11913 int res4 = 0 ;
11914 PyObject * obj0 = 0 ;
11915 PyObject * obj1 = 0 ;
11916 PyObject * obj2 = 0 ;
11917 PyObject * obj3 = 0 ;
11918 char * kwnames[] = {
11919 (char *) "self",(char *) "x",(char *) "y",(char *) "hit", NULL
11920 };
11921
11922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AuiTabContainer_ButtonHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11924 if (!SWIG_IsOK(res1)) {
11925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11926 }
11927 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11928 ecode2 = SWIG_AsVal_int(obj1, &val2);
11929 if (!SWIG_IsOK(ecode2)) {
11930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "2"" of type '" "int""'");
11931 }
11932 arg2 = static_cast< int >(val2);
11933 ecode3 = SWIG_AsVal_int(obj2, &val3);
11934 if (!SWIG_IsOK(ecode3)) {
11935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "3"" of type '" "int""'");
11936 }
11937 arg3 = static_cast< int >(val3);
11938 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_p_wxAuiTabContainerButton, 0 | 0 );
11939 if (!SWIG_IsOK(res4)) {
11940 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "AuiTabContainer_ButtonHitTest" "', expected argument " "4"" of type '" "wxAuiTabContainerButton **""'");
11941 }
11942 arg4 = reinterpret_cast< wxAuiTabContainerButton ** >(argp4);
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (bool)((wxAuiTabContainer const *)arg1)->ButtonHitTest(arg2,arg3,arg4);
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 {
11950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11951 }
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetWindowFromIdx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj = 0;
11960 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
11961 size_t arg2 ;
11962 wxWindow *result = 0 ;
11963 void *argp1 = 0 ;
11964 int res1 = 0 ;
11965 size_t val2 ;
11966 int ecode2 = 0 ;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 char * kwnames[] = {
11970 (char *) "self",(char *) "idx", NULL
11971 };
11972
11973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetWindowFromIdx",kwnames,&obj0,&obj1)) SWIG_fail;
11974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
11975 if (!SWIG_IsOK(res1)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
11977 }
11978 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
11979 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
11980 if (!SWIG_IsOK(ecode2)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetWindowFromIdx" "', expected argument " "2"" of type '" "size_t""'");
11982 }
11983 arg2 = static_cast< size_t >(val2);
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (wxWindow *)((wxAuiTabContainer const *)arg1)->GetWindowFromIdx(arg2);
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 {
11991 resultobj = wxPyMake_wxObject(result, 0);
11992 }
11993 return resultobj;
11994 fail:
11995 return NULL;
11996 }
11997
11998
11999 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetIdxFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj = 0;
12001 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12002 wxWindow *arg2 = (wxWindow *) 0 ;
12003 int result;
12004 void *argp1 = 0 ;
12005 int res1 = 0 ;
12006 void *argp2 = 0 ;
12007 int res2 = 0 ;
12008 PyObject * obj0 = 0 ;
12009 PyObject * obj1 = 0 ;
12010 char * kwnames[] = {
12011 (char *) "self",(char *) "page", NULL
12012 };
12013
12014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetIdxFromWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12016 if (!SWIG_IsOK(res1)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12018 }
12019 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12021 if (!SWIG_IsOK(res2)) {
12022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_GetIdxFromWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12023 }
12024 arg2 = reinterpret_cast< wxWindow * >(argp2);
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (int)((wxAuiTabContainer const *)arg1)->GetIdxFromWindow(arg2);
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 resultobj = SWIG_From_int(static_cast< int >(result));
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12039 PyObject *resultobj = 0;
12040 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12041 size_t result;
12042 void *argp1 = 0 ;
12043 int res1 = 0 ;
12044 PyObject *swig_obj[1] ;
12045
12046 if (!args) SWIG_fail;
12047 swig_obj[0] = args;
12048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12049 if (!SWIG_IsOK(res1)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPageCount" "', expected argument " "1"" of type '" "wxAuiTabContainer const *""'");
12051 }
12052 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (size_t)((wxAuiTabContainer const *)arg1)->GetPageCount();
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj = 0;
12068 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12069 size_t arg2 ;
12070 wxAuiNotebookPage *result = 0 ;
12071 void *argp1 = 0 ;
12072 int res1 = 0 ;
12073 size_t val2 ;
12074 int ecode2 = 0 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char * kwnames[] = {
12078 (char *) "self",(char *) "idx", NULL
12079 };
12080
12081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
12082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12083 if (!SWIG_IsOK(res1)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPage" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12085 }
12086 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12087 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12088 if (!SWIG_IsOK(ecode2)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_GetPage" "', expected argument " "2"" of type '" "size_t""'");
12090 }
12091 arg2 = static_cast< size_t >(val2);
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 {
12095 wxAuiNotebookPage &_result_ref = (arg1)->GetPage(arg2);
12096 result = (wxAuiNotebookPage *) &_result_ref;
12097 }
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPage, 0 | 0 );
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 SWIGINTERN PyObject *_wrap_AuiTabContainer_GetPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12109 PyObject *resultobj = 0;
12110 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12111 wxAuiNotebookPageArray *result = 0 ;
12112 void *argp1 = 0 ;
12113 int res1 = 0 ;
12114 PyObject *swig_obj[1] ;
12115
12116 if (!args) SWIG_fail;
12117 swig_obj[0] = args;
12118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12119 if (!SWIG_IsOK(res1)) {
12120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_GetPages" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12121 }
12122 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 {
12126 wxAuiNotebookPageArray &_result_ref = (arg1)->GetPages();
12127 result = (wxAuiNotebookPageArray *) &_result_ref;
12128 }
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiNotebookPageArray, 0 | 0 );
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetNormalFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12142 wxFont *arg2 = 0 ;
12143 void *argp1 = 0 ;
12144 int res1 = 0 ;
12145 void *argp2 = 0 ;
12146 int res2 = 0 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char * kwnames[] = {
12150 (char *) "self",(char *) "normal_font", NULL
12151 };
12152
12153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetNormalFont",kwnames,&obj0,&obj1)) SWIG_fail;
12154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12155 if (!SWIG_IsOK(res1)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12157 }
12158 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12159 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12160 if (!SWIG_IsOK(res2)) {
12161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12162 }
12163 if (!argp2) {
12164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetNormalFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12165 }
12166 arg2 = reinterpret_cast< wxFont * >(argp2);
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetNormalFont((wxFont const &)*arg2);
12170 wxPyEndAllowThreads(__tstate);
12171 if (PyErr_Occurred()) SWIG_fail;
12172 }
12173 resultobj = SWIG_Py_Void();
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj = 0;
12182 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12183 wxFont *arg2 = 0 ;
12184 void *argp1 = 0 ;
12185 int res1 = 0 ;
12186 void *argp2 = 0 ;
12187 int res2 = 0 ;
12188 PyObject * obj0 = 0 ;
12189 PyObject * obj1 = 0 ;
12190 char * kwnames[] = {
12191 (char *) "self",(char *) "selected_font", NULL
12192 };
12193
12194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
12195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12196 if (!SWIG_IsOK(res1)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12198 }
12199 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12201 if (!SWIG_IsOK(res2)) {
12202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12203 }
12204 if (!argp2) {
12205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12206 }
12207 arg2 = reinterpret_cast< wxFont * >(argp2);
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->SetSelectedFont((wxFont const &)*arg2);
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = SWIG_Py_Void();
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetMeasuringFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12222 PyObject *resultobj = 0;
12223 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12224 wxFont *arg2 = 0 ;
12225 void *argp1 = 0 ;
12226 int res1 = 0 ;
12227 void *argp2 = 0 ;
12228 int res2 = 0 ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char * kwnames[] = {
12232 (char *) "self",(char *) "measuring_font", NULL
12233 };
12234
12235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetMeasuringFont",kwnames,&obj0,&obj1)) SWIG_fail;
12236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12237 if (!SWIG_IsOK(res1)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12239 }
12240 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12241 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
12242 if (!SWIG_IsOK(res2)) {
12243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12244 }
12245 if (!argp2) {
12246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_SetMeasuringFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12247 }
12248 arg2 = reinterpret_cast< wxFont * >(argp2);
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 (arg1)->SetMeasuringFont((wxFont const &)*arg2);
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_Py_Void();
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_AuiTabContainer_DoShowHide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12263 PyObject *resultobj = 0;
12264 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12265 void *argp1 = 0 ;
12266 int res1 = 0 ;
12267 PyObject *swig_obj[1] ;
12268
12269 if (!args) SWIG_fail;
12270 swig_obj[0] = args;
12271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12272 if (!SWIG_IsOK(res1)) {
12273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_DoShowHide" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12274 }
12275 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 (arg1)->DoShowHide();
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 resultobj = SWIG_Py_Void();
12283 return resultobj;
12284 fail:
12285 return NULL;
12286 }
12287
12288
12289 SWIGINTERN PyObject *_wrap_AuiTabContainer_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj = 0;
12291 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12292 wxRect *arg2 = 0 ;
12293 void *argp1 = 0 ;
12294 int res1 = 0 ;
12295 wxRect temp2 ;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12298 char * kwnames[] = {
12299 (char *) "self",(char *) "rect", NULL
12300 };
12301
12302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiTabContainer_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12304 if (!SWIG_IsOK(res1)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_SetRect" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12306 }
12307 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12308 {
12309 arg2 = &temp2;
12310 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12311 }
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 (arg1)->SetRect((wxRect const &)*arg2);
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_Py_Void();
12319 return resultobj;
12320 fail:
12321 return NULL;
12322 }
12323
12324
12325 SWIGINTERN PyObject *_wrap_AuiTabContainer_AddButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj = 0;
12327 wxAuiTabContainer *arg1 = (wxAuiTabContainer *) 0 ;
12328 int arg2 ;
12329 wxBitmap *arg3 = 0 ;
12330 void *argp1 = 0 ;
12331 int res1 = 0 ;
12332 int val2 ;
12333 int ecode2 = 0 ;
12334 void *argp3 = 0 ;
12335 int res3 = 0 ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 PyObject * obj2 = 0 ;
12339 char * kwnames[] = {
12340 (char *) "self",(char *) "id",(char *) "bmp", NULL
12341 };
12342
12343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiTabContainer_AddButton",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiTabContainer, 0 | 0 );
12345 if (!SWIG_IsOK(res1)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiTabContainer_AddButton" "', expected argument " "1"" of type '" "wxAuiTabContainer *""'");
12347 }
12348 arg1 = reinterpret_cast< wxAuiTabContainer * >(argp1);
12349 ecode2 = SWIG_AsVal_int(obj1, &val2);
12350 if (!SWIG_IsOK(ecode2)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiTabContainer_AddButton" "', expected argument " "2"" of type '" "int""'");
12352 }
12353 arg2 = static_cast< int >(val2);
12354 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
12355 if (!SWIG_IsOK(res3)) {
12356 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12357 }
12358 if (!argp3) {
12359 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiTabContainer_AddButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
12360 }
12361 arg3 = reinterpret_cast< wxBitmap * >(argp3);
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 (arg1)->AddButton(arg2,(wxBitmap const &)*arg3);
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 resultobj = SWIG_Py_Void();
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 SWIGINTERN PyObject *AuiTabContainer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12376 PyObject *obj;
12377 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12378 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabContainer, SWIG_NewClientData(obj));
12379 return SWIG_Py_Void();
12380 }
12381
12382 SWIGINTERN PyObject *AuiTabContainer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12383 return SWIG_Python_InitShadowInstance(args);
12384 }
12385
12386 SWIGINTERN PyObject *_wrap_new_AuiTabCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj = 0;
12388 wxWindow *arg1 = (wxWindow *) 0 ;
12389 int arg2 = (int) wxID_ANY ;
12390 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12391 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12392 wxSize const &arg4_defvalue = wxDefaultSize ;
12393 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12394 long arg5 = (long) 0 ;
12395 wxAuiTabCtrl *result = 0 ;
12396 void *argp1 = 0 ;
12397 int res1 = 0 ;
12398 int val2 ;
12399 int ecode2 = 0 ;
12400 wxPoint temp3 ;
12401 wxSize temp4 ;
12402 long val5 ;
12403 int ecode5 = 0 ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 PyObject * obj2 = 0 ;
12407 PyObject * obj3 = 0 ;
12408 PyObject * obj4 = 0 ;
12409 char * kwnames[] = {
12410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12411 };
12412
12413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiTabCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12415 if (!SWIG_IsOK(res1)) {
12416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiTabCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
12417 }
12418 arg1 = reinterpret_cast< wxWindow * >(argp1);
12419 if (obj1) {
12420 ecode2 = SWIG_AsVal_int(obj1, &val2);
12421 if (!SWIG_IsOK(ecode2)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiTabCtrl" "', expected argument " "2"" of type '" "int""'");
12423 }
12424 arg2 = static_cast< int >(val2);
12425 }
12426 if (obj2) {
12427 {
12428 arg3 = &temp3;
12429 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12430 }
12431 }
12432 if (obj3) {
12433 {
12434 arg4 = &temp4;
12435 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12436 }
12437 }
12438 if (obj4) {
12439 ecode5 = SWIG_AsVal_long(obj4, &val5);
12440 if (!SWIG_IsOK(ecode5)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiTabCtrl" "', expected argument " "5"" of type '" "long""'");
12442 }
12443 arg5 = static_cast< long >(val5);
12444 }
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = (wxAuiTabCtrl *)new wxAuiTabCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12448 wxPyEndAllowThreads(__tstate);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiTabCtrl, SWIG_POINTER_NEW | 0 );
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 SWIGINTERN PyObject *AuiTabCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12459 PyObject *obj;
12460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12461 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiTabCtrl, SWIG_NewClientData(obj));
12462 return SWIG_Py_Void();
12463 }
12464
12465 SWIGINTERN PyObject *AuiTabCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12466 return SWIG_Python_InitShadowInstance(args);
12467 }
12468
12469 SWIGINTERN PyObject *_wrap_new_PreAuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 PyObject *resultobj = 0;
12471 wxAuiMultiNotebook *result = 0 ;
12472
12473 if (!SWIG_Python_UnpackTuple(args,"new_PreAuiMultiNotebook",0,0,0)) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook();
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_OWN | 0 );
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 SWIGINTERN PyObject *_wrap_new_AuiMultiNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj = 0;
12489 wxWindow *arg1 = (wxWindow *) 0 ;
12490 int arg2 = (int) wxID_ANY ;
12491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12493 wxSize const &arg4_defvalue = wxDefaultSize ;
12494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12495 long arg5 = (long) 0 ;
12496 wxAuiMultiNotebook *result = 0 ;
12497 void *argp1 = 0 ;
12498 int res1 = 0 ;
12499 int val2 ;
12500 int ecode2 = 0 ;
12501 wxPoint temp3 ;
12502 wxSize temp4 ;
12503 long val5 ;
12504 int ecode5 = 0 ;
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
12507 PyObject * obj2 = 0 ;
12508 PyObject * obj3 = 0 ;
12509 PyObject * obj4 = 0 ;
12510 char * kwnames[] = {
12511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12512 };
12513
12514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_AuiMultiNotebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12516 if (!SWIG_IsOK(res1)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AuiMultiNotebook" "', expected argument " "1"" of type '" "wxWindow *""'");
12518 }
12519 arg1 = reinterpret_cast< wxWindow * >(argp1);
12520 if (obj1) {
12521 ecode2 = SWIG_AsVal_int(obj1, &val2);
12522 if (!SWIG_IsOK(ecode2)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AuiMultiNotebook" "', expected argument " "2"" of type '" "int""'");
12524 }
12525 arg2 = static_cast< int >(val2);
12526 }
12527 if (obj2) {
12528 {
12529 arg3 = &temp3;
12530 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12531 }
12532 }
12533 if (obj3) {
12534 {
12535 arg4 = &temp4;
12536 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12537 }
12538 }
12539 if (obj4) {
12540 ecode5 = SWIG_AsVal_long(obj4, &val5);
12541 if (!SWIG_IsOK(ecode5)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AuiMultiNotebook" "', expected argument " "5"" of type '" "long""'");
12543 }
12544 arg5 = static_cast< long >(val5);
12545 }
12546 {
12547 PyThreadState* __tstate = wxPyBeginAllowThreads();
12548 result = (wxAuiMultiNotebook *)new wxAuiMultiNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxAuiMultiNotebook, SWIG_POINTER_NEW | 0 );
12553 return resultobj;
12554 fail:
12555 return NULL;
12556 }
12557
12558
12559 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj = 0;
12561 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12562 wxWindow *arg2 = (wxWindow *) 0 ;
12563 int arg3 = (int) wxID_ANY ;
12564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12566 wxSize const &arg5_defvalue = wxDefaultSize ;
12567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12568 long arg6 = (long) 0 ;
12569 bool result;
12570 void *argp1 = 0 ;
12571 int res1 = 0 ;
12572 void *argp2 = 0 ;
12573 int res2 = 0 ;
12574 int val3 ;
12575 int ecode3 = 0 ;
12576 wxPoint temp4 ;
12577 wxSize temp5 ;
12578 long val6 ;
12579 int ecode6 = 0 ;
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
12582 PyObject * obj2 = 0 ;
12583 PyObject * obj3 = 0 ;
12584 PyObject * obj4 = 0 ;
12585 PyObject * obj5 = 0 ;
12586 char * kwnames[] = {
12587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
12588 };
12589
12590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:AuiMultiNotebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12592 if (!SWIG_IsOK(res1)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_Create" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12594 }
12595 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12596 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12597 if (!SWIG_IsOK(res2)) {
12598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12599 }
12600 arg2 = reinterpret_cast< wxWindow * >(argp2);
12601 if (obj2) {
12602 ecode3 = SWIG_AsVal_int(obj2, &val3);
12603 if (!SWIG_IsOK(ecode3)) {
12604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "AuiMultiNotebook_Create" "', expected argument " "3"" of type '" "int""'");
12605 }
12606 arg3 = static_cast< int >(val3);
12607 }
12608 if (obj3) {
12609 {
12610 arg4 = &temp4;
12611 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12612 }
12613 }
12614 if (obj4) {
12615 {
12616 arg5 = &temp5;
12617 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12618 }
12619 }
12620 if (obj5) {
12621 ecode6 = SWIG_AsVal_long(obj5, &val6);
12622 if (!SWIG_IsOK(ecode6)) {
12623 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "AuiMultiNotebook_Create" "', expected argument " "6"" of type '" "long""'");
12624 }
12625 arg6 = static_cast< long >(val6);
12626 }
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 {
12634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12635 }
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj = 0;
12644 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12645 wxWindow *arg2 = (wxWindow *) 0 ;
12646 wxString *arg3 = 0 ;
12647 bool arg4 = (bool) false ;
12648 wxBitmap const &arg5_defvalue = wxNullBitmap ;
12649 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
12650 bool result;
12651 void *argp1 = 0 ;
12652 int res1 = 0 ;
12653 void *argp2 = 0 ;
12654 int res2 = 0 ;
12655 bool temp3 = false ;
12656 bool val4 ;
12657 int ecode4 = 0 ;
12658 void *argp5 = 0 ;
12659 int res5 = 0 ;
12660 PyObject * obj0 = 0 ;
12661 PyObject * obj1 = 0 ;
12662 PyObject * obj2 = 0 ;
12663 PyObject * obj3 = 0 ;
12664 PyObject * obj4 = 0 ;
12665 char * kwnames[] = {
12666 (char *) "self",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12667 };
12668
12669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:AuiMultiNotebook_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12671 if (!SWIG_IsOK(res1)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12673 }
12674 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12675 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12676 if (!SWIG_IsOK(res2)) {
12677 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
12678 }
12679 arg2 = reinterpret_cast< wxWindow * >(argp2);
12680 {
12681 arg3 = wxString_in_helper(obj2);
12682 if (arg3 == NULL) SWIG_fail;
12683 temp3 = true;
12684 }
12685 if (obj3) {
12686 ecode4 = SWIG_AsVal_bool(obj3, &val4);
12687 if (!SWIG_IsOK(ecode4)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "4"" of type '" "bool""'");
12689 }
12690 arg4 = static_cast< bool >(val4);
12691 }
12692 if (obj4) {
12693 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
12694 if (!SWIG_IsOK(res5)) {
12695 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12696 }
12697 if (!argp5) {
12698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_AddPage" "', expected argument " "5"" of type '" "wxBitmap const &""'");
12699 }
12700 arg5 = reinterpret_cast< wxBitmap * >(argp5);
12701 }
12702 {
12703 PyThreadState* __tstate = wxPyBeginAllowThreads();
12704 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,(wxBitmap const &)*arg5);
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 {
12709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12710 }
12711 {
12712 if (temp3)
12713 delete arg3;
12714 }
12715 return resultobj;
12716 fail:
12717 {
12718 if (temp3)
12719 delete arg3;
12720 }
12721 return NULL;
12722 }
12723
12724
12725 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj = 0;
12727 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12728 size_t arg2 ;
12729 wxWindow *arg3 = (wxWindow *) 0 ;
12730 wxString *arg4 = 0 ;
12731 bool arg5 = (bool) false ;
12732 wxBitmap const &arg6_defvalue = wxNullBitmap ;
12733 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
12734 bool result;
12735 void *argp1 = 0 ;
12736 int res1 = 0 ;
12737 size_t val2 ;
12738 int ecode2 = 0 ;
12739 void *argp3 = 0 ;
12740 int res3 = 0 ;
12741 bool temp4 = false ;
12742 bool val5 ;
12743 int ecode5 = 0 ;
12744 void *argp6 = 0 ;
12745 int res6 = 0 ;
12746 PyObject * obj0 = 0 ;
12747 PyObject * obj1 = 0 ;
12748 PyObject * obj2 = 0 ;
12749 PyObject * obj3 = 0 ;
12750 PyObject * obj4 = 0 ;
12751 PyObject * obj5 = 0 ;
12752 char * kwnames[] = {
12753 (char *) "self",(char *) "page_idx",(char *) "page",(char *) "caption",(char *) "select",(char *) "bitmap", NULL
12754 };
12755
12756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:AuiMultiNotebook_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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_InsertPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12760 }
12761 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12762 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12763 if (!SWIG_IsOK(ecode2)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
12765 }
12766 arg2 = static_cast< size_t >(val2);
12767 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12768 if (!SWIG_IsOK(res3)) {
12769 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
12770 }
12771 arg3 = reinterpret_cast< wxWindow * >(argp3);
12772 {
12773 arg4 = wxString_in_helper(obj3);
12774 if (arg4 == NULL) SWIG_fail;
12775 temp4 = true;
12776 }
12777 if (obj4) {
12778 ecode5 = SWIG_AsVal_bool(obj4, &val5);
12779 if (!SWIG_IsOK(ecode5)) {
12780 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "5"" of type '" "bool""'");
12781 }
12782 arg5 = static_cast< bool >(val5);
12783 }
12784 if (obj5) {
12785 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
12786 if (!SWIG_IsOK(res6)) {
12787 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12788 }
12789 if (!argp6) {
12790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "AuiMultiNotebook_InsertPage" "', expected argument " "6"" of type '" "wxBitmap const &""'");
12791 }
12792 arg6 = reinterpret_cast< wxBitmap * >(argp6);
12793 }
12794 {
12795 PyThreadState* __tstate = wxPyBeginAllowThreads();
12796 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,(wxBitmap const &)*arg6);
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 {
12801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12802 }
12803 {
12804 if (temp4)
12805 delete arg4;
12806 }
12807 return resultobj;
12808 fail:
12809 {
12810 if (temp4)
12811 delete arg4;
12812 }
12813 return NULL;
12814 }
12815
12816
12817 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj = 0;
12819 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12820 size_t arg2 ;
12821 bool result;
12822 void *argp1 = 0 ;
12823 int res1 = 0 ;
12824 size_t val2 ;
12825 int ecode2 = 0 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 char * kwnames[] = {
12829 (char *) "self",(char *) "page", NULL
12830 };
12831
12832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
12833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12834 if (!SWIG_IsOK(res1)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12836 }
12837 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12838 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12839 if (!SWIG_IsOK(ecode2)) {
12840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
12841 }
12842 arg2 = static_cast< size_t >(val2);
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 result = (bool)(arg1)->DeletePage(arg2);
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj = 0;
12860 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12861 size_t arg2 ;
12862 bool result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 size_t val2 ;
12866 int ecode2 = 0 ;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 char * kwnames[] = {
12870 (char *) "self",(char *) "page", NULL
12871 };
12872
12873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
12874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12875 if (!SWIG_IsOK(res1)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12877 }
12878 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12879 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12880 if (!SWIG_IsOK(ecode2)) {
12881 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
12882 }
12883 arg2 = static_cast< size_t >(val2);
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (bool)(arg1)->RemovePage(arg2);
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 {
12891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12892 }
12893 return resultobj;
12894 fail:
12895 return NULL;
12896 }
12897
12898
12899 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12900 PyObject *resultobj = 0;
12901 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12902 size_t arg2 ;
12903 wxString *arg3 = 0 ;
12904 bool result;
12905 void *argp1 = 0 ;
12906 int res1 = 0 ;
12907 size_t val2 ;
12908 int ecode2 = 0 ;
12909 bool temp3 = false ;
12910 PyObject * obj0 = 0 ;
12911 PyObject * obj1 = 0 ;
12912 PyObject * obj2 = 0 ;
12913 char * kwnames[] = {
12914 (char *) "self",(char *) "page",(char *) "text", NULL
12915 };
12916
12917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:AuiMultiNotebook_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12919 if (!SWIG_IsOK(res1)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12921 }
12922 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12923 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12924 if (!SWIG_IsOK(ecode2)) {
12925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
12926 }
12927 arg2 = static_cast< size_t >(val2);
12928 {
12929 arg3 = wxString_in_helper(obj2);
12930 if (arg3 == NULL) SWIG_fail;
12931 temp3 = true;
12932 }
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12936 wxPyEndAllowThreads(__tstate);
12937 if (PyErr_Occurred()) SWIG_fail;
12938 }
12939 {
12940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12941 }
12942 {
12943 if (temp3)
12944 delete arg3;
12945 }
12946 return resultobj;
12947 fail:
12948 {
12949 if (temp3)
12950 delete arg3;
12951 }
12952 return NULL;
12953 }
12954
12955
12956 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj = 0;
12958 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12959 size_t arg2 ;
12960 size_t result;
12961 void *argp1 = 0 ;
12962 int res1 = 0 ;
12963 size_t val2 ;
12964 int ecode2 = 0 ;
12965 PyObject * obj0 = 0 ;
12966 PyObject * obj1 = 0 ;
12967 char * kwnames[] = {
12968 (char *) "self",(char *) "new_page", NULL
12969 };
12970
12971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
12972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
12973 if (!SWIG_IsOK(res1)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook *""'");
12975 }
12976 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
12977 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
12978 if (!SWIG_IsOK(ecode2)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
12980 }
12981 arg2 = static_cast< size_t >(val2);
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (size_t)(arg1)->SetSelection(arg2);
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
12989 return resultobj;
12990 fail:
12991 return NULL;
12992 }
12993
12994
12995 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12996 PyObject *resultobj = 0;
12997 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
12998 int result;
12999 void *argp1 = 0 ;
13000 int res1 = 0 ;
13001 PyObject *swig_obj[1] ;
13002
13003 if (!args) SWIG_fail;
13004 swig_obj[0] = args;
13005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13006 if (!SWIG_IsOK(res1)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetSelection" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13008 }
13009 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (int)((wxAuiMultiNotebook const *)arg1)->GetSelection();
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_From_int(static_cast< int >(result));
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13024 PyObject *resultobj = 0;
13025 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13026 size_t result;
13027 void *argp1 = 0 ;
13028 int res1 = 0 ;
13029 PyObject *swig_obj[1] ;
13030
13031 if (!args) SWIG_fail;
13032 swig_obj[0] = args;
13033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13034 if (!SWIG_IsOK(res1)) {
13035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPageCount" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13036 }
13037 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (size_t)((wxAuiMultiNotebook const *)arg1)->GetPageCount();
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 SWIGINTERN PyObject *_wrap_AuiMultiNotebook_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj = 0;
13053 wxAuiMultiNotebook *arg1 = (wxAuiMultiNotebook *) 0 ;
13054 size_t arg2 ;
13055 wxWindow *result = 0 ;
13056 void *argp1 = 0 ;
13057 int res1 = 0 ;
13058 size_t val2 ;
13059 int ecode2 = 0 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char * kwnames[] = {
13063 (char *) "self",(char *) "page_idx", NULL
13064 };
13065
13066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AuiMultiNotebook_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
13067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxAuiMultiNotebook, 0 | 0 );
13068 if (!SWIG_IsOK(res1)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "1"" of type '" "wxAuiMultiNotebook const *""'");
13070 }
13071 arg1 = reinterpret_cast< wxAuiMultiNotebook * >(argp1);
13072 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13073 if (!SWIG_IsOK(ecode2)) {
13074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "AuiMultiNotebook_GetPage" "', expected argument " "2"" of type '" "size_t""'");
13075 }
13076 arg2 = static_cast< size_t >(val2);
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (wxWindow *)((wxAuiMultiNotebook const *)arg1)->GetPage(arg2);
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 resultobj = wxPyMake_wxObject(result, 0);
13085 }
13086 return resultobj;
13087 fail:
13088 return NULL;
13089 }
13090
13091
13092 SWIGINTERN PyObject *AuiMultiNotebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13093 PyObject *obj;
13094 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13095 SWIG_TypeNewClientData(SWIGTYPE_p_wxAuiMultiNotebook, SWIG_NewClientData(obj));
13096 return SWIG_Py_Void();
13097 }
13098
13099 SWIGINTERN PyObject *AuiMultiNotebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13100 return SWIG_Python_InitShadowInstance(args);
13101 }
13102
13103 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13104 PyObject *obj;
13105 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13106 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
13107 return SWIG_Py_Void();
13108 }
13109
13110 static PyMethodDef SwigMethods[] = {
13111 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
13112 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
13113 { (char *)"PaneInfo_SafeSet", (PyCFunction) _wrap_PaneInfo_SafeSet, METH_VARARGS | METH_KEYWORDS, NULL},
13114 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
13115 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
13116 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
13117 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
13118 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
13119 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
13120 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
13121 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
13122 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
13123 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
13124 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
13125 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
13126 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
13127 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
13128 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
13129 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
13130 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
13131 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
13132 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
13133 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
13134 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
13135 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
13136 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
13137 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
13138 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
13139 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
13140 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
13141 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
13142 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
13143 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
13144 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
13145 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
13146 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
13147 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
13148 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
13149 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
13150 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
13151 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
13152 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
13153 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
13154 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
13155 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
13156 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
13157 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
13158 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
13159 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
13160 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13161 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
13162 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
13163 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
13164 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13165 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
13166 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
13167 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
13168 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13169 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13170 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13171 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
13172 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
13173 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
13174 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
13175 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
13176 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
13177 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
13178 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
13179 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13180 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
13181 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
13182 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
13183 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
13184 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
13185 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
13186 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
13187 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
13188 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
13189 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
13190 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
13191 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
13192 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
13193 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
13194 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
13195 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
13196 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
13197 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
13198 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
13199 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
13200 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
13201 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
13202 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
13203 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
13204 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
13205 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
13206 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
13207 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
13208 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
13209 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
13210 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
13211 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
13212 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
13213 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
13214 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
13215 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
13216 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
13217 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
13218 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
13219 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
13220 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
13221 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
13222 { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13223 { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
13224 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
13225 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
13226 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
13227 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
13228 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
13229 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
13230 { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
13231 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
13232 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
13233 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
13234 { (char *)"FrameManager_SavePaneInfo", (PyCFunction) _wrap_FrameManager_SavePaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13235 { (char *)"FrameManager_LoadPaneInfo", (PyCFunction) _wrap_FrameManager_LoadPaneInfo, METH_VARARGS | METH_KEYWORDS, NULL},
13236 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
13237 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
13238 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
13239 { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
13240 { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
13241 { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
13242 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
13243 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13244 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
13245 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
13246 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13247 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
13248 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
13249 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
13250 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
13251 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
13252 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
13253 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
13254 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
13255 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
13256 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
13257 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
13258 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
13259 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
13260 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
13261 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
13262 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
13263 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
13264 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
13265 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
13266 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
13267 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
13268 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
13269 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
13270 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
13271 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
13272 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
13273 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
13274 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
13275 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
13276 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
13277 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
13278 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
13279 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
13280 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
13281 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
13282 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
13283 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
13284 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
13285 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
13286 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
13287 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
13288 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
13289 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
13290 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
13291 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
13292 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
13293 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
13294 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
13295 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
13296 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
13297 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
13298 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
13299 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
13300 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
13301 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
13302 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
13303 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
13304 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
13305 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
13306 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
13307 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
13308 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
13309 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
13310 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
13311 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
13312 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
13313 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
13314 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
13315 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
13316 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
13317 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13318 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
13319 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13320 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
13321 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13322 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
13323 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13324 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
13325 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
13326 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
13327 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
13328 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
13329 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
13330 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
13331 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
13332 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
13333 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
13334 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
13335 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
13336 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
13337 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13338 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
13339 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
13340 { (char *)"new_AuiNotebookEvent", (PyCFunction) _wrap_new_AuiNotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
13341 { (char *)"AuiNotebookEvent_SetSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13342 { (char *)"AuiNotebookEvent_SetOldSelection", (PyCFunction) _wrap_AuiNotebookEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13343 { (char *)"AuiNotebookEvent_GetSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetSelection, METH_O, NULL},
13344 { (char *)"AuiNotebookEvent_GetOldSelection", (PyCFunction)_wrap_AuiNotebookEvent_GetOldSelection, METH_O, NULL},
13345 { (char *)"AuiNotebookEvent_old_selection_set", _wrap_AuiNotebookEvent_old_selection_set, METH_VARARGS, NULL},
13346 { (char *)"AuiNotebookEvent_old_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_old_selection_get, METH_O, NULL},
13347 { (char *)"AuiNotebookEvent_selection_set", _wrap_AuiNotebookEvent_selection_set, METH_VARARGS, NULL},
13348 { (char *)"AuiNotebookEvent_selection_get", (PyCFunction)_wrap_AuiNotebookEvent_selection_get, METH_O, NULL},
13349 { (char *)"AuiNotebookEvent_swigregister", AuiNotebookEvent_swigregister, METH_VARARGS, NULL},
13350 { (char *)"AuiNotebookEvent_swiginit", AuiNotebookEvent_swiginit, METH_VARARGS, NULL},
13351 { (char *)"AuiNotebookPage_window_set", _wrap_AuiNotebookPage_window_set, METH_VARARGS, NULL},
13352 { (char *)"AuiNotebookPage_window_get", (PyCFunction)_wrap_AuiNotebookPage_window_get, METH_O, NULL},
13353 { (char *)"AuiNotebookPage_caption_set", _wrap_AuiNotebookPage_caption_set, METH_VARARGS, NULL},
13354 { (char *)"AuiNotebookPage_caption_get", (PyCFunction)_wrap_AuiNotebookPage_caption_get, METH_O, NULL},
13355 { (char *)"AuiNotebookPage_bitmap_set", _wrap_AuiNotebookPage_bitmap_set, METH_VARARGS, NULL},
13356 { (char *)"AuiNotebookPage_bitmap_get", (PyCFunction)_wrap_AuiNotebookPage_bitmap_get, METH_O, NULL},
13357 { (char *)"AuiNotebookPage_rect_set", _wrap_AuiNotebookPage_rect_set, METH_VARARGS, NULL},
13358 { (char *)"AuiNotebookPage_rect_get", (PyCFunction)_wrap_AuiNotebookPage_rect_get, METH_O, NULL},
13359 { (char *)"AuiNotebookPage_active_set", _wrap_AuiNotebookPage_active_set, METH_VARARGS, NULL},
13360 { (char *)"AuiNotebookPage_active_get", (PyCFunction)_wrap_AuiNotebookPage_active_get, METH_O, NULL},
13361 { (char *)"AuiNotebookPage_swigregister", AuiNotebookPage_swigregister, METH_VARARGS, NULL},
13362 { (char *)"AuiTabContainerButton_id_set", _wrap_AuiTabContainerButton_id_set, METH_VARARGS, NULL},
13363 { (char *)"AuiTabContainerButton_id_get", (PyCFunction)_wrap_AuiTabContainerButton_id_get, METH_O, NULL},
13364 { (char *)"AuiTabContainerButton_cur_state_set", _wrap_AuiTabContainerButton_cur_state_set, METH_VARARGS, NULL},
13365 { (char *)"AuiTabContainerButton_cur_state_get", (PyCFunction)_wrap_AuiTabContainerButton_cur_state_get, METH_O, NULL},
13366 { (char *)"AuiTabContainerButton_bitmap_set", _wrap_AuiTabContainerButton_bitmap_set, METH_VARARGS, NULL},
13367 { (char *)"AuiTabContainerButton_bitmap_get", (PyCFunction)_wrap_AuiTabContainerButton_bitmap_get, METH_O, NULL},
13368 { (char *)"AuiTabContainerButton_rect_set", _wrap_AuiTabContainerButton_rect_set, METH_VARARGS, NULL},
13369 { (char *)"AuiTabContainerButton_rect_get", (PyCFunction)_wrap_AuiTabContainerButton_rect_get, METH_O, NULL},
13370 { (char *)"AuiTabContainerButton_swigregister", AuiTabContainerButton_swigregister, METH_VARARGS, NULL},
13371 { (char *)"new_AuiTabContainer", (PyCFunction)_wrap_new_AuiTabContainer, METH_NOARGS, NULL},
13372 { (char *)"delete_AuiTabContainer", (PyCFunction)_wrap_delete_AuiTabContainer, METH_O, NULL},
13373 { (char *)"AuiTabContainer_AddPage", (PyCFunction) _wrap_AuiTabContainer_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13374 { (char *)"AuiTabContainer_InsertPage", (PyCFunction) _wrap_AuiTabContainer_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13375 { (char *)"AuiTabContainer_RemovePage", (PyCFunction) _wrap_AuiTabContainer_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13376 { (char *)"AuiTabContainer_SetActivePage", _wrap_AuiTabContainer_SetActivePage, METH_VARARGS, NULL},
13377 { (char *)"AuiTabContainer_SetNoneActive", (PyCFunction)_wrap_AuiTabContainer_SetNoneActive, METH_O, NULL},
13378 { (char *)"AuiTabContainer_GetActivePage", (PyCFunction)_wrap_AuiTabContainer_GetActivePage, METH_O, NULL},
13379 { (char *)"AuiTabContainer_TabHitTest", (PyCFunction) _wrap_AuiTabContainer_TabHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13380 { (char *)"AuiTabContainer_ButtonHitTest", (PyCFunction) _wrap_AuiTabContainer_ButtonHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
13381 { (char *)"AuiTabContainer_GetWindowFromIdx", (PyCFunction) _wrap_AuiTabContainer_GetWindowFromIdx, METH_VARARGS | METH_KEYWORDS, NULL},
13382 { (char *)"AuiTabContainer_GetIdxFromWindow", (PyCFunction) _wrap_AuiTabContainer_GetIdxFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
13383 { (char *)"AuiTabContainer_GetPageCount", (PyCFunction)_wrap_AuiTabContainer_GetPageCount, METH_O, NULL},
13384 { (char *)"AuiTabContainer_GetPage", (PyCFunction) _wrap_AuiTabContainer_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13385 { (char *)"AuiTabContainer_GetPages", (PyCFunction)_wrap_AuiTabContainer_GetPages, METH_O, NULL},
13386 { (char *)"AuiTabContainer_SetNormalFont", (PyCFunction) _wrap_AuiTabContainer_SetNormalFont, METH_VARARGS | METH_KEYWORDS, NULL},
13387 { (char *)"AuiTabContainer_SetSelectedFont", (PyCFunction) _wrap_AuiTabContainer_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
13388 { (char *)"AuiTabContainer_SetMeasuringFont", (PyCFunction) _wrap_AuiTabContainer_SetMeasuringFont, METH_VARARGS | METH_KEYWORDS, NULL},
13389 { (char *)"AuiTabContainer_DoShowHide", (PyCFunction)_wrap_AuiTabContainer_DoShowHide, METH_O, NULL},
13390 { (char *)"AuiTabContainer_SetRect", (PyCFunction) _wrap_AuiTabContainer_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
13391 { (char *)"AuiTabContainer_AddButton", (PyCFunction) _wrap_AuiTabContainer_AddButton, METH_VARARGS | METH_KEYWORDS, NULL},
13392 { (char *)"AuiTabContainer_swigregister", AuiTabContainer_swigregister, METH_VARARGS, NULL},
13393 { (char *)"AuiTabContainer_swiginit", AuiTabContainer_swiginit, METH_VARARGS, NULL},
13394 { (char *)"new_AuiTabCtrl", (PyCFunction) _wrap_new_AuiTabCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
13395 { (char *)"AuiTabCtrl_swigregister", AuiTabCtrl_swigregister, METH_VARARGS, NULL},
13396 { (char *)"AuiTabCtrl_swiginit", AuiTabCtrl_swiginit, METH_VARARGS, NULL},
13397 { (char *)"new_PreAuiMultiNotebook", (PyCFunction)_wrap_new_PreAuiMultiNotebook, METH_NOARGS, NULL},
13398 { (char *)"new_AuiMultiNotebook", (PyCFunction) _wrap_new_AuiMultiNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
13399 { (char *)"AuiMultiNotebook_Create", (PyCFunction) _wrap_AuiMultiNotebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
13400 { (char *)"AuiMultiNotebook_AddPage", (PyCFunction) _wrap_AuiMultiNotebook_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
13401 { (char *)"AuiMultiNotebook_InsertPage", (PyCFunction) _wrap_AuiMultiNotebook_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
13402 { (char *)"AuiMultiNotebook_DeletePage", (PyCFunction) _wrap_AuiMultiNotebook_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
13403 { (char *)"AuiMultiNotebook_RemovePage", (PyCFunction) _wrap_AuiMultiNotebook_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
13404 { (char *)"AuiMultiNotebook_SetPageText", (PyCFunction) _wrap_AuiMultiNotebook_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
13405 { (char *)"AuiMultiNotebook_SetSelection", (PyCFunction) _wrap_AuiMultiNotebook_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
13406 { (char *)"AuiMultiNotebook_GetSelection", (PyCFunction)_wrap_AuiMultiNotebook_GetSelection, METH_O, NULL},
13407 { (char *)"AuiMultiNotebook_GetPageCount", (PyCFunction)_wrap_AuiMultiNotebook_GetPageCount, METH_O, NULL},
13408 { (char *)"AuiMultiNotebook_GetPage", (PyCFunction) _wrap_AuiMultiNotebook_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
13409 { (char *)"AuiMultiNotebook_swigregister", AuiMultiNotebook_swigregister, METH_VARARGS, NULL},
13410 { (char *)"AuiMultiNotebook_swiginit", AuiMultiNotebook_swiginit, METH_VARARGS, NULL},
13411 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
13412 { NULL, NULL, 0, NULL }
13413 };
13414
13415
13416 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13417
13418 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
13419 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
13420 }
13421 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
13422 return (void *)((wxSizer *) ((wxBoxSizer *) x));
13423 }
13424 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
13425 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
13426 }
13427 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
13428 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
13429 }
13430 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
13431 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13432 }
13433 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
13434 return (void *)((wxSizer *) ((wxGridSizer *) x));
13435 }
13436 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
13437 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
13438 }
13439 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
13440 return (void *)((wxSizer *) ((wxPySizer *) x));
13441 }
13442 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
13443 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
13444 }
13445 static void *_p_wxAuiNotebookEventTo_p_wxNotifyEvent(void *x) {
13446 return (void *)((wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13447 }
13448 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
13449 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
13450 }
13451 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
13452 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
13453 }
13454 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
13455 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
13456 }
13457 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
13458 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
13459 }
13460 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
13461 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
13462 }
13463 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
13464 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
13465 }
13466 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
13467 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
13468 }
13469 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
13470 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
13471 }
13472 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
13473 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
13474 }
13475 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
13476 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
13477 }
13478 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
13479 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13480 }
13481 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
13482 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
13483 }
13484 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
13485 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13486 }
13487 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
13488 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
13489 }
13490 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13491 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
13492 }
13493 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
13494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
13495 }
13496 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
13497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
13498 }
13499 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
13500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
13501 }
13502 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
13503 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
13504 }
13505 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
13506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
13507 }
13508 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13509 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
13510 }
13511 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
13512 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13513 }
13514 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
13515 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13516 }
13517 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
13518 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13519 }
13520 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
13521 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
13522 }
13523 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13524 return (void *)((wxWindow *) ((wxMenuBar *) x));
13525 }
13526 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
13527 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13528 }
13529 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
13530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13531 }
13532 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
13533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13534 }
13535 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
13536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13537 }
13538 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
13539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13540 }
13541 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
13542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13543 }
13544 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
13545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13546 }
13547 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
13548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13549 }
13550 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
13551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13552 }
13553 static void *_p_wxPanelTo_p_wxWindow(void *x) {
13554 return (void *)((wxWindow *) ((wxPanel *) x));
13555 }
13556 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
13557 return (void *)((wxWindow *) ((wxStatusBar *) x));
13558 }
13559 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
13560 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
13561 }
13562 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
13563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
13564 }
13565 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
13566 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13567 }
13568 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
13569 return (void *)((wxWindow *) ((wxPopupWindow *) x));
13570 }
13571 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
13572 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
13573 }
13574 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
13575 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
13576 }
13577 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
13578 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
13579 }
13580 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
13581 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
13582 }
13583 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
13584 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
13585 }
13586 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
13587 return (void *)((wxWindow *) ((wxSashWindow *) x));
13588 }
13589 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
13590 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
13591 }
13592 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
13593 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13594 }
13595 static void *_p_wxControlTo_p_wxWindow(void *x) {
13596 return (void *)((wxWindow *) ((wxControl *) x));
13597 }
13598 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
13599 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13600 }
13601 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
13602 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13603 }
13604 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
13605 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13606 }
13607 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13608 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13609 }
13610 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
13611 return (void *)((wxWindow *) ((wxPyWindow *) x));
13612 }
13613 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
13614 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13615 }
13616 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
13617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
13618 }
13619 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
13620 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13621 }
13622 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
13623 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13624 }
13625 static void *_p_wxAuiMultiNotebookTo_p_wxWindow(void *x) {
13626 return (void *)((wxWindow *) (wxControl *) ((wxAuiMultiNotebook *) x));
13627 }
13628 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
13629 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
13630 }
13631 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
13632 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13633 }
13634 static void *_p_wxAuiTabCtrlTo_p_wxWindow(void *x) {
13635 return (void *)((wxWindow *) (wxControl *) ((wxAuiTabCtrl *) x));
13636 }
13637 static void *_p_wxFrameTo_p_wxWindow(void *x) {
13638 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
13639 }
13640 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
13641 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13642 }
13643 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
13644 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13645 }
13646 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
13647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13648 }
13649 static void *_p_wxDialogTo_p_wxWindow(void *x) {
13650 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
13651 }
13652 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
13653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13654 }
13655 static void *_p_p_wxSplashScreenTo_p_p_wxWindow(void *x) {
13656 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen **) x));
13657 }
13658 static void *_p_p_wxMiniFrameTo_p_p_wxWindow(void *x) {
13659 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame **) x));
13660 }
13661 static void *_p_p_wxPyPanelTo_p_p_wxWindow(void *x) {
13662 return (void *)((wxWindow **) (wxPanel *) ((wxPyPanel **) x));
13663 }
13664 static void *_p_p_wxMenuBarTo_p_p_wxWindow(void *x) {
13665 return (void *)((wxWindow **) ((wxMenuBar **) x));
13666 }
13667 static void *_p_p_wxFindReplaceDialogTo_p_p_wxWindow(void *x) {
13668 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog **) x));
13669 }
13670 static void *_p_p_wxProgressDialogTo_p_p_wxWindow(void *x) {
13671 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog **) x));
13672 }
13673 static void *_p_p_wxMessageDialogTo_p_p_wxWindow(void *x) {
13674 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog **) x));
13675 }
13676 static void *_p_p_wxNumberEntryDialogTo_p_p_wxWindow(void *x) {
13677 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog **) x));
13678 }
13679 static void *_p_p_wxPasswordEntryDialogTo_p_p_wxWindow(void *x) {
13680 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog **) x));
13681 }
13682 static void *_p_p_wxTextEntryDialogTo_p_p_wxWindow(void *x) {
13683 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog **) x));
13684 }
13685 static void *_p_p_wxSingleChoiceDialogTo_p_p_wxWindow(void *x) {
13686 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog **) x));
13687 }
13688 static void *_p_p_wxMultiChoiceDialogTo_p_p_wxWindow(void *x) {
13689 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog **) x));
13690 }
13691 static void *_p_p_wxFileDialogTo_p_p_wxWindow(void *x) {
13692 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog **) x));
13693 }
13694 static void *_p_p_wxPanelTo_p_p_wxWindow(void *x) {
13695 return (void *)((wxWindow **) ((wxPanel **) x));
13696 }
13697 static void *_p_p_wxStatusBarTo_p_p_wxWindow(void *x) {
13698 return (void *)((wxWindow **) ((wxStatusBar **) x));
13699 }
13700 static void *_p_p_wxPyVScrolledWindowTo_p_p_wxWindow(void *x) {
13701 return (void *)((wxWindow **) (wxPanel *) ((wxPyVScrolledWindow **) x));
13702 }
13703 static void *_p_p_wxTipWindowTo_p_p_wxWindow(void *x) {
13704 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow **) x));
13705 }
13706 static void *_p_p_wxPyPopupTransientWindowTo_p_p_wxWindow(void *x) {
13707 return (void *)((wxWindow **) (wxPopupWindow *) ((wxPyPopupTransientWindow **) x));
13708 }
13709 static void *_p_p_wxPopupWindowTo_p_p_wxWindow(void *x) {
13710 return (void *)((wxWindow **) ((wxPopupWindow **) x));
13711 }
13712 static void *_p_p_wxSashLayoutWindowTo_p_p_wxWindow(void *x) {
13713 return (void *)((wxWindow **) (wxSashWindow *) ((wxSashLayoutWindow **) x));
13714 }
13715 static void *_p_p_wxScrolledWindowTo_p_p_wxWindow(void *x) {
13716 return (void *)((wxWindow **) (wxPanel *) ((wxScrolledWindow **) x));
13717 }
13718 static void *_p_p_wxTopLevelWindowTo_p_p_wxWindow(void *x) {
13719 return (void *)((wxWindow **) ((wxTopLevelWindow **) x));
13720 }
13721 static void *_p_p_wxSplashScreenWindowTo_p_p_wxWindow(void *x) {
13722 return (void *)((wxWindow **) ((wxSplashScreenWindow **) x));
13723 }
13724 static void *_p_p_wxSplitterWindowTo_p_p_wxWindow(void *x) {
13725 return (void *)((wxWindow **) ((wxSplitterWindow **) x));
13726 }
13727 static void *_p_p_wxSashWindowTo_p_p_wxWindow(void *x) {
13728 return (void *)((wxWindow **) ((wxSashWindow **) x));
13729 }
13730 static void *_p_p_wxMDIClientWindowTo_p_p_wxWindow(void *x) {
13731 return (void *)((wxWindow **) ((wxMDIClientWindow **) x));
13732 }
13733 static void *_p_p_wxPyScrolledWindowTo_p_p_wxWindow(void *x) {
13734 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow **) x));
13735 }
13736 static void *_p_p_wxControlTo_p_p_wxWindow(void *x) {
13737 return (void *)((wxWindow **) ((wxControl **) x));
13738 }
13739 static void *_p_p_wxPreviewFrameTo_p_p_wxWindow(void *x) {
13740 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame **) x));
13741 }
13742 static void *_p_p_wxPyPreviewFrameTo_p_p_wxWindow(void *x) {
13743 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame **) x));
13744 }
13745 static void *_p_p_wxMDIChildFrameTo_p_p_wxWindow(void *x) {
13746 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame **) x));
13747 }
13748 static void *_p_p_wxControlWithItemsTo_p_p_wxWindow(void *x) {
13749 return (void *)((wxWindow **) (wxControl *) ((wxControlWithItems **) x));
13750 }
13751 static void *_p_p_wxPyWindowTo_p_p_wxWindow(void *x) {
13752 return (void *)((wxWindow **) ((wxPyWindow **) x));
13753 }
13754 static void *_p_p_wxPreviewCanvasTo_p_p_wxWindow(void *x) {
13755 return (void *)((wxWindow **) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas **) x));
13756 }
13757 static void *_p_p_wxFloatingPaneTo_p_p_wxWindow(void *x) {
13758 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane **) x));
13759 }
13760 static void *_p_p_wxPyHtmlListBoxTo_p_p_wxWindow(void *x) {
13761 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox **) x));
13762 }
13763 static void *_p_p_wxPyVListBoxTo_p_p_wxWindow(void *x) {
13764 return (void *)((wxWindow **) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox **) x));
13765 }
13766 static void *_p_p_wxAuiMultiNotebookTo_p_p_wxWindow(void *x) {
13767 return (void *)((wxWindow **) (wxControl *) ((wxAuiMultiNotebook **) x));
13768 }
13769 static void *_p_p_wxPreviewControlBarTo_p_p_wxWindow(void *x) {
13770 return (void *)((wxWindow **) (wxPanel *) ((wxPreviewControlBar **) x));
13771 }
13772 static void *_p_p_wxPyPreviewControlBarTo_p_p_wxWindow(void *x) {
13773 return (void *)((wxWindow **) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar **) x));
13774 }
13775 static void *_p_p_wxAuiTabCtrlTo_p_p_wxWindow(void *x) {
13776 return (void *)((wxWindow **) (wxControl *) ((wxAuiTabCtrl **) x));
13777 }
13778 static void *_p_p_wxFrameTo_p_p_wxWindow(void *x) {
13779 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxFrame **) x));
13780 }
13781 static void *_p_p_wxFontDialogTo_p_p_wxWindow(void *x) {
13782 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog **) x));
13783 }
13784 static void *_p_p_wxDirDialogTo_p_p_wxWindow(void *x) {
13785 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog **) x));
13786 }
13787 static void *_p_p_wxColourDialogTo_p_p_wxWindow(void *x) {
13788 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog **) x));
13789 }
13790 static void *_p_p_wxDialogTo_p_p_wxWindow(void *x) {
13791 return (void *)((wxWindow **) (wxTopLevelWindow *) ((wxDialog **) x));
13792 }
13793 static void *_p_p_wxMDIParentFrameTo_p_p_wxWindow(void *x) {
13794 return (void *)((wxWindow **) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame **) x));
13795 }
13796 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13797 return (void *)((wxControl *) ((wxControlWithItems *) x));
13798 }
13799 static void *_p_wxAuiTabCtrlTo_p_wxControl(void *x) {
13800 return (void *)((wxControl *) ((wxAuiTabCtrl *) x));
13801 }
13802 static void *_p_wxAuiMultiNotebookTo_p_wxControl(void *x) {
13803 return (void *)((wxControl *) ((wxAuiMultiNotebook *) x));
13804 }
13805 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13806 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13807 }
13808 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13809 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13810 }
13811 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13812 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13813 }
13814 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13815 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13816 }
13817 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13818 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13819 }
13820 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13821 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13822 }
13823 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
13824 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
13825 }
13826 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
13827 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
13828 }
13829 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13830 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13831 }
13832 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13834 }
13835 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
13836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
13837 }
13838 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13839 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13840 }
13841 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
13842 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
13843 }
13844 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13845 return (void *)((wxEvent *) ((wxPyEvent *) x));
13846 }
13847 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
13848 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
13849 }
13850 static void *_p_wxAuiNotebookEventTo_p_wxEvent(void *x) {
13851 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
13852 }
13853 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13854 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13855 }
13856 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13857 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13858 }
13859 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13860 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13861 }
13862 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13863 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13864 }
13865 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13866 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13867 }
13868 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13869 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13870 }
13871 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13872 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13873 }
13874 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13875 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13876 }
13877 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
13878 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
13879 }
13880 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13881 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13882 }
13883 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13884 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13885 }
13886 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
13887 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
13888 }
13889 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13890 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13891 }
13892 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13893 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13894 }
13895 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13896 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13897 }
13898 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13899 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13900 }
13901 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13902 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13903 }
13904 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13905 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13906 }
13907 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13908 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13909 }
13910 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13912 }
13913 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
13914 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
13915 }
13916 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
13917 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
13918 }
13919 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
13920 return (void *)((wxEvent *) ((wxShowEvent *) x));
13921 }
13922 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
13923 return (void *)((wxEvent *) ((wxCommandEvent *) x));
13924 }
13925 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
13926 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
13927 }
13928 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
13929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13930 }
13931 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
13932 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
13933 }
13934 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
13935 return (void *)((wxEvent *) ((wxKeyEvent *) x));
13936 }
13937 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
13938 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
13939 }
13940 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
13941 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
13942 }
13943 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
13944 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
13945 }
13946 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
13947 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
13948 }
13949 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
13950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13951 }
13952 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
13953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13954 }
13955 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
13956 return (void *)((wxObject *) ((wxSizerItem *) x));
13957 }
13958 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
13959 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
13960 }
13961 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
13962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
13963 }
13964 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
13965 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
13966 }
13967 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
13968 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
13969 }
13970 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
13971 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
13972 }
13973 static void *_p_wxSizerTo_p_wxObject(void *x) {
13974 return (void *)((wxObject *) ((wxSizer *) x));
13975 }
13976 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
13977 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13978 }
13979 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
13980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
13981 }
13982 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
13983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
13984 }
13985 static void *_p_wxEventTo_p_wxObject(void *x) {
13986 return (void *)((wxObject *) ((wxEvent *) x));
13987 }
13988 static void *_p_wxFontDataTo_p_wxObject(void *x) {
13989 return (void *)((wxObject *) ((wxFontData *) x));
13990 }
13991 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
13992 return (void *)((wxObject *) ((wxPrintData *) x));
13993 }
13994 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13995 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13996 }
13997 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13998 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13999 }
14000 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
14001 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
14002 }
14003 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
14004 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
14005 }
14006 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
14007 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14008 }
14009 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
14010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
14011 }
14012 static void *_p_wxAuiTabCtrlTo_p_wxObject(void *x) {
14013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14014 }
14015 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
14016 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
14017 }
14018 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
14019 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
14020 }
14021 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
14022 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
14023 }
14024 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
14025 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
14026 }
14027 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
14028 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
14029 }
14030 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
14031 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
14032 }
14033 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
14034 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
14035 }
14036 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
14037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14038 }
14039 static void *_p_wxControlTo_p_wxObject(void *x) {
14040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
14041 }
14042 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
14043 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
14044 }
14045 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
14046 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
14047 }
14048 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
14049 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
14050 }
14051 static void *_p_wxFSFileTo_p_wxObject(void *x) {
14052 return (void *)((wxObject *) ((wxFSFile *) x));
14053 }
14054 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
14055 return (void *)((wxObject *) ((wxFindReplaceData *) x));
14056 }
14057 static void *_p_wxPySizerTo_p_wxObject(void *x) {
14058 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
14059 }
14060 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
14061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14062 }
14063 static void *_p_wxAuiMultiNotebookTo_p_wxObject(void *x) {
14064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14065 }
14066 static void *_p_wxColourDataTo_p_wxObject(void *x) {
14067 return (void *)((wxObject *) ((wxColourData *) x));
14068 }
14069 static void *_p_wxPyEventTo_p_wxObject(void *x) {
14070 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
14071 }
14072 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
14073 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
14074 }
14075 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
14076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
14077 }
14078 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
14079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14080 }
14081 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
14082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14083 }
14084 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
14085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14086 }
14087 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
14088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14089 }
14090 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
14091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14092 }
14093 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
14094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14095 }
14096 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
14097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14098 }
14099 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
14100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14101 }
14102 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
14103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14104 }
14105 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
14106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14107 }
14108 static void *_p_wxShowEventTo_p_wxObject(void *x) {
14109 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
14110 }
14111 static void *_p_wxPrinterTo_p_wxObject(void *x) {
14112 return (void *)((wxObject *) ((wxPrinter *) x));
14113 }
14114 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
14115 return (void *)((wxObject *) ((wxMenuItem *) x));
14116 }
14117 static void *_p_wxDateEventTo_p_wxObject(void *x) {
14118 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
14119 }
14120 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
14121 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
14122 }
14123 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
14124 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
14125 }
14126 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
14127 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
14128 }
14129 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
14130 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
14131 }
14132 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
14133 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
14134 }
14135 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
14136 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
14137 }
14138 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
14139 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
14140 }
14141 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
14142 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
14143 }
14144 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
14145 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
14146 }
14147 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
14148 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
14149 }
14150 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
14151 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
14152 }
14153 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
14154 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
14155 }
14156 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
14157 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
14158 }
14159 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
14160 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
14161 }
14162 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
14163 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
14164 }
14165 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
14166 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
14167 }
14168 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
14169 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
14170 }
14171 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
14172 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
14173 }
14174 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
14175 return (void *)((wxObject *) ((wxImageHandler *) x));
14176 }
14177 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
14178 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
14179 }
14180 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
14181 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
14182 }
14183 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
14184 return (void *)((wxObject *) ((wxEvtHandler *) x));
14185 }
14186 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
14187 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
14188 }
14189 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
14190 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
14191 }
14192 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
14193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14194 }
14195 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
14196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14197 }
14198 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
14199 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
14200 }
14201 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
14202 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
14203 }
14204 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
14205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14206 }
14207 static void *_p_wxImageTo_p_wxObject(void *x) {
14208 return (void *)((wxObject *) ((wxImage *) x));
14209 }
14210 static void *_p_wxFrameTo_p_wxObject(void *x) {
14211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14212 }
14213 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
14214 return (void *)((wxObject *) ((wxPyPrintout *) x));
14215 }
14216 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
14217 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
14218 }
14219 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
14220 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
14221 }
14222 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
14223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14224 }
14225 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
14226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
14227 }
14228 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
14229 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
14230 }
14231 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
14232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14233 }
14234 static void *_p_wxAuiNotebookEventTo_p_wxObject(void *x) {
14235 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14236 }
14237 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
14238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14239 }
14240 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
14241 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
14242 }
14243 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
14244 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
14245 }
14246 static void *_p_wxWindowTo_p_wxObject(void *x) {
14247 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
14248 }
14249 static void *_p_wxMenuTo_p_wxObject(void *x) {
14250 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
14251 }
14252 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
14253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
14254 }
14255 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
14256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14257 }
14258 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
14259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
14260 }
14261 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
14262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
14263 }
14264 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
14265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
14266 }
14267 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
14268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
14269 }
14270 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
14271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14272 }
14273 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
14274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
14275 }
14276 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
14277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14278 }
14279 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
14280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
14281 }
14282 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
14283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14284 }
14285 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
14286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
14287 }
14288 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
14289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14290 }
14291 static void *_p_wxSashEventTo_p_wxObject(void *x) {
14292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
14293 }
14294 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
14295 return (void *)((wxObject *) ((wxPrintPreview *) x));
14296 }
14297 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
14298 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
14299 }
14300 static void *_p_wxPanelTo_p_wxObject(void *x) {
14301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
14302 }
14303 static void *_p_wxDialogTo_p_wxObject(void *x) {
14304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14305 }
14306 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
14307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14308 }
14309 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
14310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14311 }
14312 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
14313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14314 }
14315 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
14316 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
14317 }
14318 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
14319 return (void *)((wxObject *) ((wxPrintDialog *) x));
14320 }
14321 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
14322 return (void *)((wxObject *) ((wxFileSystem *) x));
14323 }
14324 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
14325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
14326 }
14327 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
14328 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
14329 }
14330 static void *_p_wxPyAppTo_p_wxObject(void *x) {
14331 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
14332 }
14333 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
14334 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
14335 }
14336 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
14337 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
14338 }
14339 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
14340 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
14341 }
14342 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
14343 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
14344 }
14345 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
14346 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
14347 }
14348 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
14349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14350 }
14351 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
14352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14353 }
14354 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
14355 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
14356 }
14357 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
14358 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
14359 }
14360 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
14361 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
14362 }
14363 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
14364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14365 }
14366 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
14367 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
14368 }
14369 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
14370 return (void *)((wxObject *) ((wxPrintDialogData *) x));
14371 }
14372 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
14373 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
14374 }
14375 static void *_p_wxValidatorTo_p_wxObject(void *x) {
14376 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
14377 }
14378 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
14379 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
14380 }
14381 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
14382 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
14383 }
14384 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
14385 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
14386 }
14387 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
14388 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
14389 }
14390 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
14391 return (void *)((wxEvtHandler *) ((wxValidator *) x));
14392 }
14393 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
14394 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
14395 }
14396 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
14397 return (void *)((wxEvtHandler *) ((wxMenu *) x));
14398 }
14399 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
14400 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
14401 }
14402 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
14403 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
14404 }
14405 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
14406 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
14407 }
14408 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
14409 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
14410 }
14411 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
14412 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
14413 }
14414 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
14415 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
14416 }
14417 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
14418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
14419 }
14420 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
14421 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
14422 }
14423 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
14424 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
14425 }
14426 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
14427 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
14428 }
14429 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
14430 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
14431 }
14432 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
14433 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
14434 }
14435 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
14436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
14437 }
14438 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
14439 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
14440 }
14441 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
14442 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
14443 }
14444 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
14445 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
14446 }
14447 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
14448 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
14449 }
14450 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
14451 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
14452 }
14453 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
14454 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
14455 }
14456 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
14457 return (void *)((wxEvtHandler *) ((wxWindow *) x));
14458 }
14459 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
14460 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
14461 }
14462 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
14463 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
14464 }
14465 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
14466 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
14467 }
14468 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
14469 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
14470 }
14471 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
14472 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
14473 }
14474 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
14475 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
14476 }
14477 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
14478 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14479 }
14480 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
14481 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
14482 }
14483 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
14484 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
14485 }
14486 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
14487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
14488 }
14489 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
14490 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
14491 }
14492 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
14493 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
14494 }
14495 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
14496 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
14497 }
14498 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
14499 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
14500 }
14501 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
14502 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
14503 }
14504 static void *_p_wxAuiMultiNotebookTo_p_wxEvtHandler(void *x) {
14505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiMultiNotebook *) x));
14506 }
14507 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
14508 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
14509 }
14510 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
14511 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
14512 }
14513 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
14514 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
14515 }
14516 static void *_p_wxAuiTabCtrlTo_p_wxEvtHandler(void *x) {
14517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxAuiTabCtrl *) x));
14518 }
14519 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
14520 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
14521 }
14522 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
14523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
14524 }
14525 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
14526 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
14527 }
14528 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
14529 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
14530 }
14531 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
14532 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
14533 }
14534 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
14535 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
14536 }
14537 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
14538 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
14539 }
14540 static void *_p_wxAuiTabCtrlTo_p_wxAuiTabContainer(void *x) {
14541 return (void *)((wxAuiTabContainer *) ((wxAuiTabCtrl *) x));
14542 }
14543 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
14544 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
14545 }
14546 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
14547 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
14548 }
14549 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
14550 return (void *)((wxFrame *) ((wxProgressDialog *) x));
14551 }
14552 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
14553 return (void *)((wxFrame *) ((wxTipWindow *) x));
14554 }
14555 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
14556 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
14557 }
14558 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
14559 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
14560 }
14561 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
14562 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
14563 }
14564 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
14565 return (void *)((wxFrame *) ((wxMiniFrame *) x));
14566 }
14567 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
14568 return (void *)((wxFrame *) ((wxSplashScreen *) x));
14569 }
14570 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
14571 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
14572 }
14573 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
14574 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
14575 }
14576 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
14577 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
14578 }
14579 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
14580 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
14581 }
14582 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
14583 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
14584 }
14585 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
14586 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
14587 }
14588 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
14589 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
14590 }
14591 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
14592 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
14593 }
14594 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
14595 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
14596 }
14597 static void *_p_wxAuiNotebookEventTo_p_wxCommandEvent(void *x) {
14598 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxAuiNotebookEvent *) x));
14599 }
14600 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
14601 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
14602 }
14603 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
14604 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
14605 }
14606 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
14607 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
14608 }
14609 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
14610 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
14611 }
14612 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
14613 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
14614 }
14615 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
14616 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
14617 }
14618 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
14619 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
14620 }
14621 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
14622 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
14623 }
14624 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
14625 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};
14626 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
14627 static swig_type_info _swigt__p_p_wxAuiTabContainerButton = {"_p_p_wxAuiTabContainerButton", "wxAuiTabContainerButton **", 0, 0, (void*)0, 0};
14628 static swig_type_info _swigt__p_p_wxWindow = {"_p_p_wxWindow", "wxWindow **", 0, 0, (void*)0, 0};
14629 static swig_type_info _swigt__p_p_wxSplashScreen = {"_p_p_wxSplashScreen", 0, 0, 0, 0, 0};
14630 static swig_type_info _swigt__p_p_wxMiniFrame = {"_p_p_wxMiniFrame", 0, 0, 0, 0, 0};
14631 static swig_type_info _swigt__p_p_wxPyPanel = {"_p_p_wxPyPanel", 0, 0, 0, 0, 0};
14632 static swig_type_info _swigt__p_p_wxMenuBar = {"_p_p_wxMenuBar", 0, 0, 0, 0, 0};
14633 static swig_type_info _swigt__p_p_wxFindReplaceDialog = {"_p_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14634 static swig_type_info _swigt__p_p_wxProgressDialog = {"_p_p_wxProgressDialog", 0, 0, 0, 0, 0};
14635 static swig_type_info _swigt__p_p_wxMessageDialog = {"_p_p_wxMessageDialog", 0, 0, 0, 0, 0};
14636 static swig_type_info _swigt__p_p_wxNumberEntryDialog = {"_p_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14637 static swig_type_info _swigt__p_p_wxPasswordEntryDialog = {"_p_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14638 static swig_type_info _swigt__p_p_wxTextEntryDialog = {"_p_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14639 static swig_type_info _swigt__p_p_wxSingleChoiceDialog = {"_p_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14640 static swig_type_info _swigt__p_p_wxMultiChoiceDialog = {"_p_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14641 static swig_type_info _swigt__p_p_wxFileDialog = {"_p_p_wxFileDialog", 0, 0, 0, 0, 0};
14642 static swig_type_info _swigt__p_p_wxPanel = {"_p_p_wxPanel", 0, 0, 0, 0, 0};
14643 static swig_type_info _swigt__p_p_wxStatusBar = {"_p_p_wxStatusBar", 0, 0, 0, 0, 0};
14644 static swig_type_info _swigt__p_p_wxPyVScrolledWindow = {"_p_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14645 static swig_type_info _swigt__p_p_wxTipWindow = {"_p_p_wxTipWindow", 0, 0, 0, 0, 0};
14646 static swig_type_info _swigt__p_p_wxPyPopupTransientWindow = {"_p_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14647 static swig_type_info _swigt__p_p_wxPopupWindow = {"_p_p_wxPopupWindow", 0, 0, 0, 0, 0};
14648 static swig_type_info _swigt__p_p_wxSashLayoutWindow = {"_p_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14649 static swig_type_info _swigt__p_p_wxScrolledWindow = {"_p_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14650 static swig_type_info _swigt__p_p_wxTopLevelWindow = {"_p_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
14651 static swig_type_info _swigt__p_p_wxSplashScreenWindow = {"_p_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14652 static swig_type_info _swigt__p_p_wxSplitterWindow = {"_p_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14653 static swig_type_info _swigt__p_p_wxSashWindow = {"_p_p_wxSashWindow", 0, 0, 0, 0, 0};
14654 static swig_type_info _swigt__p_p_wxMDIClientWindow = {"_p_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14655 static swig_type_info _swigt__p_p_wxPyScrolledWindow = {"_p_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14656 static swig_type_info _swigt__p_p_wxPreviewFrame = {"_p_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14657 static swig_type_info _swigt__p_p_wxPyPreviewFrame = {"_p_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14658 static swig_type_info _swigt__p_p_wxControl = {"_p_p_wxControl", 0, 0, 0, 0, 0};
14659 static swig_type_info _swigt__p_p_wxMDIChildFrame = {"_p_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14660 static swig_type_info _swigt__p_p_wxControlWithItems = {"_p_p_wxControlWithItems", 0, 0, 0, 0, 0};
14661 static swig_type_info _swigt__p_p_wxPyWindow = {"_p_p_wxPyWindow", 0, 0, 0, 0, 0};
14662 static swig_type_info _swigt__p_p_wxPreviewCanvas = {"_p_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14663 static swig_type_info _swigt__p_p_wxFloatingPane = {"_p_p_wxFloatingPane", 0, 0, 0, 0, 0};
14664 static swig_type_info _swigt__p_p_wxPyHtmlListBox = {"_p_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14665 static swig_type_info _swigt__p_p_wxPyVListBox = {"_p_p_wxPyVListBox", 0, 0, 0, 0, 0};
14666 static swig_type_info _swigt__p_p_wxAuiMultiNotebook = {"_p_p_wxAuiMultiNotebook", 0, 0, 0, 0, 0};
14667 static swig_type_info _swigt__p_p_wxPreviewControlBar = {"_p_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14668 static swig_type_info _swigt__p_p_wxPyPreviewControlBar = {"_p_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14669 static swig_type_info _swigt__p_p_wxAuiTabCtrl = {"_p_p_wxAuiTabCtrl", 0, 0, 0, 0, 0};
14670 static swig_type_info _swigt__p_p_wxFrame = {"_p_p_wxFrame", 0, 0, 0, 0, 0};
14671 static swig_type_info _swigt__p_p_wxFontDialog = {"_p_p_wxFontDialog", 0, 0, 0, 0, 0};
14672 static swig_type_info _swigt__p_p_wxDirDialog = {"_p_p_wxDirDialog", 0, 0, 0, 0, 0};
14673 static swig_type_info _swigt__p_p_wxColourDialog = {"_p_p_wxColourDialog", 0, 0, 0, 0, 0};
14674 static swig_type_info _swigt__p_p_wxDialog = {"_p_p_wxDialog", 0, 0, 0, 0, 0};
14675 static swig_type_info _swigt__p_p_wxMDIParentFrame = {"_p_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14676 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
14677 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
14678 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
14679 static swig_type_info _swigt__p_wxAuiMultiNotebook = {"_p_wxAuiMultiNotebook", "wxAuiMultiNotebook *", 0, 0, (void*)0, 0};
14680 static swig_type_info _swigt__p_wxAuiNotebookEvent = {"_p_wxAuiNotebookEvent", "wxAuiNotebookEvent *", 0, 0, (void*)0, 0};
14681 static swig_type_info _swigt__p_wxAuiNotebookPage = {"_p_wxAuiNotebookPage", "wxAuiNotebookPage *", 0, 0, (void*)0, 0};
14682 static swig_type_info _swigt__p_wxAuiNotebookPageArray = {"_p_wxAuiNotebookPageArray", "wxAuiNotebookPageArray *", 0, 0, (void*)0, 0};
14683 static swig_type_info _swigt__p_wxAuiTabContainer = {"_p_wxAuiTabContainer", "wxAuiTabContainer *", 0, 0, (void*)0, 0};
14684 static swig_type_info _swigt__p_wxAuiTabContainerButton = {"_p_wxAuiTabContainerButton", "wxAuiTabContainerButton *", 0, 0, (void*)0, 0};
14685 static swig_type_info _swigt__p_wxAuiTabCtrl = {"_p_wxAuiTabCtrl", "wxAuiTabCtrl *", 0, 0, (void*)0, 0};
14686 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
14687 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
14688 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
14689 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
14690 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
14691 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
14692 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
14693 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
14694 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
14695 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
14696 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
14697 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
14698 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
14699 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
14700 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
14701 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
14702 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
14703 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
14704 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
14705 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
14706 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
14707 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
14708 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
14709 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
14710 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
14711 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
14712 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
14713 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
14714 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
14715 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
14716 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
14717 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
14718 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
14719 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
14720 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
14721 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
14722 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
14723 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
14724 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
14725 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
14726 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
14727 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
14728 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
14729 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
14730 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
14731 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
14732 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
14733 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
14734 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
14735 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
14736 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
14737 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
14738 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
14739 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
14740 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
14741 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
14742 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
14743 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
14744 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
14745 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
14746 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
14747 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
14748 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
14749 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
14750 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
14751 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
14752 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
14753 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
14754 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
14755 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
14756 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
14757 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
14758 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
14759 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
14760 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
14761 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
14762 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
14763 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
14764 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
14765 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
14766 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
14767 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
14768 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
14769 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
14770 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
14771 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
14772 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
14773 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
14774 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
14775 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
14776 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
14777 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
14778 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
14779 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
14780 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
14781 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
14782 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
14783 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
14784 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
14785 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
14786 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
14787 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
14788 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
14789 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
14790 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
14791 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
14792 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
14793 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
14794 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
14795 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
14796 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
14797 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
14798 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
14799 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
14800 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
14801 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
14802 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
14803 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
14804 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
14805 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
14806 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
14807 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
14808 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
14809 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
14810 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
14811 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
14812 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
14813 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
14814 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
14815 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
14816 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
14817 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
14818 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
14819 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
14820 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
14821 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
14822 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
14823 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
14824 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
14825 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
14826 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
14827 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
14828 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
14829 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
14830 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
14831 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
14832 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
14833 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
14834 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
14835 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
14836 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
14837 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
14838 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
14839 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
14840 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
14841 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
14842 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
14843 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
14844 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
14845 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
14846 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
14847 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
14848 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
14849
14850 static swig_type_info *swig_type_initial[] = {
14851 &_swigt__p_char,
14852 &_swigt__p_form_ops_t,
14853 &_swigt__p_int,
14854 &_swigt__p_p_wxAuiMultiNotebook,
14855 &_swigt__p_p_wxAuiTabContainerButton,
14856 &_swigt__p_p_wxAuiTabCtrl,
14857 &_swigt__p_p_wxColourDialog,
14858 &_swigt__p_p_wxControl,
14859 &_swigt__p_p_wxControlWithItems,
14860 &_swigt__p_p_wxDialog,
14861 &_swigt__p_p_wxDirDialog,
14862 &_swigt__p_p_wxFileDialog,
14863 &_swigt__p_p_wxFindReplaceDialog,
14864 &_swigt__p_p_wxFloatingPane,
14865 &_swigt__p_p_wxFontDialog,
14866 &_swigt__p_p_wxFrame,
14867 &_swigt__p_p_wxMDIChildFrame,
14868 &_swigt__p_p_wxMDIClientWindow,
14869 &_swigt__p_p_wxMDIParentFrame,
14870 &_swigt__p_p_wxMenuBar,
14871 &_swigt__p_p_wxMessageDialog,
14872 &_swigt__p_p_wxMiniFrame,
14873 &_swigt__p_p_wxMultiChoiceDialog,
14874 &_swigt__p_p_wxNumberEntryDialog,
14875 &_swigt__p_p_wxPanel,
14876 &_swigt__p_p_wxPasswordEntryDialog,
14877 &_swigt__p_p_wxPopupWindow,
14878 &_swigt__p_p_wxPreviewCanvas,
14879 &_swigt__p_p_wxPreviewControlBar,
14880 &_swigt__p_p_wxPreviewFrame,
14881 &_swigt__p_p_wxProgressDialog,
14882 &_swigt__p_p_wxPyHtmlListBox,
14883 &_swigt__p_p_wxPyPanel,
14884 &_swigt__p_p_wxPyPopupTransientWindow,
14885 &_swigt__p_p_wxPyPreviewControlBar,
14886 &_swigt__p_p_wxPyPreviewFrame,
14887 &_swigt__p_p_wxPyScrolledWindow,
14888 &_swigt__p_p_wxPyVListBox,
14889 &_swigt__p_p_wxPyVScrolledWindow,
14890 &_swigt__p_p_wxPyWindow,
14891 &_swigt__p_p_wxSashLayoutWindow,
14892 &_swigt__p_p_wxSashWindow,
14893 &_swigt__p_p_wxScrolledWindow,
14894 &_swigt__p_p_wxSingleChoiceDialog,
14895 &_swigt__p_p_wxSplashScreen,
14896 &_swigt__p_p_wxSplashScreenWindow,
14897 &_swigt__p_p_wxSplitterWindow,
14898 &_swigt__p_p_wxStatusBar,
14899 &_swigt__p_p_wxTextEntryDialog,
14900 &_swigt__p_p_wxTipWindow,
14901 &_swigt__p_p_wxTopLevelWindow,
14902 &_swigt__p_p_wxWindow,
14903 &_swigt__p_unsigned_char,
14904 &_swigt__p_unsigned_int,
14905 &_swigt__p_unsigned_long,
14906 &_swigt__p_wxANIHandler,
14907 &_swigt__p_wxAcceleratorTable,
14908 &_swigt__p_wxActivateEvent,
14909 &_swigt__p_wxAuiMultiNotebook,
14910 &_swigt__p_wxAuiNotebookEvent,
14911 &_swigt__p_wxAuiNotebookPage,
14912 &_swigt__p_wxAuiNotebookPageArray,
14913 &_swigt__p_wxAuiTabContainer,
14914 &_swigt__p_wxAuiTabContainerButton,
14915 &_swigt__p_wxAuiTabCtrl,
14916 &_swigt__p_wxBMPHandler,
14917 &_swigt__p_wxBitmap,
14918 &_swigt__p_wxBoxSizer,
14919 &_swigt__p_wxCURHandler,
14920 &_swigt__p_wxCalculateLayoutEvent,
14921 &_swigt__p_wxChildFocusEvent,
14922 &_swigt__p_wxClipboardTextEvent,
14923 &_swigt__p_wxCloseEvent,
14924 &_swigt__p_wxColor,
14925 &_swigt__p_wxColour,
14926 &_swigt__p_wxColourData,
14927 &_swigt__p_wxColourDialog,
14928 &_swigt__p_wxCommandEvent,
14929 &_swigt__p_wxContextMenuEvent,
14930 &_swigt__p_wxControl,
14931 &_swigt__p_wxControlWithItems,
14932 &_swigt__p_wxDC,
14933 &_swigt__p_wxDateEvent,
14934 &_swigt__p_wxDefaultDockArt,
14935 &_swigt__p_wxDialog,
14936 &_swigt__p_wxDirDialog,
14937 &_swigt__p_wxDisplayChangedEvent,
14938 &_swigt__p_wxDockArt,
14939 &_swigt__p_wxDockInfo,
14940 &_swigt__p_wxDockUIPart,
14941 &_swigt__p_wxDropFilesEvent,
14942 &_swigt__p_wxDuplexMode,
14943 &_swigt__p_wxEraseEvent,
14944 &_swigt__p_wxEvent,
14945 &_swigt__p_wxEvtHandler,
14946 &_swigt__p_wxFSFile,
14947 &_swigt__p_wxFileDialog,
14948 &_swigt__p_wxFileSystem,
14949 &_swigt__p_wxFindDialogEvent,
14950 &_swigt__p_wxFindReplaceData,
14951 &_swigt__p_wxFindReplaceDialog,
14952 &_swigt__p_wxFlexGridSizer,
14953 &_swigt__p_wxFloatingPane,
14954 &_swigt__p_wxFocusEvent,
14955 &_swigt__p_wxFont,
14956 &_swigt__p_wxFontData,
14957 &_swigt__p_wxFontDialog,
14958 &_swigt__p_wxFrame,
14959 &_swigt__p_wxFrameManager,
14960 &_swigt__p_wxFrameManagerEvent,
14961 &_swigt__p_wxGBSizerItem,
14962 &_swigt__p_wxGIFHandler,
14963 &_swigt__p_wxGridBagSizer,
14964 &_swigt__p_wxGridSizer,
14965 &_swigt__p_wxICOHandler,
14966 &_swigt__p_wxIconizeEvent,
14967 &_swigt__p_wxIdleEvent,
14968 &_swigt__p_wxImage,
14969 &_swigt__p_wxImageHandler,
14970 &_swigt__p_wxIndividualLayoutConstraint,
14971 &_swigt__p_wxInitDialogEvent,
14972 &_swigt__p_wxJPEGHandler,
14973 &_swigt__p_wxKeyEvent,
14974 &_swigt__p_wxLayoutAlgorithm,
14975 &_swigt__p_wxLayoutConstraints,
14976 &_swigt__p_wxMDIChildFrame,
14977 &_swigt__p_wxMDIClientWindow,
14978 &_swigt__p_wxMDIParentFrame,
14979 &_swigt__p_wxMaximizeEvent,
14980 &_swigt__p_wxMenu,
14981 &_swigt__p_wxMenuBar,
14982 &_swigt__p_wxMenuEvent,
14983 &_swigt__p_wxMenuItem,
14984 &_swigt__p_wxMessageDialog,
14985 &_swigt__p_wxMiniFrame,
14986 &_swigt__p_wxMouseCaptureChangedEvent,
14987 &_swigt__p_wxMouseCaptureLostEvent,
14988 &_swigt__p_wxMouseEvent,
14989 &_swigt__p_wxMoveEvent,
14990 &_swigt__p_wxMultiChoiceDialog,
14991 &_swigt__p_wxNavigationKeyEvent,
14992 &_swigt__p_wxNcPaintEvent,
14993 &_swigt__p_wxNotifyEvent,
14994 &_swigt__p_wxNumberEntryDialog,
14995 &_swigt__p_wxObject,
14996 &_swigt__p_wxPCXHandler,
14997 &_swigt__p_wxPNGHandler,
14998 &_swigt__p_wxPNMHandler,
14999 &_swigt__p_wxPageSetupDialog,
15000 &_swigt__p_wxPageSetupDialogData,
15001 &_swigt__p_wxPaintEvent,
15002 &_swigt__p_wxPaletteChangedEvent,
15003 &_swigt__p_wxPaneButton,
15004 &_swigt__p_wxPaneButtonArray,
15005 &_swigt__p_wxPaneInfo,
15006 &_swigt__p_wxPaneInfoPtrArray,
15007 &_swigt__p_wxPanel,
15008 &_swigt__p_wxPaperSize,
15009 &_swigt__p_wxPasswordEntryDialog,
15010 &_swigt__p_wxPoint,
15011 &_swigt__p_wxPopupWindow,
15012 &_swigt__p_wxPreviewCanvas,
15013 &_swigt__p_wxPreviewControlBar,
15014 &_swigt__p_wxPreviewFrame,
15015 &_swigt__p_wxPrintData,
15016 &_swigt__p_wxPrintDialog,
15017 &_swigt__p_wxPrintDialogData,
15018 &_swigt__p_wxPrintPreview,
15019 &_swigt__p_wxPrinter,
15020 &_swigt__p_wxProgressDialog,
15021 &_swigt__p_wxPyApp,
15022 &_swigt__p_wxPyCommandEvent,
15023 &_swigt__p_wxPyDockArt,
15024 &_swigt__p_wxPyEvent,
15025 &_swigt__p_wxPyHtmlListBox,
15026 &_swigt__p_wxPyImageHandler,
15027 &_swigt__p_wxPyPanel,
15028 &_swigt__p_wxPyPopupTransientWindow,
15029 &_swigt__p_wxPyPreviewControlBar,
15030 &_swigt__p_wxPyPreviewFrame,
15031 &_swigt__p_wxPyPrintPreview,
15032 &_swigt__p_wxPyPrintout,
15033 &_swigt__p_wxPyScrolledWindow,
15034 &_swigt__p_wxPySizer,
15035 &_swigt__p_wxPyTaskBarIcon,
15036 &_swigt__p_wxPyVListBox,
15037 &_swigt__p_wxPyVScrolledWindow,
15038 &_swigt__p_wxPyValidator,
15039 &_swigt__p_wxPyWindow,
15040 &_swigt__p_wxQueryLayoutInfoEvent,
15041 &_swigt__p_wxQueryNewPaletteEvent,
15042 &_swigt__p_wxRect,
15043 &_swigt__p_wxSashEvent,
15044 &_swigt__p_wxSashLayoutWindow,
15045 &_swigt__p_wxSashWindow,
15046 &_swigt__p_wxScrollEvent,
15047 &_swigt__p_wxScrollWinEvent,
15048 &_swigt__p_wxScrolledWindow,
15049 &_swigt__p_wxSetCursorEvent,
15050 &_swigt__p_wxShowEvent,
15051 &_swigt__p_wxSingleChoiceDialog,
15052 &_swigt__p_wxSize,
15053 &_swigt__p_wxSizeEvent,
15054 &_swigt__p_wxSizer,
15055 &_swigt__p_wxSizerItem,
15056 &_swigt__p_wxSplashScreen,
15057 &_swigt__p_wxSplashScreenWindow,
15058 &_swigt__p_wxSplitterEvent,
15059 &_swigt__p_wxSplitterWindow,
15060 &_swigt__p_wxStaticBoxSizer,
15061 &_swigt__p_wxStatusBar,
15062 &_swigt__p_wxStdDialogButtonSizer,
15063 &_swigt__p_wxString,
15064 &_swigt__p_wxSysColourChangedEvent,
15065 &_swigt__p_wxTIFFHandler,
15066 &_swigt__p_wxTaskBarIconEvent,
15067 &_swigt__p_wxTextEntryDialog,
15068 &_swigt__p_wxTipWindow,
15069 &_swigt__p_wxTopLevelWindow,
15070 &_swigt__p_wxUpdateUIEvent,
15071 &_swigt__p_wxValidator,
15072 &_swigt__p_wxWindow,
15073 &_swigt__p_wxWindowCreateEvent,
15074 &_swigt__p_wxWindowDestroyEvent,
15075 &_swigt__p_wxXPMHandler,
15076 };
15077
15078 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
15079 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
15080 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
15081 static swig_cast_info _swigc__p_p_wxAuiTabContainerButton[] = { {&_swigt__p_p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15082 static swig_cast_info _swigc__p_p_wxSplashScreen[] = {{&_swigt__p_p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15083 static swig_cast_info _swigc__p_p_wxMiniFrame[] = {{&_swigt__p_p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
15084 static swig_cast_info _swigc__p_p_wxPyPanel[] = {{&_swigt__p_p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15085 static swig_cast_info _swigc__p_p_wxMenuBar[] = {{&_swigt__p_p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15086 static swig_cast_info _swigc__p_p_wxFindReplaceDialog[] = {{&_swigt__p_p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15087 static swig_cast_info _swigc__p_p_wxProgressDialog[] = {{&_swigt__p_p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15088 static swig_cast_info _swigc__p_p_wxMessageDialog[] = {{&_swigt__p_p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15089 static swig_cast_info _swigc__p_p_wxNumberEntryDialog[] = {{&_swigt__p_p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15090 static swig_cast_info _swigc__p_p_wxPasswordEntryDialog[] = {{&_swigt__p_p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15091 static swig_cast_info _swigc__p_p_wxTextEntryDialog[] = {{&_swigt__p_p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15092 static swig_cast_info _swigc__p_p_wxSingleChoiceDialog[] = {{&_swigt__p_p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15093 static swig_cast_info _swigc__p_p_wxMultiChoiceDialog[] = {{&_swigt__p_p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15094 static swig_cast_info _swigc__p_p_wxFileDialog[] = {{&_swigt__p_p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15095 static swig_cast_info _swigc__p_p_wxPanel[] = {{&_swigt__p_p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15096 static swig_cast_info _swigc__p_p_wxStatusBar[] = {{&_swigt__p_p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15097 static swig_cast_info _swigc__p_p_wxPyVScrolledWindow[] = {{&_swigt__p_p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15098 static swig_cast_info _swigc__p_p_wxTipWindow[] = {{&_swigt__p_p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15099 static swig_cast_info _swigc__p_p_wxPyPopupTransientWindow[] = {{&_swigt__p_p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15100 static swig_cast_info _swigc__p_p_wxPopupWindow[] = {{&_swigt__p_p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15101 static swig_cast_info _swigc__p_p_wxSashLayoutWindow[] = {{&_swigt__p_p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15102 static swig_cast_info _swigc__p_p_wxScrolledWindow[] = {{&_swigt__p_p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15103 static swig_cast_info _swigc__p_p_wxTopLevelWindow[] = {{&_swigt__p_p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
15104 static swig_cast_info _swigc__p_p_wxSplashScreenWindow[] = {{&_swigt__p_p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15105 static swig_cast_info _swigc__p_p_wxSplitterWindow[] = {{&_swigt__p_p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15106 static swig_cast_info _swigc__p_p_wxSashWindow[] = {{&_swigt__p_p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15107 static swig_cast_info _swigc__p_p_wxMDIClientWindow[] = {{&_swigt__p_p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15108 static swig_cast_info _swigc__p_p_wxPyScrolledWindow[] = {{&_swigt__p_p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15109 static swig_cast_info _swigc__p_p_wxPreviewFrame[] = {{&_swigt__p_p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15110 static swig_cast_info _swigc__p_p_wxPyPreviewFrame[] = {{&_swigt__p_p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15111 static swig_cast_info _swigc__p_p_wxControl[] = {{&_swigt__p_p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
15112 static swig_cast_info _swigc__p_p_wxMDIChildFrame[] = {{&_swigt__p_p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15113 static swig_cast_info _swigc__p_p_wxControlWithItems[] = {{&_swigt__p_p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15114 static swig_cast_info _swigc__p_p_wxPyWindow[] = {{&_swigt__p_p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15115 static swig_cast_info _swigc__p_p_wxPreviewCanvas[] = {{&_swigt__p_p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15116 static swig_cast_info _swigc__p_p_wxFloatingPane[] = {{&_swigt__p_p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15117 static swig_cast_info _swigc__p_p_wxPyHtmlListBox[] = {{&_swigt__p_p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15118 static swig_cast_info _swigc__p_p_wxPyVListBox[] = {{&_swigt__p_p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15119 static swig_cast_info _swigc__p_p_wxAuiMultiNotebook[] = {{&_swigt__p_p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15120 static swig_cast_info _swigc__p_p_wxPreviewControlBar[] = {{&_swigt__p_p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15121 static swig_cast_info _swigc__p_p_wxPyPreviewControlBar[] = {{&_swigt__p_p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15122 static swig_cast_info _swigc__p_p_wxAuiTabCtrl[] = {{&_swigt__p_p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15123 static swig_cast_info _swigc__p_p_wxFrame[] = {{&_swigt__p_p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
15124 static swig_cast_info _swigc__p_p_wxFontDialog[] = {{&_swigt__p_p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15125 static swig_cast_info _swigc__p_p_wxDirDialog[] = {{&_swigt__p_p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15126 static swig_cast_info _swigc__p_p_wxColourDialog[] = {{&_swigt__p_p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15127 static swig_cast_info _swigc__p_p_wxDialog[] = {{&_swigt__p_p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15128 static swig_cast_info _swigc__p_p_wxMDIParentFrame[] = {{&_swigt__p_p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15129 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}};
15130 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
15131 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
15132 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
15133 static swig_cast_info _swigc__p_wxAuiMultiNotebook[] = { {&_swigt__p_wxAuiMultiNotebook, 0, 0, 0},{0, 0, 0, 0}};
15134 static swig_cast_info _swigc__p_wxAuiNotebookEvent[] = { {&_swigt__p_wxAuiNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
15135 static swig_cast_info _swigc__p_wxAuiNotebookPage[] = { {&_swigt__p_wxAuiNotebookPage, 0, 0, 0},{0, 0, 0, 0}};
15136 static swig_cast_info _swigc__p_wxAuiNotebookPageArray[] = { {&_swigt__p_wxAuiNotebookPageArray, 0, 0, 0},{0, 0, 0, 0}};
15137 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}};
15138 static swig_cast_info _swigc__p_wxAuiTabContainerButton[] = { {&_swigt__p_wxAuiTabContainerButton, 0, 0, 0},{0, 0, 0, 0}};
15139 static swig_cast_info _swigc__p_wxAuiTabCtrl[] = { {&_swigt__p_wxAuiTabCtrl, 0, 0, 0},{0, 0, 0, 0}};
15140 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
15141 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
15142 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
15143 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
15144 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
15145 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
15146 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
15147 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
15148 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
15149 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15150 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15151 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
15152 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
15153 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15154 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
15155 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}};
15156 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
15157 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}};
15158 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
15159 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}};
15160 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}};
15161 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
15162 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
15163 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
15164 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
15165 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
15166 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
15167 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
15168 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
15169 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
15170 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
15171 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
15172 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
15173 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
15174 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
15175 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15176 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15177 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
15178 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
15179 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
15180 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15181 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
15182 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15183 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15184 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15185 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
15186 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
15187 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
15188 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
15189 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
15190 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15191 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
15192 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
15193 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
15194 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}};
15195 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
15196 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
15197 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
15198 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
15199 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
15200 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15201 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
15202 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15203 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
15204 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
15205 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
15206 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15207 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
15208 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
15209 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
15210 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
15211 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15212 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
15213 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
15214 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15215 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
15216 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
15217 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
15218 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
15219 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
15220 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
15221 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
15222 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15223 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
15224 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
15225 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
15226 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
15227 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
15228 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
15229 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
15230 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15231 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
15232 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
15233 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
15234 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
15235 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
15236 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
15237 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
15238 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
15239 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_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashWindow, _p_wxSashWindowTo_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_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}};
15240 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
15241 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
15242 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_wxTipWindow, _p_wxTipWindowTo_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}};
15243 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
15244 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
15245 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}};
15246 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}};
15247 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
15248 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
15249 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
15250 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15251 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
15252 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
15253 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
15254 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
15255 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15256 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
15257 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
15258 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
15259 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
15260 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
15261 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
15262 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
15263 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
15264 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
15265 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
15266 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
15267 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
15268 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
15269 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
15270 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
15271 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
15272 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
15273 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15274 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
15275 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
15276 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
15277 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
15278 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
15279 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
15280 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
15281 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15282 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
15283 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
15284 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
15285 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
15286 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
15287 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
15288 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_wxTipWindow, _p_wxTipWindowTo_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_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}};
15289 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
15290 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
15291 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
15292 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
15293 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
15294 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
15295 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
15296 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
15297 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
15298 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}};
15299 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}};
15300 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
15301 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_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_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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_wxMessageDialog, _p_wxMessageDialogTo_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}};
15302 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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_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}};
15303
15304 static swig_cast_info *swig_cast_initial[] = {
15305 _swigc__p_char,
15306 _swigc__p_form_ops_t,
15307 _swigc__p_int,
15308 _swigc__p_p_wxAuiMultiNotebook,
15309 _swigc__p_p_wxAuiTabContainerButton,
15310 _swigc__p_p_wxAuiTabCtrl,
15311 _swigc__p_p_wxColourDialog,
15312 _swigc__p_p_wxControl,
15313 _swigc__p_p_wxControlWithItems,
15314 _swigc__p_p_wxDialog,
15315 _swigc__p_p_wxDirDialog,
15316 _swigc__p_p_wxFileDialog,
15317 _swigc__p_p_wxFindReplaceDialog,
15318 _swigc__p_p_wxFloatingPane,
15319 _swigc__p_p_wxFontDialog,
15320 _swigc__p_p_wxFrame,
15321 _swigc__p_p_wxMDIChildFrame,
15322 _swigc__p_p_wxMDIClientWindow,
15323 _swigc__p_p_wxMDIParentFrame,
15324 _swigc__p_p_wxMenuBar,
15325 _swigc__p_p_wxMessageDialog,
15326 _swigc__p_p_wxMiniFrame,
15327 _swigc__p_p_wxMultiChoiceDialog,
15328 _swigc__p_p_wxNumberEntryDialog,
15329 _swigc__p_p_wxPanel,
15330 _swigc__p_p_wxPasswordEntryDialog,
15331 _swigc__p_p_wxPopupWindow,
15332 _swigc__p_p_wxPreviewCanvas,
15333 _swigc__p_p_wxPreviewControlBar,
15334 _swigc__p_p_wxPreviewFrame,
15335 _swigc__p_p_wxProgressDialog,
15336 _swigc__p_p_wxPyHtmlListBox,
15337 _swigc__p_p_wxPyPanel,
15338 _swigc__p_p_wxPyPopupTransientWindow,
15339 _swigc__p_p_wxPyPreviewControlBar,
15340 _swigc__p_p_wxPyPreviewFrame,
15341 _swigc__p_p_wxPyScrolledWindow,
15342 _swigc__p_p_wxPyVListBox,
15343 _swigc__p_p_wxPyVScrolledWindow,
15344 _swigc__p_p_wxPyWindow,
15345 _swigc__p_p_wxSashLayoutWindow,
15346 _swigc__p_p_wxSashWindow,
15347 _swigc__p_p_wxScrolledWindow,
15348 _swigc__p_p_wxSingleChoiceDialog,
15349 _swigc__p_p_wxSplashScreen,
15350 _swigc__p_p_wxSplashScreenWindow,
15351 _swigc__p_p_wxSplitterWindow,
15352 _swigc__p_p_wxStatusBar,
15353 _swigc__p_p_wxTextEntryDialog,
15354 _swigc__p_p_wxTipWindow,
15355 _swigc__p_p_wxTopLevelWindow,
15356 _swigc__p_p_wxWindow,
15357 _swigc__p_unsigned_char,
15358 _swigc__p_unsigned_int,
15359 _swigc__p_unsigned_long,
15360 _swigc__p_wxANIHandler,
15361 _swigc__p_wxAcceleratorTable,
15362 _swigc__p_wxActivateEvent,
15363 _swigc__p_wxAuiMultiNotebook,
15364 _swigc__p_wxAuiNotebookEvent,
15365 _swigc__p_wxAuiNotebookPage,
15366 _swigc__p_wxAuiNotebookPageArray,
15367 _swigc__p_wxAuiTabContainer,
15368 _swigc__p_wxAuiTabContainerButton,
15369 _swigc__p_wxAuiTabCtrl,
15370 _swigc__p_wxBMPHandler,
15371 _swigc__p_wxBitmap,
15372 _swigc__p_wxBoxSizer,
15373 _swigc__p_wxCURHandler,
15374 _swigc__p_wxCalculateLayoutEvent,
15375 _swigc__p_wxChildFocusEvent,
15376 _swigc__p_wxClipboardTextEvent,
15377 _swigc__p_wxCloseEvent,
15378 _swigc__p_wxColor,
15379 _swigc__p_wxColour,
15380 _swigc__p_wxColourData,
15381 _swigc__p_wxColourDialog,
15382 _swigc__p_wxCommandEvent,
15383 _swigc__p_wxContextMenuEvent,
15384 _swigc__p_wxControl,
15385 _swigc__p_wxControlWithItems,
15386 _swigc__p_wxDC,
15387 _swigc__p_wxDateEvent,
15388 _swigc__p_wxDefaultDockArt,
15389 _swigc__p_wxDialog,
15390 _swigc__p_wxDirDialog,
15391 _swigc__p_wxDisplayChangedEvent,
15392 _swigc__p_wxDockArt,
15393 _swigc__p_wxDockInfo,
15394 _swigc__p_wxDockUIPart,
15395 _swigc__p_wxDropFilesEvent,
15396 _swigc__p_wxDuplexMode,
15397 _swigc__p_wxEraseEvent,
15398 _swigc__p_wxEvent,
15399 _swigc__p_wxEvtHandler,
15400 _swigc__p_wxFSFile,
15401 _swigc__p_wxFileDialog,
15402 _swigc__p_wxFileSystem,
15403 _swigc__p_wxFindDialogEvent,
15404 _swigc__p_wxFindReplaceData,
15405 _swigc__p_wxFindReplaceDialog,
15406 _swigc__p_wxFlexGridSizer,
15407 _swigc__p_wxFloatingPane,
15408 _swigc__p_wxFocusEvent,
15409 _swigc__p_wxFont,
15410 _swigc__p_wxFontData,
15411 _swigc__p_wxFontDialog,
15412 _swigc__p_wxFrame,
15413 _swigc__p_wxFrameManager,
15414 _swigc__p_wxFrameManagerEvent,
15415 _swigc__p_wxGBSizerItem,
15416 _swigc__p_wxGIFHandler,
15417 _swigc__p_wxGridBagSizer,
15418 _swigc__p_wxGridSizer,
15419 _swigc__p_wxICOHandler,
15420 _swigc__p_wxIconizeEvent,
15421 _swigc__p_wxIdleEvent,
15422 _swigc__p_wxImage,
15423 _swigc__p_wxImageHandler,
15424 _swigc__p_wxIndividualLayoutConstraint,
15425 _swigc__p_wxInitDialogEvent,
15426 _swigc__p_wxJPEGHandler,
15427 _swigc__p_wxKeyEvent,
15428 _swigc__p_wxLayoutAlgorithm,
15429 _swigc__p_wxLayoutConstraints,
15430 _swigc__p_wxMDIChildFrame,
15431 _swigc__p_wxMDIClientWindow,
15432 _swigc__p_wxMDIParentFrame,
15433 _swigc__p_wxMaximizeEvent,
15434 _swigc__p_wxMenu,
15435 _swigc__p_wxMenuBar,
15436 _swigc__p_wxMenuEvent,
15437 _swigc__p_wxMenuItem,
15438 _swigc__p_wxMessageDialog,
15439 _swigc__p_wxMiniFrame,
15440 _swigc__p_wxMouseCaptureChangedEvent,
15441 _swigc__p_wxMouseCaptureLostEvent,
15442 _swigc__p_wxMouseEvent,
15443 _swigc__p_wxMoveEvent,
15444 _swigc__p_wxMultiChoiceDialog,
15445 _swigc__p_wxNavigationKeyEvent,
15446 _swigc__p_wxNcPaintEvent,
15447 _swigc__p_wxNotifyEvent,
15448 _swigc__p_wxNumberEntryDialog,
15449 _swigc__p_wxObject,
15450 _swigc__p_wxPCXHandler,
15451 _swigc__p_wxPNGHandler,
15452 _swigc__p_wxPNMHandler,
15453 _swigc__p_wxPageSetupDialog,
15454 _swigc__p_wxPageSetupDialogData,
15455 _swigc__p_wxPaintEvent,
15456 _swigc__p_wxPaletteChangedEvent,
15457 _swigc__p_wxPaneButton,
15458 _swigc__p_wxPaneButtonArray,
15459 _swigc__p_wxPaneInfo,
15460 _swigc__p_wxPaneInfoPtrArray,
15461 _swigc__p_wxPanel,
15462 _swigc__p_wxPaperSize,
15463 _swigc__p_wxPasswordEntryDialog,
15464 _swigc__p_wxPoint,
15465 _swigc__p_wxPopupWindow,
15466 _swigc__p_wxPreviewCanvas,
15467 _swigc__p_wxPreviewControlBar,
15468 _swigc__p_wxPreviewFrame,
15469 _swigc__p_wxPrintData,
15470 _swigc__p_wxPrintDialog,
15471 _swigc__p_wxPrintDialogData,
15472 _swigc__p_wxPrintPreview,
15473 _swigc__p_wxPrinter,
15474 _swigc__p_wxProgressDialog,
15475 _swigc__p_wxPyApp,
15476 _swigc__p_wxPyCommandEvent,
15477 _swigc__p_wxPyDockArt,
15478 _swigc__p_wxPyEvent,
15479 _swigc__p_wxPyHtmlListBox,
15480 _swigc__p_wxPyImageHandler,
15481 _swigc__p_wxPyPanel,
15482 _swigc__p_wxPyPopupTransientWindow,
15483 _swigc__p_wxPyPreviewControlBar,
15484 _swigc__p_wxPyPreviewFrame,
15485 _swigc__p_wxPyPrintPreview,
15486 _swigc__p_wxPyPrintout,
15487 _swigc__p_wxPyScrolledWindow,
15488 _swigc__p_wxPySizer,
15489 _swigc__p_wxPyTaskBarIcon,
15490 _swigc__p_wxPyVListBox,
15491 _swigc__p_wxPyVScrolledWindow,
15492 _swigc__p_wxPyValidator,
15493 _swigc__p_wxPyWindow,
15494 _swigc__p_wxQueryLayoutInfoEvent,
15495 _swigc__p_wxQueryNewPaletteEvent,
15496 _swigc__p_wxRect,
15497 _swigc__p_wxSashEvent,
15498 _swigc__p_wxSashLayoutWindow,
15499 _swigc__p_wxSashWindow,
15500 _swigc__p_wxScrollEvent,
15501 _swigc__p_wxScrollWinEvent,
15502 _swigc__p_wxScrolledWindow,
15503 _swigc__p_wxSetCursorEvent,
15504 _swigc__p_wxShowEvent,
15505 _swigc__p_wxSingleChoiceDialog,
15506 _swigc__p_wxSize,
15507 _swigc__p_wxSizeEvent,
15508 _swigc__p_wxSizer,
15509 _swigc__p_wxSizerItem,
15510 _swigc__p_wxSplashScreen,
15511 _swigc__p_wxSplashScreenWindow,
15512 _swigc__p_wxSplitterEvent,
15513 _swigc__p_wxSplitterWindow,
15514 _swigc__p_wxStaticBoxSizer,
15515 _swigc__p_wxStatusBar,
15516 _swigc__p_wxStdDialogButtonSizer,
15517 _swigc__p_wxString,
15518 _swigc__p_wxSysColourChangedEvent,
15519 _swigc__p_wxTIFFHandler,
15520 _swigc__p_wxTaskBarIconEvent,
15521 _swigc__p_wxTextEntryDialog,
15522 _swigc__p_wxTipWindow,
15523 _swigc__p_wxTopLevelWindow,
15524 _swigc__p_wxUpdateUIEvent,
15525 _swigc__p_wxValidator,
15526 _swigc__p_wxWindow,
15527 _swigc__p_wxWindowCreateEvent,
15528 _swigc__p_wxWindowDestroyEvent,
15529 _swigc__p_wxXPMHandler,
15530 };
15531
15532
15533 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15534
15535 static swig_const_info swig_const_table[] = {
15536 {0, 0, 0, 0.0, 0, 0}};
15537
15538 #ifdef __cplusplus
15539 }
15540 #endif
15541 /* -----------------------------------------------------------------------------
15542 * Type initialization:
15543 * This problem is tough by the requirement that no dynamic
15544 * memory is used. Also, since swig_type_info structures store pointers to
15545 * swig_cast_info structures and swig_cast_info structures store pointers back
15546 * to swig_type_info structures, we need some lookup code at initialization.
15547 * The idea is that swig generates all the structures that are needed.
15548 * The runtime then collects these partially filled structures.
15549 * The SWIG_InitializeModule function takes these initial arrays out of
15550 * swig_module, and does all the lookup, filling in the swig_module.types
15551 * array with the correct data and linking the correct swig_cast_info
15552 * structures together.
15553 *
15554 * The generated swig_type_info structures are assigned staticly to an initial
15555 * array. We just loop though that array, and handle each type individually.
15556 * First we lookup if this type has been already loaded, and if so, use the
15557 * loaded structure instead of the generated one. Then we have to fill in the
15558 * cast linked list. The cast data is initially stored in something like a
15559 * two-dimensional array. Each row corresponds to a type (there are the same
15560 * number of rows as there are in the swig_type_initial array). Each entry in
15561 * a column is one of the swig_cast_info structures for that type.
15562 * The cast_initial array is actually an array of arrays, because each row has
15563 * a variable number of columns. So to actually build the cast linked list,
15564 * we find the array of casts associated with the type, and loop through it
15565 * adding the casts to the list. The one last trick we need to do is making
15566 * sure the type pointer in the swig_cast_info struct is correct.
15567 *
15568 * First off, we lookup the cast->type name to see if it is already loaded.
15569 * There are three cases to handle:
15570 * 1) If the cast->type has already been loaded AND the type we are adding
15571 * casting info to has not been loaded (it is in this module), THEN we
15572 * replace the cast->type pointer with the type pointer that has already
15573 * been loaded.
15574 * 2) If BOTH types (the one we are adding casting info to, and the
15575 * cast->type) are loaded, THEN the cast info has already been loaded by
15576 * the previous module so we just ignore it.
15577 * 3) Finally, if cast->type has not already been loaded, then we add that
15578 * swig_cast_info to the linked list (because the cast->type) pointer will
15579 * be correct.
15580 * ----------------------------------------------------------------------------- */
15581
15582 #ifdef __cplusplus
15583 extern "C" {
15584 #if 0
15585 } /* c-mode */
15586 #endif
15587 #endif
15588
15589 #if 0
15590 #define SWIGRUNTIME_DEBUG
15591 #endif
15592
15593 SWIGRUNTIME void
15594 SWIG_InitializeModule(void *clientdata) {
15595 size_t i;
15596 swig_module_info *module_head;
15597 static int init_run = 0;
15598
15599 clientdata = clientdata;
15600
15601 if (init_run) return;
15602 init_run = 1;
15603
15604 /* Initialize the swig_module */
15605 swig_module.type_initial = swig_type_initial;
15606 swig_module.cast_initial = swig_cast_initial;
15607
15608 /* Try and load any already created modules */
15609 module_head = SWIG_GetModule(clientdata);
15610 if (module_head) {
15611 swig_module.next = module_head->next;
15612 module_head->next = &swig_module;
15613 } else {
15614 /* This is the first module loaded */
15615 swig_module.next = &swig_module;
15616 SWIG_SetModule(clientdata, &swig_module);
15617 }
15618
15619 /* Now work on filling in swig_module.types */
15620 #ifdef SWIGRUNTIME_DEBUG
15621 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
15622 #endif
15623 for (i = 0; i < swig_module.size; ++i) {
15624 swig_type_info *type = 0;
15625 swig_type_info *ret;
15626 swig_cast_info *cast;
15627
15628 #ifdef SWIGRUNTIME_DEBUG
15629 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15630 #endif
15631
15632 /* if there is another module already loaded */
15633 if (swig_module.next != &swig_module) {
15634 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
15635 }
15636 if (type) {
15637 /* Overwrite clientdata field */
15638 #ifdef SWIGRUNTIME_DEBUG
15639 printf("SWIG_InitializeModule: found type %s\n", type->name);
15640 #endif
15641 if (swig_module.type_initial[i]->clientdata) {
15642 type->clientdata = swig_module.type_initial[i]->clientdata;
15643 #ifdef SWIGRUNTIME_DEBUG
15644 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
15645 #endif
15646 }
15647 } else {
15648 type = swig_module.type_initial[i];
15649 }
15650
15651 /* Insert casting types */
15652 cast = swig_module.cast_initial[i];
15653 while (cast->type) {
15654 /* Don't need to add information already in the list */
15655 ret = 0;
15656 #ifdef SWIGRUNTIME_DEBUG
15657 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
15658 #endif
15659 if (swig_module.next != &swig_module) {
15660 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
15661 #ifdef SWIGRUNTIME_DEBUG
15662 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
15663 #endif
15664 }
15665 if (ret) {
15666 if (type == swig_module.type_initial[i]) {
15667 #ifdef SWIGRUNTIME_DEBUG
15668 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
15669 #endif
15670 cast->type = ret;
15671 ret = 0;
15672 } else {
15673 /* Check for casting already in the list */
15674 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
15675 #ifdef SWIGRUNTIME_DEBUG
15676 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
15677 #endif
15678 if (!ocast) ret = 0;
15679 }
15680 }
15681
15682 if (!ret) {
15683 #ifdef SWIGRUNTIME_DEBUG
15684 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
15685 #endif
15686 if (type->cast) {
15687 type->cast->prev = cast;
15688 cast->next = type->cast;
15689 }
15690 type->cast = cast;
15691 }
15692 cast++;
15693 }
15694 /* Set entry in modules->types array equal to the type */
15695 swig_module.types[i] = type;
15696 }
15697 swig_module.types[i] = 0;
15698
15699 #ifdef SWIGRUNTIME_DEBUG
15700 printf("**** SWIG_InitializeModule: Cast List ******\n");
15701 for (i = 0; i < swig_module.size; ++i) {
15702 int j = 0;
15703 swig_cast_info *cast = swig_module.cast_initial[i];
15704 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
15705 while (cast->type) {
15706 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
15707 cast++;
15708 ++j;
15709 }
15710 printf("---- Total casts: %d\n",j);
15711 }
15712 printf("**** SWIG_InitializeModule: Cast List ******\n");
15713 #endif
15714 }
15715
15716 /* This function will propagate the clientdata field of type to
15717 * any new swig_type_info structures that have been added into the list
15718 * of equivalent types. It is like calling
15719 * SWIG_TypeClientData(type, clientdata) a second time.
15720 */
15721 SWIGRUNTIME void
15722 SWIG_PropagateClientData(void) {
15723 size_t i;
15724 swig_cast_info *equiv;
15725 static int init_run = 0;
15726
15727 if (init_run) return;
15728 init_run = 1;
15729
15730 for (i = 0; i < swig_module.size; i++) {
15731 if (swig_module.types[i]->clientdata) {
15732 equiv = swig_module.types[i]->cast;
15733 while (equiv) {
15734 if (!equiv->converter) {
15735 if (equiv->type && !equiv->type->clientdata)
15736 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
15737 }
15738 equiv = equiv->next;
15739 }
15740 }
15741 }
15742 }
15743
15744 #ifdef __cplusplus
15745 #if 0
15746 {
15747 /* c-mode */
15748 #endif
15749 }
15750 #endif
15751
15752
15753
15754 #ifdef __cplusplus
15755 extern "C" {
15756 #endif
15757
15758 /* Python-specific SWIG API */
15759 #define SWIG_newvarlink() SWIG_Python_newvarlink()
15760 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
15761 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
15762
15763 /* -----------------------------------------------------------------------------
15764 * global variable support code.
15765 * ----------------------------------------------------------------------------- */
15766
15767 typedef struct swig_globalvar {
15768 char *name; /* Name of global variable */
15769 PyObject *(*get_attr)(void); /* Return the current value */
15770 int (*set_attr)(PyObject *); /* Set the value */
15771 struct swig_globalvar *next;
15772 } swig_globalvar;
15773
15774 typedef struct swig_varlinkobject {
15775 PyObject_HEAD
15776 swig_globalvar *vars;
15777 } swig_varlinkobject;
15778
15779 SWIGINTERN PyObject *
15780 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
15781 return PyString_FromString("<Swig global variables>");
15782 }
15783
15784 SWIGINTERN PyObject *
15785 swig_varlink_str(swig_varlinkobject *v) {
15786 PyObject *str = PyString_FromString("(");
15787 swig_globalvar *var;
15788 for (var = v->vars; var; var=var->next) {
15789 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
15790 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
15791 }
15792 PyString_ConcatAndDel(&str,PyString_FromString(")"));
15793 return str;
15794 }
15795
15796 SWIGINTERN int
15797 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
15798 PyObject *str = swig_varlink_str(v);
15799 fprintf(fp,"Swig global variables ");
15800 fprintf(fp,"%s\n", PyString_AsString(str));
15801 Py_DECREF(str);
15802 return 0;
15803 }
15804
15805 SWIGINTERN void
15806 swig_varlink_dealloc(swig_varlinkobject *v) {
15807 swig_globalvar *var = v->vars;
15808 while (var) {
15809 swig_globalvar *n = var->next;
15810 free(var->name);
15811 free(var);
15812 var = n;
15813 }
15814 }
15815
15816 SWIGINTERN PyObject *
15817 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
15818 PyObject *res = NULL;
15819 swig_globalvar *var = v->vars;
15820 while (var) {
15821 if (strcmp(var->name,n) == 0) {
15822 res = (*var->get_attr)();
15823 break;
15824 }
15825 var = var->next;
15826 }
15827 if (res == NULL && !PyErr_Occurred()) {
15828 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15829 }
15830 return res;
15831 }
15832
15833 SWIGINTERN int
15834 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
15835 int res = 1;
15836 swig_globalvar *var = v->vars;
15837 while (var) {
15838 if (strcmp(var->name,n) == 0) {
15839 res = (*var->set_attr)(p);
15840 break;
15841 }
15842 var = var->next;
15843 }
15844 if (res == 1 && !PyErr_Occurred()) {
15845 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
15846 }
15847 return res;
15848 }
15849
15850 SWIGINTERN PyTypeObject*
15851 swig_varlink_type(void) {
15852 static char varlink__doc__[] = "Swig var link object";
15853 static PyTypeObject varlink_type;
15854 static int type_init = 0;
15855 if (!type_init) {
15856 const PyTypeObject tmp
15857 = {
15858 PyObject_HEAD_INIT(NULL)
15859 0, /* Number of items in variable part (ob_size) */
15860 (char *)"swigvarlink", /* Type name (tp_name) */
15861 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
15862 0, /* Itemsize (tp_itemsize) */
15863 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
15864 (printfunc) swig_varlink_print, /* Print (tp_print) */
15865 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
15866 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
15867 0, /* tp_compare */
15868 (reprfunc) swig_varlink_repr, /* tp_repr */
15869 0, /* tp_as_number */
15870 0, /* tp_as_sequence */
15871 0, /* tp_as_mapping */
15872 0, /* tp_hash */
15873 0, /* tp_call */
15874 (reprfunc)swig_varlink_str, /* tp_str */
15875 0, /* tp_getattro */
15876 0, /* tp_setattro */
15877 0, /* tp_as_buffer */
15878 0, /* tp_flags */
15879 varlink__doc__, /* tp_doc */
15880 0, /* tp_traverse */
15881 0, /* tp_clear */
15882 0, /* tp_richcompare */
15883 0, /* tp_weaklistoffset */
15884 #if PY_VERSION_HEX >= 0x02020000
15885 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
15886 #endif
15887 #if PY_VERSION_HEX >= 0x02030000
15888 0, /* tp_del */
15889 #endif
15890 #ifdef COUNT_ALLOCS
15891 0,0,0,0 /* tp_alloc -> tp_next */
15892 #endif
15893 };
15894 varlink_type = tmp;
15895 varlink_type.ob_type = &PyType_Type;
15896 type_init = 1;
15897 }
15898 return &varlink_type;
15899 }
15900
15901 /* Create a variable linking object for use later */
15902 SWIGINTERN PyObject *
15903 SWIG_Python_newvarlink(void) {
15904 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
15905 if (result) {
15906 result->vars = 0;
15907 }
15908 return ((PyObject*) result);
15909 }
15910
15911 SWIGINTERN void
15912 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
15913 swig_varlinkobject *v = (swig_varlinkobject *) p;
15914 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
15915 if (gv) {
15916 size_t size = strlen(name)+1;
15917 gv->name = (char *)malloc(size);
15918 if (gv->name) {
15919 strncpy(gv->name,name,size);
15920 gv->get_attr = get_attr;
15921 gv->set_attr = set_attr;
15922 gv->next = v->vars;
15923 }
15924 }
15925 v->vars = gv;
15926 }
15927
15928 SWIGINTERN PyObject *
15929 SWIG_globals() {
15930 static PyObject *_SWIG_globals = 0;
15931 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
15932 return _SWIG_globals;
15933 }
15934
15935 /* -----------------------------------------------------------------------------
15936 * constants/methods manipulation
15937 * ----------------------------------------------------------------------------- */
15938
15939 /* Install Constants */
15940 SWIGINTERN void
15941 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
15942 PyObject *obj = 0;
15943 size_t i;
15944 for (i = 0; constants[i].type; ++i) {
15945 switch(constants[i].type) {
15946 case SWIG_PY_POINTER:
15947 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
15948 break;
15949 case SWIG_PY_BINARY:
15950 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
15951 break;
15952 default:
15953 obj = 0;
15954 break;
15955 }
15956 if (obj) {
15957 PyDict_SetItemString(d, constants[i].name, obj);
15958 Py_DECREF(obj);
15959 }
15960 }
15961 }
15962
15963 /* -----------------------------------------------------------------------------*/
15964 /* Fix SwigMethods to carry the callback ptrs when needed */
15965 /* -----------------------------------------------------------------------------*/
15966
15967 SWIGINTERN void
15968 SWIG_Python_FixMethods(PyMethodDef *methods,
15969 swig_const_info *const_table,
15970 swig_type_info **types,
15971 swig_type_info **types_initial) {
15972 size_t i;
15973 for (i = 0; methods[i].ml_name; ++i) {
15974 const char *c = methods[i].ml_doc;
15975 if (c && (c = strstr(c, "swig_ptr: "))) {
15976 int j;
15977 swig_const_info *ci = 0;
15978 const char *name = c + 10;
15979 for (j = 0; const_table[j].type; ++j) {
15980 if (strncmp(const_table[j].name, name,
15981 strlen(const_table[j].name)) == 0) {
15982 ci = &(const_table[j]);
15983 break;
15984 }
15985 }
15986 if (ci) {
15987 size_t shift = (ci->ptype) - types;
15988 swig_type_info *ty = types_initial[shift];
15989 size_t ldoc = (c - methods[i].ml_doc);
15990 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
15991 char *ndoc = (char*)malloc(ldoc + lptr + 10);
15992 if (ndoc) {
15993 char *buff = ndoc;
15994 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
15995 if (ptr) {
15996 strncpy(buff, methods[i].ml_doc, ldoc);
15997 buff += ldoc;
15998 strncpy(buff, "swig_ptr: ", 10);
15999 buff += 10;
16000 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
16001 methods[i].ml_doc = ndoc;
16002 }
16003 }
16004 }
16005 }
16006 }
16007 }
16008
16009 #ifdef __cplusplus
16010 }
16011 #endif
16012
16013 /* -----------------------------------------------------------------------------*
16014 * Partial Init method
16015 * -----------------------------------------------------------------------------*/
16016
16017 #ifdef __cplusplus
16018 extern "C"
16019 #endif
16020 SWIGEXPORT void SWIG_init(void) {
16021 PyObject *m, *d;
16022
16023 /* Fix SwigMethods to carry the callback ptrs when needed */
16024 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
16025
16026 m = Py_InitModule((char *) SWIG_name, SwigMethods);
16027 d = PyModule_GetDict(m);
16028
16029 SWIG_InitializeModule(0);
16030 SWIG_InstallConstants(d,swig_const_table);
16031
16032
16033 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
16034 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
16035 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
16036 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
16037 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
16038 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
16039 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
16040 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
16041 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
16042 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
16043 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
16044 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
16045 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
16046 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS)));
16047 SWIG_Python_SetConstant(d, "AUI_MGR_DISABLE_VENETIAN_BLINDS_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_DISABLE_VENETIAN_BLINDS_FADE)));
16048 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
16049 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
16050 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
16051 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
16052 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
16053 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
16054 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
16055 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
16056 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
16057 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
16058 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
16059 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
16060 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
16061 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
16062 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
16063 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
16064 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
16065 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
16066 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
16067 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
16068 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
16069 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
16070 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
16071 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
16072 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
16073 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
16074 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
16075 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
16076 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
16077 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
16078 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
16079 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
16080 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
16081 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
16082 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
16083 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
16084 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
16085 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
16086 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
16087 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
16088 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
16089 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
16090 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
16091 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
16092 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
16093 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
16094 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
16095 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
16096 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
16097 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
16098 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
16099 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
16100 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
16101 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
16102 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
16103 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
16104 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
16105 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
16106 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
16107 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
16108 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
16109 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
16110 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
16111 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
16112 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
16113 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
16114 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED));
16115 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING));
16116 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BUTTON", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BUTTON));
16117 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG));
16118 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_END_DRAG));
16119 PyDict_SetItemString(d, "wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION", PyInt_FromLong(wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION));
16120 }
16121