]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/aui_wrap.cpp
abb76351beb3c89f6973d5aa465d6747674ad88a
[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_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2473 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2474 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2475 #define SWIGTYPE_p_wxBMPHandler swig_types[9]
2476 #define SWIGTYPE_p_wxBoxSizer swig_types[10]
2477 #define SWIGTYPE_p_wxCURHandler swig_types[11]
2478 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[12]
2479 #define SWIGTYPE_p_wxChildFocusEvent swig_types[13]
2480 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[14]
2481 #define SWIGTYPE_p_wxCloseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxColor swig_types[16]
2483 #define SWIGTYPE_p_wxColour swig_types[17]
2484 #define SWIGTYPE_p_wxColourData swig_types[18]
2485 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2488 #define SWIGTYPE_p_wxControl swig_types[22]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2490 #define SWIGTYPE_p_wxDC swig_types[24]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2492 #define SWIGTYPE_p_wxDefaultDockArt swig_types[26]
2493 #define SWIGTYPE_p_wxDialog swig_types[27]
2494 #define SWIGTYPE_p_wxDirDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2496 #define SWIGTYPE_p_wxDockArt swig_types[30]
2497 #define SWIGTYPE_p_wxDockInfo swig_types[31]
2498 #define SWIGTYPE_p_wxDockUIPart swig_types[32]
2499 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2500 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2501 #define SWIGTYPE_p_wxEraseEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEvent swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFloatingPane swig_types[45]
2512 #define SWIGTYPE_p_wxFocusEvent swig_types[46]
2513 #define SWIGTYPE_p_wxFont swig_types[47]
2514 #define SWIGTYPE_p_wxFontData swig_types[48]
2515 #define SWIGTYPE_p_wxFontDialog swig_types[49]
2516 #define SWIGTYPE_p_wxFrame swig_types[50]
2517 #define SWIGTYPE_p_wxFrameManager swig_types[51]
2518 #define SWIGTYPE_p_wxFrameManagerEvent swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534 #define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536 #define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537 #define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538 #define SWIGTYPE_p_wxMenu swig_types[72]
2539 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2540 #define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMenuItem swig_types[75]
2542 #define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543 #define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMouseEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMoveEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[81]
2548 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNcPaintEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNotifyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[85]
2552 #define SWIGTYPE_p_wxObject swig_types[86]
2553 #define SWIGTYPE_p_wxPCXHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNGHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPNMHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialog swig_types[90]
2557 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[91]
2558 #define SWIGTYPE_p_wxPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[93]
2560 #define SWIGTYPE_p_wxPaneButton swig_types[94]
2561 #define SWIGTYPE_p_wxPaneButtonArray swig_types[95]
2562 #define SWIGTYPE_p_wxPaneInfo swig_types[96]
2563 #define SWIGTYPE_p_wxPaneInfoPtrArray swig_types[97]
2564 #define SWIGTYPE_p_wxPanel swig_types[98]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[99]
2566 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPoint swig_types[101]
2568 #define SWIGTYPE_p_wxPopupWindow swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewCanvas swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewControlBar swig_types[104]
2571 #define SWIGTYPE_p_wxPreviewFrame swig_types[105]
2572 #define SWIGTYPE_p_wxPrintData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialog swig_types[107]
2574 #define SWIGTYPE_p_wxPrintDialogData swig_types[108]
2575 #define SWIGTYPE_p_wxPrintPreview swig_types[109]
2576 #define SWIGTYPE_p_wxPrinter swig_types[110]
2577 #define SWIGTYPE_p_wxProgressDialog swig_types[111]
2578 #define SWIGTYPE_p_wxPyApp swig_types[112]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyDockArt swig_types[114]
2581 #define SWIGTYPE_p_wxPyEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxSashEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[135]
2602 #define SWIGTYPE_p_wxSashWindow swig_types[136]
2603 #define SWIGTYPE_p_wxScrollEvent swig_types[137]
2604 #define SWIGTYPE_p_wxScrollWinEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrolledWindow swig_types[139]
2606 #define SWIGTYPE_p_wxSetCursorEvent swig_types[140]
2607 #define SWIGTYPE_p_wxShowEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[142]
2609 #define SWIGTYPE_p_wxSize swig_types[143]
2610 #define SWIGTYPE_p_wxSizeEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxSizerItem swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreen swig_types[147]
2614 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSplitterWindow swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStatusBar swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625 #define SWIGTYPE_p_wxTipWindow swig_types[159]
2626 #define SWIGTYPE_p_wxTopLevelWindow swig_types[160]
2627 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
2628 #define SWIGTYPE_p_wxValidator swig_types[162]
2629 #define SWIGTYPE_p_wxWindow swig_types[163]
2630 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[164]
2631 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[165]
2632 #define SWIGTYPE_p_wxXPMHandler swig_types[166]
2633 static swig_type_info *swig_types[168];
2634 static swig_module_info swig_module = {swig_types, 167, 0, 0, 0, 0};
2635 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2636 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637
2638 /* -------- TYPES TABLE (END) -------- */
2639
2640 #if (PY_VERSION_HEX <= 0x02000000)
2641 # if !defined(SWIG_PYTHON_CLASSIC)
2642 # error "This python version requires to use swig with the '-classic' option"
2643 # endif
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodern' option"
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 #endif
2651 #ifndef METH_O
2652 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 #endif
2654
2655 /*-----------------------------------------------
2656 @(target):= _aui.so
2657 ------------------------------------------------*/
2658 #define SWIG_init init_aui
2659
2660 #define SWIG_name "_aui"
2661
2662 #define SWIGVERSION 0x010329
2663
2664
2665 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2666 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667
2668
2669 #include <stdexcept>
2670
2671
2672 namespace swig {
2673 class PyObject_ptr {
2674 protected:
2675 PyObject *_obj;
2676
2677 public:
2678 PyObject_ptr() :_obj(0)
2679 {
2680 }
2681
2682 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2683 {
2684 Py_XINCREF(_obj);
2685 }
2686
2687 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2688 {
2689 if (initial_ref) Py_XINCREF(_obj);
2690 }
2691
2692 PyObject_ptr & operator=(const PyObject_ptr& item)
2693 {
2694 Py_XINCREF(item._obj);
2695 Py_XDECREF(_obj);
2696 _obj = item._obj;
2697 return *this;
2698 }
2699
2700 ~PyObject_ptr()
2701 {
2702 Py_XDECREF(_obj);
2703 }
2704
2705 operator PyObject *() const
2706 {
2707 return _obj;
2708 }
2709
2710 PyObject *operator->() const
2711 {
2712 return _obj;
2713 }
2714 };
2715 }
2716
2717
2718 namespace swig {
2719 struct PyObject_var : PyObject_ptr {
2720 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2721
2722 PyObject_var & operator = (PyObject* obj)
2723 {
2724 Py_XDECREF(_obj);
2725 _obj = obj;
2726 return *this;
2727 }
2728 };
2729 }
2730
2731
2732 #include "wx/wxPython/wxPython.h"
2733 #include "wx/wxPython/pyclasses.h"
2734 #include <wx/aui/aui.h>
2735
2736
2737 #define SWIG_From_long PyInt_FromLong
2738
2739
2740 SWIGINTERNINLINE PyObject *
2741 SWIG_From_int (int value)
2742 {
2743 return SWIG_From_long (value);
2744 }
2745
2746
2747 #include <limits.h>
2748 #ifndef LLONG_MIN
2749 # define LLONG_MIN LONG_LONG_MIN
2750 #endif
2751 #ifndef LLONG_MAX
2752 # define LLONG_MAX LONG_LONG_MAX
2753 #endif
2754 #ifndef ULLONG_MAX
2755 # define ULLONG_MAX ULONG_LONG_MAX
2756 #endif
2757
2758
2759 SWIGINTERN int
2760 SWIG_AsVal_long (PyObject* obj, long* val)
2761 {
2762 if (PyNumber_Check(obj)) {
2763 if (val) *val = PyInt_AsLong(obj);
2764 return SWIG_OK;
2765 }
2766 return SWIG_TypeError;
2767 }
2768
2769
2770 SWIGINTERN int
2771 SWIG_AsVal_int (PyObject * obj, int *val)
2772 {
2773 long v;
2774 int res = SWIG_AsVal_long (obj, &v);
2775 if (SWIG_IsOK(res)) {
2776 if ((v < INT_MIN || v > INT_MAX)) {
2777 return SWIG_OverflowError;
2778 } else {
2779 if (val) *val = static_cast< int >(v);
2780 }
2781 }
2782 return res;
2783 }
2784
2785
2786 SWIGINTERN int
2787 SWIG_AsVal_bool (PyObject *obj, bool *val)
2788 {
2789 if (obj == Py_True) {
2790 if (val) *val = true;
2791 return SWIG_OK;
2792 } else if (obj == Py_False) {
2793 if (val) *val = false;
2794 return SWIG_OK;
2795 } else {
2796 long v = 0;
2797 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2798 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2799 return res;
2800 }
2801 }
2802
2803
2804 class wxPyDockArt : public wxDefaultDockArt
2805 {
2806 wxPyDockArt() : wxDefaultDockArt() {}
2807
2808 DEC_PYCALLBACK_INT_INT(GetMetric);
2809 DEC_PYCALLBACK_VOID_INTINT(SetMetric);
2810 DEC_PYCALLBACK__INTFONT(SetFont);
2811 DEC_PYCALLBACK_FONT_INT(GetFont);
2812 DEC_PYCALLBACK_COLOUR_INT(GetColour);
2813 DEC_PYCALLBACK__INTCOLOUR(SetColour);
2814
2815 virtual void DrawSash(wxDC& dc,
2816 int orientation,
2817 const wxRect& rect)
2818 {
2819 bool found;
2820 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2821 if ((found = wxPyCBH_findCallback(m_myInst, "DrawSash"))) {
2822 PyObject* odc = wxPyMake_wxObject(&dc, false);
2823 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2824 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)",
2825 odc, orientation, orect));
2826 Py_DECREF(odc);
2827 Py_DECREF(orect);
2828 }
2829 wxPyEndBlockThreads(blocked);
2830 if (! found)
2831 wxDefaultDockArt::DrawSash(dc, orientation, rect);
2832 }
2833
2834 virtual void DrawBackground(wxDC& dc,
2835 int orientation,
2836 const wxRect& rect)
2837 {
2838 bool found;
2839 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2840 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBackground"))) {
2841 PyObject* odc = wxPyMake_wxObject(&dc, false);
2842 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2843 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiO)",
2844 odc, orientation, orect));
2845 Py_DECREF(odc);
2846 Py_DECREF(orect);
2847 }
2848 wxPyEndBlockThreads(blocked);
2849 if (! found)
2850 wxDefaultDockArt::DrawBackground(dc, orientation, rect);
2851 }
2852
2853 virtual void DrawCaption(wxDC& dc,
2854 const wxString& text,
2855 const wxRect& rect,
2856 wxPaneInfo& pane)
2857 {
2858 bool found;
2859 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2860 if ((found = wxPyCBH_findCallback(m_myInst, "DrawCaption"))) {
2861 PyObject* odc = wxPyMake_wxObject(&dc, false);
2862 PyObject* otext = wx2PyString(text);
2863 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2864 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2865 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOOO)",
2866 odc, otext, orect, opane));
2867 Py_DECREF(odc);
2868 Py_DECREF(otext);
2869 Py_DECREF(orect);
2870 Py_DECREF(opane);
2871 }
2872 wxPyEndBlockThreads(blocked);
2873 if (! found)
2874 wxDefaultDockArt::DrawCaption(dc, text, rect, pane);
2875 }
2876
2877 virtual void DrawGripper(wxDC& dc,
2878 const wxRect& rect,
2879 wxPaneInfo& pane)
2880 {
2881 bool found;
2882 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2883 if ((found = wxPyCBH_findCallback(m_myInst, "DrawGripper"))) {
2884 PyObject* odc = wxPyMake_wxObject(&dc, false);
2885 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2886 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2887 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
2888 Py_DECREF(odc);
2889 Py_DECREF(orect);
2890 Py_DECREF(opane);
2891 }
2892 wxPyEndBlockThreads(blocked);
2893 if (! found)
2894 wxDefaultDockArt::DrawGripper(dc, rect, pane);
2895 }
2896
2897 virtual void DrawBorder(wxDC& dc,
2898 const wxRect& rect,
2899 wxPaneInfo& pane)
2900 {
2901 bool found;
2902 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2903 if ((found = wxPyCBH_findCallback(m_myInst, "DrawBorder"))) {
2904 PyObject* odc = wxPyMake_wxObject(&dc, false);
2905 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2906 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2907 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", odc, orect, opane));
2908 Py_DECREF(odc);
2909 Py_DECREF(orect);
2910 Py_DECREF(opane);
2911 }
2912 wxPyEndBlockThreads(blocked);
2913 if (! found)
2914 wxDefaultDockArt::DrawBorder(dc, rect, pane);
2915 }
2916
2917 virtual void DrawPaneButton(wxDC& dc,
2918 int button,
2919 int button_state,
2920 const wxRect& rect,
2921 wxPaneInfo& pane)
2922 {
2923 bool found;
2924 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2925 if ((found = wxPyCBH_findCallback(m_myInst, "DrawPaneButton"))) {
2926 PyObject* odc = wxPyMake_wxObject(&dc, false);
2927 PyObject* orect = wxPyConstructObject((void*)&rect, wxT("wxRect"), 0);
2928 PyObject* opane = wxPyConstructObject((void*)&pane, wxT("wxPaneInfo"), 0);
2929 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OiIOO)",
2930 odc, button, button_state,
2931 orect, opane));
2932 Py_DECREF(odc);
2933 Py_DECREF(orect);
2934 Py_DECREF(opane);
2935 }
2936 wxPyEndBlockThreads(blocked);
2937 if (! found)
2938 wxDefaultDockArt::DrawPaneButton(dc, button, button_state, rect, pane);
2939 }
2940
2941 PYPRIVATE;
2942
2943 };
2944
2945 IMP_PYCALLBACK_INT_INT(wxPyDockArt, wxDefaultDockArt, GetMetric);
2946 IMP_PYCALLBACK_VOID_INTINT(wxPyDockArt, wxDefaultDockArt, SetMetric);
2947 IMP_PYCALLBACK__INTFONT(wxPyDockArt, wxDefaultDockArt, SetFont);
2948 IMP_PYCALLBACK_FONT_INT(wxPyDockArt, wxDefaultDockArt, GetFont);
2949 IMP_PYCALLBACK_COLOUR_INT(wxPyDockArt, wxDefaultDockArt, GetColour);
2950 IMP_PYCALLBACK__INTCOLOUR(wxPyDockArt, wxDefaultDockArt, SetColour);
2951
2952
2953 #ifdef __cplusplus
2954 extern "C" {
2955 #endif
2956 SWIGINTERN int NullDockInfo_set(PyObject *_val) {
2957 {
2958 void *argp = 0;
2959 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxDockInfo, 0 | 0);
2960 if (!SWIG_IsOK(res)) {
2961 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
2962 }
2963 if (!argp) {
2964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullDockInfo""' of type '""wxDockInfo""'");
2965 } else {
2966 wxDockInfo * temp;
2967 temp = reinterpret_cast< wxDockInfo * >(argp);
2968 wxNullDockInfo = *temp;
2969 if (SWIG_IsNewObj(res)) delete temp;
2970 }
2971 }
2972 return 0;
2973 fail:
2974 return 1;
2975 }
2976
2977
2978 SWIGINTERN PyObject *NullDockInfo_get(void) {
2979 PyObject *pyobj = 0;
2980
2981 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullDockInfo), SWIGTYPE_p_wxDockInfo, 0 );
2982 return pyobj;
2983 }
2984
2985
2986 SWIGINTERN int NullPaneInfo_set(PyObject *_val) {
2987 {
2988 void *argp = 0;
2989 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxPaneInfo, 0 | 0);
2990 if (!SWIG_IsOK(res)) {
2991 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
2992 }
2993 if (!argp) {
2994 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullPaneInfo""' of type '""wxPaneInfo""'");
2995 } else {
2996 wxPaneInfo * temp;
2997 temp = reinterpret_cast< wxPaneInfo * >(argp);
2998 wxNullPaneInfo = *temp;
2999 if (SWIG_IsNewObj(res)) delete temp;
3000 }
3001 }
3002 return 0;
3003 fail:
3004 return 1;
3005 }
3006
3007
3008 SWIGINTERN PyObject *NullPaneInfo_get(void) {
3009 PyObject *pyobj = 0;
3010
3011 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPaneInfo), SWIGTYPE_p_wxPaneInfo, 0 );
3012 return pyobj;
3013 }
3014
3015
3016 SWIGINTERN PyObject *_wrap_new_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3017 PyObject *resultobj = 0;
3018 wxPaneInfo *result = 0 ;
3019
3020 if (!SWIG_Python_UnpackTuple(args,"new_PaneInfo",0,0,0)) SWIG_fail;
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = (wxPaneInfo *)new wxPaneInfo();
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_NEW | 0 );
3028 return resultobj;
3029 fail:
3030 return NULL;
3031 }
3032
3033
3034 SWIGINTERN PyObject *_wrap_delete_PaneInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3035 PyObject *resultobj = 0;
3036 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3037 void *argp1 = 0 ;
3038 int res1 = 0 ;
3039 PyObject *swig_obj[1] ;
3040
3041 if (!args) SWIG_fail;
3042 swig_obj[0] = args;
3043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
3044 if (!SWIG_IsOK(res1)) {
3045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PaneInfo" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3046 }
3047 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3048 {
3049 PyThreadState* __tstate = wxPyBeginAllowThreads();
3050 delete arg1;
3051
3052 wxPyEndAllowThreads(__tstate);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 resultobj = SWIG_Py_Void();
3056 return resultobj;
3057 fail:
3058 return NULL;
3059 }
3060
3061
3062 SWIGINTERN PyObject *_wrap_PaneInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3063 PyObject *resultobj = 0;
3064 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3065 bool result;
3066 void *argp1 = 0 ;
3067 int res1 = 0 ;
3068 PyObject *swig_obj[1] ;
3069
3070 if (!args) SWIG_fail;
3071 swig_obj[0] = args;
3072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3073 if (!SWIG_IsOK(res1)) {
3074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsOk" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3075 }
3076 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 result = (bool)((wxPaneInfo const *)arg1)->IsOk();
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 {
3084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3085 }
3086 return resultobj;
3087 fail:
3088 return NULL;
3089 }
3090
3091
3092 SWIGINTERN PyObject *_wrap_PaneInfo_IsFixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3093 PyObject *resultobj = 0;
3094 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3095 bool result;
3096 void *argp1 = 0 ;
3097 int res1 = 0 ;
3098 PyObject *swig_obj[1] ;
3099
3100 if (!args) SWIG_fail;
3101 swig_obj[0] = args;
3102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3103 if (!SWIG_IsOK(res1)) {
3104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFixed" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3105 }
3106 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 result = (bool)((wxPaneInfo const *)arg1)->IsFixed();
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3115 }
3116 return resultobj;
3117 fail:
3118 return NULL;
3119 }
3120
3121
3122 SWIGINTERN PyObject *_wrap_PaneInfo_IsResizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3123 PyObject *resultobj = 0;
3124 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3125 bool result;
3126 void *argp1 = 0 ;
3127 int res1 = 0 ;
3128 PyObject *swig_obj[1] ;
3129
3130 if (!args) SWIG_fail;
3131 swig_obj[0] = args;
3132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3133 if (!SWIG_IsOK(res1)) {
3134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsResizable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3135 }
3136 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3137 {
3138 PyThreadState* __tstate = wxPyBeginAllowThreads();
3139 result = (bool)((wxPaneInfo const *)arg1)->IsResizable();
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 {
3144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3145 }
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 SWIGINTERN PyObject *_wrap_PaneInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3153 PyObject *resultobj = 0;
3154 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3155 bool result;
3156 void *argp1 = 0 ;
3157 int res1 = 0 ;
3158 PyObject *swig_obj[1] ;
3159
3160 if (!args) SWIG_fail;
3161 swig_obj[0] = args;
3162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3163 if (!SWIG_IsOK(res1)) {
3164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsShown" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3165 }
3166 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3167 {
3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
3169 result = (bool)((wxPaneInfo const *)arg1)->IsShown();
3170 wxPyEndAllowThreads(__tstate);
3171 if (PyErr_Occurred()) SWIG_fail;
3172 }
3173 {
3174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3175 }
3176 return resultobj;
3177 fail:
3178 return NULL;
3179 }
3180
3181
3182 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3183 PyObject *resultobj = 0;
3184 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3185 bool result;
3186 void *argp1 = 0 ;
3187 int res1 = 0 ;
3188 PyObject *swig_obj[1] ;
3189
3190 if (!args) SWIG_fail;
3191 swig_obj[0] = args;
3192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3193 if (!SWIG_IsOK(res1)) {
3194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloating" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3195 }
3196 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 result = (bool)((wxPaneInfo const *)arg1)->IsFloating();
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 {
3204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3205 }
3206 return resultobj;
3207 fail:
3208 return NULL;
3209 }
3210
3211
3212 SWIGINTERN PyObject *_wrap_PaneInfo_IsDocked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3213 PyObject *resultobj = 0;
3214 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3215 bool result;
3216 void *argp1 = 0 ;
3217 int res1 = 0 ;
3218 PyObject *swig_obj[1] ;
3219
3220 if (!args) SWIG_fail;
3221 swig_obj[0] = args;
3222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3223 if (!SWIG_IsOK(res1)) {
3224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsDocked" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3225 }
3226 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 result = (bool)((wxPaneInfo const *)arg1)->IsDocked();
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 {
3234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3235 }
3236 return resultobj;
3237 fail:
3238 return NULL;
3239 }
3240
3241
3242 SWIGINTERN PyObject *_wrap_PaneInfo_IsToolbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3243 PyObject *resultobj = 0;
3244 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3245 bool result;
3246 void *argp1 = 0 ;
3247 int res1 = 0 ;
3248 PyObject *swig_obj[1] ;
3249
3250 if (!args) SWIG_fail;
3251 swig_obj[0] = args;
3252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3253 if (!SWIG_IsOK(res1)) {
3254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsToolbar" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3255 }
3256 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = (bool)((wxPaneInfo const *)arg1)->IsToolbar();
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 {
3264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3265 }
3266 return resultobj;
3267 fail:
3268 return NULL;
3269 }
3270
3271
3272 SWIGINTERN PyObject *_wrap_PaneInfo_IsTopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3273 PyObject *resultobj = 0;
3274 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3275 bool result;
3276 void *argp1 = 0 ;
3277 int res1 = 0 ;
3278 PyObject *swig_obj[1] ;
3279
3280 if (!args) SWIG_fail;
3281 swig_obj[0] = args;
3282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3283 if (!SWIG_IsOK(res1)) {
3284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsTopDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3285 }
3286 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3287 {
3288 PyThreadState* __tstate = wxPyBeginAllowThreads();
3289 result = (bool)((wxPaneInfo const *)arg1)->IsTopDockable();
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 {
3294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3295 }
3296 return resultobj;
3297 fail:
3298 return NULL;
3299 }
3300
3301
3302 SWIGINTERN PyObject *_wrap_PaneInfo_IsBottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3303 PyObject *resultobj = 0;
3304 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3305 bool result;
3306 void *argp1 = 0 ;
3307 int res1 = 0 ;
3308 PyObject *swig_obj[1] ;
3309
3310 if (!args) SWIG_fail;
3311 swig_obj[0] = args;
3312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3313 if (!SWIG_IsOK(res1)) {
3314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsBottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3315 }
3316 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 result = (bool)((wxPaneInfo const *)arg1)->IsBottomDockable();
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 {
3324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3325 }
3326 return resultobj;
3327 fail:
3328 return NULL;
3329 }
3330
3331
3332 SWIGINTERN PyObject *_wrap_PaneInfo_IsLeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3333 PyObject *resultobj = 0;
3334 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3335 bool result;
3336 void *argp1 = 0 ;
3337 int res1 = 0 ;
3338 PyObject *swig_obj[1] ;
3339
3340 if (!args) SWIG_fail;
3341 swig_obj[0] = args;
3342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3343 if (!SWIG_IsOK(res1)) {
3344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsLeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3345 }
3346 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 result = (bool)((wxPaneInfo const *)arg1)->IsLeftDockable();
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 {
3354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3355 }
3356 return resultobj;
3357 fail:
3358 return NULL;
3359 }
3360
3361
3362 SWIGINTERN PyObject *_wrap_PaneInfo_IsRightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3363 PyObject *resultobj = 0;
3364 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3365 bool result;
3366 void *argp1 = 0 ;
3367 int res1 = 0 ;
3368 PyObject *swig_obj[1] ;
3369
3370 if (!args) SWIG_fail;
3371 swig_obj[0] = args;
3372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3373 if (!SWIG_IsOK(res1)) {
3374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsRightDockable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3375 }
3376 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (bool)((wxPaneInfo const *)arg1)->IsRightDockable();
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 {
3384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3385 }
3386 return resultobj;
3387 fail:
3388 return NULL;
3389 }
3390
3391
3392 SWIGINTERN PyObject *_wrap_PaneInfo_IsFloatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3393 PyObject *resultobj = 0;
3394 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3395 bool result;
3396 void *argp1 = 0 ;
3397 int res1 = 0 ;
3398 PyObject *swig_obj[1] ;
3399
3400 if (!args) SWIG_fail;
3401 swig_obj[0] = args;
3402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3403 if (!SWIG_IsOK(res1)) {
3404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsFloatable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3405 }
3406 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 result = (bool)((wxPaneInfo const *)arg1)->IsFloatable();
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 {
3414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3415 }
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 SWIGINTERN PyObject *_wrap_PaneInfo_IsMovable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3423 PyObject *resultobj = 0;
3424 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3425 bool result;
3426 void *argp1 = 0 ;
3427 int res1 = 0 ;
3428 PyObject *swig_obj[1] ;
3429
3430 if (!args) SWIG_fail;
3431 swig_obj[0] = args;
3432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3433 if (!SWIG_IsOK(res1)) {
3434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_IsMovable" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3435 }
3436 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (bool)((wxPaneInfo const *)arg1)->IsMovable();
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 {
3444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3445 }
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 SWIGINTERN PyObject *_wrap_PaneInfo_HasCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3453 PyObject *resultobj = 0;
3454 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3455 bool result;
3456 void *argp1 = 0 ;
3457 int res1 = 0 ;
3458 PyObject *swig_obj[1] ;
3459
3460 if (!args) SWIG_fail;
3461 swig_obj[0] = args;
3462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3463 if (!SWIG_IsOK(res1)) {
3464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCaption" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3465 }
3466 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 result = (bool)((wxPaneInfo const *)arg1)->HasCaption();
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 {
3474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3475 }
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3483 PyObject *resultobj = 0;
3484 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3485 bool result;
3486 void *argp1 = 0 ;
3487 int res1 = 0 ;
3488 PyObject *swig_obj[1] ;
3489
3490 if (!args) SWIG_fail;
3491 swig_obj[0] = args;
3492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripper" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3495 }
3496 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (bool)((wxPaneInfo const *)arg1)->HasGripper();
3500 wxPyEndAllowThreads(__tstate);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 {
3504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3505 }
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 SWIGINTERN PyObject *_wrap_PaneInfo_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3513 PyObject *resultobj = 0;
3514 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3515 bool result;
3516 void *argp1 = 0 ;
3517 int res1 = 0 ;
3518 PyObject *swig_obj[1] ;
3519
3520 if (!args) SWIG_fail;
3521 swig_obj[0] = args;
3522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3523 if (!SWIG_IsOK(res1)) {
3524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasBorder" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3525 }
3526 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 result = (bool)((wxPaneInfo const *)arg1)->HasBorder();
3530 wxPyEndAllowThreads(__tstate);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 }
3533 {
3534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3535 }
3536 return resultobj;
3537 fail:
3538 return NULL;
3539 }
3540
3541
3542 SWIGINTERN PyObject *_wrap_PaneInfo_HasCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3543 PyObject *resultobj = 0;
3544 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3545 bool result;
3546 void *argp1 = 0 ;
3547 int res1 = 0 ;
3548 PyObject *swig_obj[1] ;
3549
3550 if (!args) SWIG_fail;
3551 swig_obj[0] = args;
3552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3553 if (!SWIG_IsOK(res1)) {
3554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasCloseButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3555 }
3556 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (bool)((wxPaneInfo const *)arg1)->HasCloseButton();
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 {
3564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3565 }
3566 return resultobj;
3567 fail:
3568 return NULL;
3569 }
3570
3571
3572 SWIGINTERN PyObject *_wrap_PaneInfo_HasMaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3573 PyObject *resultobj = 0;
3574 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3575 bool result;
3576 void *argp1 = 0 ;
3577 int res1 = 0 ;
3578 PyObject *swig_obj[1] ;
3579
3580 if (!args) SWIG_fail;
3581 swig_obj[0] = args;
3582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3583 if (!SWIG_IsOK(res1)) {
3584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3585 }
3586 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 result = (bool)((wxPaneInfo const *)arg1)->HasMaximizeButton();
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
3593 {
3594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3595 }
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 SWIGINTERN PyObject *_wrap_PaneInfo_HasMinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3603 PyObject *resultobj = 0;
3604 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3605 bool result;
3606 void *argp1 = 0 ;
3607 int res1 = 0 ;
3608 PyObject *swig_obj[1] ;
3609
3610 if (!args) SWIG_fail;
3611 swig_obj[0] = args;
3612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3613 if (!SWIG_IsOK(res1)) {
3614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasMinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3615 }
3616 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (bool)((wxPaneInfo const *)arg1)->HasMinimizeButton();
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 {
3624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3625 }
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 SWIGINTERN PyObject *_wrap_PaneInfo_HasPinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3633 PyObject *resultobj = 0;
3634 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3635 bool result;
3636 void *argp1 = 0 ;
3637 int res1 = 0 ;
3638 PyObject *swig_obj[1] ;
3639
3640 if (!args) SWIG_fail;
3641 swig_obj[0] = args;
3642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3643 if (!SWIG_IsOK(res1)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasPinButton" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3645 }
3646 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)((wxPaneInfo const *)arg1)->HasPinButton();
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 SWIGINTERN PyObject *_wrap_PaneInfo_HasGripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3663 PyObject *resultobj = 0;
3664 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3665 bool result;
3666 void *argp1 = 0 ;
3667 int res1 = 0 ;
3668 PyObject *swig_obj[1] ;
3669
3670 if (!args) SWIG_fail;
3671 swig_obj[0] = args;
3672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3673 if (!SWIG_IsOK(res1)) {
3674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasGripperTop" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
3675 }
3676 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 result = (bool)((wxPaneInfo const *)arg1)->HasGripperTop();
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 {
3684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3685 }
3686 return resultobj;
3687 fail:
3688 return NULL;
3689 }
3690
3691
3692 SWIGINTERN PyObject *_wrap_PaneInfo_Window(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3693 PyObject *resultobj = 0;
3694 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3695 wxWindow *arg2 = (wxWindow *) 0 ;
3696 wxPaneInfo *result = 0 ;
3697 void *argp1 = 0 ;
3698 int res1 = 0 ;
3699 void *argp2 = 0 ;
3700 int res2 = 0 ;
3701 PyObject * obj0 = 0 ;
3702 PyObject * obj1 = 0 ;
3703 char * kwnames[] = {
3704 (char *) "self",(char *) "w", NULL
3705 };
3706
3707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Window",kwnames,&obj0,&obj1)) SWIG_fail;
3708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3709 if (!SWIG_IsOK(res1)) {
3710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Window" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3711 }
3712 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3714 if (!SWIG_IsOK(res2)) {
3715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_Window" "', expected argument " "2"" of type '" "wxWindow *""'");
3716 }
3717 arg2 = reinterpret_cast< wxWindow * >(argp2);
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
3720 {
3721 wxPaneInfo &_result_ref = (arg1)->Window(arg2);
3722 result = (wxPaneInfo *) &_result_ref;
3723 }
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 {
3728 resultobj = obj0; Py_INCREF(resultobj);
3729 }
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 SWIGINTERN PyObject *_wrap_PaneInfo_Name(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj = 0;
3738 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3739 wxString *arg2 = 0 ;
3740 wxPaneInfo *result = 0 ;
3741 void *argp1 = 0 ;
3742 int res1 = 0 ;
3743 bool temp2 = false ;
3744 PyObject * obj0 = 0 ;
3745 PyObject * obj1 = 0 ;
3746 char * kwnames[] = {
3747 (char *) "self",(char *) "n", NULL
3748 };
3749
3750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Name",kwnames,&obj0,&obj1)) SWIG_fail;
3751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3752 if (!SWIG_IsOK(res1)) {
3753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Name" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3754 }
3755 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3756 {
3757 arg2 = wxString_in_helper(obj1);
3758 if (arg2 == NULL) SWIG_fail;
3759 temp2 = true;
3760 }
3761 {
3762 PyThreadState* __tstate = wxPyBeginAllowThreads();
3763 {
3764 wxPaneInfo &_result_ref = (arg1)->Name((wxString const &)*arg2);
3765 result = (wxPaneInfo *) &_result_ref;
3766 }
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 {
3771 resultobj = obj0; Py_INCREF(resultobj);
3772 }
3773 {
3774 if (temp2)
3775 delete arg2;
3776 }
3777 return resultobj;
3778 fail:
3779 {
3780 if (temp2)
3781 delete arg2;
3782 }
3783 return NULL;
3784 }
3785
3786
3787 SWIGINTERN PyObject *_wrap_PaneInfo_Caption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3788 PyObject *resultobj = 0;
3789 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3790 wxString *arg2 = 0 ;
3791 wxPaneInfo *result = 0 ;
3792 void *argp1 = 0 ;
3793 int res1 = 0 ;
3794 bool temp2 = false ;
3795 PyObject * obj0 = 0 ;
3796 PyObject * obj1 = 0 ;
3797 char * kwnames[] = {
3798 (char *) "self",(char *) "c", NULL
3799 };
3800
3801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Caption",kwnames,&obj0,&obj1)) SWIG_fail;
3802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3803 if (!SWIG_IsOK(res1)) {
3804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Caption" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3805 }
3806 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3807 {
3808 arg2 = wxString_in_helper(obj1);
3809 if (arg2 == NULL) SWIG_fail;
3810 temp2 = true;
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 {
3815 wxPaneInfo &_result_ref = (arg1)->Caption((wxString const &)*arg2);
3816 result = (wxPaneInfo *) &_result_ref;
3817 }
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
3821 {
3822 resultobj = obj0; Py_INCREF(resultobj);
3823 }
3824 {
3825 if (temp2)
3826 delete arg2;
3827 }
3828 return resultobj;
3829 fail:
3830 {
3831 if (temp2)
3832 delete arg2;
3833 }
3834 return NULL;
3835 }
3836
3837
3838 SWIGINTERN PyObject *_wrap_PaneInfo_Left(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3839 PyObject *resultobj = 0;
3840 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3841 wxPaneInfo *result = 0 ;
3842 void *argp1 = 0 ;
3843 int res1 = 0 ;
3844 PyObject *swig_obj[1] ;
3845
3846 if (!args) SWIG_fail;
3847 swig_obj[0] = args;
3848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3849 if (!SWIG_IsOK(res1)) {
3850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Left" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3851 }
3852 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 {
3856 wxPaneInfo &_result_ref = (arg1)->Left();
3857 result = (wxPaneInfo *) &_result_ref;
3858 }
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 {
3863 resultobj = swig_obj[0]; Py_INCREF(resultobj);
3864 }
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 SWIGINTERN PyObject *_wrap_PaneInfo_Right(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3872 PyObject *resultobj = 0;
3873 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3874 wxPaneInfo *result = 0 ;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 PyObject *swig_obj[1] ;
3878
3879 if (!args) SWIG_fail;
3880 swig_obj[0] = args;
3881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3882 if (!SWIG_IsOK(res1)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Right" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3884 }
3885 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 {
3889 wxPaneInfo &_result_ref = (arg1)->Right();
3890 result = (wxPaneInfo *) &_result_ref;
3891 }
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
3896 resultobj = swig_obj[0]; Py_INCREF(resultobj);
3897 }
3898 return resultobj;
3899 fail:
3900 return NULL;
3901 }
3902
3903
3904 SWIGINTERN PyObject *_wrap_PaneInfo_Top(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3905 PyObject *resultobj = 0;
3906 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3907 wxPaneInfo *result = 0 ;
3908 void *argp1 = 0 ;
3909 int res1 = 0 ;
3910 PyObject *swig_obj[1] ;
3911
3912 if (!args) SWIG_fail;
3913 swig_obj[0] = args;
3914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3915 if (!SWIG_IsOK(res1)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Top" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3917 }
3918 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 {
3922 wxPaneInfo &_result_ref = (arg1)->Top();
3923 result = (wxPaneInfo *) &_result_ref;
3924 }
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 {
3929 resultobj = swig_obj[0]; Py_INCREF(resultobj);
3930 }
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 SWIGINTERN PyObject *_wrap_PaneInfo_Bottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3938 PyObject *resultobj = 0;
3939 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3940 wxPaneInfo *result = 0 ;
3941 void *argp1 = 0 ;
3942 int res1 = 0 ;
3943 PyObject *swig_obj[1] ;
3944
3945 if (!args) SWIG_fail;
3946 swig_obj[0] = args;
3947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3948 if (!SWIG_IsOK(res1)) {
3949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Bottom" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3950 }
3951 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 {
3955 wxPaneInfo &_result_ref = (arg1)->Bottom();
3956 result = (wxPaneInfo *) &_result_ref;
3957 }
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 {
3962 resultobj = swig_obj[0]; Py_INCREF(resultobj);
3963 }
3964 return resultobj;
3965 fail:
3966 return NULL;
3967 }
3968
3969
3970 SWIGINTERN PyObject *_wrap_PaneInfo_Center(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3971 PyObject *resultobj = 0;
3972 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
3973 wxPaneInfo *result = 0 ;
3974 void *argp1 = 0 ;
3975 int res1 = 0 ;
3976 PyObject *swig_obj[1] ;
3977
3978 if (!args) SWIG_fail;
3979 swig_obj[0] = args;
3980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
3981 if (!SWIG_IsOK(res1)) {
3982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Center" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
3983 }
3984 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 {
3988 wxPaneInfo &_result_ref = (arg1)->Center();
3989 result = (wxPaneInfo *) &_result_ref;
3990 }
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 {
3995 resultobj = swig_obj[0]; Py_INCREF(resultobj);
3996 }
3997 return resultobj;
3998 fail:
3999 return NULL;
4000 }
4001
4002
4003 SWIGINTERN PyObject *_wrap_PaneInfo_Centre(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4004 PyObject *resultobj = 0;
4005 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4006 wxPaneInfo *result = 0 ;
4007 void *argp1 = 0 ;
4008 int res1 = 0 ;
4009 PyObject *swig_obj[1] ;
4010
4011 if (!args) SWIG_fail;
4012 swig_obj[0] = args;
4013 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4014 if (!SWIG_IsOK(res1)) {
4015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Centre" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4016 }
4017 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 {
4021 wxPaneInfo &_result_ref = (arg1)->Centre();
4022 result = (wxPaneInfo *) &_result_ref;
4023 }
4024 wxPyEndAllowThreads(__tstate);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4029 }
4030 return resultobj;
4031 fail:
4032 return NULL;
4033 }
4034
4035
4036 SWIGINTERN PyObject *_wrap_PaneInfo_Direction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4039 int arg2 ;
4040 wxPaneInfo *result = 0 ;
4041 void *argp1 = 0 ;
4042 int res1 = 0 ;
4043 int val2 ;
4044 int ecode2 = 0 ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 char * kwnames[] = {
4048 (char *) "self",(char *) "direction", NULL
4049 };
4050
4051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Direction",kwnames,&obj0,&obj1)) SWIG_fail;
4052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4053 if (!SWIG_IsOK(res1)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Direction" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4055 }
4056 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4057 ecode2 = SWIG_AsVal_int(obj1, &val2);
4058 if (!SWIG_IsOK(ecode2)) {
4059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Direction" "', expected argument " "2"" of type '" "int""'");
4060 }
4061 arg2 = static_cast< int >(val2);
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 {
4065 wxPaneInfo &_result_ref = (arg1)->Direction(arg2);
4066 result = (wxPaneInfo *) &_result_ref;
4067 }
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 {
4072 resultobj = obj0; Py_INCREF(resultobj);
4073 }
4074 return resultobj;
4075 fail:
4076 return NULL;
4077 }
4078
4079
4080 SWIGINTERN PyObject *_wrap_PaneInfo_Layer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4081 PyObject *resultobj = 0;
4082 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4083 int arg2 ;
4084 wxPaneInfo *result = 0 ;
4085 void *argp1 = 0 ;
4086 int res1 = 0 ;
4087 int val2 ;
4088 int ecode2 = 0 ;
4089 PyObject * obj0 = 0 ;
4090 PyObject * obj1 = 0 ;
4091 char * kwnames[] = {
4092 (char *) "self",(char *) "layer", NULL
4093 };
4094
4095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Layer",kwnames,&obj0,&obj1)) SWIG_fail;
4096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4097 if (!SWIG_IsOK(res1)) {
4098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Layer" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4099 }
4100 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4101 ecode2 = SWIG_AsVal_int(obj1, &val2);
4102 if (!SWIG_IsOK(ecode2)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Layer" "', expected argument " "2"" of type '" "int""'");
4104 }
4105 arg2 = static_cast< int >(val2);
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 {
4109 wxPaneInfo &_result_ref = (arg1)->Layer(arg2);
4110 result = (wxPaneInfo *) &_result_ref;
4111 }
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 {
4116 resultobj = obj0; Py_INCREF(resultobj);
4117 }
4118 return resultobj;
4119 fail:
4120 return NULL;
4121 }
4122
4123
4124 SWIGINTERN PyObject *_wrap_PaneInfo_Row(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj = 0;
4126 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4127 int arg2 ;
4128 wxPaneInfo *result = 0 ;
4129 void *argp1 = 0 ;
4130 int res1 = 0 ;
4131 int val2 ;
4132 int ecode2 = 0 ;
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 char * kwnames[] = {
4136 (char *) "self",(char *) "row", NULL
4137 };
4138
4139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Row",kwnames,&obj0,&obj1)) SWIG_fail;
4140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4141 if (!SWIG_IsOK(res1)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Row" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4143 }
4144 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4145 ecode2 = SWIG_AsVal_int(obj1, &val2);
4146 if (!SWIG_IsOK(ecode2)) {
4147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Row" "', expected argument " "2"" of type '" "int""'");
4148 }
4149 arg2 = static_cast< int >(val2);
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 {
4153 wxPaneInfo &_result_ref = (arg1)->Row(arg2);
4154 result = (wxPaneInfo *) &_result_ref;
4155 }
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 {
4160 resultobj = obj0; Py_INCREF(resultobj);
4161 }
4162 return resultobj;
4163 fail:
4164 return NULL;
4165 }
4166
4167
4168 SWIGINTERN PyObject *_wrap_PaneInfo_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4169 PyObject *resultobj = 0;
4170 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4171 int arg2 ;
4172 wxPaneInfo *result = 0 ;
4173 void *argp1 = 0 ;
4174 int res1 = 0 ;
4175 int val2 ;
4176 int ecode2 = 0 ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj1 = 0 ;
4179 char * kwnames[] = {
4180 (char *) "self",(char *) "pos", NULL
4181 };
4182
4183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_Position",kwnames,&obj0,&obj1)) SWIG_fail;
4184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4185 if (!SWIG_IsOK(res1)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Position" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4187 }
4188 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4189 ecode2 = SWIG_AsVal_int(obj1, &val2);
4190 if (!SWIG_IsOK(ecode2)) {
4191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Position" "', expected argument " "2"" of type '" "int""'");
4192 }
4193 arg2 = static_cast< int >(val2);
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 {
4197 wxPaneInfo &_result_ref = (arg1)->Position(arg2);
4198 result = (wxPaneInfo *) &_result_ref;
4199 }
4200 wxPyEndAllowThreads(__tstate);
4201 if (PyErr_Occurred()) SWIG_fail;
4202 }
4203 {
4204 resultobj = obj0; Py_INCREF(resultobj);
4205 }
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 SWIGINTERN PyObject *_wrap_PaneInfo_BestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj = 0;
4214 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4215 wxSize *arg2 = 0 ;
4216 wxPaneInfo *result = 0 ;
4217 void *argp1 = 0 ;
4218 int res1 = 0 ;
4219 wxSize temp2 ;
4220 PyObject * obj0 = 0 ;
4221 PyObject * obj1 = 0 ;
4222 char * kwnames[] = {
4223 (char *) "self",(char *) "size", NULL
4224 };
4225
4226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_BestSize",kwnames,&obj0,&obj1)) SWIG_fail;
4227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4228 if (!SWIG_IsOK(res1)) {
4229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BestSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4230 }
4231 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4232 {
4233 arg2 = &temp2;
4234 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4235 }
4236 {
4237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4238 {
4239 wxPaneInfo &_result_ref = (arg1)->BestSize((wxSize const &)*arg2);
4240 result = (wxPaneInfo *) &_result_ref;
4241 }
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 {
4246 resultobj = obj0; Py_INCREF(resultobj);
4247 }
4248 return resultobj;
4249 fail:
4250 return NULL;
4251 }
4252
4253
4254 SWIGINTERN PyObject *_wrap_PaneInfo_MinSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4255 PyObject *resultobj = 0;
4256 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4257 wxSize *arg2 = 0 ;
4258 wxPaneInfo *result = 0 ;
4259 void *argp1 = 0 ;
4260 int res1 = 0 ;
4261 wxSize temp2 ;
4262 PyObject * obj0 = 0 ;
4263 PyObject * obj1 = 0 ;
4264 char * kwnames[] = {
4265 (char *) "self",(char *) "size", NULL
4266 };
4267
4268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MinSize",kwnames,&obj0,&obj1)) SWIG_fail;
4269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4270 if (!SWIG_IsOK(res1)) {
4271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4272 }
4273 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4274 {
4275 arg2 = &temp2;
4276 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4277 }
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 {
4281 wxPaneInfo &_result_ref = (arg1)->MinSize((wxSize const &)*arg2);
4282 result = (wxPaneInfo *) &_result_ref;
4283 }
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 {
4288 resultobj = obj0; Py_INCREF(resultobj);
4289 }
4290 return resultobj;
4291 fail:
4292 return NULL;
4293 }
4294
4295
4296 SWIGINTERN PyObject *_wrap_PaneInfo_MaxSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4297 PyObject *resultobj = 0;
4298 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4299 wxSize *arg2 = 0 ;
4300 wxPaneInfo *result = 0 ;
4301 void *argp1 = 0 ;
4302 int res1 = 0 ;
4303 wxSize temp2 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char * kwnames[] = {
4307 (char *) "self",(char *) "size", NULL
4308 };
4309
4310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_MaxSize",kwnames,&obj0,&obj1)) SWIG_fail;
4311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4312 if (!SWIG_IsOK(res1)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaxSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4314 }
4315 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4316 {
4317 arg2 = &temp2;
4318 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 {
4323 wxPaneInfo &_result_ref = (arg1)->MaxSize((wxSize const &)*arg2);
4324 result = (wxPaneInfo *) &_result_ref;
4325 }
4326 wxPyEndAllowThreads(__tstate);
4327 if (PyErr_Occurred()) SWIG_fail;
4328 }
4329 {
4330 resultobj = obj0; Py_INCREF(resultobj);
4331 }
4332 return resultobj;
4333 fail:
4334 return NULL;
4335 }
4336
4337
4338 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4339 PyObject *resultobj = 0;
4340 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4341 wxPoint *arg2 = 0 ;
4342 wxPaneInfo *result = 0 ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 wxPoint temp2 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char * kwnames[] = {
4349 (char *) "self",(char *) "pos", NULL
4350 };
4351
4352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingPosition",kwnames,&obj0,&obj1)) SWIG_fail;
4353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4354 if (!SWIG_IsOK(res1)) {
4355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingPosition" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4356 }
4357 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4358 {
4359 arg2 = &temp2;
4360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 {
4365 wxPaneInfo &_result_ref = (arg1)->FloatingPosition((wxPoint const &)*arg2);
4366 result = (wxPaneInfo *) &_result_ref;
4367 }
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 {
4372 resultobj = obj0; Py_INCREF(resultobj);
4373 }
4374 return resultobj;
4375 fail:
4376 return NULL;
4377 }
4378
4379
4380 SWIGINTERN PyObject *_wrap_PaneInfo_FloatingSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4381 PyObject *resultobj = 0;
4382 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4383 wxSize *arg2 = 0 ;
4384 wxPaneInfo *result = 0 ;
4385 void *argp1 = 0 ;
4386 int res1 = 0 ;
4387 wxSize temp2 ;
4388 PyObject * obj0 = 0 ;
4389 PyObject * obj1 = 0 ;
4390 char * kwnames[] = {
4391 (char *) "self",(char *) "size", NULL
4392 };
4393
4394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_FloatingSize",kwnames,&obj0,&obj1)) SWIG_fail;
4395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4396 if (!SWIG_IsOK(res1)) {
4397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_FloatingSize" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4398 }
4399 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4400 {
4401 arg2 = &temp2;
4402 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4403 }
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 {
4407 wxPaneInfo &_result_ref = (arg1)->FloatingSize((wxSize const &)*arg2);
4408 result = (wxPaneInfo *) &_result_ref;
4409 }
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 {
4414 resultobj = obj0; Py_INCREF(resultobj);
4415 }
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 SWIGINTERN PyObject *_wrap_PaneInfo_Fixed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4423 PyObject *resultobj = 0;
4424 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4425 wxPaneInfo *result = 0 ;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 PyObject *swig_obj[1] ;
4429
4430 if (!args) SWIG_fail;
4431 swig_obj[0] = args;
4432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4433 if (!SWIG_IsOK(res1)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Fixed" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4435 }
4436 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 {
4440 wxPaneInfo &_result_ref = (arg1)->Fixed();
4441 result = (wxPaneInfo *) &_result_ref;
4442 }
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 {
4447 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4448 }
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 SWIGINTERN PyObject *_wrap_PaneInfo_Resizable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj = 0;
4457 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4458 bool arg2 = (bool) true ;
4459 wxPaneInfo *result = 0 ;
4460 void *argp1 = 0 ;
4461 int res1 = 0 ;
4462 bool val2 ;
4463 int ecode2 = 0 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char * kwnames[] = {
4467 (char *) "self",(char *) "resizable", NULL
4468 };
4469
4470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Resizable",kwnames,&obj0,&obj1)) SWIG_fail;
4471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4472 if (!SWIG_IsOK(res1)) {
4473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Resizable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4474 }
4475 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4476 if (obj1) {
4477 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4478 if (!SWIG_IsOK(ecode2)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Resizable" "', expected argument " "2"" of type '" "bool""'");
4480 }
4481 arg2 = static_cast< bool >(val2);
4482 }
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 {
4486 wxPaneInfo &_result_ref = (arg1)->Resizable(arg2);
4487 result = (wxPaneInfo *) &_result_ref;
4488 }
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 {
4493 resultobj = obj0; Py_INCREF(resultobj);
4494 }
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 SWIGINTERN PyObject *_wrap_PaneInfo_Dock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4502 PyObject *resultobj = 0;
4503 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4504 wxPaneInfo *result = 0 ;
4505 void *argp1 = 0 ;
4506 int res1 = 0 ;
4507 PyObject *swig_obj[1] ;
4508
4509 if (!args) SWIG_fail;
4510 swig_obj[0] = args;
4511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4512 if (!SWIG_IsOK(res1)) {
4513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dock" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4514 }
4515 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 {
4519 wxPaneInfo &_result_ref = (arg1)->Dock();
4520 result = (wxPaneInfo *) &_result_ref;
4521 }
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) SWIG_fail;
4524 }
4525 {
4526 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4527 }
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 SWIGINTERN PyObject *_wrap_PaneInfo_Float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4537 wxPaneInfo *result = 0 ;
4538 void *argp1 = 0 ;
4539 int res1 = 0 ;
4540 PyObject *swig_obj[1] ;
4541
4542 if (!args) SWIG_fail;
4543 swig_obj[0] = args;
4544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4545 if (!SWIG_IsOK(res1)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Float" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4547 }
4548 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 {
4552 wxPaneInfo &_result_ref = (arg1)->Float();
4553 result = (wxPaneInfo *) &_result_ref;
4554 }
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 {
4559 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4560 }
4561 return resultobj;
4562 fail:
4563 return NULL;
4564 }
4565
4566
4567 SWIGINTERN PyObject *_wrap_PaneInfo_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4568 PyObject *resultobj = 0;
4569 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4570 wxPaneInfo *result = 0 ;
4571 void *argp1 = 0 ;
4572 int res1 = 0 ;
4573 PyObject *swig_obj[1] ;
4574
4575 if (!args) SWIG_fail;
4576 swig_obj[0] = args;
4577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4578 if (!SWIG_IsOK(res1)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Hide" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4580 }
4581 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 {
4585 wxPaneInfo &_result_ref = (arg1)->Hide();
4586 result = (wxPaneInfo *) &_result_ref;
4587 }
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) SWIG_fail;
4590 }
4591 {
4592 resultobj = swig_obj[0]; Py_INCREF(resultobj);
4593 }
4594 return resultobj;
4595 fail:
4596 return NULL;
4597 }
4598
4599
4600 SWIGINTERN PyObject *_wrap_PaneInfo_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj = 0;
4602 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4603 bool arg2 = (bool) true ;
4604 wxPaneInfo *result = 0 ;
4605 void *argp1 = 0 ;
4606 int res1 = 0 ;
4607 bool val2 ;
4608 int ecode2 = 0 ;
4609 PyObject * obj0 = 0 ;
4610 PyObject * obj1 = 0 ;
4611 char * kwnames[] = {
4612 (char *) "self",(char *) "show", NULL
4613 };
4614
4615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Show",kwnames,&obj0,&obj1)) SWIG_fail;
4616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4617 if (!SWIG_IsOK(res1)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Show" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4619 }
4620 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4621 if (obj1) {
4622 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4623 if (!SWIG_IsOK(ecode2)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Show" "', expected argument " "2"" of type '" "bool""'");
4625 }
4626 arg2 = static_cast< bool >(val2);
4627 }
4628 {
4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
4630 {
4631 wxPaneInfo &_result_ref = (arg1)->Show(arg2);
4632 result = (wxPaneInfo *) &_result_ref;
4633 }
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 {
4638 resultobj = obj0; Py_INCREF(resultobj);
4639 }
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 SWIGINTERN PyObject *_wrap_PaneInfo_CaptionVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj = 0;
4648 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4649 bool arg2 = (bool) true ;
4650 wxPaneInfo *result = 0 ;
4651 void *argp1 = 0 ;
4652 int res1 = 0 ;
4653 bool val2 ;
4654 int ecode2 = 0 ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 char * kwnames[] = {
4658 (char *) "self",(char *) "visible", NULL
4659 };
4660
4661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CaptionVisible",kwnames,&obj0,&obj1)) SWIG_fail;
4662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4663 if (!SWIG_IsOK(res1)) {
4664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4665 }
4666 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4667 if (obj1) {
4668 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4669 if (!SWIG_IsOK(ecode2)) {
4670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CaptionVisible" "', expected argument " "2"" of type '" "bool""'");
4671 }
4672 arg2 = static_cast< bool >(val2);
4673 }
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 {
4677 wxPaneInfo &_result_ref = (arg1)->CaptionVisible(arg2);
4678 result = (wxPaneInfo *) &_result_ref;
4679 }
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 {
4684 resultobj = obj0; Py_INCREF(resultobj);
4685 }
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 SWIGINTERN PyObject *_wrap_PaneInfo_PaneBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj = 0;
4694 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4695 bool arg2 = (bool) true ;
4696 wxPaneInfo *result = 0 ;
4697 void *argp1 = 0 ;
4698 int res1 = 0 ;
4699 bool val2 ;
4700 int ecode2 = 0 ;
4701 PyObject * obj0 = 0 ;
4702 PyObject * obj1 = 0 ;
4703 char * kwnames[] = {
4704 (char *) "self",(char *) "visible", NULL
4705 };
4706
4707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PaneBorder",kwnames,&obj0,&obj1)) SWIG_fail;
4708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4709 if (!SWIG_IsOK(res1)) {
4710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PaneBorder" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4711 }
4712 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4713 if (obj1) {
4714 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4715 if (!SWIG_IsOK(ecode2)) {
4716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PaneBorder" "', expected argument " "2"" of type '" "bool""'");
4717 }
4718 arg2 = static_cast< bool >(val2);
4719 }
4720 {
4721 PyThreadState* __tstate = wxPyBeginAllowThreads();
4722 {
4723 wxPaneInfo &_result_ref = (arg1)->PaneBorder(arg2);
4724 result = (wxPaneInfo *) &_result_ref;
4725 }
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 {
4730 resultobj = obj0; Py_INCREF(resultobj);
4731 }
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 SWIGINTERN PyObject *_wrap_PaneInfo_Gripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj = 0;
4740 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4741 bool arg2 = (bool) true ;
4742 wxPaneInfo *result = 0 ;
4743 void *argp1 = 0 ;
4744 int res1 = 0 ;
4745 bool val2 ;
4746 int ecode2 = 0 ;
4747 PyObject * obj0 = 0 ;
4748 PyObject * obj1 = 0 ;
4749 char * kwnames[] = {
4750 (char *) "self",(char *) "visible", NULL
4751 };
4752
4753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Gripper",kwnames,&obj0,&obj1)) SWIG_fail;
4754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4755 if (!SWIG_IsOK(res1)) {
4756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Gripper" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4757 }
4758 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4759 if (obj1) {
4760 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4761 if (!SWIG_IsOK(ecode2)) {
4762 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Gripper" "', expected argument " "2"" of type '" "bool""'");
4763 }
4764 arg2 = static_cast< bool >(val2);
4765 }
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 {
4769 wxPaneInfo &_result_ref = (arg1)->Gripper(arg2);
4770 result = (wxPaneInfo *) &_result_ref;
4771 }
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 {
4776 resultobj = obj0; Py_INCREF(resultobj);
4777 }
4778 return resultobj;
4779 fail:
4780 return NULL;
4781 }
4782
4783
4784 SWIGINTERN PyObject *_wrap_PaneInfo_GripperTop(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj = 0;
4786 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4787 bool arg2 = (bool) true ;
4788 wxPaneInfo *result = 0 ;
4789 void *argp1 = 0 ;
4790 int res1 = 0 ;
4791 bool val2 ;
4792 int ecode2 = 0 ;
4793 PyObject * obj0 = 0 ;
4794 PyObject * obj1 = 0 ;
4795 char * kwnames[] = {
4796 (char *) "self",(char *) "attop", NULL
4797 };
4798
4799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_GripperTop",kwnames,&obj0,&obj1)) SWIG_fail;
4800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4801 if (!SWIG_IsOK(res1)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_GripperTop" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4803 }
4804 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4805 if (obj1) {
4806 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4807 if (!SWIG_IsOK(ecode2)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_GripperTop" "', expected argument " "2"" of type '" "bool""'");
4809 }
4810 arg2 = static_cast< bool >(val2);
4811 }
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 {
4815 wxPaneInfo &_result_ref = (arg1)->GripperTop(arg2);
4816 result = (wxPaneInfo *) &_result_ref;
4817 }
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = obj0; Py_INCREF(resultobj);
4823 }
4824 return resultobj;
4825 fail:
4826 return NULL;
4827 }
4828
4829
4830 SWIGINTERN PyObject *_wrap_PaneInfo_CloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4831 PyObject *resultobj = 0;
4832 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4833 bool arg2 = (bool) true ;
4834 wxPaneInfo *result = 0 ;
4835 void *argp1 = 0 ;
4836 int res1 = 0 ;
4837 bool val2 ;
4838 int ecode2 = 0 ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char * kwnames[] = {
4842 (char *) "self",(char *) "visible", NULL
4843 };
4844
4845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_CloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
4846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4847 if (!SWIG_IsOK(res1)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CloseButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4849 }
4850 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4851 if (obj1) {
4852 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4853 if (!SWIG_IsOK(ecode2)) {
4854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_CloseButton" "', expected argument " "2"" of type '" "bool""'");
4855 }
4856 arg2 = static_cast< bool >(val2);
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 {
4861 wxPaneInfo &_result_ref = (arg1)->CloseButton(arg2);
4862 result = (wxPaneInfo *) &_result_ref;
4863 }
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 {
4868 resultobj = obj0; Py_INCREF(resultobj);
4869 }
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 SWIGINTERN PyObject *_wrap_PaneInfo_MaximizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4877 PyObject *resultobj = 0;
4878 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4879 bool arg2 = (bool) true ;
4880 wxPaneInfo *result = 0 ;
4881 void *argp1 = 0 ;
4882 int res1 = 0 ;
4883 bool val2 ;
4884 int ecode2 = 0 ;
4885 PyObject * obj0 = 0 ;
4886 PyObject * obj1 = 0 ;
4887 char * kwnames[] = {
4888 (char *) "self",(char *) "visible", NULL
4889 };
4890
4891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MaximizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4895 }
4896 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4897 if (obj1) {
4898 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4899 if (!SWIG_IsOK(ecode2)) {
4900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MaximizeButton" "', expected argument " "2"" of type '" "bool""'");
4901 }
4902 arg2 = static_cast< bool >(val2);
4903 }
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 {
4907 wxPaneInfo &_result_ref = (arg1)->MaximizeButton(arg2);
4908 result = (wxPaneInfo *) &_result_ref;
4909 }
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 {
4914 resultobj = obj0; Py_INCREF(resultobj);
4915 }
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 SWIGINTERN PyObject *_wrap_PaneInfo_MinimizeButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4923 PyObject *resultobj = 0;
4924 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4925 bool arg2 = (bool) true ;
4926 wxPaneInfo *result = 0 ;
4927 void *argp1 = 0 ;
4928 int res1 = 0 ;
4929 bool val2 ;
4930 int ecode2 = 0 ;
4931 PyObject * obj0 = 0 ;
4932 PyObject * obj1 = 0 ;
4933 char * kwnames[] = {
4934 (char *) "self",(char *) "visible", NULL
4935 };
4936
4937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_MinimizeButton",kwnames,&obj0,&obj1)) SWIG_fail;
4938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4939 if (!SWIG_IsOK(res1)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4941 }
4942 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4943 if (obj1) {
4944 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4945 if (!SWIG_IsOK(ecode2)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_MinimizeButton" "', expected argument " "2"" of type '" "bool""'");
4947 }
4948 arg2 = static_cast< bool >(val2);
4949 }
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 {
4953 wxPaneInfo &_result_ref = (arg1)->MinimizeButton(arg2);
4954 result = (wxPaneInfo *) &_result_ref;
4955 }
4956 wxPyEndAllowThreads(__tstate);
4957 if (PyErr_Occurred()) SWIG_fail;
4958 }
4959 {
4960 resultobj = obj0; Py_INCREF(resultobj);
4961 }
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 SWIGINTERN PyObject *_wrap_PaneInfo_PinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj = 0;
4970 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
4971 bool arg2 = (bool) true ;
4972 wxPaneInfo *result = 0 ;
4973 void *argp1 = 0 ;
4974 int res1 = 0 ;
4975 bool val2 ;
4976 int ecode2 = 0 ;
4977 PyObject * obj0 = 0 ;
4978 PyObject * obj1 = 0 ;
4979 char * kwnames[] = {
4980 (char *) "self",(char *) "visible", NULL
4981 };
4982
4983 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_PinButton",kwnames,&obj0,&obj1)) SWIG_fail;
4984 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
4985 if (!SWIG_IsOK(res1)) {
4986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_PinButton" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
4987 }
4988 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
4989 if (obj1) {
4990 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4991 if (!SWIG_IsOK(ecode2)) {
4992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_PinButton" "', expected argument " "2"" of type '" "bool""'");
4993 }
4994 arg2 = static_cast< bool >(val2);
4995 }
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 {
4999 wxPaneInfo &_result_ref = (arg1)->PinButton(arg2);
5000 result = (wxPaneInfo *) &_result_ref;
5001 }
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 {
5006 resultobj = obj0; Py_INCREF(resultobj);
5007 }
5008 return resultobj;
5009 fail:
5010 return NULL;
5011 }
5012
5013
5014 SWIGINTERN PyObject *_wrap_PaneInfo_DestroyOnClose(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj = 0;
5016 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5017 bool arg2 = (bool) true ;
5018 wxPaneInfo *result = 0 ;
5019 void *argp1 = 0 ;
5020 int res1 = 0 ;
5021 bool val2 ;
5022 int ecode2 = 0 ;
5023 PyObject * obj0 = 0 ;
5024 PyObject * obj1 = 0 ;
5025 char * kwnames[] = {
5026 (char *) "self",(char *) "b", NULL
5027 };
5028
5029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_DestroyOnClose",kwnames,&obj0,&obj1)) SWIG_fail;
5030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5031 if (!SWIG_IsOK(res1)) {
5032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5033 }
5034 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5035 if (obj1) {
5036 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5037 if (!SWIG_IsOK(ecode2)) {
5038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_DestroyOnClose" "', expected argument " "2"" of type '" "bool""'");
5039 }
5040 arg2 = static_cast< bool >(val2);
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 {
5045 wxPaneInfo &_result_ref = (arg1)->DestroyOnClose(arg2);
5046 result = (wxPaneInfo *) &_result_ref;
5047 }
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
5051 {
5052 resultobj = obj0; Py_INCREF(resultobj);
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_PaneInfo_TopDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj = 0;
5062 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5063 bool arg2 = (bool) true ;
5064 wxPaneInfo *result = 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 bool val2 ;
5068 int ecode2 = 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char * kwnames[] = {
5072 (char *) "self",(char *) "b", NULL
5073 };
5074
5075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_TopDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5077 if (!SWIG_IsOK(res1)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_TopDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5079 }
5080 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5081 if (obj1) {
5082 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5083 if (!SWIG_IsOK(ecode2)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_TopDockable" "', expected argument " "2"" of type '" "bool""'");
5085 }
5086 arg2 = static_cast< bool >(val2);
5087 }
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 {
5091 wxPaneInfo &_result_ref = (arg1)->TopDockable(arg2);
5092 result = (wxPaneInfo *) &_result_ref;
5093 }
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
5098 resultobj = obj0; Py_INCREF(resultobj);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 SWIGINTERN PyObject *_wrap_PaneInfo_BottomDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5109 bool arg2 = (bool) true ;
5110 wxPaneInfo *result = 0 ;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 bool val2 ;
5114 int ecode2 = 0 ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char * kwnames[] = {
5118 (char *) "self",(char *) "b", NULL
5119 };
5120
5121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_BottomDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5123 if (!SWIG_IsOK(res1)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_BottomDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5125 }
5126 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5127 if (obj1) {
5128 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5129 if (!SWIG_IsOK(ecode2)) {
5130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_BottomDockable" "', expected argument " "2"" of type '" "bool""'");
5131 }
5132 arg2 = static_cast< bool >(val2);
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 {
5137 wxPaneInfo &_result_ref = (arg1)->BottomDockable(arg2);
5138 result = (wxPaneInfo *) &_result_ref;
5139 }
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 {
5144 resultobj = obj0; Py_INCREF(resultobj);
5145 }
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 SWIGINTERN PyObject *_wrap_PaneInfo_LeftDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj = 0;
5154 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5155 bool arg2 = (bool) true ;
5156 wxPaneInfo *result = 0 ;
5157 void *argp1 = 0 ;
5158 int res1 = 0 ;
5159 bool val2 ;
5160 int ecode2 = 0 ;
5161 PyObject * obj0 = 0 ;
5162 PyObject * obj1 = 0 ;
5163 char * kwnames[] = {
5164 (char *) "self",(char *) "b", NULL
5165 };
5166
5167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_LeftDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5169 if (!SWIG_IsOK(res1)) {
5170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_LeftDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5171 }
5172 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5173 if (obj1) {
5174 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5175 if (!SWIG_IsOK(ecode2)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_LeftDockable" "', expected argument " "2"" of type '" "bool""'");
5177 }
5178 arg2 = static_cast< bool >(val2);
5179 }
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 {
5183 wxPaneInfo &_result_ref = (arg1)->LeftDockable(arg2);
5184 result = (wxPaneInfo *) &_result_ref;
5185 }
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 resultobj = obj0; Py_INCREF(resultobj);
5191 }
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 SWIGINTERN PyObject *_wrap_PaneInfo_RightDockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj = 0;
5200 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5201 bool arg2 = (bool) true ;
5202 wxPaneInfo *result = 0 ;
5203 void *argp1 = 0 ;
5204 int res1 = 0 ;
5205 bool val2 ;
5206 int ecode2 = 0 ;
5207 PyObject * obj0 = 0 ;
5208 PyObject * obj1 = 0 ;
5209 char * kwnames[] = {
5210 (char *) "self",(char *) "b", NULL
5211 };
5212
5213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_RightDockable",kwnames,&obj0,&obj1)) SWIG_fail;
5214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5215 if (!SWIG_IsOK(res1)) {
5216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_RightDockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5217 }
5218 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5219 if (obj1) {
5220 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5221 if (!SWIG_IsOK(ecode2)) {
5222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_RightDockable" "', expected argument " "2"" of type '" "bool""'");
5223 }
5224 arg2 = static_cast< bool >(val2);
5225 }
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
5228 {
5229 wxPaneInfo &_result_ref = (arg1)->RightDockable(arg2);
5230 result = (wxPaneInfo *) &_result_ref;
5231 }
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 {
5236 resultobj = obj0; Py_INCREF(resultobj);
5237 }
5238 return resultobj;
5239 fail:
5240 return NULL;
5241 }
5242
5243
5244 SWIGINTERN PyObject *_wrap_PaneInfo_Floatable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5247 bool arg2 = (bool) true ;
5248 wxPaneInfo *result = 0 ;
5249 void *argp1 = 0 ;
5250 int res1 = 0 ;
5251 bool val2 ;
5252 int ecode2 = 0 ;
5253 PyObject * obj0 = 0 ;
5254 PyObject * obj1 = 0 ;
5255 char * kwnames[] = {
5256 (char *) "self",(char *) "b", NULL
5257 };
5258
5259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Floatable",kwnames,&obj0,&obj1)) SWIG_fail;
5260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5261 if (!SWIG_IsOK(res1)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Floatable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5263 }
5264 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5265 if (obj1) {
5266 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5267 if (!SWIG_IsOK(ecode2)) {
5268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Floatable" "', expected argument " "2"" of type '" "bool""'");
5269 }
5270 arg2 = static_cast< bool >(val2);
5271 }
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 {
5275 wxPaneInfo &_result_ref = (arg1)->Floatable(arg2);
5276 result = (wxPaneInfo *) &_result_ref;
5277 }
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 {
5282 resultobj = obj0; Py_INCREF(resultobj);
5283 }
5284 return resultobj;
5285 fail:
5286 return NULL;
5287 }
5288
5289
5290 SWIGINTERN PyObject *_wrap_PaneInfo_Movable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5291 PyObject *resultobj = 0;
5292 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5293 bool arg2 = (bool) true ;
5294 wxPaneInfo *result = 0 ;
5295 void *argp1 = 0 ;
5296 int res1 = 0 ;
5297 bool val2 ;
5298 int ecode2 = 0 ;
5299 PyObject * obj0 = 0 ;
5300 PyObject * obj1 = 0 ;
5301 char * kwnames[] = {
5302 (char *) "self",(char *) "b", NULL
5303 };
5304
5305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Movable",kwnames,&obj0,&obj1)) SWIG_fail;
5306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5307 if (!SWIG_IsOK(res1)) {
5308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Movable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5309 }
5310 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5311 if (obj1) {
5312 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5313 if (!SWIG_IsOK(ecode2)) {
5314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Movable" "', expected argument " "2"" of type '" "bool""'");
5315 }
5316 arg2 = static_cast< bool >(val2);
5317 }
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 {
5321 wxPaneInfo &_result_ref = (arg1)->Movable(arg2);
5322 result = (wxPaneInfo *) &_result_ref;
5323 }
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 resultobj = obj0; Py_INCREF(resultobj);
5329 }
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 SWIGINTERN PyObject *_wrap_PaneInfo_Dockable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj = 0;
5338 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5339 bool arg2 = (bool) true ;
5340 wxPaneInfo *result = 0 ;
5341 void *argp1 = 0 ;
5342 int res1 = 0 ;
5343 bool val2 ;
5344 int ecode2 = 0 ;
5345 PyObject * obj0 = 0 ;
5346 PyObject * obj1 = 0 ;
5347 char * kwnames[] = {
5348 (char *) "self",(char *) "b", NULL
5349 };
5350
5351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PaneInfo_Dockable",kwnames,&obj0,&obj1)) SWIG_fail;
5352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5353 if (!SWIG_IsOK(res1)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_Dockable" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5355 }
5356 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5357 if (obj1) {
5358 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5359 if (!SWIG_IsOK(ecode2)) {
5360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_Dockable" "', expected argument " "2"" of type '" "bool""'");
5361 }
5362 arg2 = static_cast< bool >(val2);
5363 }
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 {
5367 wxPaneInfo &_result_ref = (arg1)->Dockable(arg2);
5368 result = (wxPaneInfo *) &_result_ref;
5369 }
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 resultobj = obj0; Py_INCREF(resultobj);
5375 }
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 SWIGINTERN PyObject *_wrap_PaneInfo_DefaultPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5383 PyObject *resultobj = 0;
5384 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5385 wxPaneInfo *result = 0 ;
5386 void *argp1 = 0 ;
5387 int res1 = 0 ;
5388 PyObject *swig_obj[1] ;
5389
5390 if (!args) SWIG_fail;
5391 swig_obj[0] = args;
5392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5393 if (!SWIG_IsOK(res1)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_DefaultPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5395 }
5396 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 {
5400 wxPaneInfo &_result_ref = (arg1)->DefaultPane();
5401 result = (wxPaneInfo *) &_result_ref;
5402 }
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 {
5407 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5408 }
5409 return resultobj;
5410 fail:
5411 return NULL;
5412 }
5413
5414
5415 SWIGINTERN PyObject *_wrap_PaneInfo_CentrePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5416 PyObject *resultobj = 0;
5417 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5418 wxPaneInfo *result = 0 ;
5419 void *argp1 = 0 ;
5420 int res1 = 0 ;
5421 PyObject *swig_obj[1] ;
5422
5423 if (!args) SWIG_fail;
5424 swig_obj[0] = args;
5425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5426 if (!SWIG_IsOK(res1)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CentrePane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5428 }
5429 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 {
5433 wxPaneInfo &_result_ref = (arg1)->CentrePane();
5434 result = (wxPaneInfo *) &_result_ref;
5435 }
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_PaneInfo_CenterPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5449 PyObject *resultobj = 0;
5450 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5451 wxPaneInfo *result = 0 ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 PyObject *swig_obj[1] ;
5455
5456 if (!args) SWIG_fail;
5457 swig_obj[0] = args;
5458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5459 if (!SWIG_IsOK(res1)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_CenterPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5461 }
5462 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 {
5466 wxPaneInfo &_result_ref = (arg1)->CenterPane();
5467 result = (wxPaneInfo *) &_result_ref;
5468 }
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 {
5473 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5474 }
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 SWIGINTERN PyObject *_wrap_PaneInfo_ToolbarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5482 PyObject *resultobj = 0;
5483 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5484 wxPaneInfo *result = 0 ;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 PyObject *swig_obj[1] ;
5488
5489 if (!args) SWIG_fail;
5490 swig_obj[0] = args;
5491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_ToolbarPane" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5494 }
5495 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 {
5499 wxPaneInfo &_result_ref = (arg1)->ToolbarPane();
5500 result = (wxPaneInfo *) &_result_ref;
5501 }
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 {
5506 resultobj = swig_obj[0]; Py_INCREF(resultobj);
5507 }
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 SWIGINTERN PyObject *_wrap_PaneInfo_SetFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj = 0;
5516 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5517 int arg2 ;
5518 bool arg3 ;
5519 wxPaneInfo *result = 0 ;
5520 void *argp1 = 0 ;
5521 int res1 = 0 ;
5522 int val2 ;
5523 int ecode2 = 0 ;
5524 bool val3 ;
5525 int ecode3 = 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 PyObject * obj2 = 0 ;
5529 char * kwnames[] = {
5530 (char *) "self",(char *) "flag",(char *) "option_state", NULL
5531 };
5532
5533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PaneInfo_SetFlag",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_SetFlag" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5537 }
5538 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5539 ecode2 = SWIG_AsVal_int(obj1, &val2);
5540 if (!SWIG_IsOK(ecode2)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_SetFlag" "', expected argument " "2"" of type '" "int""'");
5542 }
5543 arg2 = static_cast< int >(val2);
5544 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5545 if (!SWIG_IsOK(ecode3)) {
5546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PaneInfo_SetFlag" "', expected argument " "3"" of type '" "bool""'");
5547 }
5548 arg3 = static_cast< bool >(val3);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 {
5552 wxPaneInfo &_result_ref = (arg1)->SetFlag(arg2,arg3);
5553 result = (wxPaneInfo *) &_result_ref;
5554 }
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 {
5559 resultobj = obj0; Py_INCREF(resultobj);
5560 }
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 SWIGINTERN PyObject *_wrap_PaneInfo_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj = 0;
5569 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5570 int arg2 ;
5571 bool result;
5572 void *argp1 = 0 ;
5573 int res1 = 0 ;
5574 int val2 ;
5575 int ecode2 = 0 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char * kwnames[] = {
5579 (char *) "self",(char *) "flag", NULL
5580 };
5581
5582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaneInfo_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5584 if (!SWIG_IsOK(res1)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_HasFlag" "', expected argument " "1"" of type '" "wxPaneInfo const *""'");
5586 }
5587 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5588 ecode2 = SWIG_AsVal_int(obj1, &val2);
5589 if (!SWIG_IsOK(ecode2)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_HasFlag" "', expected argument " "2"" of type '" "int""'");
5591 }
5592 arg2 = static_cast< int >(val2);
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 result = (bool)((wxPaneInfo const *)arg1)->HasFlag(arg2);
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 {
5600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 SWIGINTERN PyObject *_wrap_PaneInfo_name_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5609 PyObject *resultobj = 0;
5610 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5611 wxString *arg2 = (wxString *) 0 ;
5612 void *argp1 = 0 ;
5613 int res1 = 0 ;
5614 bool temp2 = false ;
5615 PyObject *swig_obj[2] ;
5616
5617 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_name_set",2,2,swig_obj)) SWIG_fail;
5618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5619 if (!SWIG_IsOK(res1)) {
5620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5621 }
5622 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5623 {
5624 arg2 = wxString_in_helper(swig_obj[1]);
5625 if (arg2 == NULL) SWIG_fail;
5626 temp2 = true;
5627 }
5628 if (arg1) (arg1)->name = *arg2;
5629
5630 resultobj = SWIG_Py_Void();
5631 {
5632 if (temp2)
5633 delete arg2;
5634 }
5635 return resultobj;
5636 fail:
5637 {
5638 if (temp2)
5639 delete arg2;
5640 }
5641 return NULL;
5642 }
5643
5644
5645 SWIGINTERN PyObject *_wrap_PaneInfo_name_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5646 PyObject *resultobj = 0;
5647 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5648 wxString *result = 0 ;
5649 void *argp1 = 0 ;
5650 int res1 = 0 ;
5651 PyObject *swig_obj[1] ;
5652
5653 if (!args) SWIG_fail;
5654 swig_obj[0] = args;
5655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5656 if (!SWIG_IsOK(res1)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_name_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5658 }
5659 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5660 result = (wxString *)& ((arg1)->name);
5661 {
5662 #if wxUSE_UNICODE
5663 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5664 #else
5665 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5666 #endif
5667 }
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 SWIGINTERN PyObject *_wrap_PaneInfo_caption_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5675 PyObject *resultobj = 0;
5676 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5677 wxString *arg2 = (wxString *) 0 ;
5678 void *argp1 = 0 ;
5679 int res1 = 0 ;
5680 bool temp2 = false ;
5681 PyObject *swig_obj[2] ;
5682
5683 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_caption_set",2,2,swig_obj)) SWIG_fail;
5684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5685 if (!SWIG_IsOK(res1)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5687 }
5688 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5689 {
5690 arg2 = wxString_in_helper(swig_obj[1]);
5691 if (arg2 == NULL) SWIG_fail;
5692 temp2 = true;
5693 }
5694 if (arg1) (arg1)->caption = *arg2;
5695
5696 resultobj = SWIG_Py_Void();
5697 {
5698 if (temp2)
5699 delete arg2;
5700 }
5701 return resultobj;
5702 fail:
5703 {
5704 if (temp2)
5705 delete arg2;
5706 }
5707 return NULL;
5708 }
5709
5710
5711 SWIGINTERN PyObject *_wrap_PaneInfo_caption_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5712 PyObject *resultobj = 0;
5713 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5714 wxString *result = 0 ;
5715 void *argp1 = 0 ;
5716 int res1 = 0 ;
5717 PyObject *swig_obj[1] ;
5718
5719 if (!args) SWIG_fail;
5720 swig_obj[0] = args;
5721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5722 if (!SWIG_IsOK(res1)) {
5723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_caption_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5724 }
5725 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5726 result = (wxString *)& ((arg1)->caption);
5727 {
5728 #if wxUSE_UNICODE
5729 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5730 #else
5731 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5732 #endif
5733 }
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 SWIGINTERN PyObject *_wrap_PaneInfo_window_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5741 PyObject *resultobj = 0;
5742 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5743 wxWindow *arg2 = (wxWindow *) 0 ;
5744 void *argp1 = 0 ;
5745 int res1 = 0 ;
5746 void *argp2 = 0 ;
5747 int res2 = 0 ;
5748 PyObject *swig_obj[2] ;
5749
5750 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_window_set",2,2,swig_obj)) SWIG_fail;
5751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5752 if (!SWIG_IsOK(res1)) {
5753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5754 }
5755 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5756 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxWindow, SWIG_POINTER_DISOWN | 0 );
5757 if (!SWIG_IsOK(res2)) {
5758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_window_set" "', expected argument " "2"" of type '" "wxWindow *""'");
5759 }
5760 arg2 = reinterpret_cast< wxWindow * >(argp2);
5761 if (arg1) (arg1)->window = arg2;
5762
5763 resultobj = SWIG_Py_Void();
5764 return resultobj;
5765 fail:
5766 return NULL;
5767 }
5768
5769
5770 SWIGINTERN PyObject *_wrap_PaneInfo_window_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5771 PyObject *resultobj = 0;
5772 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5773 wxWindow *result = 0 ;
5774 void *argp1 = 0 ;
5775 int res1 = 0 ;
5776 PyObject *swig_obj[1] ;
5777
5778 if (!args) SWIG_fail;
5779 swig_obj[0] = args;
5780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_window_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5783 }
5784 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5785 result = (wxWindow *) ((arg1)->window);
5786 {
5787 resultobj = wxPyMake_wxObject(result, 0);
5788 }
5789 return resultobj;
5790 fail:
5791 return NULL;
5792 }
5793
5794
5795 SWIGINTERN PyObject *_wrap_PaneInfo_frame_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5796 PyObject *resultobj = 0;
5797 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5798 wxFrame *arg2 = (wxFrame *) 0 ;
5799 void *argp1 = 0 ;
5800 int res1 = 0 ;
5801 void *argp2 = 0 ;
5802 int res2 = 0 ;
5803 PyObject *swig_obj[2] ;
5804
5805 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_frame_set",2,2,swig_obj)) SWIG_fail;
5806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5807 if (!SWIG_IsOK(res1)) {
5808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5809 }
5810 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5811 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxFrame, SWIG_POINTER_DISOWN | 0 );
5812 if (!SWIG_IsOK(res2)) {
5813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_frame_set" "', expected argument " "2"" of type '" "wxFrame *""'");
5814 }
5815 arg2 = reinterpret_cast< wxFrame * >(argp2);
5816 if (arg1) (arg1)->frame = arg2;
5817
5818 resultobj = SWIG_Py_Void();
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 SWIGINTERN PyObject *_wrap_PaneInfo_frame_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5826 PyObject *resultobj = 0;
5827 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5828 wxFrame *result = 0 ;
5829 void *argp1 = 0 ;
5830 int res1 = 0 ;
5831 PyObject *swig_obj[1] ;
5832
5833 if (!args) SWIG_fail;
5834 swig_obj[0] = args;
5835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5836 if (!SWIG_IsOK(res1)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_frame_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5838 }
5839 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5840 result = (wxFrame *) ((arg1)->frame);
5841 {
5842 resultobj = wxPyMake_wxObject(result, 0);
5843 }
5844 return resultobj;
5845 fail:
5846 return NULL;
5847 }
5848
5849
5850 SWIGINTERN PyObject *_wrap_PaneInfo_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5851 PyObject *resultobj = 0;
5852 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5853 int arg2 ;
5854 void *argp1 = 0 ;
5855 int res1 = 0 ;
5856 int val2 ;
5857 int ecode2 = 0 ;
5858 PyObject *swig_obj[2] ;
5859
5860 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_state_set",2,2,swig_obj)) SWIG_fail;
5861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5862 if (!SWIG_IsOK(res1)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5864 }
5865 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5866 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5867 if (!SWIG_IsOK(ecode2)) {
5868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_state_set" "', expected argument " "2"" of type '" "int""'");
5869 }
5870 arg2 = static_cast< int >(val2);
5871 if (arg1) (arg1)->state = arg2;
5872
5873 resultobj = SWIG_Py_Void();
5874 return resultobj;
5875 fail:
5876 return NULL;
5877 }
5878
5879
5880 SWIGINTERN PyObject *_wrap_PaneInfo_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5881 PyObject *resultobj = 0;
5882 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5883 int result;
5884 void *argp1 = 0 ;
5885 int res1 = 0 ;
5886 PyObject *swig_obj[1] ;
5887
5888 if (!args) SWIG_fail;
5889 swig_obj[0] = args;
5890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5891 if (!SWIG_IsOK(res1)) {
5892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_state_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5893 }
5894 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5895 result = (int) ((arg1)->state);
5896 resultobj = SWIG_From_int(static_cast< int >(result));
5897 return resultobj;
5898 fail:
5899 return NULL;
5900 }
5901
5902
5903 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5904 PyObject *resultobj = 0;
5905 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5906 int arg2 ;
5907 void *argp1 = 0 ;
5908 int res1 = 0 ;
5909 int val2 ;
5910 int ecode2 = 0 ;
5911 PyObject *swig_obj[2] ;
5912
5913 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
5914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5915 if (!SWIG_IsOK(res1)) {
5916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5917 }
5918 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5919 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5920 if (!SWIG_IsOK(ecode2)) {
5921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
5922 }
5923 arg2 = static_cast< int >(val2);
5924 if (arg1) (arg1)->dock_direction = arg2;
5925
5926 resultobj = SWIG_Py_Void();
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 SWIGINTERN PyObject *_wrap_PaneInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5934 PyObject *resultobj = 0;
5935 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5936 int result;
5937 void *argp1 = 0 ;
5938 int res1 = 0 ;
5939 PyObject *swig_obj[1] ;
5940
5941 if (!args) SWIG_fail;
5942 swig_obj[0] = args;
5943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5944 if (!SWIG_IsOK(res1)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5946 }
5947 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5948 result = (int) ((arg1)->dock_direction);
5949 resultobj = SWIG_From_int(static_cast< int >(result));
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5957 PyObject *resultobj = 0;
5958 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5959 int arg2 ;
5960 void *argp1 = 0 ;
5961 int res1 = 0 ;
5962 int val2 ;
5963 int ecode2 = 0 ;
5964 PyObject *swig_obj[2] ;
5965
5966 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
5967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5968 if (!SWIG_IsOK(res1)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5970 }
5971 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
5972 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5973 if (!SWIG_IsOK(ecode2)) {
5974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
5975 }
5976 arg2 = static_cast< int >(val2);
5977 if (arg1) (arg1)->dock_layer = arg2;
5978
5979 resultobj = SWIG_Py_Void();
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 SWIGINTERN PyObject *_wrap_PaneInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5987 PyObject *resultobj = 0;
5988 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
5989 int result;
5990 void *argp1 = 0 ;
5991 int res1 = 0 ;
5992 PyObject *swig_obj[1] ;
5993
5994 if (!args) SWIG_fail;
5995 swig_obj[0] = args;
5996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
5999 }
6000 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6001 result = (int) ((arg1)->dock_layer);
6002 resultobj = SWIG_From_int(static_cast< int >(result));
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6010 PyObject *resultobj = 0;
6011 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6012 int arg2 ;
6013 void *argp1 = 0 ;
6014 int res1 = 0 ;
6015 int val2 ;
6016 int ecode2 = 0 ;
6017 PyObject *swig_obj[2] ;
6018
6019 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
6020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6023 }
6024 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6025 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6026 if (!SWIG_IsOK(ecode2)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
6028 }
6029 arg2 = static_cast< int >(val2);
6030 if (arg1) (arg1)->dock_row = arg2;
6031
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 SWIGINTERN PyObject *_wrap_PaneInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040 PyObject *resultobj = 0;
6041 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6042 int result;
6043 void *argp1 = 0 ;
6044 int res1 = 0 ;
6045 PyObject *swig_obj[1] ;
6046
6047 if (!args) SWIG_fail;
6048 swig_obj[0] = args;
6049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6050 if (!SWIG_IsOK(res1)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_row_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6052 }
6053 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6054 result = (int) ((arg1)->dock_row);
6055 resultobj = SWIG_From_int(static_cast< int >(result));
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6063 PyObject *resultobj = 0;
6064 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6065 int arg2 ;
6066 void *argp1 = 0 ;
6067 int res1 = 0 ;
6068 int val2 ;
6069 int ecode2 = 0 ;
6070 PyObject *swig_obj[2] ;
6071
6072 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_pos_set",2,2,swig_obj)) SWIG_fail;
6073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6074 if (!SWIG_IsOK(res1)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6076 }
6077 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6078 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6079 if (!SWIG_IsOK(ecode2)) {
6080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_pos_set" "', expected argument " "2"" of type '" "int""'");
6081 }
6082 arg2 = static_cast< int >(val2);
6083 if (arg1) (arg1)->dock_pos = arg2;
6084
6085 resultobj = SWIG_Py_Void();
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 SWIGINTERN PyObject *_wrap_PaneInfo_dock_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093 PyObject *resultobj = 0;
6094 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6095 int result;
6096 void *argp1 = 0 ;
6097 int res1 = 0 ;
6098 PyObject *swig_obj[1] ;
6099
6100 if (!args) SWIG_fail;
6101 swig_obj[0] = args;
6102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6103 if (!SWIG_IsOK(res1)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6105 }
6106 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6107 result = (int) ((arg1)->dock_pos);
6108 resultobj = SWIG_From_int(static_cast< int >(result));
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6116 PyObject *resultobj = 0;
6117 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6118 wxSize *arg2 = (wxSize *) 0 ;
6119 void *argp1 = 0 ;
6120 int res1 = 0 ;
6121 void *argp2 = 0 ;
6122 int res2 = 0 ;
6123 PyObject *swig_obj[2] ;
6124
6125 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_best_size_set",2,2,swig_obj)) SWIG_fail;
6126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6127 if (!SWIG_IsOK(res1)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6129 }
6130 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6131 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6132 if (!SWIG_IsOK(res2)) {
6133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_best_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6134 }
6135 arg2 = reinterpret_cast< wxSize * >(argp2);
6136 if (arg1) (arg1)->best_size = *arg2;
6137
6138 resultobj = SWIG_Py_Void();
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 SWIGINTERN PyObject *_wrap_PaneInfo_best_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6146 PyObject *resultobj = 0;
6147 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6148 wxSize *result = 0 ;
6149 void *argp1 = 0 ;
6150 int res1 = 0 ;
6151 PyObject *swig_obj[1] ;
6152
6153 if (!args) SWIG_fail;
6154 swig_obj[0] = args;
6155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6156 if (!SWIG_IsOK(res1)) {
6157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_best_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6158 }
6159 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6160 result = (wxSize *)& ((arg1)->best_size);
6161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6169 PyObject *resultobj = 0;
6170 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6171 wxSize *arg2 = (wxSize *) 0 ;
6172 void *argp1 = 0 ;
6173 int res1 = 0 ;
6174 void *argp2 = 0 ;
6175 int res2 = 0 ;
6176 PyObject *swig_obj[2] ;
6177
6178 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
6179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6180 if (!SWIG_IsOK(res1)) {
6181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6182 }
6183 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6184 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6185 if (!SWIG_IsOK(res2)) {
6186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_min_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6187 }
6188 arg2 = reinterpret_cast< wxSize * >(argp2);
6189 if (arg1) (arg1)->min_size = *arg2;
6190
6191 resultobj = SWIG_Py_Void();
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 SWIGINTERN PyObject *_wrap_PaneInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6199 PyObject *resultobj = 0;
6200 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6201 wxSize *result = 0 ;
6202 void *argp1 = 0 ;
6203 int res1 = 0 ;
6204 PyObject *swig_obj[1] ;
6205
6206 if (!args) SWIG_fail;
6207 swig_obj[0] = args;
6208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_min_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6211 }
6212 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6213 result = (wxSize *)& ((arg1)->min_size);
6214 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6222 PyObject *resultobj = 0;
6223 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6224 wxSize *arg2 = (wxSize *) 0 ;
6225 void *argp1 = 0 ;
6226 int res1 = 0 ;
6227 void *argp2 = 0 ;
6228 int res2 = 0 ;
6229 PyObject *swig_obj[2] ;
6230
6231 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_max_size_set",2,2,swig_obj)) SWIG_fail;
6232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6233 if (!SWIG_IsOK(res1)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6235 }
6236 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6237 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6238 if (!SWIG_IsOK(res2)) {
6239 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_max_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6240 }
6241 arg2 = reinterpret_cast< wxSize * >(argp2);
6242 if (arg1) (arg1)->max_size = *arg2;
6243
6244 resultobj = SWIG_Py_Void();
6245 return resultobj;
6246 fail:
6247 return NULL;
6248 }
6249
6250
6251 SWIGINTERN PyObject *_wrap_PaneInfo_max_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6252 PyObject *resultobj = 0;
6253 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6254 wxSize *result = 0 ;
6255 void *argp1 = 0 ;
6256 int res1 = 0 ;
6257 PyObject *swig_obj[1] ;
6258
6259 if (!args) SWIG_fail;
6260 swig_obj[0] = args;
6261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6262 if (!SWIG_IsOK(res1)) {
6263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_max_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6264 }
6265 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6266 result = (wxSize *)& ((arg1)->max_size);
6267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6268 return resultobj;
6269 fail:
6270 return NULL;
6271 }
6272
6273
6274 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6275 PyObject *resultobj = 0;
6276 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6277 wxPoint *arg2 = (wxPoint *) 0 ;
6278 void *argp1 = 0 ;
6279 int res1 = 0 ;
6280 void *argp2 = 0 ;
6281 int res2 = 0 ;
6282 PyObject *swig_obj[2] ;
6283
6284 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_pos_set",2,2,swig_obj)) SWIG_fail;
6285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6286 if (!SWIG_IsOK(res1)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6288 }
6289 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6290 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
6291 if (!SWIG_IsOK(res2)) {
6292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_pos_set" "', expected argument " "2"" of type '" "wxPoint *""'");
6293 }
6294 arg2 = reinterpret_cast< wxPoint * >(argp2);
6295 if (arg1) (arg1)->floating_pos = *arg2;
6296
6297 resultobj = SWIG_Py_Void();
6298 return resultobj;
6299 fail:
6300 return NULL;
6301 }
6302
6303
6304 SWIGINTERN PyObject *_wrap_PaneInfo_floating_pos_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6305 PyObject *resultobj = 0;
6306 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6307 wxPoint *result = 0 ;
6308 void *argp1 = 0 ;
6309 int res1 = 0 ;
6310 PyObject *swig_obj[1] ;
6311
6312 if (!args) SWIG_fail;
6313 swig_obj[0] = args;
6314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6315 if (!SWIG_IsOK(res1)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_pos_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6317 }
6318 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6319 result = (wxPoint *)& ((arg1)->floating_pos);
6320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6328 PyObject *resultobj = 0;
6329 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6330 wxSize *arg2 = (wxSize *) 0 ;
6331 void *argp1 = 0 ;
6332 int res1 = 0 ;
6333 void *argp2 = 0 ;
6334 int res2 = 0 ;
6335 PyObject *swig_obj[2] ;
6336
6337 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_floating_size_set",2,2,swig_obj)) SWIG_fail;
6338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6339 if (!SWIG_IsOK(res1)) {
6340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6341 }
6342 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6343 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSize, 0 | 0 );
6344 if (!SWIG_IsOK(res2)) {
6345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_floating_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
6346 }
6347 arg2 = reinterpret_cast< wxSize * >(argp2);
6348 if (arg1) (arg1)->floating_size = *arg2;
6349
6350 resultobj = SWIG_Py_Void();
6351 return resultobj;
6352 fail:
6353 return NULL;
6354 }
6355
6356
6357 SWIGINTERN PyObject *_wrap_PaneInfo_floating_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6358 PyObject *resultobj = 0;
6359 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6360 wxSize *result = 0 ;
6361 void *argp1 = 0 ;
6362 int res1 = 0 ;
6363 PyObject *swig_obj[1] ;
6364
6365 if (!args) SWIG_fail;
6366 swig_obj[0] = args;
6367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6368 if (!SWIG_IsOK(res1)) {
6369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_floating_size_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6370 }
6371 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6372 result = (wxSize *)& ((arg1)->floating_size);
6373 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
6374 return resultobj;
6375 fail:
6376 return NULL;
6377 }
6378
6379
6380 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6381 PyObject *resultobj = 0;
6382 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6383 int arg2 ;
6384 void *argp1 = 0 ;
6385 int res1 = 0 ;
6386 int val2 ;
6387 int ecode2 = 0 ;
6388 PyObject *swig_obj[2] ;
6389
6390 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_dock_proportion_set",2,2,swig_obj)) SWIG_fail;
6391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6392 if (!SWIG_IsOK(res1)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6394 }
6395 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6396 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
6397 if (!SWIG_IsOK(ecode2)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneInfo_dock_proportion_set" "', expected argument " "2"" of type '" "int""'");
6399 }
6400 arg2 = static_cast< int >(val2);
6401 if (arg1) (arg1)->dock_proportion = arg2;
6402
6403 resultobj = SWIG_Py_Void();
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 SWIGINTERN PyObject *_wrap_PaneInfo_dock_proportion_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6411 PyObject *resultobj = 0;
6412 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6413 int result;
6414 void *argp1 = 0 ;
6415 int res1 = 0 ;
6416 PyObject *swig_obj[1] ;
6417
6418 if (!args) SWIG_fail;
6419 swig_obj[0] = args;
6420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6421 if (!SWIG_IsOK(res1)) {
6422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_dock_proportion_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6423 }
6424 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6425 result = (int) ((arg1)->dock_proportion);
6426 resultobj = SWIG_From_int(static_cast< int >(result));
6427 return resultobj;
6428 fail:
6429 return NULL;
6430 }
6431
6432
6433 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6434 PyObject *resultobj = 0;
6435 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6436 wxPaneButtonArray arg2 ;
6437 void *argp1 = 0 ;
6438 int res1 = 0 ;
6439 void *argp2 ;
6440 int res2 = 0 ;
6441 PyObject *swig_obj[2] ;
6442
6443 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_buttons_set",2,2,swig_obj)) SWIG_fail;
6444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6445 if (!SWIG_IsOK(res1)) {
6446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6447 }
6448 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6449 {
6450 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneButtonArray, 0 | 0);
6451 if (!SWIG_IsOK(res2)) {
6452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6453 }
6454 if (!argp2) {
6455 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PaneInfo_buttons_set" "', expected argument " "2"" of type '" "wxPaneButtonArray""'");
6456 } else {
6457 wxPaneButtonArray * temp = reinterpret_cast< wxPaneButtonArray * >(argp2);
6458 arg2 = *temp;
6459 if (SWIG_IsNewObj(res2)) delete temp;
6460 }
6461 }
6462 if (arg1) (arg1)->buttons = arg2;
6463
6464 resultobj = SWIG_Py_Void();
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 SWIGINTERN PyObject *_wrap_PaneInfo_buttons_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6472 PyObject *resultobj = 0;
6473 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6474 wxPaneButtonArray result;
6475 void *argp1 = 0 ;
6476 int res1 = 0 ;
6477 PyObject *swig_obj[1] ;
6478
6479 if (!args) SWIG_fail;
6480 swig_obj[0] = args;
6481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6482 if (!SWIG_IsOK(res1)) {
6483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_buttons_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6484 }
6485 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6486 result = ((arg1)->buttons);
6487 resultobj = SWIG_NewPointerObj((new wxPaneButtonArray(static_cast< const wxPaneButtonArray& >(result))), SWIGTYPE_p_wxPaneButtonArray, SWIG_POINTER_OWN | 0 );
6488 return resultobj;
6489 fail:
6490 return NULL;
6491 }
6492
6493
6494 SWIGINTERN PyObject *_wrap_PaneInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6495 PyObject *resultobj = 0;
6496 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6497 wxRect *arg2 = (wxRect *) 0 ;
6498 void *argp1 = 0 ;
6499 int res1 = 0 ;
6500 void *argp2 = 0 ;
6501 int res2 = 0 ;
6502 PyObject *swig_obj[2] ;
6503
6504 if (!SWIG_Python_UnpackTuple(args,"PaneInfo_rect_set",2,2,swig_obj)) SWIG_fail;
6505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6506 if (!SWIG_IsOK(res1)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_set" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6508 }
6509 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6510 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
6511 if (!SWIG_IsOK(res2)) {
6512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PaneInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
6513 }
6514 arg2 = reinterpret_cast< wxRect * >(argp2);
6515 if (arg1) (arg1)->rect = *arg2;
6516
6517 resultobj = SWIG_Py_Void();
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 SWIGINTERN PyObject *_wrap_PaneInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6525 PyObject *resultobj = 0;
6526 wxPaneInfo *arg1 = (wxPaneInfo *) 0 ;
6527 wxRect *result = 0 ;
6528 void *argp1 = 0 ;
6529 int res1 = 0 ;
6530 PyObject *swig_obj[1] ;
6531
6532 if (!args) SWIG_fail;
6533 swig_obj[0] = args;
6534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6535 if (!SWIG_IsOK(res1)) {
6536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneInfo_rect_get" "', expected argument " "1"" of type '" "wxPaneInfo *""'");
6537 }
6538 arg1 = reinterpret_cast< wxPaneInfo * >(argp1);
6539 result = (wxRect *)& ((arg1)->rect);
6540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 SWIGINTERN PyObject *PaneInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6548 PyObject *obj;
6549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneInfo, SWIG_NewClientData(obj));
6551 return SWIG_Py_Void();
6552 }
6553
6554 SWIGINTERN PyObject *PaneInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6555 return SWIG_Python_InitShadowInstance(args);
6556 }
6557
6558 SWIGINTERN PyObject *_wrap_new_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj = 0;
6560 wxWindow *arg1 = (wxWindow *) NULL ;
6561 int arg2 = (int) wxAUI_MGR_DEFAULT ;
6562 wxFrameManager *result = 0 ;
6563 void *argp1 = 0 ;
6564 int res1 = 0 ;
6565 int val2 ;
6566 int ecode2 = 0 ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 char * kwnames[] = {
6570 (char *) "managed_wnd",(char *) "flags", NULL
6571 };
6572
6573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FrameManager",kwnames,&obj0,&obj1)) SWIG_fail;
6574 if (obj0) {
6575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6576 if (!SWIG_IsOK(res1)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxWindow *""'");
6578 }
6579 arg1 = reinterpret_cast< wxWindow * >(argp1);
6580 }
6581 if (obj1) {
6582 ecode2 = SWIG_AsVal_int(obj1, &val2);
6583 if (!SWIG_IsOK(ecode2)) {
6584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FrameManager" "', expected argument " "2"" of type '" "int""'");
6585 }
6586 arg2 = static_cast< int >(val2);
6587 }
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 result = (wxFrameManager *)new wxFrameManager(arg1,arg2);
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManager, SWIG_POINTER_NEW | 0 );
6595 return resultobj;
6596 fail:
6597 return NULL;
6598 }
6599
6600
6601 SWIGINTERN PyObject *_wrap_delete_FrameManager(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6602 PyObject *resultobj = 0;
6603 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6604 void *argp1 = 0 ;
6605 int res1 = 0 ;
6606 PyObject *swig_obj[1] ;
6607
6608 if (!args) SWIG_fail;
6609 swig_obj[0] = args;
6610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, SWIG_POINTER_DISOWN | 0 );
6611 if (!SWIG_IsOK(res1)) {
6612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FrameManager" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6613 }
6614 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 delete arg1;
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 resultobj = SWIG_Py_Void();
6623 return resultobj;
6624 fail:
6625 return NULL;
6626 }
6627
6628
6629 SWIGINTERN PyObject *_wrap_FrameManager_UnInit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6630 PyObject *resultobj = 0;
6631 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6632 void *argp1 = 0 ;
6633 int res1 = 0 ;
6634 PyObject *swig_obj[1] ;
6635
6636 if (!args) SWIG_fail;
6637 swig_obj[0] = args;
6638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6639 if (!SWIG_IsOK(res1)) {
6640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_UnInit" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6641 }
6642 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 (arg1)->UnInit();
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = SWIG_Py_Void();
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 SWIGINTERN PyObject *_wrap_FrameManager_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj = 0;
6658 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6659 int arg2 ;
6660 void *argp1 = 0 ;
6661 int res1 = 0 ;
6662 int val2 ;
6663 int ecode2 = 0 ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 char * kwnames[] = {
6667 (char *) "self",(char *) "flags", NULL
6668 };
6669
6670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
6671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6672 if (!SWIG_IsOK(res1)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetFlags" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6674 }
6675 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6676 ecode2 = SWIG_AsVal_int(obj1, &val2);
6677 if (!SWIG_IsOK(ecode2)) {
6678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManager_SetFlags" "', expected argument " "2"" of type '" "int""'");
6679 }
6680 arg2 = static_cast< int >(val2);
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 (arg1)->SetFlags(arg2);
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = SWIG_Py_Void();
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 SWIGINTERN PyObject *_wrap_FrameManager_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6695 PyObject *resultobj = 0;
6696 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6697 int result;
6698 void *argp1 = 0 ;
6699 int res1 = 0 ;
6700 PyObject *swig_obj[1] ;
6701
6702 if (!args) SWIG_fail;
6703 swig_obj[0] = args;
6704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6705 if (!SWIG_IsOK(res1)) {
6706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFlags" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6707 }
6708 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (int)((wxFrameManager const *)arg1)->GetFlags();
6712 wxPyEndAllowThreads(__tstate);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 resultobj = SWIG_From_int(static_cast< int >(result));
6716 return resultobj;
6717 fail:
6718 return NULL;
6719 }
6720
6721
6722 SWIGINTERN PyObject *_wrap_FrameManager_SetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj = 0;
6724 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6725 wxWindow *arg2 = (wxWindow *) 0 ;
6726 void *argp1 = 0 ;
6727 int res1 = 0 ;
6728 void *argp2 = 0 ;
6729 int res2 = 0 ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 char * kwnames[] = {
6733 (char *) "self",(char *) "managed_wnd", NULL
6734 };
6735
6736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetManagedWindow",kwnames,&obj0,&obj1)) SWIG_fail;
6737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6738 if (!SWIG_IsOK(res1)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6740 }
6741 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6742 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6743 if (!SWIG_IsOK(res2)) {
6744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetManagedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
6745 }
6746 arg2 = reinterpret_cast< wxWindow * >(argp2);
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 (arg1)->SetManagedWindow(arg2);
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = SWIG_Py_Void();
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 SWIGINTERN PyObject *_wrap_FrameManager_GetManagedWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6761 PyObject *resultobj = 0;
6762 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6763 wxWindow *result = 0 ;
6764 void *argp1 = 0 ;
6765 int res1 = 0 ;
6766 PyObject *swig_obj[1] ;
6767
6768 if (!args) SWIG_fail;
6769 swig_obj[0] = args;
6770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6771 if (!SWIG_IsOK(res1)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetManagedWindow" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6773 }
6774 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxWindow *)((wxFrameManager const *)arg1)->GetManagedWindow();
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782 resultobj = wxPyMake_wxObject(result, 0);
6783 }
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 SWIGINTERN PyObject *_wrap_FrameManager_SetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = 0;
6792 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6793 wxDockArt *arg2 = (wxDockArt *) 0 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 int res2 = 0 ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char * kwnames[] = {
6800 (char *) "self",(char *) "art_provider", NULL
6801 };
6802
6803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetArtProvider",kwnames,&obj0,&obj1)) SWIG_fail;
6804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6807 }
6808 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6809 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
6810 if (!SWIG_IsOK(res2)) {
6811 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetArtProvider" "', expected argument " "2"" of type '" "wxDockArt *""'");
6812 }
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->SetArtProvider(arg2);
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_Py_Void();
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 SWIGINTERN PyObject *_wrap_FrameManager_GetArtProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6827 PyObject *resultobj = 0;
6828 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6829 wxDockArt *result = 0 ;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 PyObject *swig_obj[1] ;
6833
6834 if (!args) SWIG_fail;
6835 swig_obj[0] = args;
6836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6837 if (!SWIG_IsOK(res1)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetArtProvider" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6839 }
6840 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (wxDockArt *)((wxFrameManager const *)arg1)->GetArtProvider();
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockArt, 0 | 0 );
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByWidget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj = 0;
6856 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6857 wxWindow *arg2 = (wxWindow *) 0 ;
6858 wxPaneInfo *result = 0 ;
6859 void *argp1 = 0 ;
6860 int res1 = 0 ;
6861 void *argp2 = 0 ;
6862 int res2 = 0 ;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 char * kwnames[] = {
6866 (char *) "self",(char *) "window", NULL
6867 };
6868
6869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByWidget",kwnames,&obj0,&obj1)) SWIG_fail;
6870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6871 if (!SWIG_IsOK(res1)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6873 }
6874 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6875 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6876 if (!SWIG_IsOK(res2)) {
6877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__GetPaneByWidget" "', expected argument " "2"" of type '" "wxWindow *""'");
6878 }
6879 arg2 = reinterpret_cast< wxWindow * >(argp2);
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 {
6883 wxPaneInfo &_result_ref = (arg1)->GetPane(arg2);
6884 result = (wxPaneInfo *) &_result_ref;
6885 }
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6890 return resultobj;
6891 fail:
6892 return NULL;
6893 }
6894
6895
6896 SWIGINTERN PyObject *_wrap_FrameManager__GetPaneByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj = 0;
6898 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6899 wxString *arg2 = 0 ;
6900 wxPaneInfo *result = 0 ;
6901 void *argp1 = 0 ;
6902 int res1 = 0 ;
6903 bool temp2 = false ;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 char * kwnames[] = {
6907 (char *) "self",(char *) "name", NULL
6908 };
6909
6910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager__GetPaneByName",kwnames,&obj0,&obj1)) SWIG_fail;
6911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6912 if (!SWIG_IsOK(res1)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__GetPaneByName" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6914 }
6915 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6916 {
6917 arg2 = wxString_in_helper(obj1);
6918 if (arg2 == NULL) SWIG_fail;
6919 temp2 = true;
6920 }
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 {
6924 wxPaneInfo &_result_ref = (arg1)->GetPane((wxString const &)*arg2);
6925 result = (wxPaneInfo *) &_result_ref;
6926 }
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
6931 {
6932 if (temp2)
6933 delete arg2;
6934 }
6935 return resultobj;
6936 fail:
6937 {
6938 if (temp2)
6939 delete arg2;
6940 }
6941 return NULL;
6942 }
6943
6944
6945 SWIGINTERN PyObject *_wrap_FrameManager_GetAllPanes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6946 PyObject *resultobj = 0;
6947 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6948 wxPaneInfoArray *result = 0 ;
6949 void *argp1 = 0 ;
6950 int res1 = 0 ;
6951 PyObject *swig_obj[1] ;
6952
6953 if (!args) SWIG_fail;
6954 swig_obj[0] = args;
6955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6956 if (!SWIG_IsOK(res1)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetAllPanes" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6958 }
6959 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 {
6963 wxPaneInfoArray &_result_ref = (arg1)->GetAllPanes();
6964 result = (wxPaneInfoArray *) &_result_ref;
6965 }
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 {
6970 resultobj = PyList_New(0);
6971 for (size_t i=0; i < result->GetCount(); i++) {
6972 PyObject* pane_obj = SWIG_NewPointerObj((void*)(&result->Item(i)), SWIGTYPE_p_wxPaneInfo, 0);
6973 PyList_Append(resultobj, pane_obj);
6974 }
6975 }
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 SWIGINTERN PyObject *_wrap_FrameManager__AddPane1(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj = 0;
6984 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6985 wxWindow *arg2 = (wxWindow *) 0 ;
6986 wxPaneInfo *arg3 = 0 ;
6987 bool result;
6988 void *argp1 = 0 ;
6989 int res1 = 0 ;
6990 void *argp2 = 0 ;
6991 int res2 = 0 ;
6992 void *argp3 = 0 ;
6993 int res3 = 0 ;
6994 PyObject * obj0 = 0 ;
6995 PyObject * obj1 = 0 ;
6996 PyObject * obj2 = 0 ;
6997 char * kwnames[] = {
6998 (char *) "self",(char *) "window",(char *) "pane_info", NULL
6999 };
7000
7001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FrameManager__AddPane1",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7003 if (!SWIG_IsOK(res1)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane1" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7005 }
7006 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7007 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7008 if (!SWIG_IsOK(res2)) {
7009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane1" "', expected argument " "2"" of type '" "wxWindow *""'");
7010 }
7011 arg2 = reinterpret_cast< wxWindow * >(argp2);
7012 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7013 if (!SWIG_IsOK(res3)) {
7014 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7015 }
7016 if (!argp3) {
7017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager__AddPane1" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7018 }
7019 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3);
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 {
7027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7028 }
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 SWIGINTERN PyObject *_wrap_FrameManager_AddPaneAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj = 0;
7037 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7038 wxWindow *arg2 = (wxWindow *) 0 ;
7039 wxPaneInfo *arg3 = 0 ;
7040 wxPoint *arg4 = 0 ;
7041 bool result;
7042 void *argp1 = 0 ;
7043 int res1 = 0 ;
7044 void *argp2 = 0 ;
7045 int res2 = 0 ;
7046 void *argp3 = 0 ;
7047 int res3 = 0 ;
7048 wxPoint temp4 ;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 PyObject * obj2 = 0 ;
7052 PyObject * obj3 = 0 ;
7053 char * kwnames[] = {
7054 (char *) "self",(char *) "window",(char *) "pane_info",(char *) "drop_pos", NULL
7055 };
7056
7057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_AddPaneAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7059 if (!SWIG_IsOK(res1)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7061 }
7062 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7063 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7064 if (!SWIG_IsOK(res2)) {
7065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "2"" of type '" "wxWindow *""'");
7066 }
7067 arg2 = reinterpret_cast< wxWindow * >(argp2);
7068 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7069 if (!SWIG_IsOK(res3)) {
7070 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7071 }
7072 if (!argp3) {
7073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_AddPaneAtPos" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7074 }
7075 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7076 {
7077 arg4 = &temp4;
7078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7079 }
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 result = (bool)(arg1)->AddPane(arg2,(wxPaneInfo const &)*arg3,(wxPoint const &)*arg4);
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 {
7087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7088 }
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 SWIGINTERN PyObject *_wrap_FrameManager__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7096 PyObject *resultobj = 0;
7097 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7098 wxWindow *arg2 = (wxWindow *) 0 ;
7099 int arg3 = (int) wxLEFT ;
7100 wxString const &arg4_defvalue = wxEmptyString ;
7101 wxString *arg4 = (wxString *) &arg4_defvalue ;
7102 bool result;
7103 void *argp1 = 0 ;
7104 int res1 = 0 ;
7105 void *argp2 = 0 ;
7106 int res2 = 0 ;
7107 int val3 ;
7108 int ecode3 = 0 ;
7109 bool temp4 = false ;
7110 PyObject * obj0 = 0 ;
7111 PyObject * obj1 = 0 ;
7112 PyObject * obj2 = 0 ;
7113 PyObject * obj3 = 0 ;
7114 char * kwnames[] = {
7115 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7116 };
7117
7118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7120 if (!SWIG_IsOK(res1)) {
7121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7122 }
7123 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7125 if (!SWIG_IsOK(res2)) {
7126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7127 }
7128 arg2 = reinterpret_cast< wxWindow * >(argp2);
7129 if (obj2) {
7130 ecode3 = SWIG_AsVal_int(obj2, &val3);
7131 if (!SWIG_IsOK(ecode3)) {
7132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7133 }
7134 arg3 = static_cast< int >(val3);
7135 }
7136 if (obj3) {
7137 {
7138 arg4 = wxString_in_helper(obj3);
7139 if (arg4 == NULL) SWIG_fail;
7140 temp4 = true;
7141 }
7142 }
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 {
7150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7151 }
7152 {
7153 if (temp4)
7154 delete arg4;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp4)
7160 delete arg4;
7161 }
7162 return NULL;
7163 }
7164
7165
7166 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj = 0;
7168 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7169 wxWindow *arg2 = (wxWindow *) 0 ;
7170 wxPaneInfo *arg3 = 0 ;
7171 int arg4 = (int) wxAUI_INSERT_PANE ;
7172 bool result;
7173 void *argp1 = 0 ;
7174 int res1 = 0 ;
7175 void *argp2 = 0 ;
7176 int res2 = 0 ;
7177 void *argp3 = 0 ;
7178 int res3 = 0 ;
7179 int val4 ;
7180 int ecode4 = 0 ;
7181 PyObject * obj0 = 0 ;
7182 PyObject * obj1 = 0 ;
7183 PyObject * obj2 = 0 ;
7184 PyObject * obj3 = 0 ;
7185 char * kwnames[] = {
7186 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7187 };
7188
7189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7191 if (!SWIG_IsOK(res1)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7193 }
7194 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7196 if (!SWIG_IsOK(res2)) {
7197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7198 }
7199 arg2 = reinterpret_cast< wxWindow * >(argp2);
7200 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7201 if (!SWIG_IsOK(res3)) {
7202 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7203 }
7204 if (!argp3) {
7205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7206 }
7207 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7208 if (obj3) {
7209 ecode4 = SWIG_AsVal_int(obj3, &val4);
7210 if (!SWIG_IsOK(ecode4)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7212 }
7213 arg4 = static_cast< int >(val4);
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 {
7222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7223 }
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj = 0;
7232 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7233 wxWindow *arg2 = (wxWindow *) 0 ;
7234 bool result;
7235 void *argp1 = 0 ;
7236 int res1 = 0 ;
7237 void *argp2 = 0 ;
7238 int res2 = 0 ;
7239 PyObject * obj0 = 0 ;
7240 PyObject * obj1 = 0 ;
7241 char * kwnames[] = {
7242 (char *) "self",(char *) "window", NULL
7243 };
7244
7245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7247 if (!SWIG_IsOK(res1)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7249 }
7250 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7252 if (!SWIG_IsOK(res2)) {
7253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7254 }
7255 arg2 = reinterpret_cast< wxWindow * >(argp2);
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (bool)(arg1)->DetachPane(arg2);
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 {
7263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7264 }
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7272 PyObject *resultobj = 0;
7273 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7274 wxString result;
7275 void *argp1 = 0 ;
7276 int res1 = 0 ;
7277 PyObject *swig_obj[1] ;
7278
7279 if (!args) SWIG_fail;
7280 swig_obj[0] = args;
7281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7282 if (!SWIG_IsOK(res1)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7284 }
7285 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7286 {
7287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7288 result = (arg1)->SavePerspective();
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 {
7293 #if wxUSE_UNICODE
7294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7295 #else
7296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7297 #endif
7298 }
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj = 0;
7307 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7308 wxString *arg2 = 0 ;
7309 bool arg3 = (bool) true ;
7310 bool result;
7311 void *argp1 = 0 ;
7312 int res1 = 0 ;
7313 bool temp2 = false ;
7314 bool val3 ;
7315 int ecode3 = 0 ;
7316 PyObject * obj0 = 0 ;
7317 PyObject * obj1 = 0 ;
7318 PyObject * obj2 = 0 ;
7319 char * kwnames[] = {
7320 (char *) "self",(char *) "perspective",(char *) "update", NULL
7321 };
7322
7323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7325 if (!SWIG_IsOK(res1)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7327 }
7328 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7329 {
7330 arg2 = wxString_in_helper(obj1);
7331 if (arg2 == NULL) SWIG_fail;
7332 temp2 = true;
7333 }
7334 if (obj2) {
7335 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7336 if (!SWIG_IsOK(ecode3)) {
7337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7338 }
7339 arg3 = static_cast< bool >(val3);
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 {
7348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7349 }
7350 {
7351 if (temp2)
7352 delete arg2;
7353 }
7354 return resultobj;
7355 fail:
7356 {
7357 if (temp2)
7358 delete arg2;
7359 }
7360 return NULL;
7361 }
7362
7363
7364 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7365 PyObject *resultobj = 0;
7366 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7367 void *argp1 = 0 ;
7368 int res1 = 0 ;
7369 PyObject *swig_obj[1] ;
7370
7371 if (!args) SWIG_fail;
7372 swig_obj[0] = args;
7373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7374 if (!SWIG_IsOK(res1)) {
7375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7376 }
7377 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 (arg1)->Update();
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = SWIG_Py_Void();
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 SWIGINTERN PyObject *_wrap_FrameManager_DrawHintRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj = 0;
7393 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7394 wxWindow *arg2 = (wxWindow *) 0 ;
7395 wxPoint *arg3 = 0 ;
7396 wxPoint *arg4 = 0 ;
7397 void *argp1 = 0 ;
7398 int res1 = 0 ;
7399 void *argp2 = 0 ;
7400 int res2 = 0 ;
7401 wxPoint temp3 ;
7402 wxPoint temp4 ;
7403 PyObject * obj0 = 0 ;
7404 PyObject * obj1 = 0 ;
7405 PyObject * obj2 = 0 ;
7406 PyObject * obj3 = 0 ;
7407 char * kwnames[] = {
7408 (char *) "self",(char *) "pane_window",(char *) "pt",(char *) "offset", NULL
7409 };
7410
7411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FrameManager_DrawHintRect",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7413 if (!SWIG_IsOK(res1)) {
7414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DrawHintRect" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7415 }
7416 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7417 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7418 if (!SWIG_IsOK(res2)) {
7419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DrawHintRect" "', expected argument " "2"" of type '" "wxWindow *""'");
7420 }
7421 arg2 = reinterpret_cast< wxWindow * >(argp2);
7422 {
7423 arg3 = &temp3;
7424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7425 }
7426 {
7427 arg4 = &temp4;
7428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7429 }
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->DrawHintRect(arg2,(wxPoint const &)*arg3,(wxPoint const &)*arg4);
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_Py_Void();
7437 return resultobj;
7438 fail:
7439 return NULL;
7440 }
7441
7442
7443 SWIGINTERN PyObject *_wrap_FrameManager_ShowHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7446 wxRect *arg2 = 0 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 wxRect temp2 ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 char * kwnames[] = {
7453 (char *) "self",(char *) "rect", NULL
7454 };
7455
7456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_ShowHint",kwnames,&obj0,&obj1)) SWIG_fail;
7457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7458 if (!SWIG_IsOK(res1)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_ShowHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7460 }
7461 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7462 {
7463 arg2 = &temp2;
7464 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->ShowHint((wxRect const &)*arg2);
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_Py_Void();
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 SWIGINTERN PyObject *_wrap_FrameManager_HideHint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7480 PyObject *resultobj = 0;
7481 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7482 void *argp1 = 0 ;
7483 int res1 = 0 ;
7484 PyObject *swig_obj[1] ;
7485
7486 if (!args) SWIG_fail;
7487 swig_obj[0] = args;
7488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7489 if (!SWIG_IsOK(res1)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_HideHint" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7491 }
7492 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 (arg1)->HideHint();
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 resultobj = SWIG_Py_Void();
7500 return resultobj;
7501 fail:
7502 return NULL;
7503 }
7504
7505
7506 SWIGINTERN PyObject *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7507 PyObject *resultobj = 0;
7508 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7509 wxFrameManagerEvent *arg2 = 0 ;
7510 void *argp1 = 0 ;
7511 int res1 = 0 ;
7512 void *argp2 = 0 ;
7513 int res2 = 0 ;
7514 PyObject * obj0 = 0 ;
7515 PyObject * obj1 = 0 ;
7516 char * kwnames[] = {
7517 (char *) "self",(char *) "evt", NULL
7518 };
7519
7520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
7521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7522 if (!SWIG_IsOK(res1)) {
7523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7524 }
7525 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7526 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7527 if (!SWIG_IsOK(res2)) {
7528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7529 }
7530 if (!argp2) {
7531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7532 }
7533 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 (arg1)->OnRender(*arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_Py_Void();
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj = 0;
7549 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7550 wxFrameManagerEvent *arg2 = 0 ;
7551 void *argp1 = 0 ;
7552 int res1 = 0 ;
7553 void *argp2 = 0 ;
7554 int res2 = 0 ;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 char * kwnames[] = {
7558 (char *) "self",(char *) "evt", NULL
7559 };
7560
7561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
7562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7563 if (!SWIG_IsOK(res1)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7565 }
7566 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7568 if (!SWIG_IsOK(res2)) {
7569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7570 }
7571 if (!argp2) {
7572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7573 }
7574 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 (arg1)->OnPaneButton(*arg2);
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 resultobj = SWIG_Py_Void();
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7589 PyObject *obj;
7590 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7591 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7592 return SWIG_Py_Void();
7593 }
7594
7595 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7596 return SWIG_Python_InitShadowInstance(args);
7597 }
7598
7599 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj = 0;
7601 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7602 wxFrameManagerEvent *result = 0 ;
7603 int val1 ;
7604 int ecode1 = 0 ;
7605 PyObject * obj0 = 0 ;
7606 char * kwnames[] = {
7607 (char *) "type", NULL
7608 };
7609
7610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7611 if (obj0) {
7612 ecode1 = SWIG_AsVal_int(obj0, &val1);
7613 if (!SWIG_IsOK(ecode1)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7615 }
7616 arg1 = static_cast< wxEventType >(val1);
7617 }
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7632 PyObject *resultobj = 0;
7633 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7634 wxEvent *result = 0 ;
7635 void *argp1 = 0 ;
7636 int res1 = 0 ;
7637 PyObject *swig_obj[1] ;
7638
7639 if (!args) SWIG_fail;
7640 swig_obj[0] = args;
7641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7642 if (!SWIG_IsOK(res1)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7644 }
7645 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7653 return resultobj;
7654 fail:
7655 return NULL;
7656 }
7657
7658
7659 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7660 PyObject *resultobj = 0;
7661 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7662 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7663 void *argp1 = 0 ;
7664 int res1 = 0 ;
7665 void *argp2 = 0 ;
7666 int res2 = 0 ;
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 char * kwnames[] = {
7670 (char *) "self",(char *) "p", NULL
7671 };
7672
7673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7675 if (!SWIG_IsOK(res1)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7677 }
7678 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7680 if (!SWIG_IsOK(res2)) {
7681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7682 }
7683 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->SetPane(arg2);
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 resultobj = SWIG_Py_Void();
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj = 0;
7699 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7700 int arg2 ;
7701 void *argp1 = 0 ;
7702 int res1 = 0 ;
7703 int val2 ;
7704 int ecode2 = 0 ;
7705 PyObject * obj0 = 0 ;
7706 PyObject * obj1 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "b", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7715 }
7716 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7717 ecode2 = SWIG_AsVal_int(obj1, &val2);
7718 if (!SWIG_IsOK(ecode2)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7720 }
7721 arg2 = static_cast< int >(val2);
7722 {
7723 PyThreadState* __tstate = wxPyBeginAllowThreads();
7724 (arg1)->SetButton(arg2);
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
7728 resultobj = SWIG_Py_Void();
7729 return resultobj;
7730 fail:
7731 return NULL;
7732 }
7733
7734
7735 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7736 PyObject *resultobj = 0;
7737 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7738 wxDC *arg2 = (wxDC *) 0 ;
7739 void *argp1 = 0 ;
7740 int res1 = 0 ;
7741 void *argp2 = 0 ;
7742 int res2 = 0 ;
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 char * kwnames[] = {
7746 (char *) "self",(char *) "pdc", NULL
7747 };
7748
7749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
7750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7751 if (!SWIG_IsOK(res1)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7753 }
7754 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
7756 if (!SWIG_IsOK(res2)) {
7757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
7758 }
7759 arg2 = reinterpret_cast< wxDC * >(argp2);
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 (arg1)->SetDC(arg2);
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_Py_Void();
7767 return resultobj;
7768 fail:
7769 return NULL;
7770 }
7771
7772
7773 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7774 PyObject *resultobj = 0;
7775 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7776 wxPaneInfo *result = 0 ;
7777 void *argp1 = 0 ;
7778 int res1 = 0 ;
7779 PyObject *swig_obj[1] ;
7780
7781 if (!args) SWIG_fail;
7782 swig_obj[0] = args;
7783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7784 if (!SWIG_IsOK(res1)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7786 }
7787 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 result = (wxPaneInfo *)(arg1)->GetPane();
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7802 PyObject *resultobj = 0;
7803 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7804 int result;
7805 void *argp1 = 0 ;
7806 int res1 = 0 ;
7807 PyObject *swig_obj[1] ;
7808
7809 if (!args) SWIG_fail;
7810 swig_obj[0] = args;
7811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7812 if (!SWIG_IsOK(res1)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7814 }
7815 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (int)(arg1)->GetButton();
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = SWIG_From_int(static_cast< int >(result));
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7830 PyObject *resultobj = 0;
7831 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7832 wxDC *result = 0 ;
7833 void *argp1 = 0 ;
7834 int res1 = 0 ;
7835 PyObject *swig_obj[1] ;
7836
7837 if (!args) SWIG_fail;
7838 swig_obj[0] = args;
7839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7840 if (!SWIG_IsOK(res1)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7842 }
7843 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (wxDC *)(arg1)->GetDC();
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 {
7851 resultobj = wxPyMake_wxObject(result, (bool)0);
7852 }
7853 return resultobj;
7854 fail:
7855 return NULL;
7856 }
7857
7858
7859 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7860 PyObject *resultobj = 0;
7861 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7862 bool arg2 = (bool) true ;
7863 void *argp1 = 0 ;
7864 int res1 = 0 ;
7865 bool val2 ;
7866 int ecode2 = 0 ;
7867 PyObject * obj0 = 0 ;
7868 PyObject * obj1 = 0 ;
7869 char * kwnames[] = {
7870 (char *) "self",(char *) "veto", NULL
7871 };
7872
7873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
7874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7875 if (!SWIG_IsOK(res1)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7877 }
7878 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7879 if (obj1) {
7880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7881 if (!SWIG_IsOK(ecode2)) {
7882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
7883 }
7884 arg2 = static_cast< bool >(val2);
7885 }
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 (arg1)->Veto(arg2);
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_Py_Void();
7893 return resultobj;
7894 fail:
7895 return NULL;
7896 }
7897
7898
7899 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7900 PyObject *resultobj = 0;
7901 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7902 bool result;
7903 void *argp1 = 0 ;
7904 int res1 = 0 ;
7905 PyObject *swig_obj[1] ;
7906
7907 if (!args) SWIG_fail;
7908 swig_obj[0] = args;
7909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7912 }
7913 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 {
7921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7922 }
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj = 0;
7931 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7932 bool arg2 ;
7933 void *argp1 = 0 ;
7934 int res1 = 0 ;
7935 bool val2 ;
7936 int ecode2 = 0 ;
7937 PyObject * obj0 = 0 ;
7938 PyObject * obj1 = 0 ;
7939 char * kwnames[] = {
7940 (char *) "self",(char *) "can_veto", NULL
7941 };
7942
7943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
7944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7945 if (!SWIG_IsOK(res1)) {
7946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7947 }
7948 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7949 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7950 if (!SWIG_IsOK(ecode2)) {
7951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
7952 }
7953 arg2 = static_cast< bool >(val2);
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 (arg1)->SetCanVeto(arg2);
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 resultobj = SWIG_Py_Void();
7961 return resultobj;
7962 fail:
7963 return NULL;
7964 }
7965
7966
7967 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7968 PyObject *resultobj = 0;
7969 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7970 bool result;
7971 void *argp1 = 0 ;
7972 int res1 = 0 ;
7973 PyObject *swig_obj[1] ;
7974
7975 if (!args) SWIG_fail;
7976 swig_obj[0] = args;
7977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7978 if (!SWIG_IsOK(res1)) {
7979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7980 }
7981 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 {
7989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7990 }
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7998 PyObject *resultobj = 0;
7999 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8000 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8001 void *argp1 = 0 ;
8002 int res1 = 0 ;
8003 void *argp2 = 0 ;
8004 int res2 = 0 ;
8005 PyObject *swig_obj[2] ;
8006
8007 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
8008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8009 if (!SWIG_IsOK(res1)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8011 }
8012 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8013 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8014 if (!SWIG_IsOK(res2)) {
8015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8016 }
8017 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8018 if (arg1) (arg1)->pane = arg2;
8019
8020 resultobj = SWIG_Py_Void();
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8028 PyObject *resultobj = 0;
8029 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8030 wxPaneInfo *result = 0 ;
8031 void *argp1 = 0 ;
8032 int res1 = 0 ;
8033 PyObject *swig_obj[1] ;
8034
8035 if (!args) SWIG_fail;
8036 swig_obj[0] = args;
8037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8038 if (!SWIG_IsOK(res1)) {
8039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8040 }
8041 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8042 result = (wxPaneInfo *) ((arg1)->pane);
8043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8044 return resultobj;
8045 fail:
8046 return NULL;
8047 }
8048
8049
8050 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *resultobj = 0;
8052 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8053 int arg2 ;
8054 void *argp1 = 0 ;
8055 int res1 = 0 ;
8056 int val2 ;
8057 int ecode2 = 0 ;
8058 PyObject *swig_obj[2] ;
8059
8060 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
8061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8062 if (!SWIG_IsOK(res1)) {
8063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8064 }
8065 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8066 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8067 if (!SWIG_IsOK(ecode2)) {
8068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
8069 }
8070 arg2 = static_cast< int >(val2);
8071 if (arg1) (arg1)->button = arg2;
8072
8073 resultobj = SWIG_Py_Void();
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8081 PyObject *resultobj = 0;
8082 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8083 int result;
8084 void *argp1 = 0 ;
8085 int res1 = 0 ;
8086 PyObject *swig_obj[1] ;
8087
8088 if (!args) SWIG_fail;
8089 swig_obj[0] = args;
8090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8091 if (!SWIG_IsOK(res1)) {
8092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8093 }
8094 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8095 result = (int) ((arg1)->button);
8096 resultobj = SWIG_From_int(static_cast< int >(result));
8097 return resultobj;
8098 fail:
8099 return NULL;
8100 }
8101
8102
8103 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8104 PyObject *resultobj = 0;
8105 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8106 bool arg2 ;
8107 void *argp1 = 0 ;
8108 int res1 = 0 ;
8109 bool val2 ;
8110 int ecode2 = 0 ;
8111 PyObject *swig_obj[2] ;
8112
8113 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
8114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8115 if (!SWIG_IsOK(res1)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8117 }
8118 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8119 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8120 if (!SWIG_IsOK(ecode2)) {
8121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8122 }
8123 arg2 = static_cast< bool >(val2);
8124 if (arg1) (arg1)->veto_flag = arg2;
8125
8126 resultobj = SWIG_Py_Void();
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8134 PyObject *resultobj = 0;
8135 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8136 bool result;
8137 void *argp1 = 0 ;
8138 int res1 = 0 ;
8139 PyObject *swig_obj[1] ;
8140
8141 if (!args) SWIG_fail;
8142 swig_obj[0] = args;
8143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8144 if (!SWIG_IsOK(res1)) {
8145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8146 }
8147 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8148 result = (bool) ((arg1)->veto_flag);
8149 {
8150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8151 }
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8159 PyObject *resultobj = 0;
8160 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8161 bool arg2 ;
8162 void *argp1 = 0 ;
8163 int res1 = 0 ;
8164 bool val2 ;
8165 int ecode2 = 0 ;
8166 PyObject *swig_obj[2] ;
8167
8168 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
8169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8170 if (!SWIG_IsOK(res1)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8172 }
8173 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8174 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8175 if (!SWIG_IsOK(ecode2)) {
8176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8177 }
8178 arg2 = static_cast< bool >(val2);
8179 if (arg1) (arg1)->canveto_flag = arg2;
8180
8181 resultobj = SWIG_Py_Void();
8182 return resultobj;
8183 fail:
8184 return NULL;
8185 }
8186
8187
8188 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8189 PyObject *resultobj = 0;
8190 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8191 bool result;
8192 void *argp1 = 0 ;
8193 int res1 = 0 ;
8194 PyObject *swig_obj[1] ;
8195
8196 if (!args) SWIG_fail;
8197 swig_obj[0] = args;
8198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8199 if (!SWIG_IsOK(res1)) {
8200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8201 }
8202 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8203 result = (bool) ((arg1)->canveto_flag);
8204 {
8205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8206 }
8207 return resultobj;
8208 fail:
8209 return NULL;
8210 }
8211
8212
8213 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8214 PyObject *resultobj = 0;
8215 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8216 wxDC *arg2 = (wxDC *) 0 ;
8217 void *argp1 = 0 ;
8218 int res1 = 0 ;
8219 void *argp2 = 0 ;
8220 int res2 = 0 ;
8221 PyObject *swig_obj[2] ;
8222
8223 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8225 if (!SWIG_IsOK(res1)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8227 }
8228 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8229 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8230 if (!SWIG_IsOK(res2)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8232 }
8233 arg2 = reinterpret_cast< wxDC * >(argp2);
8234 if (arg1) (arg1)->dc = arg2;
8235
8236 resultobj = SWIG_Py_Void();
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8244 PyObject *resultobj = 0;
8245 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8246 wxDC *result = 0 ;
8247 void *argp1 = 0 ;
8248 int res1 = 0 ;
8249 PyObject *swig_obj[1] ;
8250
8251 if (!args) SWIG_fail;
8252 swig_obj[0] = args;
8253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8254 if (!SWIG_IsOK(res1)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8256 }
8257 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8258 result = (wxDC *) ((arg1)->dc);
8259 {
8260 resultobj = wxPyMake_wxObject(result, (bool)0);
8261 }
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8269 PyObject *obj;
8270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8271 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8272 return SWIG_Py_Void();
8273 }
8274
8275 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8276 return SWIG_Python_InitShadowInstance(args);
8277 }
8278
8279 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8280 PyObject *resultobj = 0;
8281 wxDockInfo *result = 0 ;
8282
8283 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = (wxDockInfo *)new wxDockInfo();
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8291 return resultobj;
8292 fail:
8293 return NULL;
8294 }
8295
8296
8297 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8298 PyObject *resultobj = 0;
8299 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8300 bool result;
8301 void *argp1 = 0 ;
8302 int res1 = 0 ;
8303 PyObject *swig_obj[1] ;
8304
8305 if (!args) SWIG_fail;
8306 swig_obj[0] = args;
8307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8308 if (!SWIG_IsOK(res1)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8310 }
8311 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 {
8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8320 }
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8328 PyObject *resultobj = 0;
8329 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8330 bool result;
8331 void *argp1 = 0 ;
8332 int res1 = 0 ;
8333 PyObject *swig_obj[1] ;
8334
8335 if (!args) SWIG_fail;
8336 swig_obj[0] = args;
8337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8338 if (!SWIG_IsOK(res1)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8340 }
8341 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 {
8349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8350 }
8351 return resultobj;
8352 fail:
8353 return NULL;
8354 }
8355
8356
8357 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8358 PyObject *resultobj = 0;
8359 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8360 bool result;
8361 void *argp1 = 0 ;
8362 int res1 = 0 ;
8363 PyObject *swig_obj[1] ;
8364
8365 if (!args) SWIG_fail;
8366 swig_obj[0] = args;
8367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8368 if (!SWIG_IsOK(res1)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8370 }
8371 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 {
8379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8380 }
8381 return resultobj;
8382 fail:
8383 return NULL;
8384 }
8385
8386
8387 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8388 PyObject *resultobj = 0;
8389 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8390 wxPaneInfoPtrArray arg2 ;
8391 void *argp1 = 0 ;
8392 int res1 = 0 ;
8393 void *argp2 ;
8394 int res2 = 0 ;
8395 PyObject *swig_obj[2] ;
8396
8397 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8399 if (!SWIG_IsOK(res1)) {
8400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8401 }
8402 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8403 {
8404 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8405 if (!SWIG_IsOK(res2)) {
8406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8407 }
8408 if (!argp2) {
8409 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8410 } else {
8411 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8412 arg2 = *temp;
8413 if (SWIG_IsNewObj(res2)) delete temp;
8414 }
8415 }
8416 if (arg1) (arg1)->panes = arg2;
8417
8418 resultobj = SWIG_Py_Void();
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8426 PyObject *resultobj = 0;
8427 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8428 wxPaneInfoPtrArray result;
8429 void *argp1 = 0 ;
8430 int res1 = 0 ;
8431 PyObject *swig_obj[1] ;
8432
8433 if (!args) SWIG_fail;
8434 swig_obj[0] = args;
8435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8438 }
8439 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8440 result = ((arg1)->panes);
8441 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8449 PyObject *resultobj = 0;
8450 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8451 wxRect *arg2 = (wxRect *) 0 ;
8452 void *argp1 = 0 ;
8453 int res1 = 0 ;
8454 void *argp2 = 0 ;
8455 int res2 = 0 ;
8456 PyObject *swig_obj[2] ;
8457
8458 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8462 }
8463 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8464 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8465 if (!SWIG_IsOK(res2)) {
8466 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8467 }
8468 arg2 = reinterpret_cast< wxRect * >(argp2);
8469 if (arg1) (arg1)->rect = *arg2;
8470
8471 resultobj = SWIG_Py_Void();
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8479 PyObject *resultobj = 0;
8480 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8481 wxRect *result = 0 ;
8482 void *argp1 = 0 ;
8483 int res1 = 0 ;
8484 PyObject *swig_obj[1] ;
8485
8486 if (!args) SWIG_fail;
8487 swig_obj[0] = args;
8488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8489 if (!SWIG_IsOK(res1)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8491 }
8492 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8493 result = (wxRect *)& ((arg1)->rect);
8494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *resultobj = 0;
8503 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8504 int arg2 ;
8505 void *argp1 = 0 ;
8506 int res1 = 0 ;
8507 int val2 ;
8508 int ecode2 = 0 ;
8509 PyObject *swig_obj[2] ;
8510
8511 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8513 if (!SWIG_IsOK(res1)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8515 }
8516 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8517 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8518 if (!SWIG_IsOK(ecode2)) {
8519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8520 }
8521 arg2 = static_cast< int >(val2);
8522 if (arg1) (arg1)->dock_direction = arg2;
8523
8524 resultobj = SWIG_Py_Void();
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8532 PyObject *resultobj = 0;
8533 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8534 int result;
8535 void *argp1 = 0 ;
8536 int res1 = 0 ;
8537 PyObject *swig_obj[1] ;
8538
8539 if (!args) SWIG_fail;
8540 swig_obj[0] = args;
8541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8542 if (!SWIG_IsOK(res1)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8544 }
8545 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8546 result = (int) ((arg1)->dock_direction);
8547 resultobj = SWIG_From_int(static_cast< int >(result));
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8555 PyObject *resultobj = 0;
8556 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8557 int arg2 ;
8558 void *argp1 = 0 ;
8559 int res1 = 0 ;
8560 int val2 ;
8561 int ecode2 = 0 ;
8562 PyObject *swig_obj[2] ;
8563
8564 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8566 if (!SWIG_IsOK(res1)) {
8567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8568 }
8569 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8570 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8571 if (!SWIG_IsOK(ecode2)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8573 }
8574 arg2 = static_cast< int >(val2);
8575 if (arg1) (arg1)->dock_layer = arg2;
8576
8577 resultobj = SWIG_Py_Void();
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8585 PyObject *resultobj = 0;
8586 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8587 int result;
8588 void *argp1 = 0 ;
8589 int res1 = 0 ;
8590 PyObject *swig_obj[1] ;
8591
8592 if (!args) SWIG_fail;
8593 swig_obj[0] = args;
8594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8595 if (!SWIG_IsOK(res1)) {
8596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8597 }
8598 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8599 result = (int) ((arg1)->dock_layer);
8600 resultobj = SWIG_From_int(static_cast< int >(result));
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8608 PyObject *resultobj = 0;
8609 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8610 int arg2 ;
8611 void *argp1 = 0 ;
8612 int res1 = 0 ;
8613 int val2 ;
8614 int ecode2 = 0 ;
8615 PyObject *swig_obj[2] ;
8616
8617 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8619 if (!SWIG_IsOK(res1)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8621 }
8622 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8623 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8624 if (!SWIG_IsOK(ecode2)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8626 }
8627 arg2 = static_cast< int >(val2);
8628 if (arg1) (arg1)->dock_row = arg2;
8629
8630 resultobj = SWIG_Py_Void();
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 PyObject *resultobj = 0;
8639 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8640 int result;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 PyObject *swig_obj[1] ;
8644
8645 if (!args) SWIG_fail;
8646 swig_obj[0] = args;
8647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8650 }
8651 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8652 result = (int) ((arg1)->dock_row);
8653 resultobj = SWIG_From_int(static_cast< int >(result));
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8661 PyObject *resultobj = 0;
8662 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8663 int arg2 ;
8664 void *argp1 = 0 ;
8665 int res1 = 0 ;
8666 int val2 ;
8667 int ecode2 = 0 ;
8668 PyObject *swig_obj[2] ;
8669
8670 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8672 if (!SWIG_IsOK(res1)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8674 }
8675 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8676 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8677 if (!SWIG_IsOK(ecode2)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8679 }
8680 arg2 = static_cast< int >(val2);
8681 if (arg1) (arg1)->size = arg2;
8682
8683 resultobj = SWIG_Py_Void();
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8691 PyObject *resultobj = 0;
8692 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8693 int result;
8694 void *argp1 = 0 ;
8695 int res1 = 0 ;
8696 PyObject *swig_obj[1] ;
8697
8698 if (!args) SWIG_fail;
8699 swig_obj[0] = args;
8700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8701 if (!SWIG_IsOK(res1)) {
8702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8703 }
8704 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8705 result = (int) ((arg1)->size);
8706 resultobj = SWIG_From_int(static_cast< int >(result));
8707 return resultobj;
8708 fail:
8709 return NULL;
8710 }
8711
8712
8713 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8714 PyObject *resultobj = 0;
8715 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8716 int arg2 ;
8717 void *argp1 = 0 ;
8718 int res1 = 0 ;
8719 int val2 ;
8720 int ecode2 = 0 ;
8721 PyObject *swig_obj[2] ;
8722
8723 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8727 }
8728 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8729 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8730 if (!SWIG_IsOK(ecode2)) {
8731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8732 }
8733 arg2 = static_cast< int >(val2);
8734 if (arg1) (arg1)->min_size = arg2;
8735
8736 resultobj = SWIG_Py_Void();
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8744 PyObject *resultobj = 0;
8745 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8746 int result;
8747 void *argp1 = 0 ;
8748 int res1 = 0 ;
8749 PyObject *swig_obj[1] ;
8750
8751 if (!args) SWIG_fail;
8752 swig_obj[0] = args;
8753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8754 if (!SWIG_IsOK(res1)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8756 }
8757 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8758 result = (int) ((arg1)->min_size);
8759 resultobj = SWIG_From_int(static_cast< int >(result));
8760 return resultobj;
8761 fail:
8762 return NULL;
8763 }
8764
8765
8766 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8767 PyObject *resultobj = 0;
8768 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8769 bool arg2 ;
8770 void *argp1 = 0 ;
8771 int res1 = 0 ;
8772 bool val2 ;
8773 int ecode2 = 0 ;
8774 PyObject *swig_obj[2] ;
8775
8776 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
8777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8778 if (!SWIG_IsOK(res1)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8780 }
8781 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8782 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8783 if (!SWIG_IsOK(ecode2)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
8785 }
8786 arg2 = static_cast< bool >(val2);
8787 if (arg1) (arg1)->resizable = arg2;
8788
8789 resultobj = SWIG_Py_Void();
8790 return resultobj;
8791 fail:
8792 return NULL;
8793 }
8794
8795
8796 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8797 PyObject *resultobj = 0;
8798 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8799 bool result;
8800 void *argp1 = 0 ;
8801 int res1 = 0 ;
8802 PyObject *swig_obj[1] ;
8803
8804 if (!args) SWIG_fail;
8805 swig_obj[0] = args;
8806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8809 }
8810 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8811 result = (bool) ((arg1)->resizable);
8812 {
8813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8814 }
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8822 PyObject *resultobj = 0;
8823 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8824 bool arg2 ;
8825 void *argp1 = 0 ;
8826 int res1 = 0 ;
8827 bool val2 ;
8828 int ecode2 = 0 ;
8829 PyObject *swig_obj[2] ;
8830
8831 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
8832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8833 if (!SWIG_IsOK(res1)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8835 }
8836 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8837 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8838 if (!SWIG_IsOK(ecode2)) {
8839 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
8840 }
8841 arg2 = static_cast< bool >(val2);
8842 if (arg1) (arg1)->toolbar = arg2;
8843
8844 resultobj = SWIG_Py_Void();
8845 return resultobj;
8846 fail:
8847 return NULL;
8848 }
8849
8850
8851 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8852 PyObject *resultobj = 0;
8853 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8854 bool result;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 PyObject *swig_obj[1] ;
8858
8859 if (!args) SWIG_fail;
8860 swig_obj[0] = args;
8861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8862 if (!SWIG_IsOK(res1)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8864 }
8865 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8866 result = (bool) ((arg1)->toolbar);
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8877 PyObject *resultobj = 0;
8878 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8879 bool arg2 ;
8880 void *argp1 = 0 ;
8881 int res1 = 0 ;
8882 bool val2 ;
8883 int ecode2 = 0 ;
8884 PyObject *swig_obj[2] ;
8885
8886 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
8887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8888 if (!SWIG_IsOK(res1)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8890 }
8891 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8892 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8893 if (!SWIG_IsOK(ecode2)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
8895 }
8896 arg2 = static_cast< bool >(val2);
8897 if (arg1) (arg1)->fixed = arg2;
8898
8899 resultobj = SWIG_Py_Void();
8900 return resultobj;
8901 fail:
8902 return NULL;
8903 }
8904
8905
8906 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8907 PyObject *resultobj = 0;
8908 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8909 bool result;
8910 void *argp1 = 0 ;
8911 int res1 = 0 ;
8912 PyObject *swig_obj[1] ;
8913
8914 if (!args) SWIG_fail;
8915 swig_obj[0] = args;
8916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8917 if (!SWIG_IsOK(res1)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8919 }
8920 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8921 result = (bool) ((arg1)->fixed);
8922 {
8923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8924 }
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8932 PyObject *obj;
8933 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8934 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
8935 return SWIG_Py_Void();
8936 }
8937
8938 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8939 return SWIG_Python_InitShadowInstance(args);
8940 }
8941
8942 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8943 PyObject *resultobj = 0;
8944 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8945 int arg2 ;
8946 void *argp1 = 0 ;
8947 int res1 = 0 ;
8948 int val2 ;
8949 int ecode2 = 0 ;
8950 PyObject *swig_obj[2] ;
8951
8952 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
8953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8954 if (!SWIG_IsOK(res1)) {
8955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8956 }
8957 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8958 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8959 if (!SWIG_IsOK(ecode2)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
8961 }
8962 arg2 = static_cast< int >(val2);
8963 if (arg1) (arg1)->type = arg2;
8964
8965 resultobj = SWIG_Py_Void();
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8973 PyObject *resultobj = 0;
8974 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8975 int result;
8976 void *argp1 = 0 ;
8977 int res1 = 0 ;
8978 PyObject *swig_obj[1] ;
8979
8980 if (!args) SWIG_fail;
8981 swig_obj[0] = args;
8982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8983 if (!SWIG_IsOK(res1)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8985 }
8986 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8987 result = (int) ((arg1)->type);
8988 resultobj = SWIG_From_int(static_cast< int >(result));
8989 return resultobj;
8990 fail:
8991 return NULL;
8992 }
8993
8994
8995 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8996 PyObject *resultobj = 0;
8997 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8998 int arg2 ;
8999 void *argp1 = 0 ;
9000 int res1 = 0 ;
9001 int val2 ;
9002 int ecode2 = 0 ;
9003 PyObject *swig_obj[2] ;
9004
9005 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
9006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9007 if (!SWIG_IsOK(res1)) {
9008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9009 }
9010 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9011 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9012 if (!SWIG_IsOK(ecode2)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
9014 }
9015 arg2 = static_cast< int >(val2);
9016 if (arg1) (arg1)->orientation = arg2;
9017
9018 resultobj = SWIG_Py_Void();
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9026 PyObject *resultobj = 0;
9027 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9028 int result;
9029 void *argp1 = 0 ;
9030 int res1 = 0 ;
9031 PyObject *swig_obj[1] ;
9032
9033 if (!args) SWIG_fail;
9034 swig_obj[0] = args;
9035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9036 if (!SWIG_IsOK(res1)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9038 }
9039 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9040 result = (int) ((arg1)->orientation);
9041 resultobj = SWIG_From_int(static_cast< int >(result));
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9049 PyObject *resultobj = 0;
9050 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9051 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
9052 void *argp1 = 0 ;
9053 int res1 = 0 ;
9054 void *argp2 = 0 ;
9055 int res2 = 0 ;
9056 PyObject *swig_obj[2] ;
9057
9058 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
9059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9060 if (!SWIG_IsOK(res1)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9062 }
9063 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9064 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
9065 if (!SWIG_IsOK(res2)) {
9066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
9067 }
9068 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
9069 if (arg1) (arg1)->dock = arg2;
9070
9071 resultobj = SWIG_Py_Void();
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9079 PyObject *resultobj = 0;
9080 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9081 wxDockInfo *result = 0 ;
9082 void *argp1 = 0 ;
9083 int res1 = 0 ;
9084 PyObject *swig_obj[1] ;
9085
9086 if (!args) SWIG_fail;
9087 swig_obj[0] = args;
9088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9089 if (!SWIG_IsOK(res1)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9091 }
9092 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9093 result = (wxDockInfo *) ((arg1)->dock);
9094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
9095 return resultobj;
9096 fail:
9097 return NULL;
9098 }
9099
9100
9101 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9102 PyObject *resultobj = 0;
9103 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9104 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
9105 void *argp1 = 0 ;
9106 int res1 = 0 ;
9107 void *argp2 = 0 ;
9108 int res2 = 0 ;
9109 PyObject *swig_obj[2] ;
9110
9111 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
9112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9113 if (!SWIG_IsOK(res1)) {
9114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9115 }
9116 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9117 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
9118 if (!SWIG_IsOK(res2)) {
9119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
9120 }
9121 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9122 if (arg1) (arg1)->pane = arg2;
9123
9124 resultobj = SWIG_Py_Void();
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9132 PyObject *resultobj = 0;
9133 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9134 wxPaneInfo *result = 0 ;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 PyObject *swig_obj[1] ;
9138
9139 if (!args) SWIG_fail;
9140 swig_obj[0] = args;
9141 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9144 }
9145 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9146 result = (wxPaneInfo *) ((arg1)->pane);
9147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9155 PyObject *resultobj = 0;
9156 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9157 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
9158 void *argp1 = 0 ;
9159 int res1 = 0 ;
9160 void *argp2 = 0 ;
9161 int res2 = 0 ;
9162 PyObject *swig_obj[2] ;
9163
9164 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
9165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9166 if (!SWIG_IsOK(res1)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9168 }
9169 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9170 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
9171 if (!SWIG_IsOK(res2)) {
9172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
9173 }
9174 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9175 if (arg1) (arg1)->button = arg2;
9176
9177 resultobj = SWIG_Py_Void();
9178 return resultobj;
9179 fail:
9180 return NULL;
9181 }
9182
9183
9184 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9185 PyObject *resultobj = 0;
9186 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9187 wxPaneButton *result = 0 ;
9188 void *argp1 = 0 ;
9189 int res1 = 0 ;
9190 PyObject *swig_obj[1] ;
9191
9192 if (!args) SWIG_fail;
9193 swig_obj[0] = args;
9194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9195 if (!SWIG_IsOK(res1)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9197 }
9198 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9199 result = (wxPaneButton *) ((arg1)->button);
9200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9201 return resultobj;
9202 fail:
9203 return NULL;
9204 }
9205
9206
9207 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9208 PyObject *resultobj = 0;
9209 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9210 wxSizer *arg2 = (wxSizer *) 0 ;
9211 void *argp1 = 0 ;
9212 int res1 = 0 ;
9213 void *argp2 = 0 ;
9214 int res2 = 0 ;
9215 PyObject *swig_obj[2] ;
9216
9217 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9219 if (!SWIG_IsOK(res1)) {
9220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9221 }
9222 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9223 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9224 if (!SWIG_IsOK(res2)) {
9225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9226 }
9227 arg2 = reinterpret_cast< wxSizer * >(argp2);
9228 if (arg1) (arg1)->cont_sizer = arg2;
9229
9230 resultobj = SWIG_Py_Void();
9231 return resultobj;
9232 fail:
9233 return NULL;
9234 }
9235
9236
9237 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9238 PyObject *resultobj = 0;
9239 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9240 wxSizer *result = 0 ;
9241 void *argp1 = 0 ;
9242 int res1 = 0 ;
9243 PyObject *swig_obj[1] ;
9244
9245 if (!args) SWIG_fail;
9246 swig_obj[0] = args;
9247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9248 if (!SWIG_IsOK(res1)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9250 }
9251 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9252 result = (wxSizer *) ((arg1)->cont_sizer);
9253 {
9254 resultobj = wxPyMake_wxObject(result, (bool)0);
9255 }
9256 return resultobj;
9257 fail:
9258 return NULL;
9259 }
9260
9261
9262 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9263 PyObject *resultobj = 0;
9264 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9265 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9266 void *argp1 = 0 ;
9267 int res1 = 0 ;
9268 void *argp2 = 0 ;
9269 int res2 = 0 ;
9270 PyObject *swig_obj[2] ;
9271
9272 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9274 if (!SWIG_IsOK(res1)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9276 }
9277 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9278 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9279 if (!SWIG_IsOK(res2)) {
9280 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9281 }
9282 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9283 if (arg1) (arg1)->sizer_item = arg2;
9284
9285 resultobj = SWIG_Py_Void();
9286 return resultobj;
9287 fail:
9288 return NULL;
9289 }
9290
9291
9292 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9293 PyObject *resultobj = 0;
9294 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9295 wxSizerItem *result = 0 ;
9296 void *argp1 = 0 ;
9297 int res1 = 0 ;
9298 PyObject *swig_obj[1] ;
9299
9300 if (!args) SWIG_fail;
9301 swig_obj[0] = args;
9302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9303 if (!SWIG_IsOK(res1)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9305 }
9306 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9307 result = (wxSizerItem *) ((arg1)->sizer_item);
9308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9316 PyObject *resultobj = 0;
9317 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9318 wxRect *arg2 = (wxRect *) 0 ;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 void *argp2 = 0 ;
9322 int res2 = 0 ;
9323 PyObject *swig_obj[2] ;
9324
9325 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9327 if (!SWIG_IsOK(res1)) {
9328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9329 }
9330 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9331 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9332 if (!SWIG_IsOK(res2)) {
9333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9334 }
9335 arg2 = reinterpret_cast< wxRect * >(argp2);
9336 if (arg1) (arg1)->rect = *arg2;
9337
9338 resultobj = SWIG_Py_Void();
9339 return resultobj;
9340 fail:
9341 return NULL;
9342 }
9343
9344
9345 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9346 PyObject *resultobj = 0;
9347 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9348 wxRect *result = 0 ;
9349 void *argp1 = 0 ;
9350 int res1 = 0 ;
9351 PyObject *swig_obj[1] ;
9352
9353 if (!args) SWIG_fail;
9354 swig_obj[0] = args;
9355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9356 if (!SWIG_IsOK(res1)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9358 }
9359 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9360 result = (wxRect *)& ((arg1)->rect);
9361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9369 PyObject *obj;
9370 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9371 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9372 return SWIG_Py_Void();
9373 }
9374
9375 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9376 PyObject *resultobj = 0;
9377 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9378 int arg2 ;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 int val2 ;
9382 int ecode2 = 0 ;
9383 PyObject *swig_obj[2] ;
9384
9385 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9387 if (!SWIG_IsOK(res1)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9389 }
9390 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9391 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9392 if (!SWIG_IsOK(ecode2)) {
9393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9394 }
9395 arg2 = static_cast< int >(val2);
9396 if (arg1) (arg1)->button_id = arg2;
9397
9398 resultobj = SWIG_Py_Void();
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9406 PyObject *resultobj = 0;
9407 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9408 int result;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 PyObject *swig_obj[1] ;
9412
9413 if (!args) SWIG_fail;
9414 swig_obj[0] = args;
9415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9416 if (!SWIG_IsOK(res1)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9418 }
9419 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9420 result = (int) ((arg1)->button_id);
9421 resultobj = SWIG_From_int(static_cast< int >(result));
9422 return resultobj;
9423 fail:
9424 return NULL;
9425 }
9426
9427
9428 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9429 PyObject *obj;
9430 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9431 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9432 return SWIG_Py_Void();
9433 }
9434
9435 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9436 PyObject *resultobj = 0;
9437 wxDockArt *arg1 = (wxDockArt *) 0 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 PyObject *swig_obj[1] ;
9441
9442 if (!args) SWIG_fail;
9443 swig_obj[0] = args;
9444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9445 if (!SWIG_IsOK(res1)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9447 }
9448 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 delete arg1;
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_Py_Void();
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj = 0;
9465 wxDockArt *arg1 = (wxDockArt *) 0 ;
9466 int arg2 ;
9467 int result;
9468 void *argp1 = 0 ;
9469 int res1 = 0 ;
9470 int val2 ;
9471 int ecode2 = 0 ;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 char * kwnames[] = {
9475 (char *) "self",(char *) "id", NULL
9476 };
9477
9478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9482 }
9483 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9484 ecode2 = SWIG_AsVal_int(obj1, &val2);
9485 if (!SWIG_IsOK(ecode2)) {
9486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9487 }
9488 arg2 = static_cast< int >(val2);
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (int)(arg1)->GetMetric(arg2);
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 resultobj = SWIG_From_int(static_cast< int >(result));
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj = 0;
9504 wxDockArt *arg1 = (wxDockArt *) 0 ;
9505 int arg2 ;
9506 int arg3 ;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 int val2 ;
9510 int ecode2 = 0 ;
9511 int val3 ;
9512 int ecode3 = 0 ;
9513 PyObject * obj0 = 0 ;
9514 PyObject * obj1 = 0 ;
9515 PyObject * obj2 = 0 ;
9516 char * kwnames[] = {
9517 (char *) "self",(char *) "id",(char *) "new_val", NULL
9518 };
9519
9520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9522 if (!SWIG_IsOK(res1)) {
9523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9524 }
9525 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9526 ecode2 = SWIG_AsVal_int(obj1, &val2);
9527 if (!SWIG_IsOK(ecode2)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9529 }
9530 arg2 = static_cast< int >(val2);
9531 ecode3 = SWIG_AsVal_int(obj2, &val3);
9532 if (!SWIG_IsOK(ecode3)) {
9533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9534 }
9535 arg3 = static_cast< int >(val3);
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 (arg1)->SetMetric(arg2,arg3);
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 resultobj = SWIG_Py_Void();
9543 return resultobj;
9544 fail:
9545 return NULL;
9546 }
9547
9548
9549 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9550 PyObject *resultobj = 0;
9551 wxDockArt *arg1 = (wxDockArt *) 0 ;
9552 int arg2 ;
9553 wxFont *arg3 = 0 ;
9554 void *argp1 = 0 ;
9555 int res1 = 0 ;
9556 int val2 ;
9557 int ecode2 = 0 ;
9558 void *argp3 = 0 ;
9559 int res3 = 0 ;
9560 PyObject * obj0 = 0 ;
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
9563 char * kwnames[] = {
9564 (char *) "self",(char *) "id",(char *) "font", NULL
9565 };
9566
9567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9569 if (!SWIG_IsOK(res1)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9571 }
9572 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9573 ecode2 = SWIG_AsVal_int(obj1, &val2);
9574 if (!SWIG_IsOK(ecode2)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9576 }
9577 arg2 = static_cast< int >(val2);
9578 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9579 if (!SWIG_IsOK(res3)) {
9580 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9581 }
9582 if (!argp3) {
9583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9584 }
9585 arg3 = reinterpret_cast< wxFont * >(argp3);
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 resultobj = SWIG_Py_Void();
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj = 0;
9601 wxDockArt *arg1 = (wxDockArt *) 0 ;
9602 int arg2 ;
9603 wxFont result;
9604 void *argp1 = 0 ;
9605 int res1 = 0 ;
9606 int val2 ;
9607 int ecode2 = 0 ;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 char * kwnames[] = {
9611 (char *) "self",(char *) "id", NULL
9612 };
9613
9614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
9615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9616 if (!SWIG_IsOK(res1)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9618 }
9619 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9620 ecode2 = SWIG_AsVal_int(obj1, &val2);
9621 if (!SWIG_IsOK(ecode2)) {
9622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
9623 }
9624 arg2 = static_cast< int >(val2);
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (arg1)->GetFont(arg2);
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj = 0;
9640 wxDockArt *arg1 = (wxDockArt *) 0 ;
9641 int arg2 ;
9642 wxColour result;
9643 void *argp1 = 0 ;
9644 int res1 = 0 ;
9645 int val2 ;
9646 int ecode2 = 0 ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 char * kwnames[] = {
9650 (char *) "self",(char *) "id", NULL
9651 };
9652
9653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
9654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9655 if (!SWIG_IsOK(res1)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9657 }
9658 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9659 ecode2 = SWIG_AsVal_int(obj1, &val2);
9660 if (!SWIG_IsOK(ecode2)) {
9661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
9662 }
9663 arg2 = static_cast< int >(val2);
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 result = (arg1)->GetColour(arg2);
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj = 0;
9679 wxDockArt *arg1 = (wxDockArt *) 0 ;
9680 int arg2 ;
9681 wxColor *arg3 = 0 ;
9682 void *argp1 = 0 ;
9683 int res1 = 0 ;
9684 int val2 ;
9685 int ecode2 = 0 ;
9686 void *argp3 = 0 ;
9687 int res3 = 0 ;
9688 PyObject * obj0 = 0 ;
9689 PyObject * obj1 = 0 ;
9690 PyObject * obj2 = 0 ;
9691 char * kwnames[] = {
9692 (char *) "self",(char *) "id",(char *) "colour", NULL
9693 };
9694
9695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9697 if (!SWIG_IsOK(res1)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9699 }
9700 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9701 ecode2 = SWIG_AsVal_int(obj1, &val2);
9702 if (!SWIG_IsOK(ecode2)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
9704 }
9705 arg2 = static_cast< int >(val2);
9706 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
9707 if (!SWIG_IsOK(res3)) {
9708 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9709 }
9710 if (!argp3) {
9711 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9712 }
9713 arg3 = reinterpret_cast< wxColor * >(argp3);
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_Py_Void();
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj = 0;
9729 wxDockArt *arg1 = (wxDockArt *) 0 ;
9730 int arg2 ;
9731 wxColour result;
9732 void *argp1 = 0 ;
9733 int res1 = 0 ;
9734 int val2 ;
9735 int ecode2 = 0 ;
9736 PyObject * obj0 = 0 ;
9737 PyObject * obj1 = 0 ;
9738 char * kwnames[] = {
9739 (char *) "self",(char *) "id", NULL
9740 };
9741
9742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
9743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9744 if (!SWIG_IsOK(res1)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9746 }
9747 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9748 ecode2 = SWIG_AsVal_int(obj1, &val2);
9749 if (!SWIG_IsOK(ecode2)) {
9750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
9751 }
9752 arg2 = static_cast< int >(val2);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (arg1)->GetColor(arg2);
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj = 0;
9768 wxDockArt *arg1 = (wxDockArt *) 0 ;
9769 int arg2 ;
9770 wxColour *arg3 = 0 ;
9771 void *argp1 = 0 ;
9772 int res1 = 0 ;
9773 int val2 ;
9774 int ecode2 = 0 ;
9775 wxColour temp3 ;
9776 PyObject * obj0 = 0 ;
9777 PyObject * obj1 = 0 ;
9778 PyObject * obj2 = 0 ;
9779 char * kwnames[] = {
9780 (char *) "self",(char *) "id",(char *) "color", NULL
9781 };
9782
9783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9785 if (!SWIG_IsOK(res1)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9787 }
9788 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9789 ecode2 = SWIG_AsVal_int(obj1, &val2);
9790 if (!SWIG_IsOK(ecode2)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
9792 }
9793 arg2 = static_cast< int >(val2);
9794 {
9795 arg3 = &temp3;
9796 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9797 }
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_Py_Void();
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj = 0;
9813 wxDockArt *arg1 = (wxDockArt *) 0 ;
9814 wxDC *arg2 = 0 ;
9815 int arg3 ;
9816 wxRect *arg4 = 0 ;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 void *argp2 = 0 ;
9820 int res2 = 0 ;
9821 int val3 ;
9822 int ecode3 = 0 ;
9823 wxRect temp4 ;
9824 PyObject * obj0 = 0 ;
9825 PyObject * obj1 = 0 ;
9826 PyObject * obj2 = 0 ;
9827 PyObject * obj3 = 0 ;
9828 char * kwnames[] = {
9829 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9830 };
9831
9832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9834 if (!SWIG_IsOK(res1)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
9836 }
9837 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9839 if (!SWIG_IsOK(res2)) {
9840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9841 }
9842 if (!argp2) {
9843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9844 }
9845 arg2 = reinterpret_cast< wxDC * >(argp2);
9846 ecode3 = SWIG_AsVal_int(obj2, &val3);
9847 if (!SWIG_IsOK(ecode3)) {
9848 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "int""'");
9849 }
9850 arg3 = static_cast< int >(val3);
9851 {
9852 arg4 = &temp4;
9853 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9854 }
9855 {
9856 PyThreadState* __tstate = wxPyBeginAllowThreads();
9857 (arg1)->DrawSash(*arg2,arg3,(wxRect const &)*arg4);
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 resultobj = SWIG_Py_Void();
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj = 0;
9870 wxDockArt *arg1 = (wxDockArt *) 0 ;
9871 wxDC *arg2 = 0 ;
9872 int arg3 ;
9873 wxRect *arg4 = 0 ;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 void *argp2 = 0 ;
9877 int res2 = 0 ;
9878 int val3 ;
9879 int ecode3 = 0 ;
9880 wxRect temp4 ;
9881 PyObject * obj0 = 0 ;
9882 PyObject * obj1 = 0 ;
9883 PyObject * obj2 = 0 ;
9884 PyObject * obj3 = 0 ;
9885 char * kwnames[] = {
9886 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9887 };
9888
9889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9891 if (!SWIG_IsOK(res1)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
9893 }
9894 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9895 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9896 if (!SWIG_IsOK(res2)) {
9897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9898 }
9899 if (!argp2) {
9900 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9901 }
9902 arg2 = reinterpret_cast< wxDC * >(argp2);
9903 ecode3 = SWIG_AsVal_int(obj2, &val3);
9904 if (!SWIG_IsOK(ecode3)) {
9905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "int""'");
9906 }
9907 arg3 = static_cast< int >(val3);
9908 {
9909 arg4 = &temp4;
9910 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9911 }
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4);
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 resultobj = SWIG_Py_Void();
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj = 0;
9927 wxDockArt *arg1 = (wxDockArt *) 0 ;
9928 wxDC *arg2 = 0 ;
9929 wxString *arg3 = 0 ;
9930 wxRect *arg4 = 0 ;
9931 wxPaneInfo *arg5 = 0 ;
9932 void *argp1 = 0 ;
9933 int res1 = 0 ;
9934 void *argp2 = 0 ;
9935 int res2 = 0 ;
9936 bool temp3 = false ;
9937 wxRect temp4 ;
9938 void *argp5 = 0 ;
9939 int res5 = 0 ;
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 PyObject * obj2 = 0 ;
9943 PyObject * obj3 = 0 ;
9944 PyObject * obj4 = 0 ;
9945 char * kwnames[] = {
9946 (char *) "self",(char *) "dc",(char *) "text",(char *) "rect",(char *) "pane", NULL
9947 };
9948
9949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9951 if (!SWIG_IsOK(res1)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
9953 }
9954 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9955 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9956 if (!SWIG_IsOK(res2)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9958 }
9959 if (!argp2) {
9960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9961 }
9962 arg2 = reinterpret_cast< wxDC * >(argp2);
9963 {
9964 arg3 = wxString_in_helper(obj2);
9965 if (arg3 == NULL) SWIG_fail;
9966 temp3 = true;
9967 }
9968 {
9969 arg4 = &temp4;
9970 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9971 }
9972 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
9973 if (!SWIG_IsOK(res5)) {
9974 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9975 }
9976 if (!argp5) {
9977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9978 }
9979 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 (arg1)->DrawCaption(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,*arg5);
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 resultobj = SWIG_Py_Void();
9987 {
9988 if (temp3)
9989 delete arg3;
9990 }
9991 return resultobj;
9992 fail:
9993 {
9994 if (temp3)
9995 delete arg3;
9996 }
9997 return NULL;
9998 }
9999
10000
10001 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj = 0;
10003 wxDockArt *arg1 = (wxDockArt *) 0 ;
10004 wxDC *arg2 = 0 ;
10005 wxRect *arg3 = 0 ;
10006 wxPaneInfo *arg4 = 0 ;
10007 void *argp1 = 0 ;
10008 int res1 = 0 ;
10009 void *argp2 = 0 ;
10010 int res2 = 0 ;
10011 wxRect temp3 ;
10012 void *argp4 = 0 ;
10013 int res4 = 0 ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 PyObject * obj3 = 0 ;
10018 char * kwnames[] = {
10019 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
10020 };
10021
10022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10024 if (!SWIG_IsOK(res1)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
10026 }
10027 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10028 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10029 if (!SWIG_IsOK(res2)) {
10030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10031 }
10032 if (!argp2) {
10033 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
10034 }
10035 arg2 = reinterpret_cast< wxDC * >(argp2);
10036 {
10037 arg3 = &temp3;
10038 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
10039 }
10040 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
10041 if (!SWIG_IsOK(res4)) {
10042 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
10043 }
10044 if (!argp4) {
10045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
10046 }
10047 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 (arg1)->DrawGripper(*arg2,(wxRect const &)*arg3,*arg4);
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 resultobj = SWIG_Py_Void();
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj = 0;
10063 wxDockArt *arg1 = (wxDockArt *) 0 ;
10064 wxDC *arg2 = 0 ;
10065 wxRect *arg3 = 0 ;
10066 wxPaneInfo *arg4 = 0 ;
10067 void *argp1 = 0 ;
10068 int res1 = 0 ;
10069 void *argp2 = 0 ;
10070 int res2 = 0 ;
10071 wxRect temp3 ;
10072 void *argp4 = 0 ;
10073 int res4 = 0 ;
10074 PyObject * obj0 = 0 ;
10075 PyObject * obj1 = 0 ;
10076 PyObject * obj2 = 0 ;
10077 PyObject * obj3 = 0 ;
10078 char * kwnames[] = {
10079 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
10080 };
10081
10082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10084 if (!SWIG_IsOK(res1)) {
10085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
10086 }
10087 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10088 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10089 if (!SWIG_IsOK(res2)) {
10090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10091 }
10092 if (!argp2) {
10093 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
10094 }
10095 arg2 = reinterpret_cast< wxDC * >(argp2);
10096 {
10097 arg3 = &temp3;
10098 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
10099 }
10100 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
10101 if (!SWIG_IsOK(res4)) {
10102 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
10103 }
10104 if (!argp4) {
10105 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
10106 }
10107 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->DrawBorder(*arg2,(wxRect const &)*arg3,*arg4);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj = 0;
10123 wxDockArt *arg1 = (wxDockArt *) 0 ;
10124 wxDC *arg2 = 0 ;
10125 int arg3 ;
10126 int arg4 ;
10127 wxRect *arg5 = 0 ;
10128 wxPaneInfo *arg6 = 0 ;
10129 void *argp1 = 0 ;
10130 int res1 = 0 ;
10131 void *argp2 = 0 ;
10132 int res2 = 0 ;
10133 int val3 ;
10134 int ecode3 = 0 ;
10135 int val4 ;
10136 int ecode4 = 0 ;
10137 wxRect temp5 ;
10138 void *argp6 = 0 ;
10139 int res6 = 0 ;
10140 PyObject * obj0 = 0 ;
10141 PyObject * obj1 = 0 ;
10142 PyObject * obj2 = 0 ;
10143 PyObject * obj3 = 0 ;
10144 PyObject * obj4 = 0 ;
10145 PyObject * obj5 = 0 ;
10146 char * kwnames[] = {
10147 (char *) "self",(char *) "dc",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
10148 };
10149
10150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
10152 if (!SWIG_IsOK(res1)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
10154 }
10155 arg1 = reinterpret_cast< wxDockArt * >(argp1);
10156 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
10157 if (!SWIG_IsOK(res2)) {
10158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10159 }
10160 if (!argp2) {
10161 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
10162 }
10163 arg2 = reinterpret_cast< wxDC * >(argp2);
10164 ecode3 = SWIG_AsVal_int(obj2, &val3);
10165 if (!SWIG_IsOK(ecode3)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "int""'");
10167 }
10168 arg3 = static_cast< int >(val3);
10169 ecode4 = SWIG_AsVal_int(obj3, &val4);
10170 if (!SWIG_IsOK(ecode4)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
10172 }
10173 arg4 = static_cast< int >(val4);
10174 {
10175 arg5 = &temp5;
10176 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10177 }
10178 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10179 if (!SWIG_IsOK(res6)) {
10180 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10181 }
10182 if (!argp6) {
10183 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10184 }
10185 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 (arg1)->DrawPaneButton(*arg2,arg3,arg4,(wxRect const &)*arg5,*arg6);
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 resultobj = SWIG_Py_Void();
10193 return resultobj;
10194 fail:
10195 return NULL;
10196 }
10197
10198
10199 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10200 PyObject *obj;
10201 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10202 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10203 return SWIG_Py_Void();
10204 }
10205
10206 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10207 PyObject *resultobj = 0;
10208 wxDefaultDockArt *result = 0 ;
10209
10210 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10225 PyObject *obj;
10226 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10227 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10228 return SWIG_Py_Void();
10229 }
10230
10231 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10232 return SWIG_Python_InitShadowInstance(args);
10233 }
10234
10235 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj = 0;
10237 wxWindow *arg1 = (wxWindow *) 0 ;
10238 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10239 wxPaneInfo *arg3 = 0 ;
10240 int arg4 = (int) wxID_ANY ;
10241 wxFloatingPane *result = 0 ;
10242 void *argp1 = 0 ;
10243 int res1 = 0 ;
10244 void *argp2 = 0 ;
10245 int res2 = 0 ;
10246 void *argp3 = 0 ;
10247 int res3 = 0 ;
10248 int val4 ;
10249 int ecode4 = 0 ;
10250 PyObject * obj0 = 0 ;
10251 PyObject * obj1 = 0 ;
10252 PyObject * obj2 = 0 ;
10253 PyObject * obj3 = 0 ;
10254 char * kwnames[] = {
10255 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
10256 };
10257
10258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10260 if (!SWIG_IsOK(res1)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10262 }
10263 arg1 = reinterpret_cast< wxWindow * >(argp1);
10264 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10265 if (!SWIG_IsOK(res2)) {
10266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10267 }
10268 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10269 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10270 if (!SWIG_IsOK(res3)) {
10271 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10272 }
10273 if (!argp3) {
10274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10275 }
10276 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10277 if (obj3) {
10278 ecode4 = SWIG_AsVal_int(obj3, &val4);
10279 if (!SWIG_IsOK(ecode4)) {
10280 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10281 }
10282 arg4 = static_cast< int >(val4);
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10298 PyObject *resultobj = 0;
10299 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10300 void *argp1 = 0 ;
10301 int res1 = 0 ;
10302 PyObject *swig_obj[1] ;
10303
10304 if (!args) SWIG_fail;
10305 swig_obj[0] = args;
10306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
10307 if (!SWIG_IsOK(res1)) {
10308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10309 }
10310 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 delete arg1;
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_Py_Void();
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj = 0;
10327 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10328 wxPaneInfo *arg2 = 0 ;
10329 void *argp1 = 0 ;
10330 int res1 = 0 ;
10331 void *argp2 = 0 ;
10332 int res2 = 0 ;
10333 PyObject * obj0 = 0 ;
10334 PyObject * obj1 = 0 ;
10335 char * kwnames[] = {
10336 (char *) "self",(char *) "pane", NULL
10337 };
10338
10339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
10340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
10341 if (!SWIG_IsOK(res1)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10343 }
10344 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10345 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10346 if (!SWIG_IsOK(res2)) {
10347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10348 }
10349 if (!argp2) {
10350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10351 }
10352 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
10353 {
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 resultobj = SWIG_Py_Void();
10360 return resultobj;
10361 fail:
10362 return NULL;
10363 }
10364
10365
10366 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10367 PyObject *obj;
10368 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10369 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
10370 return SWIG_Py_Void();
10371 }
10372
10373 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10374 return SWIG_Python_InitShadowInstance(args);
10375 }
10376
10377 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10378 PyObject *obj;
10379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10380 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
10381 return SWIG_Py_Void();
10382 }
10383
10384 static PyMethodDef SwigMethods[] = {
10385 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
10386 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
10387 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
10388 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
10389 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
10390 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
10391 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
10392 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
10393 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
10394 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
10395 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
10396 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
10397 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
10398 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
10399 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
10400 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
10401 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
10402 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
10403 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
10404 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
10405 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
10406 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
10407 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
10408 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
10409 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
10410 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
10411 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
10412 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
10413 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
10414 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
10415 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
10416 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
10417 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
10418 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
10419 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
10420 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
10421 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
10422 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
10423 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
10424 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
10425 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
10426 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
10427 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
10428 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
10429 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
10430 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
10431 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
10432 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10433 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10434 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
10435 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
10436 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
10437 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10438 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10439 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
10440 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
10441 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10442 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10443 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10444 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10445 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
10446 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
10447 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
10448 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
10449 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
10450 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
10451 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
10452 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10453 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10454 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
10455 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
10456 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
10457 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
10458 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
10459 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
10460 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
10461 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
10462 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
10463 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
10464 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
10465 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
10466 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
10467 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
10468 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
10469 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
10470 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
10471 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
10472 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
10473 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
10474 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
10475 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
10476 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
10477 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
10478 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
10479 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
10480 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
10481 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
10482 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
10483 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
10484 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
10485 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
10486 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
10487 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
10488 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
10489 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
10490 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
10491 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
10492 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
10493 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
10494 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
10495 { (char *)"FrameManager_SetManagedWindow", (PyCFunction) _wrap_FrameManager_SetManagedWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10496 { (char *)"FrameManager_GetManagedWindow", (PyCFunction)_wrap_FrameManager_GetManagedWindow, METH_O, NULL},
10497 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
10498 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
10499 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
10500 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
10501 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
10502 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
10503 { (char *)"FrameManager_AddPaneAtPos", (PyCFunction) _wrap_FrameManager_AddPaneAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
10504 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
10505 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
10506 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
10507 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
10508 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
10509 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
10510 { (char *)"FrameManager_DrawHintRect", (PyCFunction) _wrap_FrameManager_DrawHintRect, METH_VARARGS | METH_KEYWORDS, NULL},
10511 { (char *)"FrameManager_ShowHint", (PyCFunction) _wrap_FrameManager_ShowHint, METH_VARARGS | METH_KEYWORDS, NULL},
10512 { (char *)"FrameManager_HideHint", (PyCFunction)_wrap_FrameManager_HideHint, METH_O, NULL},
10513 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
10514 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
10515 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
10516 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
10517 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10518 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
10519 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
10520 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
10521 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
10522 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
10523 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
10524 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
10525 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
10526 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
10527 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
10528 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
10529 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
10530 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
10531 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
10532 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
10533 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
10534 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
10535 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
10536 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
10537 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
10538 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
10539 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
10540 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
10541 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
10542 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
10543 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
10544 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
10545 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
10546 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
10547 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
10548 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
10549 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
10550 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
10551 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
10552 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
10553 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
10554 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
10555 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
10556 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
10557 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
10558 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
10559 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
10560 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
10561 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
10562 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
10563 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
10564 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
10565 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
10566 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
10567 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
10568 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
10569 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
10570 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
10571 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
10572 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
10573 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
10574 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
10575 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
10576 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
10577 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
10578 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
10579 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
10580 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
10581 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
10582 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
10583 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
10584 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
10585 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
10586 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
10587 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
10588 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10589 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10590 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10591 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10592 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10593 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10594 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10595 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10596 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
10597 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
10598 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
10599 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
10600 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10601 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
10602 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
10603 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
10604 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
10605 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
10606 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
10607 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
10608 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10609 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
10610 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
10611 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
10612 { NULL, NULL, 0, NULL }
10613 };
10614
10615
10616 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10617
10618 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
10619 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
10620 }
10621 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
10622 return (void *)((wxSizer *) ((wxBoxSizer *) x));
10623 }
10624 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
10625 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
10626 }
10627 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
10628 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
10629 }
10630 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
10631 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10632 }
10633 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
10634 return (void *)((wxSizer *) ((wxGridSizer *) x));
10635 }
10636 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
10637 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
10638 }
10639 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
10640 return (void *)((wxSizer *) ((wxPySizer *) x));
10641 }
10642 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10643 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10644 }
10645 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10646 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10647 }
10648 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10649 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10650 }
10651 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10652 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10653 }
10654 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10655 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10656 }
10657 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10658 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10659 }
10660 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10661 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10662 }
10663 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
10664 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
10665 }
10666 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10667 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10668 }
10669 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10670 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10671 }
10672 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
10673 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10674 }
10675 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
10676 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
10677 }
10678 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
10679 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10680 }
10681 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10682 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10683 }
10684 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10685 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10686 }
10687 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10688 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10689 }
10690 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10691 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10692 }
10693 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10694 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10695 }
10696 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10697 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10698 }
10699 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10700 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10701 }
10702 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10703 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10704 }
10705 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10706 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10707 }
10708 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10709 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10710 }
10711 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10712 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10713 }
10714 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10715 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10716 }
10717 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10718 return (void *)((wxWindow *) ((wxMenuBar *) x));
10719 }
10720 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10721 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10722 }
10723 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10724 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10725 }
10726 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10727 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10728 }
10729 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
10730 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
10731 }
10732 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
10733 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10734 }
10735 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10737 }
10738 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10739 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10740 }
10741 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10742 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10743 }
10744 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10745 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10746 }
10747 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10748 return (void *)((wxWindow *) ((wxPanel *) x));
10749 }
10750 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10751 return (void *)((wxWindow *) ((wxStatusBar *) x));
10752 }
10753 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10754 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10755 }
10756 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10758 }
10759 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10760 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10761 }
10762 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10763 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10764 }
10765 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10766 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10767 }
10768 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10769 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10770 }
10771 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10772 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10773 }
10774 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10775 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10776 }
10777 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10778 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10779 }
10780 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10781 return (void *)((wxWindow *) ((wxSashWindow *) x));
10782 }
10783 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10784 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10785 }
10786 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
10787 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10788 }
10789 static void *_p_wxControlTo_p_wxWindow(void *x) {
10790 return (void *)((wxWindow *) ((wxControl *) x));
10791 }
10792 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10793 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10794 }
10795 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10797 }
10798 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10799 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10800 }
10801 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10802 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10803 }
10804 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10805 return (void *)((wxWindow *) ((wxPyWindow *) x));
10806 }
10807 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10808 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10809 }
10810 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
10811 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10812 }
10813 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10814 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10815 }
10816 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10817 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10818 }
10819 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10820 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10821 }
10822 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10823 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10824 }
10825 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10826 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10827 }
10828 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10830 }
10831 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10833 }
10834 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10835 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10836 }
10837 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10838 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10839 }
10840 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10842 }
10843 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
10844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
10845 }
10846 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
10847 return (void *)((wxEvent *) ((wxMenuEvent *) x));
10848 }
10849 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
10850 return (void *)((wxEvent *) ((wxCloseEvent *) x));
10851 }
10852 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
10853 return (void *)((wxEvent *) ((wxMouseEvent *) x));
10854 }
10855 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
10856 return (void *)((wxEvent *) ((wxEraseEvent *) x));
10857 }
10858 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
10859 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
10860 }
10861 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
10862 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10863 }
10864 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
10865 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
10866 }
10867 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
10868 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
10869 }
10870 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
10871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
10872 }
10873 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
10874 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
10875 }
10876 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
10877 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
10878 }
10879 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
10880 return (void *)((wxEvent *) ((wxPyEvent *) x));
10881 }
10882 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
10883 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
10884 }
10885 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
10886 return (void *)((wxEvent *) ((wxIdleEvent *) x));
10887 }
10888 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
10889 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
10890 }
10891 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
10892 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
10893 }
10894 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
10895 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
10896 }
10897 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
10898 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
10899 }
10900 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
10901 return (void *)((wxEvent *) ((wxActivateEvent *) x));
10902 }
10903 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
10904 return (void *)((wxEvent *) ((wxSizeEvent *) x));
10905 }
10906 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
10907 return (void *)((wxEvent *) ((wxMoveEvent *) x));
10908 }
10909 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
10910 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
10911 }
10912 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
10913 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
10914 }
10915 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
10916 return (void *)((wxEvent *) ((wxPaintEvent *) x));
10917 }
10918 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
10919 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
10920 }
10921 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
10922 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
10923 }
10924 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
10925 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
10926 }
10927 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
10928 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
10929 }
10930 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
10931 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10932 }
10933 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
10934 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
10935 }
10936 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
10937 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
10938 }
10939 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
10940 return (void *)((wxEvent *) ((wxFocusEvent *) x));
10941 }
10942 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
10943 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
10944 }
10945 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
10946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
10947 }
10948 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
10949 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10950 }
10951 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
10952 return (void *)((wxEvent *) ((wxShowEvent *) x));
10953 }
10954 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
10955 return (void *)((wxEvent *) ((wxCommandEvent *) x));
10956 }
10957 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
10958 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
10959 }
10960 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
10961 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10962 }
10963 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
10964 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
10965 }
10966 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
10967 return (void *)((wxEvent *) ((wxKeyEvent *) x));
10968 }
10969 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
10970 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
10971 }
10972 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
10973 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
10974 }
10975 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10976 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10977 }
10978 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10979 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10980 }
10981 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10983 }
10984 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10986 }
10987 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10988 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10989 }
10990 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10991 return (void *)((wxObject *) ((wxSizerItem *) x));
10992 }
10993 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10995 }
10996 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10997 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10998 }
10999 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11000 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11001 }
11002 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11003 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11004 }
11005 static void *_p_wxSizerTo_p_wxObject(void *x) {
11006 return (void *)((wxObject *) ((wxSizer *) x));
11007 }
11008 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11009 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11010 }
11011 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11013 }
11014 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11016 }
11017 static void *_p_wxEventTo_p_wxObject(void *x) {
11018 return (void *)((wxObject *) ((wxEvent *) x));
11019 }
11020 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11021 return (void *)((wxObject *) ((wxFontData *) x));
11022 }
11023 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11024 return (void *)((wxObject *) ((wxPrintData *) x));
11025 }
11026 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11027 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11028 }
11029 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11030 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11031 }
11032 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11033 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11034 }
11035 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11036 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11037 }
11038 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11039 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11040 }
11041 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11043 }
11044 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
11045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
11046 }
11047 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11048 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11049 }
11050 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11051 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11052 }
11053 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11054 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11055 }
11056 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11057 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11058 }
11059 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11060 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11061 }
11062 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11063 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11064 }
11065 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11067 }
11068 static void *_p_wxControlTo_p_wxObject(void *x) {
11069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11070 }
11071 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11072 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11073 }
11074 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11076 }
11077 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
11078 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
11079 }
11080 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11081 return (void *)((wxObject *) ((wxFSFile *) x));
11082 }
11083 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11084 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11085 }
11086 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11087 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11088 }
11089 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11091 }
11092 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11093 return (void *)((wxObject *) ((wxColourData *) x));
11094 }
11095 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11096 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11097 }
11098 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11099 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11100 }
11101 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
11102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
11103 }
11104 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11106 }
11107 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
11108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11109 }
11110 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
11111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11112 }
11113 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
11114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11115 }
11116 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
11117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11118 }
11119 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
11120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11121 }
11122 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
11123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11124 }
11125 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
11126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11127 }
11128 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
11129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11130 }
11131 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
11132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11133 }
11134 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11135 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11136 }
11137 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11138 return (void *)((wxObject *) ((wxPrinter *) x));
11139 }
11140 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11141 return (void *)((wxObject *) ((wxMenuItem *) x));
11142 }
11143 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11144 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11145 }
11146 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11147 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11148 }
11149 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11150 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11151 }
11152 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11153 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11154 }
11155 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11156 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11157 }
11158 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11159 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11160 }
11161 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11162 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11163 }
11164 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11165 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11166 }
11167 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11168 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11169 }
11170 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11171 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11172 }
11173 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11174 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11175 }
11176 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11177 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11178 }
11179 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11180 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11181 }
11182 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11183 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11184 }
11185 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11186 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11187 }
11188 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11189 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11190 }
11191 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11192 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11193 }
11194 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11195 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11196 }
11197 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
11198 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
11199 }
11200 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11201 return (void *)((wxObject *) ((wxImageHandler *) x));
11202 }
11203 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11204 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11205 }
11206 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11207 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11208 }
11209 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11210 return (void *)((wxObject *) ((wxEvtHandler *) x));
11211 }
11212 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11213 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11214 }
11215 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11217 }
11218 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11220 }
11221 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11222 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11223 }
11224 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11225 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11226 }
11227 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11229 }
11230 static void *_p_wxImageTo_p_wxObject(void *x) {
11231 return (void *)((wxObject *) ((wxImage *) x));
11232 }
11233 static void *_p_wxFrameTo_p_wxObject(void *x) {
11234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11235 }
11236 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11237 return (void *)((wxObject *) ((wxPyPrintout *) x));
11238 }
11239 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11240 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11241 }
11242 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11243 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11244 }
11245 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
11246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
11247 }
11248 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11250 }
11251 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
11252 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
11253 }
11254 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11256 }
11257 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11258 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11259 }
11260 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11261 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11262 }
11263 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11264 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11265 }
11266 static void *_p_wxWindowTo_p_wxObject(void *x) {
11267 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11268 }
11269 static void *_p_wxMenuTo_p_wxObject(void *x) {
11270 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11271 }
11272 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11274 }
11275 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11277 }
11278 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11280 }
11281 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11283 }
11284 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11286 }
11287 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11289 }
11290 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11292 }
11293 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11295 }
11296 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11298 }
11299 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11301 }
11302 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11304 }
11305 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11307 }
11308 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
11309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11310 }
11311 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11313 }
11314 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11315 return (void *)((wxObject *) ((wxPrintPreview *) x));
11316 }
11317 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11318 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11319 }
11320 static void *_p_wxPanelTo_p_wxObject(void *x) {
11321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11322 }
11323 static void *_p_wxDialogTo_p_wxObject(void *x) {
11324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11325 }
11326 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11328 }
11329 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11331 }
11332 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11334 }
11335 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11336 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
11337 }
11338 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11339 return (void *)((wxObject *) ((wxPrintDialog *) x));
11340 }
11341 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11342 return (void *)((wxObject *) ((wxFileSystem *) x));
11343 }
11344 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11345 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11346 }
11347 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11348 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11349 }
11350 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11351 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11352 }
11353 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11354 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11355 }
11356 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11357 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11358 }
11359 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11360 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11361 }
11362 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11363 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11364 }
11365 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11366 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11367 }
11368 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11370 }
11371 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11373 }
11374 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11375 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11376 }
11377 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11378 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11379 }
11380 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11382 }
11383 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11385 }
11386 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11387 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11388 }
11389 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11390 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11391 }
11392 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11393 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11394 }
11395 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11396 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11397 }
11398 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11400 }
11401 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11403 }
11404 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11405 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11406 }
11407 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11408 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11409 }
11410 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11411 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11412 }
11413 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11414 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11415 }
11416 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11417 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11418 }
11419 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
11420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11421 }
11422 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11423 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11424 }
11425 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11427 }
11428 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11430 }
11431 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11433 }
11434 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
11435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11436 }
11437 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11439 }
11440 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11442 }
11443 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11445 }
11446 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11447 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11448 }
11449 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11450 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11451 }
11452 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11454 }
11455 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11457 }
11458 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11460 }
11461 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11463 }
11464 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11465 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11466 }
11467 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11469 }
11470 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11472 }
11473 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11475 }
11476 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11477 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11478 }
11479 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11480 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11481 }
11482 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11484 }
11485 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11487 }
11488 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
11489 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11490 }
11491 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11493 }
11494 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11496 }
11497 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11499 }
11500 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11502 }
11503 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11504 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11505 }
11506 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11508 }
11509 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11510 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11511 }
11512 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11513 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11514 }
11515 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
11516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
11517 }
11518 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11520 }
11521 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11523 }
11524 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11526 }
11527 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11529 }
11530 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
11531 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11532 }
11533 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11534 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11535 }
11536 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11538 }
11539 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11541 }
11542 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11544 }
11545 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11547 }
11548 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11550 }
11551 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
11552 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
11553 }
11554 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
11555 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
11556 }
11557 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11558 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11559 }
11560 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11561 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11562 }
11563 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
11564 return (void *)((wxFrame *) ((wxTipWindow *) x));
11565 }
11566 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11567 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11568 }
11569 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11570 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11571 }
11572 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
11573 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
11574 }
11575 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11576 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11577 }
11578 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11579 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11580 }
11581 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11582 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11583 }
11584 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
11585 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
11586 }
11587 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
11588 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
11589 }
11590 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
11591 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
11592 }
11593 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
11594 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};
11595 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
11596 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
11597 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
11598 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
11599 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
11600 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
11601 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
11602 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
11603 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
11604 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
11605 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
11606 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
11607 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
11608 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
11609 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
11610 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
11611 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
11612 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
11613 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
11614 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
11615 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
11616 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
11617 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
11618 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
11619 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
11620 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
11621 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
11622 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
11623 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
11624 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
11625 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
11626 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
11627 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
11628 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
11629 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
11630 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
11631 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
11632 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
11633 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
11634 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
11635 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
11636 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
11637 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
11638 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
11639 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
11640 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
11641 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
11642 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
11643 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
11644 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
11645 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
11646 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
11647 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
11648 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
11649 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
11650 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
11651 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
11652 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
11653 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
11654 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
11655 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
11656 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
11657 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
11658 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
11659 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
11660 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
11661 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
11662 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
11663 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
11664 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
11665 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
11666 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
11667 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
11668 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
11669 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
11670 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
11671 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
11672 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
11673 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
11674 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
11675 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
11676 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
11677 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
11678 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
11679 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
11680 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
11681 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
11682 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
11683 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
11684 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
11685 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
11686 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
11687 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
11688 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
11689 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
11690 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
11691 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
11692 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
11693 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
11694 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
11695 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
11696 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
11697 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
11698 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
11699 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
11700 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
11701 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
11702 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
11703 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
11704 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
11705 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
11706 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
11707 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
11708 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
11709 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
11710 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
11711 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
11712 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
11713 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
11714 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
11715 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
11716 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
11717 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
11718 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
11719 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
11720 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
11721 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
11722 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
11723 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
11724 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
11725 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
11726 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
11727 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
11728 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
11729 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
11730 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
11731 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
11732 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
11733 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
11734 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
11735 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
11736 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
11737 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
11738 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
11739 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
11740 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
11741 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
11742 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
11743 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
11744 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
11745 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
11746 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
11747 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
11748 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
11749 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
11750 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
11751 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
11752 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
11753 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
11754 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
11755 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
11756 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
11757 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
11758 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
11759 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
11760
11761 static swig_type_info *swig_type_initial[] = {
11762 &_swigt__p_char,
11763 &_swigt__p_form_ops_t,
11764 &_swigt__p_int,
11765 &_swigt__p_unsigned_char,
11766 &_swigt__p_unsigned_int,
11767 &_swigt__p_unsigned_long,
11768 &_swigt__p_wxANIHandler,
11769 &_swigt__p_wxAcceleratorTable,
11770 &_swigt__p_wxActivateEvent,
11771 &_swigt__p_wxBMPHandler,
11772 &_swigt__p_wxBoxSizer,
11773 &_swigt__p_wxCURHandler,
11774 &_swigt__p_wxCalculateLayoutEvent,
11775 &_swigt__p_wxChildFocusEvent,
11776 &_swigt__p_wxClipboardTextEvent,
11777 &_swigt__p_wxCloseEvent,
11778 &_swigt__p_wxColor,
11779 &_swigt__p_wxColour,
11780 &_swigt__p_wxColourData,
11781 &_swigt__p_wxColourDialog,
11782 &_swigt__p_wxCommandEvent,
11783 &_swigt__p_wxContextMenuEvent,
11784 &_swigt__p_wxControl,
11785 &_swigt__p_wxControlWithItems,
11786 &_swigt__p_wxDC,
11787 &_swigt__p_wxDateEvent,
11788 &_swigt__p_wxDefaultDockArt,
11789 &_swigt__p_wxDialog,
11790 &_swigt__p_wxDirDialog,
11791 &_swigt__p_wxDisplayChangedEvent,
11792 &_swigt__p_wxDockArt,
11793 &_swigt__p_wxDockInfo,
11794 &_swigt__p_wxDockUIPart,
11795 &_swigt__p_wxDropFilesEvent,
11796 &_swigt__p_wxDuplexMode,
11797 &_swigt__p_wxEraseEvent,
11798 &_swigt__p_wxEvent,
11799 &_swigt__p_wxEvtHandler,
11800 &_swigt__p_wxFSFile,
11801 &_swigt__p_wxFileDialog,
11802 &_swigt__p_wxFileSystem,
11803 &_swigt__p_wxFindDialogEvent,
11804 &_swigt__p_wxFindReplaceData,
11805 &_swigt__p_wxFindReplaceDialog,
11806 &_swigt__p_wxFlexGridSizer,
11807 &_swigt__p_wxFloatingPane,
11808 &_swigt__p_wxFocusEvent,
11809 &_swigt__p_wxFont,
11810 &_swigt__p_wxFontData,
11811 &_swigt__p_wxFontDialog,
11812 &_swigt__p_wxFrame,
11813 &_swigt__p_wxFrameManager,
11814 &_swigt__p_wxFrameManagerEvent,
11815 &_swigt__p_wxGBSizerItem,
11816 &_swigt__p_wxGIFHandler,
11817 &_swigt__p_wxGridBagSizer,
11818 &_swigt__p_wxGridSizer,
11819 &_swigt__p_wxICOHandler,
11820 &_swigt__p_wxIconizeEvent,
11821 &_swigt__p_wxIdleEvent,
11822 &_swigt__p_wxImage,
11823 &_swigt__p_wxImageHandler,
11824 &_swigt__p_wxIndividualLayoutConstraint,
11825 &_swigt__p_wxInitDialogEvent,
11826 &_swigt__p_wxJPEGHandler,
11827 &_swigt__p_wxKeyEvent,
11828 &_swigt__p_wxLayoutAlgorithm,
11829 &_swigt__p_wxLayoutConstraints,
11830 &_swigt__p_wxMDIChildFrame,
11831 &_swigt__p_wxMDIClientWindow,
11832 &_swigt__p_wxMDIParentFrame,
11833 &_swigt__p_wxMaximizeEvent,
11834 &_swigt__p_wxMenu,
11835 &_swigt__p_wxMenuBar,
11836 &_swigt__p_wxMenuEvent,
11837 &_swigt__p_wxMenuItem,
11838 &_swigt__p_wxMessageDialog,
11839 &_swigt__p_wxMiniFrame,
11840 &_swigt__p_wxMouseCaptureChangedEvent,
11841 &_swigt__p_wxMouseEvent,
11842 &_swigt__p_wxMoveEvent,
11843 &_swigt__p_wxMultiChoiceDialog,
11844 &_swigt__p_wxNavigationKeyEvent,
11845 &_swigt__p_wxNcPaintEvent,
11846 &_swigt__p_wxNotifyEvent,
11847 &_swigt__p_wxNumberEntryDialog,
11848 &_swigt__p_wxObject,
11849 &_swigt__p_wxPCXHandler,
11850 &_swigt__p_wxPNGHandler,
11851 &_swigt__p_wxPNMHandler,
11852 &_swigt__p_wxPageSetupDialog,
11853 &_swigt__p_wxPageSetupDialogData,
11854 &_swigt__p_wxPaintEvent,
11855 &_swigt__p_wxPaletteChangedEvent,
11856 &_swigt__p_wxPaneButton,
11857 &_swigt__p_wxPaneButtonArray,
11858 &_swigt__p_wxPaneInfo,
11859 &_swigt__p_wxPaneInfoPtrArray,
11860 &_swigt__p_wxPanel,
11861 &_swigt__p_wxPaperSize,
11862 &_swigt__p_wxPasswordEntryDialog,
11863 &_swigt__p_wxPoint,
11864 &_swigt__p_wxPopupWindow,
11865 &_swigt__p_wxPreviewCanvas,
11866 &_swigt__p_wxPreviewControlBar,
11867 &_swigt__p_wxPreviewFrame,
11868 &_swigt__p_wxPrintData,
11869 &_swigt__p_wxPrintDialog,
11870 &_swigt__p_wxPrintDialogData,
11871 &_swigt__p_wxPrintPreview,
11872 &_swigt__p_wxPrinter,
11873 &_swigt__p_wxProgressDialog,
11874 &_swigt__p_wxPyApp,
11875 &_swigt__p_wxPyCommandEvent,
11876 &_swigt__p_wxPyDockArt,
11877 &_swigt__p_wxPyEvent,
11878 &_swigt__p_wxPyHtmlListBox,
11879 &_swigt__p_wxPyImageHandler,
11880 &_swigt__p_wxPyPanel,
11881 &_swigt__p_wxPyPopupTransientWindow,
11882 &_swigt__p_wxPyPreviewControlBar,
11883 &_swigt__p_wxPyPreviewFrame,
11884 &_swigt__p_wxPyPrintPreview,
11885 &_swigt__p_wxPyPrintout,
11886 &_swigt__p_wxPyScrolledWindow,
11887 &_swigt__p_wxPySizer,
11888 &_swigt__p_wxPyTaskBarIcon,
11889 &_swigt__p_wxPyVListBox,
11890 &_swigt__p_wxPyVScrolledWindow,
11891 &_swigt__p_wxPyValidator,
11892 &_swigt__p_wxPyWindow,
11893 &_swigt__p_wxQueryLayoutInfoEvent,
11894 &_swigt__p_wxQueryNewPaletteEvent,
11895 &_swigt__p_wxRect,
11896 &_swigt__p_wxSashEvent,
11897 &_swigt__p_wxSashLayoutWindow,
11898 &_swigt__p_wxSashWindow,
11899 &_swigt__p_wxScrollEvent,
11900 &_swigt__p_wxScrollWinEvent,
11901 &_swigt__p_wxScrolledWindow,
11902 &_swigt__p_wxSetCursorEvent,
11903 &_swigt__p_wxShowEvent,
11904 &_swigt__p_wxSingleChoiceDialog,
11905 &_swigt__p_wxSize,
11906 &_swigt__p_wxSizeEvent,
11907 &_swigt__p_wxSizer,
11908 &_swigt__p_wxSizerItem,
11909 &_swigt__p_wxSplashScreen,
11910 &_swigt__p_wxSplashScreenWindow,
11911 &_swigt__p_wxSplitterEvent,
11912 &_swigt__p_wxSplitterWindow,
11913 &_swigt__p_wxStaticBoxSizer,
11914 &_swigt__p_wxStatusBar,
11915 &_swigt__p_wxStdDialogButtonSizer,
11916 &_swigt__p_wxString,
11917 &_swigt__p_wxSysColourChangedEvent,
11918 &_swigt__p_wxTIFFHandler,
11919 &_swigt__p_wxTaskBarIconEvent,
11920 &_swigt__p_wxTextEntryDialog,
11921 &_swigt__p_wxTipWindow,
11922 &_swigt__p_wxTopLevelWindow,
11923 &_swigt__p_wxUpdateUIEvent,
11924 &_swigt__p_wxValidator,
11925 &_swigt__p_wxWindow,
11926 &_swigt__p_wxWindowCreateEvent,
11927 &_swigt__p_wxWindowDestroyEvent,
11928 &_swigt__p_wxXPMHandler,
11929 };
11930
11931 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11932 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11933 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11934 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11935 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11936 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11937 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
11938 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11939 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
11940 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}};
11941 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}};
11942 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
11943 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
11944 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11945 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11946 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11947 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11948 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11949 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11950 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11951 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11952 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11953 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11954 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11955 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11956 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11957 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11958 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11959 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11960 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11961 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11962 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11963 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11964 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11965 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11966 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11967 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
11968 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11969 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11970 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11971 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11972 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11973 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11974 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11975 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11976 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11977 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11978 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11979 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11980 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11981 static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11982 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11983 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11984 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11985 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11986 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11987 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11988 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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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}};
11989 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11990 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11991 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11992 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
11993 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11994 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11995 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11996 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11997 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11998 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11999 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
12000 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
12001 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
12002 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
12003 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
12004 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
12005 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
12006 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
12007 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
12008 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
12009 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
12010 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
12011 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
12012 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
12013 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
12014 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
12015 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
12016 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
12017 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
12018 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
12019 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
12020 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
12021 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
12022 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
12023 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
12024 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
12025 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
12026 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
12027 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
12028 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
12029 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
12030 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
12031 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
12032 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
12033 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
12034 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
12035 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_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_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}};
12036 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
12037 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
12038 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}};
12039 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
12040 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
12041 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}};
12042 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
12043 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
12044 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
12045 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
12046 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
12047 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
12048 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
12049 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
12050 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
12051 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
12052 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
12053 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
12054 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
12055 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
12056 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
12057 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
12058 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
12059 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
12060 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
12061 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
12062 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
12063 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
12064 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
12065 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
12066 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
12067 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
12068 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
12069 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
12070 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
12071 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
12072 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
12073 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
12074 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
12075 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
12076 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
12077 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
12078 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
12079 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
12080 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
12081 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
12082 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
12083 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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_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_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_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_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_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_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_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}};
12084 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
12085 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
12086 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
12087 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
12088 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
12089 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
12090 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
12091 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
12092 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
12093 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}};
12094 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}};
12095 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
12096 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}};
12097 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_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_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}};
12098
12099 static swig_cast_info *swig_cast_initial[] = {
12100 _swigc__p_char,
12101 _swigc__p_form_ops_t,
12102 _swigc__p_int,
12103 _swigc__p_unsigned_char,
12104 _swigc__p_unsigned_int,
12105 _swigc__p_unsigned_long,
12106 _swigc__p_wxANIHandler,
12107 _swigc__p_wxAcceleratorTable,
12108 _swigc__p_wxActivateEvent,
12109 _swigc__p_wxBMPHandler,
12110 _swigc__p_wxBoxSizer,
12111 _swigc__p_wxCURHandler,
12112 _swigc__p_wxCalculateLayoutEvent,
12113 _swigc__p_wxChildFocusEvent,
12114 _swigc__p_wxClipboardTextEvent,
12115 _swigc__p_wxCloseEvent,
12116 _swigc__p_wxColor,
12117 _swigc__p_wxColour,
12118 _swigc__p_wxColourData,
12119 _swigc__p_wxColourDialog,
12120 _swigc__p_wxCommandEvent,
12121 _swigc__p_wxContextMenuEvent,
12122 _swigc__p_wxControl,
12123 _swigc__p_wxControlWithItems,
12124 _swigc__p_wxDC,
12125 _swigc__p_wxDateEvent,
12126 _swigc__p_wxDefaultDockArt,
12127 _swigc__p_wxDialog,
12128 _swigc__p_wxDirDialog,
12129 _swigc__p_wxDisplayChangedEvent,
12130 _swigc__p_wxDockArt,
12131 _swigc__p_wxDockInfo,
12132 _swigc__p_wxDockUIPart,
12133 _swigc__p_wxDropFilesEvent,
12134 _swigc__p_wxDuplexMode,
12135 _swigc__p_wxEraseEvent,
12136 _swigc__p_wxEvent,
12137 _swigc__p_wxEvtHandler,
12138 _swigc__p_wxFSFile,
12139 _swigc__p_wxFileDialog,
12140 _swigc__p_wxFileSystem,
12141 _swigc__p_wxFindDialogEvent,
12142 _swigc__p_wxFindReplaceData,
12143 _swigc__p_wxFindReplaceDialog,
12144 _swigc__p_wxFlexGridSizer,
12145 _swigc__p_wxFloatingPane,
12146 _swigc__p_wxFocusEvent,
12147 _swigc__p_wxFont,
12148 _swigc__p_wxFontData,
12149 _swigc__p_wxFontDialog,
12150 _swigc__p_wxFrame,
12151 _swigc__p_wxFrameManager,
12152 _swigc__p_wxFrameManagerEvent,
12153 _swigc__p_wxGBSizerItem,
12154 _swigc__p_wxGIFHandler,
12155 _swigc__p_wxGridBagSizer,
12156 _swigc__p_wxGridSizer,
12157 _swigc__p_wxICOHandler,
12158 _swigc__p_wxIconizeEvent,
12159 _swigc__p_wxIdleEvent,
12160 _swigc__p_wxImage,
12161 _swigc__p_wxImageHandler,
12162 _swigc__p_wxIndividualLayoutConstraint,
12163 _swigc__p_wxInitDialogEvent,
12164 _swigc__p_wxJPEGHandler,
12165 _swigc__p_wxKeyEvent,
12166 _swigc__p_wxLayoutAlgorithm,
12167 _swigc__p_wxLayoutConstraints,
12168 _swigc__p_wxMDIChildFrame,
12169 _swigc__p_wxMDIClientWindow,
12170 _swigc__p_wxMDIParentFrame,
12171 _swigc__p_wxMaximizeEvent,
12172 _swigc__p_wxMenu,
12173 _swigc__p_wxMenuBar,
12174 _swigc__p_wxMenuEvent,
12175 _swigc__p_wxMenuItem,
12176 _swigc__p_wxMessageDialog,
12177 _swigc__p_wxMiniFrame,
12178 _swigc__p_wxMouseCaptureChangedEvent,
12179 _swigc__p_wxMouseEvent,
12180 _swigc__p_wxMoveEvent,
12181 _swigc__p_wxMultiChoiceDialog,
12182 _swigc__p_wxNavigationKeyEvent,
12183 _swigc__p_wxNcPaintEvent,
12184 _swigc__p_wxNotifyEvent,
12185 _swigc__p_wxNumberEntryDialog,
12186 _swigc__p_wxObject,
12187 _swigc__p_wxPCXHandler,
12188 _swigc__p_wxPNGHandler,
12189 _swigc__p_wxPNMHandler,
12190 _swigc__p_wxPageSetupDialog,
12191 _swigc__p_wxPageSetupDialogData,
12192 _swigc__p_wxPaintEvent,
12193 _swigc__p_wxPaletteChangedEvent,
12194 _swigc__p_wxPaneButton,
12195 _swigc__p_wxPaneButtonArray,
12196 _swigc__p_wxPaneInfo,
12197 _swigc__p_wxPaneInfoPtrArray,
12198 _swigc__p_wxPanel,
12199 _swigc__p_wxPaperSize,
12200 _swigc__p_wxPasswordEntryDialog,
12201 _swigc__p_wxPoint,
12202 _swigc__p_wxPopupWindow,
12203 _swigc__p_wxPreviewCanvas,
12204 _swigc__p_wxPreviewControlBar,
12205 _swigc__p_wxPreviewFrame,
12206 _swigc__p_wxPrintData,
12207 _swigc__p_wxPrintDialog,
12208 _swigc__p_wxPrintDialogData,
12209 _swigc__p_wxPrintPreview,
12210 _swigc__p_wxPrinter,
12211 _swigc__p_wxProgressDialog,
12212 _swigc__p_wxPyApp,
12213 _swigc__p_wxPyCommandEvent,
12214 _swigc__p_wxPyDockArt,
12215 _swigc__p_wxPyEvent,
12216 _swigc__p_wxPyHtmlListBox,
12217 _swigc__p_wxPyImageHandler,
12218 _swigc__p_wxPyPanel,
12219 _swigc__p_wxPyPopupTransientWindow,
12220 _swigc__p_wxPyPreviewControlBar,
12221 _swigc__p_wxPyPreviewFrame,
12222 _swigc__p_wxPyPrintPreview,
12223 _swigc__p_wxPyPrintout,
12224 _swigc__p_wxPyScrolledWindow,
12225 _swigc__p_wxPySizer,
12226 _swigc__p_wxPyTaskBarIcon,
12227 _swigc__p_wxPyVListBox,
12228 _swigc__p_wxPyVScrolledWindow,
12229 _swigc__p_wxPyValidator,
12230 _swigc__p_wxPyWindow,
12231 _swigc__p_wxQueryLayoutInfoEvent,
12232 _swigc__p_wxQueryNewPaletteEvent,
12233 _swigc__p_wxRect,
12234 _swigc__p_wxSashEvent,
12235 _swigc__p_wxSashLayoutWindow,
12236 _swigc__p_wxSashWindow,
12237 _swigc__p_wxScrollEvent,
12238 _swigc__p_wxScrollWinEvent,
12239 _swigc__p_wxScrolledWindow,
12240 _swigc__p_wxSetCursorEvent,
12241 _swigc__p_wxShowEvent,
12242 _swigc__p_wxSingleChoiceDialog,
12243 _swigc__p_wxSize,
12244 _swigc__p_wxSizeEvent,
12245 _swigc__p_wxSizer,
12246 _swigc__p_wxSizerItem,
12247 _swigc__p_wxSplashScreen,
12248 _swigc__p_wxSplashScreenWindow,
12249 _swigc__p_wxSplitterEvent,
12250 _swigc__p_wxSplitterWindow,
12251 _swigc__p_wxStaticBoxSizer,
12252 _swigc__p_wxStatusBar,
12253 _swigc__p_wxStdDialogButtonSizer,
12254 _swigc__p_wxString,
12255 _swigc__p_wxSysColourChangedEvent,
12256 _swigc__p_wxTIFFHandler,
12257 _swigc__p_wxTaskBarIconEvent,
12258 _swigc__p_wxTextEntryDialog,
12259 _swigc__p_wxTipWindow,
12260 _swigc__p_wxTopLevelWindow,
12261 _swigc__p_wxUpdateUIEvent,
12262 _swigc__p_wxValidator,
12263 _swigc__p_wxWindow,
12264 _swigc__p_wxWindowCreateEvent,
12265 _swigc__p_wxWindowDestroyEvent,
12266 _swigc__p_wxXPMHandler,
12267 };
12268
12269
12270 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12271
12272 static swig_const_info swig_const_table[] = {
12273 {0, 0, 0, 0.0, 0, 0}};
12274
12275 #ifdef __cplusplus
12276 }
12277 #endif
12278 /* -----------------------------------------------------------------------------
12279 * Type initialization:
12280 * This problem is tough by the requirement that no dynamic
12281 * memory is used. Also, since swig_type_info structures store pointers to
12282 * swig_cast_info structures and swig_cast_info structures store pointers back
12283 * to swig_type_info structures, we need some lookup code at initialization.
12284 * The idea is that swig generates all the structures that are needed.
12285 * The runtime then collects these partially filled structures.
12286 * The SWIG_InitializeModule function takes these initial arrays out of
12287 * swig_module, and does all the lookup, filling in the swig_module.types
12288 * array with the correct data and linking the correct swig_cast_info
12289 * structures together.
12290 *
12291 * The generated swig_type_info structures are assigned staticly to an initial
12292 * array. We just loop though that array, and handle each type individually.
12293 * First we lookup if this type has been already loaded, and if so, use the
12294 * loaded structure instead of the generated one. Then we have to fill in the
12295 * cast linked list. The cast data is initially stored in something like a
12296 * two-dimensional array. Each row corresponds to a type (there are the same
12297 * number of rows as there are in the swig_type_initial array). Each entry in
12298 * a column is one of the swig_cast_info structures for that type.
12299 * The cast_initial array is actually an array of arrays, because each row has
12300 * a variable number of columns. So to actually build the cast linked list,
12301 * we find the array of casts associated with the type, and loop through it
12302 * adding the casts to the list. The one last trick we need to do is making
12303 * sure the type pointer in the swig_cast_info struct is correct.
12304 *
12305 * First off, we lookup the cast->type name to see if it is already loaded.
12306 * There are three cases to handle:
12307 * 1) If the cast->type has already been loaded AND the type we are adding
12308 * casting info to has not been loaded (it is in this module), THEN we
12309 * replace the cast->type pointer with the type pointer that has already
12310 * been loaded.
12311 * 2) If BOTH types (the one we are adding casting info to, and the
12312 * cast->type) are loaded, THEN the cast info has already been loaded by
12313 * the previous module so we just ignore it.
12314 * 3) Finally, if cast->type has not already been loaded, then we add that
12315 * swig_cast_info to the linked list (because the cast->type) pointer will
12316 * be correct.
12317 * ----------------------------------------------------------------------------- */
12318
12319 #ifdef __cplusplus
12320 extern "C" {
12321 #if 0
12322 } /* c-mode */
12323 #endif
12324 #endif
12325
12326 #if 0
12327 #define SWIGRUNTIME_DEBUG
12328 #endif
12329
12330 SWIGRUNTIME void
12331 SWIG_InitializeModule(void *clientdata) {
12332 size_t i;
12333 swig_module_info *module_head;
12334 static int init_run = 0;
12335
12336 clientdata = clientdata;
12337
12338 if (init_run) return;
12339 init_run = 1;
12340
12341 /* Initialize the swig_module */
12342 swig_module.type_initial = swig_type_initial;
12343 swig_module.cast_initial = swig_cast_initial;
12344
12345 /* Try and load any already created modules */
12346 module_head = SWIG_GetModule(clientdata);
12347 if (module_head) {
12348 swig_module.next = module_head->next;
12349 module_head->next = &swig_module;
12350 } else {
12351 /* This is the first module loaded */
12352 swig_module.next = &swig_module;
12353 SWIG_SetModule(clientdata, &swig_module);
12354 }
12355
12356 /* Now work on filling in swig_module.types */
12357 #ifdef SWIGRUNTIME_DEBUG
12358 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
12359 #endif
12360 for (i = 0; i < swig_module.size; ++i) {
12361 swig_type_info *type = 0;
12362 swig_type_info *ret;
12363 swig_cast_info *cast;
12364
12365 #ifdef SWIGRUNTIME_DEBUG
12366 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
12367 #endif
12368
12369 /* if there is another module already loaded */
12370 if (swig_module.next != &swig_module) {
12371 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
12372 }
12373 if (type) {
12374 /* Overwrite clientdata field */
12375 #ifdef SWIGRUNTIME_DEBUG
12376 printf("SWIG_InitializeModule: found type %s\n", type->name);
12377 #endif
12378 if (swig_module.type_initial[i]->clientdata) {
12379 type->clientdata = swig_module.type_initial[i]->clientdata;
12380 #ifdef SWIGRUNTIME_DEBUG
12381 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
12382 #endif
12383 }
12384 } else {
12385 type = swig_module.type_initial[i];
12386 }
12387
12388 /* Insert casting types */
12389 cast = swig_module.cast_initial[i];
12390 while (cast->type) {
12391 /* Don't need to add information already in the list */
12392 ret = 0;
12393 #ifdef SWIGRUNTIME_DEBUG
12394 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
12395 #endif
12396 if (swig_module.next != &swig_module) {
12397 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
12398 #ifdef SWIGRUNTIME_DEBUG
12399 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
12400 #endif
12401 }
12402 if (ret) {
12403 if (type == swig_module.type_initial[i]) {
12404 #ifdef SWIGRUNTIME_DEBUG
12405 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
12406 #endif
12407 cast->type = ret;
12408 ret = 0;
12409 } else {
12410 /* Check for casting already in the list */
12411 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
12412 #ifdef SWIGRUNTIME_DEBUG
12413 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
12414 #endif
12415 if (!ocast) ret = 0;
12416 }
12417 }
12418
12419 if (!ret) {
12420 #ifdef SWIGRUNTIME_DEBUG
12421 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
12422 #endif
12423 if (type->cast) {
12424 type->cast->prev = cast;
12425 cast->next = type->cast;
12426 }
12427 type->cast = cast;
12428 }
12429 cast++;
12430 }
12431 /* Set entry in modules->types array equal to the type */
12432 swig_module.types[i] = type;
12433 }
12434 swig_module.types[i] = 0;
12435
12436 #ifdef SWIGRUNTIME_DEBUG
12437 printf("**** SWIG_InitializeModule: Cast List ******\n");
12438 for (i = 0; i < swig_module.size; ++i) {
12439 int j = 0;
12440 swig_cast_info *cast = swig_module.cast_initial[i];
12441 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
12442 while (cast->type) {
12443 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
12444 cast++;
12445 ++j;
12446 }
12447 printf("---- Total casts: %d\n",j);
12448 }
12449 printf("**** SWIG_InitializeModule: Cast List ******\n");
12450 #endif
12451 }
12452
12453 /* This function will propagate the clientdata field of type to
12454 * any new swig_type_info structures that have been added into the list
12455 * of equivalent types. It is like calling
12456 * SWIG_TypeClientData(type, clientdata) a second time.
12457 */
12458 SWIGRUNTIME void
12459 SWIG_PropagateClientData(void) {
12460 size_t i;
12461 swig_cast_info *equiv;
12462 static int init_run = 0;
12463
12464 if (init_run) return;
12465 init_run = 1;
12466
12467 for (i = 0; i < swig_module.size; i++) {
12468 if (swig_module.types[i]->clientdata) {
12469 equiv = swig_module.types[i]->cast;
12470 while (equiv) {
12471 if (!equiv->converter) {
12472 if (equiv->type && !equiv->type->clientdata)
12473 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
12474 }
12475 equiv = equiv->next;
12476 }
12477 }
12478 }
12479 }
12480
12481 #ifdef __cplusplus
12482 #if 0
12483 {
12484 /* c-mode */
12485 #endif
12486 }
12487 #endif
12488
12489
12490
12491 #ifdef __cplusplus
12492 extern "C" {
12493 #endif
12494
12495 /* Python-specific SWIG API */
12496 #define SWIG_newvarlink() SWIG_Python_newvarlink()
12497 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
12498 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
12499
12500 /* -----------------------------------------------------------------------------
12501 * global variable support code.
12502 * ----------------------------------------------------------------------------- */
12503
12504 typedef struct swig_globalvar {
12505 char *name; /* Name of global variable */
12506 PyObject *(*get_attr)(void); /* Return the current value */
12507 int (*set_attr)(PyObject *); /* Set the value */
12508 struct swig_globalvar *next;
12509 } swig_globalvar;
12510
12511 typedef struct swig_varlinkobject {
12512 PyObject_HEAD
12513 swig_globalvar *vars;
12514 } swig_varlinkobject;
12515
12516 SWIGINTERN PyObject *
12517 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
12518 return PyString_FromString("<Swig global variables>");
12519 }
12520
12521 SWIGINTERN PyObject *
12522 swig_varlink_str(swig_varlinkobject *v) {
12523 PyObject *str = PyString_FromString("(");
12524 swig_globalvar *var;
12525 for (var = v->vars; var; var=var->next) {
12526 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
12527 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
12528 }
12529 PyString_ConcatAndDel(&str,PyString_FromString(")"));
12530 return str;
12531 }
12532
12533 SWIGINTERN int
12534 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
12535 PyObject *str = swig_varlink_str(v);
12536 fprintf(fp,"Swig global variables ");
12537 fprintf(fp,"%s\n", PyString_AsString(str));
12538 Py_DECREF(str);
12539 return 0;
12540 }
12541
12542 SWIGINTERN void
12543 swig_varlink_dealloc(swig_varlinkobject *v) {
12544 swig_globalvar *var = v->vars;
12545 while (var) {
12546 swig_globalvar *n = var->next;
12547 free(var->name);
12548 free(var);
12549 var = n;
12550 }
12551 }
12552
12553 SWIGINTERN PyObject *
12554 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
12555 PyObject *res = NULL;
12556 swig_globalvar *var = v->vars;
12557 while (var) {
12558 if (strcmp(var->name,n) == 0) {
12559 res = (*var->get_attr)();
12560 break;
12561 }
12562 var = var->next;
12563 }
12564 if (res == NULL && !PyErr_Occurred()) {
12565 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12566 }
12567 return res;
12568 }
12569
12570 SWIGINTERN int
12571 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
12572 int res = 1;
12573 swig_globalvar *var = v->vars;
12574 while (var) {
12575 if (strcmp(var->name,n) == 0) {
12576 res = (*var->set_attr)(p);
12577 break;
12578 }
12579 var = var->next;
12580 }
12581 if (res == 1 && !PyErr_Occurred()) {
12582 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12583 }
12584 return res;
12585 }
12586
12587 SWIGINTERN PyTypeObject*
12588 swig_varlink_type(void) {
12589 static char varlink__doc__[] = "Swig var link object";
12590 static PyTypeObject varlink_type;
12591 static int type_init = 0;
12592 if (!type_init) {
12593 const PyTypeObject tmp
12594 = {
12595 PyObject_HEAD_INIT(NULL)
12596 0, /* Number of items in variable part (ob_size) */
12597 (char *)"swigvarlink", /* Type name (tp_name) */
12598 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
12599 0, /* Itemsize (tp_itemsize) */
12600 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
12601 (printfunc) swig_varlink_print, /* Print (tp_print) */
12602 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
12603 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
12604 0, /* tp_compare */
12605 (reprfunc) swig_varlink_repr, /* tp_repr */
12606 0, /* tp_as_number */
12607 0, /* tp_as_sequence */
12608 0, /* tp_as_mapping */
12609 0, /* tp_hash */
12610 0, /* tp_call */
12611 (reprfunc)swig_varlink_str, /* tp_str */
12612 0, /* tp_getattro */
12613 0, /* tp_setattro */
12614 0, /* tp_as_buffer */
12615 0, /* tp_flags */
12616 varlink__doc__, /* tp_doc */
12617 0, /* tp_traverse */
12618 0, /* tp_clear */
12619 0, /* tp_richcompare */
12620 0, /* tp_weaklistoffset */
12621 #if PY_VERSION_HEX >= 0x02020000
12622 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
12623 #endif
12624 #if PY_VERSION_HEX >= 0x02030000
12625 0, /* tp_del */
12626 #endif
12627 #ifdef COUNT_ALLOCS
12628 0,0,0,0 /* tp_alloc -> tp_next */
12629 #endif
12630 };
12631 varlink_type = tmp;
12632 varlink_type.ob_type = &PyType_Type;
12633 type_init = 1;
12634 }
12635 return &varlink_type;
12636 }
12637
12638 /* Create a variable linking object for use later */
12639 SWIGINTERN PyObject *
12640 SWIG_Python_newvarlink(void) {
12641 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
12642 if (result) {
12643 result->vars = 0;
12644 }
12645 return ((PyObject*) result);
12646 }
12647
12648 SWIGINTERN void
12649 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
12650 swig_varlinkobject *v = (swig_varlinkobject *) p;
12651 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
12652 if (gv) {
12653 size_t size = strlen(name)+1;
12654 gv->name = (char *)malloc(size);
12655 if (gv->name) {
12656 strncpy(gv->name,name,size);
12657 gv->get_attr = get_attr;
12658 gv->set_attr = set_attr;
12659 gv->next = v->vars;
12660 }
12661 }
12662 v->vars = gv;
12663 }
12664
12665 SWIGINTERN PyObject *
12666 SWIG_globals() {
12667 static PyObject *_SWIG_globals = 0;
12668 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
12669 return _SWIG_globals;
12670 }
12671
12672 /* -----------------------------------------------------------------------------
12673 * constants/methods manipulation
12674 * ----------------------------------------------------------------------------- */
12675
12676 /* Install Constants */
12677 SWIGINTERN void
12678 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
12679 PyObject *obj = 0;
12680 size_t i;
12681 for (i = 0; constants[i].type; ++i) {
12682 switch(constants[i].type) {
12683 case SWIG_PY_POINTER:
12684 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
12685 break;
12686 case SWIG_PY_BINARY:
12687 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
12688 break;
12689 default:
12690 obj = 0;
12691 break;
12692 }
12693 if (obj) {
12694 PyDict_SetItemString(d, constants[i].name, obj);
12695 Py_DECREF(obj);
12696 }
12697 }
12698 }
12699
12700 /* -----------------------------------------------------------------------------*/
12701 /* Fix SwigMethods to carry the callback ptrs when needed */
12702 /* -----------------------------------------------------------------------------*/
12703
12704 SWIGINTERN void
12705 SWIG_Python_FixMethods(PyMethodDef *methods,
12706 swig_const_info *const_table,
12707 swig_type_info **types,
12708 swig_type_info **types_initial) {
12709 size_t i;
12710 for (i = 0; methods[i].ml_name; ++i) {
12711 const char *c = methods[i].ml_doc;
12712 if (c && (c = strstr(c, "swig_ptr: "))) {
12713 int j;
12714 swig_const_info *ci = 0;
12715 const char *name = c + 10;
12716 for (j = 0; const_table[j].type; ++j) {
12717 if (strncmp(const_table[j].name, name,
12718 strlen(const_table[j].name)) == 0) {
12719 ci = &(const_table[j]);
12720 break;
12721 }
12722 }
12723 if (ci) {
12724 size_t shift = (ci->ptype) - types;
12725 swig_type_info *ty = types_initial[shift];
12726 size_t ldoc = (c - methods[i].ml_doc);
12727 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
12728 char *ndoc = (char*)malloc(ldoc + lptr + 10);
12729 if (ndoc) {
12730 char *buff = ndoc;
12731 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
12732 if (ptr) {
12733 strncpy(buff, methods[i].ml_doc, ldoc);
12734 buff += ldoc;
12735 strncpy(buff, "swig_ptr: ", 10);
12736 buff += 10;
12737 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
12738 methods[i].ml_doc = ndoc;
12739 }
12740 }
12741 }
12742 }
12743 }
12744 }
12745
12746 #ifdef __cplusplus
12747 }
12748 #endif
12749
12750 /* -----------------------------------------------------------------------------*
12751 * Partial Init method
12752 * -----------------------------------------------------------------------------*/
12753
12754 #ifdef __cplusplus
12755 extern "C"
12756 #endif
12757 SWIGEXPORT void SWIG_init(void) {
12758 PyObject *m, *d;
12759
12760 /* Fix SwigMethods to carry the callback ptrs when needed */
12761 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12762
12763 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12764 d = PyModule_GetDict(m);
12765
12766 SWIG_InitializeModule(0);
12767 SWIG_InstallConstants(d,swig_const_table);
12768
12769
12770 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
12771 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
12772 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
12773 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
12774 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
12775 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
12776 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
12777 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
12778 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
12779 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
12780 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
12781 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
12782 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
12783 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
12784 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
12785 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
12786 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
12787 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
12788 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
12789 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
12790 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
12791 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
12792 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
12793 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
12794 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
12795 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
12796 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
12797 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
12798 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
12799 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
12800 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
12801 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
12802 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
12803 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
12804 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
12805 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
12806 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
12807 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
12808 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
12809 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
12810 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
12811 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
12812 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
12813 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
12814 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
12815 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
12816 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
12817 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
12818 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
12819 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
12820 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
12821 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
12822 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
12823 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
12824 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
12825 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
12826 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
12827 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
12828 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
12829 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
12830 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
12831 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
12832 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
12833 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
12834 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
12835 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
12836 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
12837 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
12838 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
12839 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
12840 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
12841 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
12842 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
12843 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
12844 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
12845 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
12846 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
12847 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
12848 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
12849 }
12850