]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/aui_wrap.cpp
wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows...
[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 wxWindow *arg2 = (wxWindow *) 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_wxWindow, 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 '" "wxWindow *""'");
5814 }
5815 arg2 = reinterpret_cast< wxWindow * >(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 wxWindow *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 = (wxWindow *) ((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 wxFrame *arg1 = (wxFrame *) 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 *) "frame",(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_wxFrame, 0 | 0 );
6576 if (!SWIG_IsOK(res1)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FrameManager" "', expected argument " "1"" of type '" "wxFrame *""'");
6578 }
6579 arg1 = reinterpret_cast< wxFrame * >(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_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6723 PyObject *resultobj = 0;
6724 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6725 wxFrame *arg2 = (wxFrame *) 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 *) "frame", NULL
6734 };
6735
6736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_SetFrame",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_SetFrame" "', expected argument " "1"" of type '" "wxFrameManager *""'");
6740 }
6741 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6742 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
6743 if (!SWIG_IsOK(res2)) {
6744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
6745 }
6746 arg2 = reinterpret_cast< wxFrame * >(argp2);
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 (arg1)->SetFrame(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_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6761 PyObject *resultobj = 0;
6762 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
6763 wxFrame *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_GetFrame" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6773 }
6774 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxFrame *)((wxFrameManager const *)arg1)->GetFrame();
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__AddPane2(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj = 0;
7037 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7038 wxWindow *arg2 = (wxWindow *) 0 ;
7039 int arg3 = (int) wxLEFT ;
7040 wxString const &arg4_defvalue = wxEmptyString ;
7041 wxString *arg4 = (wxString *) &arg4_defvalue ;
7042 bool result;
7043 void *argp1 = 0 ;
7044 int res1 = 0 ;
7045 void *argp2 = 0 ;
7046 int res2 = 0 ;
7047 int val3 ;
7048 int ecode3 = 0 ;
7049 bool temp4 = false ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 PyObject * obj3 = 0 ;
7054 char * kwnames[] = {
7055 (char *) "self",(char *) "window",(char *) "direction",(char *) "caption", NULL
7056 };
7057
7058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:FrameManager__AddPane2",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7060 if (!SWIG_IsOK(res1)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager__AddPane2" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7062 }
7063 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7065 if (!SWIG_IsOK(res2)) {
7066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager__AddPane2" "', expected argument " "2"" of type '" "wxWindow *""'");
7067 }
7068 arg2 = reinterpret_cast< wxWindow * >(argp2);
7069 if (obj2) {
7070 ecode3 = SWIG_AsVal_int(obj2, &val3);
7071 if (!SWIG_IsOK(ecode3)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager__AddPane2" "', expected argument " "3"" of type '" "int""'");
7073 }
7074 arg3 = static_cast< int >(val3);
7075 }
7076 if (obj3) {
7077 {
7078 arg4 = wxString_in_helper(obj3);
7079 if (arg4 == NULL) SWIG_fail;
7080 temp4 = true;
7081 }
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 result = (bool)(arg1)->AddPane(arg2,arg3,(wxString const &)*arg4);
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 {
7090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7091 }
7092 {
7093 if (temp4)
7094 delete arg4;
7095 }
7096 return resultobj;
7097 fail:
7098 {
7099 if (temp4)
7100 delete arg4;
7101 }
7102 return NULL;
7103 }
7104
7105
7106 SWIGINTERN PyObject *_wrap_FrameManager_InsertPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj = 0;
7108 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7109 wxWindow *arg2 = (wxWindow *) 0 ;
7110 wxPaneInfo *arg3 = 0 ;
7111 int arg4 = (int) wxAUI_INSERT_PANE ;
7112 bool result;
7113 void *argp1 = 0 ;
7114 int res1 = 0 ;
7115 void *argp2 = 0 ;
7116 int res2 = 0 ;
7117 void *argp3 = 0 ;
7118 int res3 = 0 ;
7119 int val4 ;
7120 int ecode4 = 0 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 PyObject * obj2 = 0 ;
7124 PyObject * obj3 = 0 ;
7125 char * kwnames[] = {
7126 (char *) "self",(char *) "window",(char *) "insert_location",(char *) "insert_level", NULL
7127 };
7128
7129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FrameManager_InsertPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7131 if (!SWIG_IsOK(res1)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_InsertPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7133 }
7134 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7135 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7136 if (!SWIG_IsOK(res2)) {
7137 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_InsertPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7138 }
7139 arg2 = reinterpret_cast< wxWindow * >(argp2);
7140 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
7141 if (!SWIG_IsOK(res3)) {
7142 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7143 }
7144 if (!argp3) {
7145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_InsertPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
7146 }
7147 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
7148 if (obj3) {
7149 ecode4 = SWIG_AsVal_int(obj3, &val4);
7150 if (!SWIG_IsOK(ecode4)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "FrameManager_InsertPane" "', expected argument " "4"" of type '" "int""'");
7152 }
7153 arg4 = static_cast< int >(val4);
7154 }
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 result = (bool)(arg1)->InsertPane(arg2,(wxPaneInfo const &)*arg3,arg4);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 {
7162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7163 }
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 SWIGINTERN PyObject *_wrap_FrameManager_DetachPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj = 0;
7172 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7173 wxWindow *arg2 = (wxWindow *) 0 ;
7174 bool result;
7175 void *argp1 = 0 ;
7176 int res1 = 0 ;
7177 void *argp2 = 0 ;
7178 int res2 = 0 ;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char * kwnames[] = {
7182 (char *) "self",(char *) "window", NULL
7183 };
7184
7185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_DetachPane",kwnames,&obj0,&obj1)) SWIG_fail;
7186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7187 if (!SWIG_IsOK(res1)) {
7188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_DetachPane" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7189 }
7190 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7192 if (!SWIG_IsOK(res2)) {
7193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_DetachPane" "', expected argument " "2"" of type '" "wxWindow *""'");
7194 }
7195 arg2 = reinterpret_cast< wxWindow * >(argp2);
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)(arg1)->DetachPane(arg2);
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7204 }
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 SWIGINTERN PyObject *_wrap_FrameManager_SavePerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7212 PyObject *resultobj = 0;
7213 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7214 wxString result;
7215 void *argp1 = 0 ;
7216 int res1 = 0 ;
7217 PyObject *swig_obj[1] ;
7218
7219 if (!args) SWIG_fail;
7220 swig_obj[0] = args;
7221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7222 if (!SWIG_IsOK(res1)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_SavePerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7224 }
7225 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7226 {
7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7228 result = (arg1)->SavePerspective();
7229 wxPyEndAllowThreads(__tstate);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 {
7233 #if wxUSE_UNICODE
7234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7235 #else
7236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7237 #endif
7238 }
7239 return resultobj;
7240 fail:
7241 return NULL;
7242 }
7243
7244
7245 SWIGINTERN PyObject *_wrap_FrameManager_LoadPerspective(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj = 0;
7247 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7248 wxString *arg2 = 0 ;
7249 bool arg3 = (bool) true ;
7250 bool result;
7251 void *argp1 = 0 ;
7252 int res1 = 0 ;
7253 bool temp2 = false ;
7254 bool val3 ;
7255 int ecode3 = 0 ;
7256 PyObject * obj0 = 0 ;
7257 PyObject * obj1 = 0 ;
7258 PyObject * obj2 = 0 ;
7259 char * kwnames[] = {
7260 (char *) "self",(char *) "perspective",(char *) "update", NULL
7261 };
7262
7263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FrameManager_LoadPerspective",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7265 if (!SWIG_IsOK(res1)) {
7266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_LoadPerspective" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7267 }
7268 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7269 {
7270 arg2 = wxString_in_helper(obj1);
7271 if (arg2 == NULL) SWIG_fail;
7272 temp2 = true;
7273 }
7274 if (obj2) {
7275 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7276 if (!SWIG_IsOK(ecode3)) {
7277 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FrameManager_LoadPerspective" "', expected argument " "3"" of type '" "bool""'");
7278 }
7279 arg3 = static_cast< bool >(val3);
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 result = (bool)(arg1)->LoadPerspective((wxString const &)*arg2,arg3);
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7289 }
7290 {
7291 if (temp2)
7292 delete arg2;
7293 }
7294 return resultobj;
7295 fail:
7296 {
7297 if (temp2)
7298 delete arg2;
7299 }
7300 return NULL;
7301 }
7302
7303
7304 SWIGINTERN PyObject *_wrap_FrameManager_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7305 PyObject *resultobj = 0;
7306 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7307 void *argp1 = 0 ;
7308 int res1 = 0 ;
7309 PyObject *swig_obj[1] ;
7310
7311 if (!args) SWIG_fail;
7312 swig_obj[0] = args;
7313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7314 if (!SWIG_IsOK(res1)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_Update" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7316 }
7317 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 (arg1)->Update();
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 resultobj = SWIG_Py_Void();
7325 return resultobj;
7326 fail:
7327 return NULL;
7328 }
7329
7330
7331 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7332 PyObject *obj;
7333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7334 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7335 return SWIG_Py_Void();
7336 }
7337
7338 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7339 return SWIG_Python_InitShadowInstance(args);
7340 }
7341
7342 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7343 PyObject *resultobj = 0;
7344 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7345 wxFrameManagerEvent *result = 0 ;
7346 int val1 ;
7347 int ecode1 = 0 ;
7348 PyObject * obj0 = 0 ;
7349 char * kwnames[] = {
7350 (char *) "type", NULL
7351 };
7352
7353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7354 if (obj0) {
7355 ecode1 = SWIG_AsVal_int(obj0, &val1);
7356 if (!SWIG_IsOK(ecode1)) {
7357 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7358 }
7359 arg1 = static_cast< wxEventType >(val1);
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7375 PyObject *resultobj = 0;
7376 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7377 wxEvent *result = 0 ;
7378 void *argp1 = 0 ;
7379 int res1 = 0 ;
7380 PyObject *swig_obj[1] ;
7381
7382 if (!args) SWIG_fail;
7383 swig_obj[0] = args;
7384 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7385 if (!SWIG_IsOK(res1)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7387 }
7388 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7396 return resultobj;
7397 fail:
7398 return NULL;
7399 }
7400
7401
7402 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj = 0;
7404 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7405 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7406 void *argp1 = 0 ;
7407 int res1 = 0 ;
7408 void *argp2 = 0 ;
7409 int res2 = 0 ;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 char * kwnames[] = {
7413 (char *) "self",(char *) "p", NULL
7414 };
7415
7416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7418 if (!SWIG_IsOK(res1)) {
7419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7420 }
7421 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7423 if (!SWIG_IsOK(res2)) {
7424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7425 }
7426 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetPane(arg2);
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_Py_Void();
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj = 0;
7442 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7443 int arg2 ;
7444 void *argp1 = 0 ;
7445 int res1 = 0 ;
7446 int val2 ;
7447 int ecode2 = 0 ;
7448 PyObject * obj0 = 0 ;
7449 PyObject * obj1 = 0 ;
7450 char * kwnames[] = {
7451 (char *) "self",(char *) "b", NULL
7452 };
7453
7454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7456 if (!SWIG_IsOK(res1)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7458 }
7459 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7460 ecode2 = SWIG_AsVal_int(obj1, &val2);
7461 if (!SWIG_IsOK(ecode2)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7463 }
7464 arg2 = static_cast< int >(val2);
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 (arg1)->SetButton(arg2);
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 resultobj = SWIG_Py_Void();
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7479 PyObject *resultobj = 0;
7480 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7481 wxPaneInfo *result = 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_wxFrameManagerEvent, 0 | 0 );
7489 if (!SWIG_IsOK(res1)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7491 }
7492 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (wxPaneInfo *)(arg1)->GetPane();
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7500 return resultobj;
7501 fail:
7502 return NULL;
7503 }
7504
7505
7506 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7507 PyObject *resultobj = 0;
7508 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7509 int result;
7510 void *argp1 = 0 ;
7511 int res1 = 0 ;
7512 PyObject *swig_obj[1] ;
7513
7514 if (!args) SWIG_fail;
7515 swig_obj[0] = args;
7516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7517 if (!SWIG_IsOK(res1)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7519 }
7520 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (int)(arg1)->GetButton();
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_From_int(static_cast< int >(result));
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj = 0;
7536 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7537 bool arg2 = (bool) true ;
7538 void *argp1 = 0 ;
7539 int res1 = 0 ;
7540 bool val2 ;
7541 int ecode2 = 0 ;
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char * kwnames[] = {
7545 (char *) "self",(char *) "veto", NULL
7546 };
7547
7548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
7549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7550 if (!SWIG_IsOK(res1)) {
7551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7552 }
7553 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7554 if (obj1) {
7555 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7556 if (!SWIG_IsOK(ecode2)) {
7557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
7558 }
7559 arg2 = static_cast< bool >(val2);
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 (arg1)->Veto(arg2);
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 resultobj = SWIG_Py_Void();
7568 return resultobj;
7569 fail:
7570 return NULL;
7571 }
7572
7573
7574 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7575 PyObject *resultobj = 0;
7576 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7577 bool result;
7578 void *argp1 = 0 ;
7579 int res1 = 0 ;
7580 PyObject *swig_obj[1] ;
7581
7582 if (!args) SWIG_fail;
7583 swig_obj[0] = args;
7584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7585 if (!SWIG_IsOK(res1)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7587 }
7588 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 {
7596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7597 }
7598 return resultobj;
7599 fail:
7600 return NULL;
7601 }
7602
7603
7604 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj = 0;
7606 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7607 bool arg2 ;
7608 void *argp1 = 0 ;
7609 int res1 = 0 ;
7610 bool val2 ;
7611 int ecode2 = 0 ;
7612 PyObject * obj0 = 0 ;
7613 PyObject * obj1 = 0 ;
7614 char * kwnames[] = {
7615 (char *) "self",(char *) "can_veto", NULL
7616 };
7617
7618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
7619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7620 if (!SWIG_IsOK(res1)) {
7621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7622 }
7623 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7624 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7625 if (!SWIG_IsOK(ecode2)) {
7626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
7627 }
7628 arg2 = static_cast< bool >(val2);
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 (arg1)->SetCanVeto(arg2);
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = SWIG_Py_Void();
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7643 PyObject *resultobj = 0;
7644 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7645 bool result;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 PyObject *swig_obj[1] ;
7649
7650 if (!args) SWIG_fail;
7651 swig_obj[0] = args;
7652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7653 if (!SWIG_IsOK(res1)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7655 }
7656 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 {
7664 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7665 }
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7673 PyObject *resultobj = 0;
7674 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7675 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7676 void *argp1 = 0 ;
7677 int res1 = 0 ;
7678 void *argp2 = 0 ;
7679 int res2 = 0 ;
7680 PyObject *swig_obj[2] ;
7681
7682 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
7683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7684 if (!SWIG_IsOK(res1)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7686 }
7687 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7688 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
7689 if (!SWIG_IsOK(res2)) {
7690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7691 }
7692 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7693 if (arg1) (arg1)->pane = arg2;
7694
7695 resultobj = SWIG_Py_Void();
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7703 PyObject *resultobj = 0;
7704 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7705 wxPaneInfo *result = 0 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 PyObject *swig_obj[1] ;
7709
7710 if (!args) SWIG_fail;
7711 swig_obj[0] = args;
7712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7715 }
7716 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7717 result = (wxPaneInfo *) ((arg1)->pane);
7718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7726 PyObject *resultobj = 0;
7727 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7728 int arg2 ;
7729 void *argp1 = 0 ;
7730 int res1 = 0 ;
7731 int val2 ;
7732 int ecode2 = 0 ;
7733 PyObject *swig_obj[2] ;
7734
7735 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
7736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7737 if (!SWIG_IsOK(res1)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7739 }
7740 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7741 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
7742 if (!SWIG_IsOK(ecode2)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
7744 }
7745 arg2 = static_cast< int >(val2);
7746 if (arg1) (arg1)->button = arg2;
7747
7748 resultobj = SWIG_Py_Void();
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7756 PyObject *resultobj = 0;
7757 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7758 int result;
7759 void *argp1 = 0 ;
7760 int res1 = 0 ;
7761 PyObject *swig_obj[1] ;
7762
7763 if (!args) SWIG_fail;
7764 swig_obj[0] = args;
7765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7766 if (!SWIG_IsOK(res1)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7768 }
7769 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7770 result = (int) ((arg1)->button);
7771 resultobj = SWIG_From_int(static_cast< int >(result));
7772 return resultobj;
7773 fail:
7774 return NULL;
7775 }
7776
7777
7778 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7779 PyObject *resultobj = 0;
7780 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7781 bool arg2 ;
7782 void *argp1 = 0 ;
7783 int res1 = 0 ;
7784 bool val2 ;
7785 int ecode2 = 0 ;
7786 PyObject *swig_obj[2] ;
7787
7788 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
7789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7790 if (!SWIG_IsOK(res1)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7792 }
7793 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7794 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
7795 if (!SWIG_IsOK(ecode2)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
7797 }
7798 arg2 = static_cast< bool >(val2);
7799 if (arg1) (arg1)->veto_flag = arg2;
7800
7801 resultobj = SWIG_Py_Void();
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7809 PyObject *resultobj = 0;
7810 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7811 bool result;
7812 void *argp1 = 0 ;
7813 int res1 = 0 ;
7814 PyObject *swig_obj[1] ;
7815
7816 if (!args) SWIG_fail;
7817 swig_obj[0] = args;
7818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7819 if (!SWIG_IsOK(res1)) {
7820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7821 }
7822 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7823 result = (bool) ((arg1)->veto_flag);
7824 {
7825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7834 PyObject *resultobj = 0;
7835 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7836 bool arg2 ;
7837 void *argp1 = 0 ;
7838 int res1 = 0 ;
7839 bool val2 ;
7840 int ecode2 = 0 ;
7841 PyObject *swig_obj[2] ;
7842
7843 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
7844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7845 if (!SWIG_IsOK(res1)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7847 }
7848 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7849 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
7850 if (!SWIG_IsOK(ecode2)) {
7851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
7852 }
7853 arg2 = static_cast< bool >(val2);
7854 if (arg1) (arg1)->canveto_flag = arg2;
7855
7856 resultobj = SWIG_Py_Void();
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7864 PyObject *resultobj = 0;
7865 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7866 bool result;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 PyObject *swig_obj[1] ;
7870
7871 if (!args) SWIG_fail;
7872 swig_obj[0] = args;
7873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7874 if (!SWIG_IsOK(res1)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7876 }
7877 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7878 result = (bool) ((arg1)->canveto_flag);
7879 {
7880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7881 }
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7889 PyObject *obj;
7890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7891 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
7892 return SWIG_Py_Void();
7893 }
7894
7895 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7896 return SWIG_Python_InitShadowInstance(args);
7897 }
7898
7899 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7900 PyObject *resultobj = 0;
7901 wxDockInfo *result = 0 ;
7902
7903 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 result = (wxDockInfo *)new wxDockInfo();
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
7911 return resultobj;
7912 fail:
7913 return NULL;
7914 }
7915
7916
7917 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7918 PyObject *resultobj = 0;
7919 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
7920 bool result;
7921 void *argp1 = 0 ;
7922 int res1 = 0 ;
7923 PyObject *swig_obj[1] ;
7924
7925 if (!args) SWIG_fail;
7926 swig_obj[0] = args;
7927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
7928 if (!SWIG_IsOK(res1)) {
7929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
7930 }
7931 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (bool)((wxDockInfo const *)arg1)->IsOk();
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 {
7939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7940 }
7941 return resultobj;
7942 fail:
7943 return NULL;
7944 }
7945
7946
7947 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7948 PyObject *resultobj = 0;
7949 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
7950 bool result;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 PyObject *swig_obj[1] ;
7954
7955 if (!args) SWIG_fail;
7956 swig_obj[0] = args;
7957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
7958 if (!SWIG_IsOK(res1)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
7960 }
7961 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7970 }
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7978 PyObject *resultobj = 0;
7979 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
7980 bool result;
7981 void *argp1 = 0 ;
7982 int res1 = 0 ;
7983 PyObject *swig_obj[1] ;
7984
7985 if (!args) SWIG_fail;
7986 swig_obj[0] = args;
7987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
7988 if (!SWIG_IsOK(res1)) {
7989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
7990 }
7991 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 {
7999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8000 }
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8008 PyObject *resultobj = 0;
8009 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8010 wxPaneInfoPtrArray arg2 ;
8011 void *argp1 = 0 ;
8012 int res1 = 0 ;
8013 void *argp2 ;
8014 int res2 = 0 ;
8015 PyObject *swig_obj[2] ;
8016
8017 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8019 if (!SWIG_IsOK(res1)) {
8020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8021 }
8022 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8023 {
8024 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8025 if (!SWIG_IsOK(res2)) {
8026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8027 }
8028 if (!argp2) {
8029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8030 } else {
8031 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8032 arg2 = *temp;
8033 if (SWIG_IsNewObj(res2)) delete temp;
8034 }
8035 }
8036 if (arg1) (arg1)->panes = arg2;
8037
8038 resultobj = SWIG_Py_Void();
8039 return resultobj;
8040 fail:
8041 return NULL;
8042 }
8043
8044
8045 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8046 PyObject *resultobj = 0;
8047 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8048 wxPaneInfoPtrArray result;
8049 void *argp1 = 0 ;
8050 int res1 = 0 ;
8051 PyObject *swig_obj[1] ;
8052
8053 if (!args) SWIG_fail;
8054 swig_obj[0] = args;
8055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8056 if (!SWIG_IsOK(res1)) {
8057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8058 }
8059 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8060 result = ((arg1)->panes);
8061 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8069 PyObject *resultobj = 0;
8070 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8071 wxRect *arg2 = (wxRect *) 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 void *argp2 = 0 ;
8075 int res2 = 0 ;
8076 PyObject *swig_obj[2] ;
8077
8078 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8080 if (!SWIG_IsOK(res1)) {
8081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8082 }
8083 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8084 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8085 if (!SWIG_IsOK(res2)) {
8086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8087 }
8088 arg2 = reinterpret_cast< wxRect * >(argp2);
8089 if (arg1) (arg1)->rect = *arg2;
8090
8091 resultobj = SWIG_Py_Void();
8092 return resultobj;
8093 fail:
8094 return NULL;
8095 }
8096
8097
8098 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8099 PyObject *resultobj = 0;
8100 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8101 wxRect *result = 0 ;
8102 void *argp1 = 0 ;
8103 int res1 = 0 ;
8104 PyObject *swig_obj[1] ;
8105
8106 if (!args) SWIG_fail;
8107 swig_obj[0] = args;
8108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8109 if (!SWIG_IsOK(res1)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8111 }
8112 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8113 result = (wxRect *)& ((arg1)->rect);
8114 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8122 PyObject *resultobj = 0;
8123 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8124 int arg2 ;
8125 void *argp1 = 0 ;
8126 int res1 = 0 ;
8127 int val2 ;
8128 int ecode2 = 0 ;
8129 PyObject *swig_obj[2] ;
8130
8131 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8133 if (!SWIG_IsOK(res1)) {
8134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8135 }
8136 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8137 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8138 if (!SWIG_IsOK(ecode2)) {
8139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8140 }
8141 arg2 = static_cast< int >(val2);
8142 if (arg1) (arg1)->dock_direction = arg2;
8143
8144 resultobj = SWIG_Py_Void();
8145 return resultobj;
8146 fail:
8147 return NULL;
8148 }
8149
8150
8151 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8152 PyObject *resultobj = 0;
8153 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8154 int result;
8155 void *argp1 = 0 ;
8156 int res1 = 0 ;
8157 PyObject *swig_obj[1] ;
8158
8159 if (!args) SWIG_fail;
8160 swig_obj[0] = args;
8161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8162 if (!SWIG_IsOK(res1)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8164 }
8165 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8166 result = (int) ((arg1)->dock_direction);
8167 resultobj = SWIG_From_int(static_cast< int >(result));
8168 return resultobj;
8169 fail:
8170 return NULL;
8171 }
8172
8173
8174 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8175 PyObject *resultobj = 0;
8176 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8177 int arg2 ;
8178 void *argp1 = 0 ;
8179 int res1 = 0 ;
8180 int val2 ;
8181 int ecode2 = 0 ;
8182 PyObject *swig_obj[2] ;
8183
8184 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8186 if (!SWIG_IsOK(res1)) {
8187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8188 }
8189 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8190 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8191 if (!SWIG_IsOK(ecode2)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8193 }
8194 arg2 = static_cast< int >(val2);
8195 if (arg1) (arg1)->dock_layer = arg2;
8196
8197 resultobj = SWIG_Py_Void();
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8205 PyObject *resultobj = 0;
8206 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8207 int result;
8208 void *argp1 = 0 ;
8209 int res1 = 0 ;
8210 PyObject *swig_obj[1] ;
8211
8212 if (!args) SWIG_fail;
8213 swig_obj[0] = args;
8214 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8215 if (!SWIG_IsOK(res1)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8217 }
8218 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8219 result = (int) ((arg1)->dock_layer);
8220 resultobj = SWIG_From_int(static_cast< int >(result));
8221 return resultobj;
8222 fail:
8223 return NULL;
8224 }
8225
8226
8227 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8228 PyObject *resultobj = 0;
8229 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8230 int arg2 ;
8231 void *argp1 = 0 ;
8232 int res1 = 0 ;
8233 int val2 ;
8234 int ecode2 = 0 ;
8235 PyObject *swig_obj[2] ;
8236
8237 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8239 if (!SWIG_IsOK(res1)) {
8240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8241 }
8242 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8243 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8244 if (!SWIG_IsOK(ecode2)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8246 }
8247 arg2 = static_cast< int >(val2);
8248 if (arg1) (arg1)->dock_row = arg2;
8249
8250 resultobj = SWIG_Py_Void();
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8258 PyObject *resultobj = 0;
8259 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8260 int result;
8261 void *argp1 = 0 ;
8262 int res1 = 0 ;
8263 PyObject *swig_obj[1] ;
8264
8265 if (!args) SWIG_fail;
8266 swig_obj[0] = args;
8267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8268 if (!SWIG_IsOK(res1)) {
8269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8270 }
8271 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8272 result = (int) ((arg1)->dock_row);
8273 resultobj = SWIG_From_int(static_cast< int >(result));
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8281 PyObject *resultobj = 0;
8282 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8283 int arg2 ;
8284 void *argp1 = 0 ;
8285 int res1 = 0 ;
8286 int val2 ;
8287 int ecode2 = 0 ;
8288 PyObject *swig_obj[2] ;
8289
8290 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8292 if (!SWIG_IsOK(res1)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8294 }
8295 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8296 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8297 if (!SWIG_IsOK(ecode2)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8299 }
8300 arg2 = static_cast< int >(val2);
8301 if (arg1) (arg1)->size = arg2;
8302
8303 resultobj = SWIG_Py_Void();
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8311 PyObject *resultobj = 0;
8312 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8313 int result;
8314 void *argp1 = 0 ;
8315 int res1 = 0 ;
8316 PyObject *swig_obj[1] ;
8317
8318 if (!args) SWIG_fail;
8319 swig_obj[0] = args;
8320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8321 if (!SWIG_IsOK(res1)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8323 }
8324 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8325 result = (int) ((arg1)->size);
8326 resultobj = SWIG_From_int(static_cast< int >(result));
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *resultobj = 0;
8335 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8336 int arg2 ;
8337 void *argp1 = 0 ;
8338 int res1 = 0 ;
8339 int val2 ;
8340 int ecode2 = 0 ;
8341 PyObject *swig_obj[2] ;
8342
8343 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8347 }
8348 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8349 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8350 if (!SWIG_IsOK(ecode2)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8352 }
8353 arg2 = static_cast< int >(val2);
8354 if (arg1) (arg1)->min_size = arg2;
8355
8356 resultobj = SWIG_Py_Void();
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8364 PyObject *resultobj = 0;
8365 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8366 int result;
8367 void *argp1 = 0 ;
8368 int res1 = 0 ;
8369 PyObject *swig_obj[1] ;
8370
8371 if (!args) SWIG_fail;
8372 swig_obj[0] = args;
8373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8374 if (!SWIG_IsOK(res1)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8376 }
8377 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8378 result = (int) ((arg1)->min_size);
8379 resultobj = SWIG_From_int(static_cast< int >(result));
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8387 PyObject *resultobj = 0;
8388 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8389 bool arg2 ;
8390 void *argp1 = 0 ;
8391 int res1 = 0 ;
8392 bool val2 ;
8393 int ecode2 = 0 ;
8394 PyObject *swig_obj[2] ;
8395
8396 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
8397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8398 if (!SWIG_IsOK(res1)) {
8399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8400 }
8401 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8402 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8403 if (!SWIG_IsOK(ecode2)) {
8404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
8405 }
8406 arg2 = static_cast< bool >(val2);
8407 if (arg1) (arg1)->resizable = arg2;
8408
8409 resultobj = SWIG_Py_Void();
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8417 PyObject *resultobj = 0;
8418 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8419 bool result;
8420 void *argp1 = 0 ;
8421 int res1 = 0 ;
8422 PyObject *swig_obj[1] ;
8423
8424 if (!args) SWIG_fail;
8425 swig_obj[0] = args;
8426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8427 if (!SWIG_IsOK(res1)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8429 }
8430 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8431 result = (bool) ((arg1)->resizable);
8432 {
8433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8434 }
8435 return resultobj;
8436 fail:
8437 return NULL;
8438 }
8439
8440
8441 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8442 PyObject *resultobj = 0;
8443 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8444 bool arg2 ;
8445 void *argp1 = 0 ;
8446 int res1 = 0 ;
8447 bool val2 ;
8448 int ecode2 = 0 ;
8449 PyObject *swig_obj[2] ;
8450
8451 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
8452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8453 if (!SWIG_IsOK(res1)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8455 }
8456 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8457 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8458 if (!SWIG_IsOK(ecode2)) {
8459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
8460 }
8461 arg2 = static_cast< bool >(val2);
8462 if (arg1) (arg1)->toolbar = arg2;
8463
8464 resultobj = SWIG_Py_Void();
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8472 PyObject *resultobj = 0;
8473 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8474 bool result;
8475 void *argp1 = 0 ;
8476 int res1 = 0 ;
8477 PyObject *swig_obj[1] ;
8478
8479 if (!args) SWIG_fail;
8480 swig_obj[0] = args;
8481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8482 if (!SWIG_IsOK(res1)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8484 }
8485 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8486 result = (bool) ((arg1)->toolbar);
8487 {
8488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8489 }
8490 return resultobj;
8491 fail:
8492 return NULL;
8493 }
8494
8495
8496 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8497 PyObject *resultobj = 0;
8498 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8499 bool arg2 ;
8500 void *argp1 = 0 ;
8501 int res1 = 0 ;
8502 bool val2 ;
8503 int ecode2 = 0 ;
8504 PyObject *swig_obj[2] ;
8505
8506 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
8507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8508 if (!SWIG_IsOK(res1)) {
8509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8510 }
8511 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8512 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8513 if (!SWIG_IsOK(ecode2)) {
8514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
8515 }
8516 arg2 = static_cast< bool >(val2);
8517 if (arg1) (arg1)->fixed = arg2;
8518
8519 resultobj = SWIG_Py_Void();
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8527 PyObject *resultobj = 0;
8528 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8529 bool result;
8530 void *argp1 = 0 ;
8531 int res1 = 0 ;
8532 PyObject *swig_obj[1] ;
8533
8534 if (!args) SWIG_fail;
8535 swig_obj[0] = args;
8536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8537 if (!SWIG_IsOK(res1)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8539 }
8540 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8541 result = (bool) ((arg1)->fixed);
8542 {
8543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8544 }
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8552 PyObject *obj;
8553 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8554 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
8555 return SWIG_Py_Void();
8556 }
8557
8558 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8559 return SWIG_Python_InitShadowInstance(args);
8560 }
8561
8562 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8563 PyObject *resultobj = 0;
8564 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8565 int arg2 ;
8566 void *argp1 = 0 ;
8567 int res1 = 0 ;
8568 int val2 ;
8569 int ecode2 = 0 ;
8570 PyObject *swig_obj[2] ;
8571
8572 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
8573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8574 if (!SWIG_IsOK(res1)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8576 }
8577 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8578 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8579 if (!SWIG_IsOK(ecode2)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
8581 }
8582 arg2 = static_cast< int >(val2);
8583 if (arg1) (arg1)->type = arg2;
8584
8585 resultobj = SWIG_Py_Void();
8586 return resultobj;
8587 fail:
8588 return NULL;
8589 }
8590
8591
8592 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8593 PyObject *resultobj = 0;
8594 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8595 int result;
8596 void *argp1 = 0 ;
8597 int res1 = 0 ;
8598 PyObject *swig_obj[1] ;
8599
8600 if (!args) SWIG_fail;
8601 swig_obj[0] = args;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8605 }
8606 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8607 result = (int) ((arg1)->type);
8608 resultobj = SWIG_From_int(static_cast< int >(result));
8609 return resultobj;
8610 fail:
8611 return NULL;
8612 }
8613
8614
8615 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8616 PyObject *resultobj = 0;
8617 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8618 int arg2 ;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 int val2 ;
8622 int ecode2 = 0 ;
8623 PyObject *swig_obj[2] ;
8624
8625 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
8626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8629 }
8630 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8631 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8632 if (!SWIG_IsOK(ecode2)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
8634 }
8635 arg2 = static_cast< int >(val2);
8636 if (arg1) (arg1)->orientation = arg2;
8637
8638 resultobj = SWIG_Py_Void();
8639 return resultobj;
8640 fail:
8641 return NULL;
8642 }
8643
8644
8645 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8646 PyObject *resultobj = 0;
8647 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8648 int result;
8649 void *argp1 = 0 ;
8650 int res1 = 0 ;
8651 PyObject *swig_obj[1] ;
8652
8653 if (!args) SWIG_fail;
8654 swig_obj[0] = args;
8655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8656 if (!SWIG_IsOK(res1)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8658 }
8659 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8660 result = (int) ((arg1)->orientation);
8661 resultobj = SWIG_From_int(static_cast< int >(result));
8662 return resultobj;
8663 fail:
8664 return NULL;
8665 }
8666
8667
8668 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8669 PyObject *resultobj = 0;
8670 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8671 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
8672 void *argp1 = 0 ;
8673 int res1 = 0 ;
8674 void *argp2 = 0 ;
8675 int res2 = 0 ;
8676 PyObject *swig_obj[2] ;
8677
8678 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
8679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8680 if (!SWIG_IsOK(res1)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8682 }
8683 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8684 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
8685 if (!SWIG_IsOK(res2)) {
8686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
8687 }
8688 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
8689 if (arg1) (arg1)->dock = arg2;
8690
8691 resultobj = SWIG_Py_Void();
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8699 PyObject *resultobj = 0;
8700 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8701 wxDockInfo *result = 0 ;
8702 void *argp1 = 0 ;
8703 int res1 = 0 ;
8704 PyObject *swig_obj[1] ;
8705
8706 if (!args) SWIG_fail;
8707 swig_obj[0] = args;
8708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8709 if (!SWIG_IsOK(res1)) {
8710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8711 }
8712 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8713 result = (wxDockInfo *) ((arg1)->dock);
8714 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8722 PyObject *resultobj = 0;
8723 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8724 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8725 void *argp1 = 0 ;
8726 int res1 = 0 ;
8727 void *argp2 = 0 ;
8728 int res2 = 0 ;
8729 PyObject *swig_obj[2] ;
8730
8731 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
8732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8733 if (!SWIG_IsOK(res1)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8735 }
8736 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8737 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8738 if (!SWIG_IsOK(res2)) {
8739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8740 }
8741 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8742 if (arg1) (arg1)->pane = arg2;
8743
8744 resultobj = SWIG_Py_Void();
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8752 PyObject *resultobj = 0;
8753 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8754 wxPaneInfo *result = 0 ;
8755 void *argp1 = 0 ;
8756 int res1 = 0 ;
8757 PyObject *swig_obj[1] ;
8758
8759 if (!args) SWIG_fail;
8760 swig_obj[0] = args;
8761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8762 if (!SWIG_IsOK(res1)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8764 }
8765 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8766 result = (wxPaneInfo *) ((arg1)->pane);
8767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8768 return resultobj;
8769 fail:
8770 return NULL;
8771 }
8772
8773
8774 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8775 PyObject *resultobj = 0;
8776 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8777 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
8778 void *argp1 = 0 ;
8779 int res1 = 0 ;
8780 void *argp2 = 0 ;
8781 int res2 = 0 ;
8782 PyObject *swig_obj[2] ;
8783
8784 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
8785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8786 if (!SWIG_IsOK(res1)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8788 }
8789 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8790 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
8791 if (!SWIG_IsOK(res2)) {
8792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
8793 }
8794 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
8795 if (arg1) (arg1)->button = arg2;
8796
8797 resultobj = SWIG_Py_Void();
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8805 PyObject *resultobj = 0;
8806 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8807 wxPaneButton *result = 0 ;
8808 void *argp1 = 0 ;
8809 int res1 = 0 ;
8810 PyObject *swig_obj[1] ;
8811
8812 if (!args) SWIG_fail;
8813 swig_obj[0] = args;
8814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8815 if (!SWIG_IsOK(res1)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8817 }
8818 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8819 result = (wxPaneButton *) ((arg1)->button);
8820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
8821 return resultobj;
8822 fail:
8823 return NULL;
8824 }
8825
8826
8827 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8828 PyObject *resultobj = 0;
8829 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8830 wxSizer *arg2 = (wxSizer *) 0 ;
8831 void *argp1 = 0 ;
8832 int res1 = 0 ;
8833 void *argp2 = 0 ;
8834 int res2 = 0 ;
8835 PyObject *swig_obj[2] ;
8836
8837 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
8838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8839 if (!SWIG_IsOK(res1)) {
8840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8841 }
8842 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8843 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
8844 if (!SWIG_IsOK(res2)) {
8845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
8846 }
8847 arg2 = reinterpret_cast< wxSizer * >(argp2);
8848 if (arg1) (arg1)->cont_sizer = arg2;
8849
8850 resultobj = SWIG_Py_Void();
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8858 PyObject *resultobj = 0;
8859 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8860 wxSizer *result = 0 ;
8861 void *argp1 = 0 ;
8862 int res1 = 0 ;
8863 PyObject *swig_obj[1] ;
8864
8865 if (!args) SWIG_fail;
8866 swig_obj[0] = args;
8867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8868 if (!SWIG_IsOK(res1)) {
8869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8870 }
8871 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8872 result = (wxSizer *) ((arg1)->cont_sizer);
8873 {
8874 resultobj = wxPyMake_wxObject(result, (bool)0);
8875 }
8876 return resultobj;
8877 fail:
8878 return NULL;
8879 }
8880
8881
8882 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8883 PyObject *resultobj = 0;
8884 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8885 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
8886 void *argp1 = 0 ;
8887 int res1 = 0 ;
8888 void *argp2 = 0 ;
8889 int res2 = 0 ;
8890 PyObject *swig_obj[2] ;
8891
8892 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
8893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8894 if (!SWIG_IsOK(res1)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8896 }
8897 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8898 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
8899 if (!SWIG_IsOK(res2)) {
8900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
8901 }
8902 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
8903 if (arg1) (arg1)->sizer_item = arg2;
8904
8905 resultobj = SWIG_Py_Void();
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8913 PyObject *resultobj = 0;
8914 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8915 wxSizerItem *result = 0 ;
8916 void *argp1 = 0 ;
8917 int res1 = 0 ;
8918 PyObject *swig_obj[1] ;
8919
8920 if (!args) SWIG_fail;
8921 swig_obj[0] = args;
8922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8923 if (!SWIG_IsOK(res1)) {
8924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8925 }
8926 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8927 result = (wxSizerItem *) ((arg1)->sizer_item);
8928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8936 PyObject *resultobj = 0;
8937 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8938 wxRect *arg2 = (wxRect *) 0 ;
8939 void *argp1 = 0 ;
8940 int res1 = 0 ;
8941 void *argp2 = 0 ;
8942 int res2 = 0 ;
8943 PyObject *swig_obj[2] ;
8944
8945 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
8946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8947 if (!SWIG_IsOK(res1)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8949 }
8950 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8951 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8952 if (!SWIG_IsOK(res2)) {
8953 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8954 }
8955 arg2 = reinterpret_cast< wxRect * >(argp2);
8956 if (arg1) (arg1)->rect = *arg2;
8957
8958 resultobj = SWIG_Py_Void();
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8966 PyObject *resultobj = 0;
8967 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8968 wxRect *result = 0 ;
8969 void *argp1 = 0 ;
8970 int res1 = 0 ;
8971 PyObject *swig_obj[1] ;
8972
8973 if (!args) SWIG_fail;
8974 swig_obj[0] = args;
8975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8976 if (!SWIG_IsOK(res1)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8978 }
8979 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8980 result = (wxRect *)& ((arg1)->rect);
8981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8982 return resultobj;
8983 fail:
8984 return NULL;
8985 }
8986
8987
8988 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8989 PyObject *obj;
8990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8991 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
8992 return SWIG_Py_Void();
8993 }
8994
8995 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8996 PyObject *resultobj = 0;
8997 wxPaneButton *arg1 = (wxPaneButton *) 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,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9007 if (!SWIG_IsOK(res1)) {
9008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9009 }
9010 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9011 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9012 if (!SWIG_IsOK(ecode2)) {
9013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9014 }
9015 arg2 = static_cast< int >(val2);
9016 if (arg1) (arg1)->button_id = arg2;
9017
9018 resultobj = SWIG_Py_Void();
9019 return resultobj;
9020 fail:
9021 return NULL;
9022 }
9023
9024
9025 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9026 PyObject *resultobj = 0;
9027 wxPaneButton *arg1 = (wxPaneButton *) 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_wxPaneButton, 0 | 0 );
9036 if (!SWIG_IsOK(res1)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9038 }
9039 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9040 result = (int) ((arg1)->button_id);
9041 resultobj = SWIG_From_int(static_cast< int >(result));
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9049 PyObject *obj;
9050 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9051 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9052 return SWIG_Py_Void();
9053 }
9054
9055 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9056 PyObject *resultobj = 0;
9057 wxDockArt *arg1 = (wxDockArt *) 0 ;
9058 void *argp1 = 0 ;
9059 int res1 = 0 ;
9060 PyObject *swig_obj[1] ;
9061
9062 if (!args) SWIG_fail;
9063 swig_obj[0] = args;
9064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9065 if (!SWIG_IsOK(res1)) {
9066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9067 }
9068 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 delete arg1;
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 resultobj = SWIG_Py_Void();
9077 return resultobj;
9078 fail:
9079 return NULL;
9080 }
9081
9082
9083 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9084 PyObject *resultobj = 0;
9085 wxDockArt *arg1 = (wxDockArt *) 0 ;
9086 int arg2 ;
9087 int result;
9088 void *argp1 = 0 ;
9089 int res1 = 0 ;
9090 int val2 ;
9091 int ecode2 = 0 ;
9092 PyObject * obj0 = 0 ;
9093 PyObject * obj1 = 0 ;
9094 char * kwnames[] = {
9095 (char *) "self",(char *) "id", NULL
9096 };
9097
9098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9100 if (!SWIG_IsOK(res1)) {
9101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9102 }
9103 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9104 ecode2 = SWIG_AsVal_int(obj1, &val2);
9105 if (!SWIG_IsOK(ecode2)) {
9106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9107 }
9108 arg2 = static_cast< int >(val2);
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (int)(arg1)->GetMetric(arg2);
9112 wxPyEndAllowThreads(__tstate);
9113 if (PyErr_Occurred()) SWIG_fail;
9114 }
9115 resultobj = SWIG_From_int(static_cast< int >(result));
9116 return resultobj;
9117 fail:
9118 return NULL;
9119 }
9120
9121
9122 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj = 0;
9124 wxDockArt *arg1 = (wxDockArt *) 0 ;
9125 int arg2 ;
9126 int arg3 ;
9127 void *argp1 = 0 ;
9128 int res1 = 0 ;
9129 int val2 ;
9130 int ecode2 = 0 ;
9131 int val3 ;
9132 int ecode3 = 0 ;
9133 PyObject * obj0 = 0 ;
9134 PyObject * obj1 = 0 ;
9135 PyObject * obj2 = 0 ;
9136 char * kwnames[] = {
9137 (char *) "self",(char *) "id",(char *) "new_val", NULL
9138 };
9139
9140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9142 if (!SWIG_IsOK(res1)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9144 }
9145 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9146 ecode2 = SWIG_AsVal_int(obj1, &val2);
9147 if (!SWIG_IsOK(ecode2)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9149 }
9150 arg2 = static_cast< int >(val2);
9151 ecode3 = SWIG_AsVal_int(obj2, &val3);
9152 if (!SWIG_IsOK(ecode3)) {
9153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9154 }
9155 arg3 = static_cast< int >(val3);
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 (arg1)->SetMetric(arg2,arg3);
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 resultobj = SWIG_Py_Void();
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj = 0;
9171 wxDockArt *arg1 = (wxDockArt *) 0 ;
9172 int arg2 ;
9173 wxFont *arg3 = 0 ;
9174 void *argp1 = 0 ;
9175 int res1 = 0 ;
9176 int val2 ;
9177 int ecode2 = 0 ;
9178 void *argp3 = 0 ;
9179 int res3 = 0 ;
9180 PyObject * obj0 = 0 ;
9181 PyObject * obj1 = 0 ;
9182 PyObject * obj2 = 0 ;
9183 char * kwnames[] = {
9184 (char *) "self",(char *) "id",(char *) "font", NULL
9185 };
9186
9187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9189 if (!SWIG_IsOK(res1)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9191 }
9192 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9193 ecode2 = SWIG_AsVal_int(obj1, &val2);
9194 if (!SWIG_IsOK(ecode2)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9196 }
9197 arg2 = static_cast< int >(val2);
9198 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9199 if (!SWIG_IsOK(res3)) {
9200 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9201 }
9202 if (!argp3) {
9203 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9204 }
9205 arg3 = reinterpret_cast< wxFont * >(argp3);
9206 {
9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
9208 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9209 wxPyEndAllowThreads(__tstate);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 resultobj = SWIG_Py_Void();
9213 return resultobj;
9214 fail:
9215 return NULL;
9216 }
9217
9218
9219 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj = 0;
9221 wxDockArt *arg1 = (wxDockArt *) 0 ;
9222 int arg2 ;
9223 wxFont result;
9224 void *argp1 = 0 ;
9225 int res1 = 0 ;
9226 int val2 ;
9227 int ecode2 = 0 ;
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
9230 char * kwnames[] = {
9231 (char *) "self",(char *) "id", NULL
9232 };
9233
9234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
9235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9236 if (!SWIG_IsOK(res1)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9238 }
9239 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9240 ecode2 = SWIG_AsVal_int(obj1, &val2);
9241 if (!SWIG_IsOK(ecode2)) {
9242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
9243 }
9244 arg2 = static_cast< int >(val2);
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (arg1)->GetFont(arg2);
9248 wxPyEndAllowThreads(__tstate);
9249 if (PyErr_Occurred()) SWIG_fail;
9250 }
9251 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
9252 return resultobj;
9253 fail:
9254 return NULL;
9255 }
9256
9257
9258 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9259 PyObject *resultobj = 0;
9260 wxDockArt *arg1 = (wxDockArt *) 0 ;
9261 int arg2 ;
9262 wxColour result;
9263 void *argp1 = 0 ;
9264 int res1 = 0 ;
9265 int val2 ;
9266 int ecode2 = 0 ;
9267 PyObject * obj0 = 0 ;
9268 PyObject * obj1 = 0 ;
9269 char * kwnames[] = {
9270 (char *) "self",(char *) "id", NULL
9271 };
9272
9273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
9274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9275 if (!SWIG_IsOK(res1)) {
9276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9277 }
9278 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9279 ecode2 = SWIG_AsVal_int(obj1, &val2);
9280 if (!SWIG_IsOK(ecode2)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
9282 }
9283 arg2 = static_cast< int >(val2);
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (arg1)->GetColour(arg2);
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj = 0;
9299 wxDockArt *arg1 = (wxDockArt *) 0 ;
9300 int arg2 ;
9301 wxColor *arg3 = 0 ;
9302 void *argp1 = 0 ;
9303 int res1 = 0 ;
9304 int val2 ;
9305 int ecode2 = 0 ;
9306 void *argp3 = 0 ;
9307 int res3 = 0 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 PyObject * obj2 = 0 ;
9311 char * kwnames[] = {
9312 (char *) "self",(char *) "id",(char *) "colour", NULL
9313 };
9314
9315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9319 }
9320 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9321 ecode2 = SWIG_AsVal_int(obj1, &val2);
9322 if (!SWIG_IsOK(ecode2)) {
9323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
9324 }
9325 arg2 = static_cast< int >(val2);
9326 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
9327 if (!SWIG_IsOK(res3)) {
9328 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9329 }
9330 if (!argp3) {
9331 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9332 }
9333 arg3 = reinterpret_cast< wxColor * >(argp3);
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 resultobj = SWIG_Py_Void();
9341 return resultobj;
9342 fail:
9343 return NULL;
9344 }
9345
9346
9347 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9348 PyObject *resultobj = 0;
9349 wxDockArt *arg1 = (wxDockArt *) 0 ;
9350 int arg2 ;
9351 wxColour result;
9352 void *argp1 = 0 ;
9353 int res1 = 0 ;
9354 int val2 ;
9355 int ecode2 = 0 ;
9356 PyObject * obj0 = 0 ;
9357 PyObject * obj1 = 0 ;
9358 char * kwnames[] = {
9359 (char *) "self",(char *) "id", NULL
9360 };
9361
9362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
9363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9364 if (!SWIG_IsOK(res1)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9366 }
9367 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9368 ecode2 = SWIG_AsVal_int(obj1, &val2);
9369 if (!SWIG_IsOK(ecode2)) {
9370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
9371 }
9372 arg2 = static_cast< int >(val2);
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (arg1)->GetColor(arg2);
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9380 return resultobj;
9381 fail:
9382 return NULL;
9383 }
9384
9385
9386 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj = 0;
9388 wxDockArt *arg1 = (wxDockArt *) 0 ;
9389 int arg2 ;
9390 wxColour *arg3 = 0 ;
9391 void *argp1 = 0 ;
9392 int res1 = 0 ;
9393 int val2 ;
9394 int ecode2 = 0 ;
9395 wxColour temp3 ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
9399 char * kwnames[] = {
9400 (char *) "self",(char *) "id",(char *) "color", NULL
9401 };
9402
9403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9405 if (!SWIG_IsOK(res1)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9407 }
9408 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9409 ecode2 = SWIG_AsVal_int(obj1, &val2);
9410 if (!SWIG_IsOK(ecode2)) {
9411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
9412 }
9413 arg2 = static_cast< int >(val2);
9414 {
9415 arg3 = &temp3;
9416 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9417 }
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = SWIG_Py_Void();
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj = 0;
9433 wxDockArt *arg1 = (wxDockArt *) 0 ;
9434 wxDC *arg2 = 0 ;
9435 int arg3 ;
9436 wxRect *arg4 = 0 ;
9437 void *argp1 = 0 ;
9438 int res1 = 0 ;
9439 void *argp2 = 0 ;
9440 int res2 = 0 ;
9441 int val3 ;
9442 int ecode3 = 0 ;
9443 wxRect temp4 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 PyObject * obj2 = 0 ;
9447 PyObject * obj3 = 0 ;
9448 char * kwnames[] = {
9449 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9450 };
9451
9452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9454 if (!SWIG_IsOK(res1)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
9456 }
9457 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9459 if (!SWIG_IsOK(res2)) {
9460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9461 }
9462 if (!argp2) {
9463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9464 }
9465 arg2 = reinterpret_cast< wxDC * >(argp2);
9466 ecode3 = SWIG_AsVal_int(obj2, &val3);
9467 if (!SWIG_IsOK(ecode3)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "int""'");
9469 }
9470 arg3 = static_cast< int >(val3);
9471 {
9472 arg4 = &temp4;
9473 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9474 }
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 (arg1)->DrawSash(*arg2,arg3,(wxRect const &)*arg4);
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 resultobj = SWIG_Py_Void();
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj = 0;
9490 wxDockArt *arg1 = (wxDockArt *) 0 ;
9491 wxDC *arg2 = 0 ;
9492 int arg3 ;
9493 wxRect *arg4 = 0 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 int val3 ;
9499 int ecode3 = 0 ;
9500 wxRect temp4 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 PyObject * obj2 = 0 ;
9504 PyObject * obj3 = 0 ;
9505 char * kwnames[] = {
9506 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9507 };
9508
9509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9511 if (!SWIG_IsOK(res1)) {
9512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
9513 }
9514 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9515 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9516 if (!SWIG_IsOK(res2)) {
9517 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9518 }
9519 if (!argp2) {
9520 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9521 }
9522 arg2 = reinterpret_cast< wxDC * >(argp2);
9523 ecode3 = SWIG_AsVal_int(obj2, &val3);
9524 if (!SWIG_IsOK(ecode3)) {
9525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "int""'");
9526 }
9527 arg3 = static_cast< int >(val3);
9528 {
9529 arg4 = &temp4;
9530 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9531 }
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4);
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = SWIG_Py_Void();
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj = 0;
9547 wxDockArt *arg1 = (wxDockArt *) 0 ;
9548 wxDC *arg2 = 0 ;
9549 wxString *arg3 = 0 ;
9550 wxRect *arg4 = 0 ;
9551 wxPaneInfo *arg5 = 0 ;
9552 void *argp1 = 0 ;
9553 int res1 = 0 ;
9554 void *argp2 = 0 ;
9555 int res2 = 0 ;
9556 bool temp3 = false ;
9557 wxRect temp4 ;
9558 void *argp5 = 0 ;
9559 int res5 = 0 ;
9560 PyObject * obj0 = 0 ;
9561 PyObject * obj1 = 0 ;
9562 PyObject * obj2 = 0 ;
9563 PyObject * obj3 = 0 ;
9564 PyObject * obj4 = 0 ;
9565 char * kwnames[] = {
9566 (char *) "self",(char *) "dc",(char *) "text",(char *) "rect",(char *) "pane", NULL
9567 };
9568
9569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
9573 }
9574 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9576 if (!SWIG_IsOK(res2)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9578 }
9579 if (!argp2) {
9580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9581 }
9582 arg2 = reinterpret_cast< wxDC * >(argp2);
9583 {
9584 arg3 = wxString_in_helper(obj2);
9585 if (arg3 == NULL) SWIG_fail;
9586 temp3 = true;
9587 }
9588 {
9589 arg4 = &temp4;
9590 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9591 }
9592 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
9593 if (!SWIG_IsOK(res5)) {
9594 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9595 }
9596 if (!argp5) {
9597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9598 }
9599 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 (arg1)->DrawCaption(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,*arg5);
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 resultobj = SWIG_Py_Void();
9607 {
9608 if (temp3)
9609 delete arg3;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp3)
9615 delete arg3;
9616 }
9617 return NULL;
9618 }
9619
9620
9621 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = 0;
9623 wxDockArt *arg1 = (wxDockArt *) 0 ;
9624 wxDC *arg2 = 0 ;
9625 wxRect *arg3 = 0 ;
9626 wxPaneInfo *arg4 = 0 ;
9627 void *argp1 = 0 ;
9628 int res1 = 0 ;
9629 void *argp2 = 0 ;
9630 int res2 = 0 ;
9631 wxRect temp3 ;
9632 void *argp4 = 0 ;
9633 int res4 = 0 ;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636 PyObject * obj2 = 0 ;
9637 PyObject * obj3 = 0 ;
9638 char * kwnames[] = {
9639 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
9640 };
9641
9642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9644 if (!SWIG_IsOK(res1)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
9646 }
9647 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9649 if (!SWIG_IsOK(res2)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
9651 }
9652 if (!argp2) {
9653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
9654 }
9655 arg2 = reinterpret_cast< wxDC * >(argp2);
9656 {
9657 arg3 = &temp3;
9658 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
9659 }
9660 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
9661 if (!SWIG_IsOK(res4)) {
9662 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9663 }
9664 if (!argp4) {
9665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9666 }
9667 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 (arg1)->DrawGripper(*arg2,(wxRect const &)*arg3,*arg4);
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 resultobj = SWIG_Py_Void();
9675 return resultobj;
9676 fail:
9677 return NULL;
9678 }
9679
9680
9681 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9682 PyObject *resultobj = 0;
9683 wxDockArt *arg1 = (wxDockArt *) 0 ;
9684 wxDC *arg2 = 0 ;
9685 wxRect *arg3 = 0 ;
9686 wxPaneInfo *arg4 = 0 ;
9687 void *argp1 = 0 ;
9688 int res1 = 0 ;
9689 void *argp2 = 0 ;
9690 int res2 = 0 ;
9691 wxRect temp3 ;
9692 void *argp4 = 0 ;
9693 int res4 = 0 ;
9694 PyObject * obj0 = 0 ;
9695 PyObject * obj1 = 0 ;
9696 PyObject * obj2 = 0 ;
9697 PyObject * obj3 = 0 ;
9698 char * kwnames[] = {
9699 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
9700 };
9701
9702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9704 if (!SWIG_IsOK(res1)) {
9705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
9706 }
9707 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9709 if (!SWIG_IsOK(res2)) {
9710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
9711 }
9712 if (!argp2) {
9713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
9714 }
9715 arg2 = reinterpret_cast< wxDC * >(argp2);
9716 {
9717 arg3 = &temp3;
9718 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
9719 }
9720 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
9721 if (!SWIG_IsOK(res4)) {
9722 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9723 }
9724 if (!argp4) {
9725 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9726 }
9727 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->DrawBorder(*arg2,(wxRect const &)*arg3,*arg4);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_Py_Void();
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj = 0;
9743 wxDockArt *arg1 = (wxDockArt *) 0 ;
9744 wxDC *arg2 = 0 ;
9745 int arg3 ;
9746 int arg4 ;
9747 wxRect *arg5 = 0 ;
9748 wxPaneInfo *arg6 = 0 ;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 void *argp2 = 0 ;
9752 int res2 = 0 ;
9753 int val3 ;
9754 int ecode3 = 0 ;
9755 int val4 ;
9756 int ecode4 = 0 ;
9757 wxRect temp5 ;
9758 void *argp6 = 0 ;
9759 int res6 = 0 ;
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj1 = 0 ;
9762 PyObject * obj2 = 0 ;
9763 PyObject * obj3 = 0 ;
9764 PyObject * obj4 = 0 ;
9765 PyObject * obj5 = 0 ;
9766 char * kwnames[] = {
9767 (char *) "self",(char *) "dc",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
9768 };
9769
9770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9772 if (!SWIG_IsOK(res1)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
9774 }
9775 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9776 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9777 if (!SWIG_IsOK(res2)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
9779 }
9780 if (!argp2) {
9781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
9782 }
9783 arg2 = reinterpret_cast< wxDC * >(argp2);
9784 ecode3 = SWIG_AsVal_int(obj2, &val3);
9785 if (!SWIG_IsOK(ecode3)) {
9786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "int""'");
9787 }
9788 arg3 = static_cast< int >(val3);
9789 ecode4 = SWIG_AsVal_int(obj3, &val4);
9790 if (!SWIG_IsOK(ecode4)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
9792 }
9793 arg4 = static_cast< int >(val4);
9794 {
9795 arg5 = &temp5;
9796 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
9797 }
9798 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
9799 if (!SWIG_IsOK(res6)) {
9800 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
9801 }
9802 if (!argp6) {
9803 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
9804 }
9805 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
9806 {
9807 PyThreadState* __tstate = wxPyBeginAllowThreads();
9808 (arg1)->DrawPaneButton(*arg2,arg3,arg4,(wxRect const &)*arg5,*arg6);
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = SWIG_Py_Void();
9813 return resultobj;
9814 fail:
9815 return NULL;
9816 }
9817
9818
9819 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9820 PyObject *obj;
9821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9822 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
9823 return SWIG_Py_Void();
9824 }
9825
9826 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9827 PyObject *resultobj = 0;
9828 wxDefaultDockArt *result = 0 ;
9829
9830 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (wxDefaultDockArt *)new wxDefaultDockArt();
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9845 PyObject *obj;
9846 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9847 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
9848 return SWIG_Py_Void();
9849 }
9850
9851 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9852 return SWIG_Python_InitShadowInstance(args);
9853 }
9854
9855 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj = 0;
9857 wxWindow *arg1 = (wxWindow *) 0 ;
9858 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
9859 wxPaneInfo *arg3 = 0 ;
9860 int arg4 = (int) wxID_ANY ;
9861 wxFloatingPane *result = 0 ;
9862 void *argp1 = 0 ;
9863 int res1 = 0 ;
9864 void *argp2 = 0 ;
9865 int res2 = 0 ;
9866 void *argp3 = 0 ;
9867 int res3 = 0 ;
9868 int val4 ;
9869 int ecode4 = 0 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 PyObject * obj2 = 0 ;
9873 PyObject * obj3 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
9882 }
9883 arg1 = reinterpret_cast< wxWindow * >(argp1);
9884 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
9885 if (!SWIG_IsOK(res2)) {
9886 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
9887 }
9888 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
9889 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
9890 if (!SWIG_IsOK(res3)) {
9891 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
9892 }
9893 if (!argp3) {
9894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
9895 }
9896 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
9897 if (obj3) {
9898 ecode4 = SWIG_AsVal_int(obj3, &val4);
9899 if (!SWIG_IsOK(ecode4)) {
9900 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
9901 }
9902 arg4 = static_cast< int >(val4);
9903 }
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9918 PyObject *resultobj = 0;
9919 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
9920 void *argp1 = 0 ;
9921 int res1 = 0 ;
9922 PyObject *swig_obj[1] ;
9923
9924 if (!args) SWIG_fail;
9925 swig_obj[0] = args;
9926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
9929 }
9930 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 delete arg1;
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 resultobj = SWIG_Py_Void();
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj = 0;
9947 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
9948 wxPaneInfo *arg2 = 0 ;
9949 void *argp1 = 0 ;
9950 int res1 = 0 ;
9951 void *argp2 = 0 ;
9952 int res2 = 0 ;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char * kwnames[] = {
9956 (char *) "self",(char *) "pane", NULL
9957 };
9958
9959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
9960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
9963 }
9964 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
9965 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
9966 if (!SWIG_IsOK(res2)) {
9967 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
9968 }
9969 if (!argp2) {
9970 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
9971 }
9972 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 resultobj = SWIG_Py_Void();
9980 return resultobj;
9981 fail:
9982 return NULL;
9983 }
9984
9985
9986 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9987 PyObject *obj;
9988 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9989 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
9990 return SWIG_Py_Void();
9991 }
9992
9993 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9994 return SWIG_Python_InitShadowInstance(args);
9995 }
9996
9997 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9998 PyObject *obj;
9999 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
10001 return SWIG_Py_Void();
10002 }
10003
10004 static PyMethodDef SwigMethods[] = {
10005 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
10006 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
10007 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
10008 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
10009 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
10010 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
10011 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
10012 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
10013 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
10014 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
10015 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
10016 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
10017 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
10018 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
10019 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
10020 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
10021 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
10022 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
10023 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
10024 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
10025 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
10026 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
10027 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
10028 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
10029 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
10030 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
10031 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
10032 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
10033 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
10034 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
10035 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
10036 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
10037 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
10038 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
10039 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
10040 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
10041 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
10042 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
10043 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
10044 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
10045 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
10046 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
10047 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
10048 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
10049 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
10050 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
10051 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
10052 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10053 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10054 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
10055 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
10056 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
10057 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10058 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10059 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
10060 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
10061 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10062 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10063 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10064 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10065 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
10066 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
10067 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
10068 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
10069 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
10070 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
10071 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
10072 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10073 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10074 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
10075 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
10076 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
10077 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
10078 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
10079 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
10080 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
10081 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
10082 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
10083 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
10084 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
10085 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
10086 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
10087 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
10088 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
10089 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
10090 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
10091 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
10092 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
10093 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
10094 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
10095 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
10096 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
10097 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
10098 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
10099 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
10100 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
10101 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
10102 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
10103 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
10104 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
10105 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
10106 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
10107 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
10108 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
10109 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
10110 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
10111 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
10112 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
10113 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
10114 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
10115 { (char *)"FrameManager_SetFrame", (PyCFunction) _wrap_FrameManager_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
10116 { (char *)"FrameManager_GetFrame", (PyCFunction)_wrap_FrameManager_GetFrame, METH_O, NULL},
10117 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
10118 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
10119 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
10120 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
10121 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
10122 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
10123 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
10124 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
10125 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
10126 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
10127 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
10128 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
10129 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
10130 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
10131 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10132 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
10133 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
10134 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
10135 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
10136 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
10137 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
10138 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
10139 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
10140 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
10141 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
10142 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
10143 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
10144 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
10145 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
10146 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
10147 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
10148 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
10149 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
10150 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
10151 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
10152 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
10153 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
10154 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
10155 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
10156 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
10157 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
10158 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
10159 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
10160 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
10161 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
10162 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
10163 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
10164 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
10165 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
10166 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
10167 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
10168 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
10169 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
10170 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
10171 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
10172 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
10173 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
10174 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
10175 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
10176 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
10177 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
10178 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
10179 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
10180 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
10181 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
10182 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
10183 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
10184 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
10185 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
10186 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
10187 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
10188 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
10189 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
10190 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
10191 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
10192 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
10193 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
10194 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
10195 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
10196 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
10197 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
10198 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10199 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10200 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10201 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10202 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10203 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10204 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10205 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10206 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
10207 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
10208 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
10209 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
10210 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10211 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
10212 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
10213 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
10214 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
10215 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
10216 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
10217 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
10218 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10219 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
10220 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
10221 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
10222 { NULL, NULL, 0, NULL }
10223 };
10224
10225
10226 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10227
10228 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
10229 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
10230 }
10231 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
10232 return (void *)((wxSizer *) ((wxBoxSizer *) x));
10233 }
10234 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
10235 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
10236 }
10237 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
10238 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
10239 }
10240 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
10241 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10242 }
10243 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
10244 return (void *)((wxSizer *) ((wxGridSizer *) x));
10245 }
10246 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
10247 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
10248 }
10249 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
10250 return (void *)((wxSizer *) ((wxPySizer *) x));
10251 }
10252 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10253 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10254 }
10255 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10256 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10257 }
10258 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10259 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10260 }
10261 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10262 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10263 }
10264 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10265 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10266 }
10267 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10268 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10269 }
10270 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10271 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10272 }
10273 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
10274 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
10275 }
10276 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10277 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10278 }
10279 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10280 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10281 }
10282 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
10283 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10284 }
10285 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
10286 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
10287 }
10288 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
10289 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10290 }
10291 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10292 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10293 }
10294 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10295 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10296 }
10297 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10298 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10299 }
10300 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10301 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10302 }
10303 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10304 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10305 }
10306 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10307 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10308 }
10309 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10310 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10311 }
10312 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10313 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10314 }
10315 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10316 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10317 }
10318 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10320 }
10321 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10323 }
10324 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10325 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10326 }
10327 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10328 return (void *)((wxWindow *) ((wxMenuBar *) x));
10329 }
10330 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10331 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10332 }
10333 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10334 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10335 }
10336 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10337 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10338 }
10339 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
10340 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
10341 }
10342 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
10343 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10344 }
10345 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10346 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10347 }
10348 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10349 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10350 }
10351 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10352 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10353 }
10354 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10355 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10356 }
10357 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10358 return (void *)((wxWindow *) ((wxPanel *) x));
10359 }
10360 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10361 return (void *)((wxWindow *) ((wxStatusBar *) x));
10362 }
10363 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10364 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10365 }
10366 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10367 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10368 }
10369 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10370 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10371 }
10372 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10373 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10374 }
10375 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10376 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10377 }
10378 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10379 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10380 }
10381 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10382 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10383 }
10384 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10385 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10386 }
10387 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10388 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10389 }
10390 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10391 return (void *)((wxWindow *) ((wxSashWindow *) x));
10392 }
10393 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10394 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10395 }
10396 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
10397 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10398 }
10399 static void *_p_wxControlTo_p_wxWindow(void *x) {
10400 return (void *)((wxWindow *) ((wxControl *) x));
10401 }
10402 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10403 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10404 }
10405 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10407 }
10408 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10410 }
10411 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10412 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10413 }
10414 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10415 return (void *)((wxWindow *) ((wxPyWindow *) x));
10416 }
10417 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10418 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10419 }
10420 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
10421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10422 }
10423 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10424 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10425 }
10426 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10427 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10428 }
10429 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10430 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10431 }
10432 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10433 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10434 }
10435 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10436 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10437 }
10438 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10439 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10440 }
10441 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10442 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10443 }
10444 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10445 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10446 }
10447 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10448 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10449 }
10450 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10451 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10452 }
10453 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
10454 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
10455 }
10456 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
10457 return (void *)((wxEvent *) ((wxMenuEvent *) x));
10458 }
10459 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
10460 return (void *)((wxEvent *) ((wxCloseEvent *) x));
10461 }
10462 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
10463 return (void *)((wxEvent *) ((wxMouseEvent *) x));
10464 }
10465 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
10466 return (void *)((wxEvent *) ((wxEraseEvent *) x));
10467 }
10468 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
10469 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
10470 }
10471 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
10472 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10473 }
10474 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
10475 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
10476 }
10477 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
10478 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
10479 }
10480 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
10481 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
10482 }
10483 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
10484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
10485 }
10486 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
10487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
10488 }
10489 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
10490 return (void *)((wxEvent *) ((wxPyEvent *) x));
10491 }
10492 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
10493 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
10494 }
10495 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
10496 return (void *)((wxEvent *) ((wxIdleEvent *) x));
10497 }
10498 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
10499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
10500 }
10501 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
10502 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
10503 }
10504 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
10505 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
10506 }
10507 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
10508 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
10509 }
10510 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
10511 return (void *)((wxEvent *) ((wxActivateEvent *) x));
10512 }
10513 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
10514 return (void *)((wxEvent *) ((wxSizeEvent *) x));
10515 }
10516 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
10517 return (void *)((wxEvent *) ((wxMoveEvent *) x));
10518 }
10519 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
10520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
10521 }
10522 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
10523 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
10524 }
10525 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
10526 return (void *)((wxEvent *) ((wxPaintEvent *) x));
10527 }
10528 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
10529 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
10530 }
10531 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
10532 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
10533 }
10534 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
10535 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
10536 }
10537 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
10538 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
10539 }
10540 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
10541 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10542 }
10543 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
10544 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
10545 }
10546 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
10547 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
10548 }
10549 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
10550 return (void *)((wxEvent *) ((wxFocusEvent *) x));
10551 }
10552 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
10553 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
10554 }
10555 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
10556 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
10557 }
10558 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
10559 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10560 }
10561 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
10562 return (void *)((wxEvent *) ((wxShowEvent *) x));
10563 }
10564 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
10565 return (void *)((wxEvent *) ((wxCommandEvent *) x));
10566 }
10567 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
10568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
10569 }
10570 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
10571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10572 }
10573 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
10574 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
10575 }
10576 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
10577 return (void *)((wxEvent *) ((wxKeyEvent *) x));
10578 }
10579 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
10580 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
10581 }
10582 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
10583 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
10584 }
10585 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10586 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10587 }
10588 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10589 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10590 }
10591 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10593 }
10594 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10596 }
10597 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10598 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10599 }
10600 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10601 return (void *)((wxObject *) ((wxSizerItem *) x));
10602 }
10603 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10605 }
10606 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10607 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10608 }
10609 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10610 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10611 }
10612 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10613 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10614 }
10615 static void *_p_wxSizerTo_p_wxObject(void *x) {
10616 return (void *)((wxObject *) ((wxSizer *) x));
10617 }
10618 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10619 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10620 }
10621 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
10622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
10623 }
10624 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10626 }
10627 static void *_p_wxEventTo_p_wxObject(void *x) {
10628 return (void *)((wxObject *) ((wxEvent *) x));
10629 }
10630 static void *_p_wxFontDataTo_p_wxObject(void *x) {
10631 return (void *)((wxObject *) ((wxFontData *) x));
10632 }
10633 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
10634 return (void *)((wxObject *) ((wxPrintData *) x));
10635 }
10636 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
10637 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
10638 }
10639 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
10640 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
10641 }
10642 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
10643 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
10644 }
10645 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
10646 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
10647 }
10648 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
10649 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10650 }
10651 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
10652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
10653 }
10654 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
10655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
10656 }
10657 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10658 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10659 }
10660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10661 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10662 }
10663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10664 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10665 }
10666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10667 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10668 }
10669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10670 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10671 }
10672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10673 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10674 }
10675 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
10676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10677 }
10678 static void *_p_wxControlTo_p_wxObject(void *x) {
10679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
10680 }
10681 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10682 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10683 }
10684 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10686 }
10687 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
10688 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
10689 }
10690 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10691 return (void *)((wxObject *) ((wxFSFile *) x));
10692 }
10693 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10694 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10695 }
10696 static void *_p_wxPySizerTo_p_wxObject(void *x) {
10697 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10698 }
10699 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10701 }
10702 static void *_p_wxColourDataTo_p_wxObject(void *x) {
10703 return (void *)((wxObject *) ((wxColourData *) x));
10704 }
10705 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10706 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10707 }
10708 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10709 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10710 }
10711 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10713 }
10714 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10716 }
10717 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10719 }
10720 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10722 }
10723 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10725 }
10726 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10728 }
10729 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
10730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10731 }
10732 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
10733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
10734 }
10735 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10737 }
10738 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10740 }
10741 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10743 }
10744 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10745 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10746 }
10747 static void *_p_wxPrinterTo_p_wxObject(void *x) {
10748 return (void *)((wxObject *) ((wxPrinter *) x));
10749 }
10750 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10751 return (void *)((wxObject *) ((wxMenuItem *) x));
10752 }
10753 static void *_p_wxDateEventTo_p_wxObject(void *x) {
10754 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
10755 }
10756 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10757 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10758 }
10759 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10761 }
10762 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10763 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10764 }
10765 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10766 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10767 }
10768 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10769 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10770 }
10771 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10772 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10773 }
10774 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10775 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10776 }
10777 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10778 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10779 }
10780 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10781 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10782 }
10783 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10784 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10785 }
10786 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10787 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10788 }
10789 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10790 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10791 }
10792 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
10793 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
10794 }
10795 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
10796 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
10797 }
10798 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
10799 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
10800 }
10801 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
10802 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
10803 }
10804 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
10805 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
10806 }
10807 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
10808 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
10809 }
10810 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
10811 return (void *)((wxObject *) ((wxImageHandler *) x));
10812 }
10813 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
10814 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
10815 }
10816 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
10817 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
10818 }
10819 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
10820 return (void *)((wxObject *) ((wxEvtHandler *) x));
10821 }
10822 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
10823 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
10824 }
10825 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
10826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10827 }
10828 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
10829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10830 }
10831 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
10832 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
10833 }
10834 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
10835 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
10836 }
10837 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
10838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10839 }
10840 static void *_p_wxImageTo_p_wxObject(void *x) {
10841 return (void *)((wxObject *) ((wxImage *) x));
10842 }
10843 static void *_p_wxFrameTo_p_wxObject(void *x) {
10844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10845 }
10846 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
10847 return (void *)((wxObject *) ((wxPyPrintout *) x));
10848 }
10849 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10850 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10851 }
10852 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10853 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10854 }
10855 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
10856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10857 }
10858 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10860 }
10861 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
10862 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
10863 }
10864 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10866 }
10867 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
10868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10869 }
10870 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
10871 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
10872 }
10873 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
10874 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
10875 }
10876 static void *_p_wxWindowTo_p_wxObject(void *x) {
10877 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
10878 }
10879 static void *_p_wxMenuTo_p_wxObject(void *x) {
10880 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
10881 }
10882 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10884 }
10885 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
10886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10887 }
10888 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
10889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
10890 }
10891 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
10892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
10893 }
10894 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
10895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
10896 }
10897 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
10898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
10899 }
10900 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
10901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10902 }
10903 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
10904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
10905 }
10906 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
10907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10908 }
10909 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
10910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10911 }
10912 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
10913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10914 }
10915 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
10916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
10917 }
10918 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
10919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10920 }
10921 static void *_p_wxSashEventTo_p_wxObject(void *x) {
10922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
10923 }
10924 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
10925 return (void *)((wxObject *) ((wxPrintPreview *) x));
10926 }
10927 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
10928 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
10929 }
10930 static void *_p_wxPanelTo_p_wxObject(void *x) {
10931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
10932 }
10933 static void *_p_wxDialogTo_p_wxObject(void *x) {
10934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10935 }
10936 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
10937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10938 }
10939 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
10940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10941 }
10942 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
10943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10944 }
10945 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
10946 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
10947 }
10948 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
10949 return (void *)((wxObject *) ((wxPrintDialog *) x));
10950 }
10951 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
10952 return (void *)((wxObject *) ((wxFileSystem *) x));
10953 }
10954 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10955 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10956 }
10957 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10958 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10959 }
10960 static void *_p_wxPyAppTo_p_wxObject(void *x) {
10961 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
10962 }
10963 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
10964 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
10965 }
10966 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
10967 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
10968 }
10969 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
10970 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
10971 }
10972 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10974 }
10975 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10976 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10977 }
10978 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
10979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10980 }
10981 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
10982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10983 }
10984 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10985 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10986 }
10987 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10988 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10989 }
10990 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10991 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10992 }
10993 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
10994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10995 }
10996 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
10997 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
10998 }
10999 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11000 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11001 }
11002 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11003 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11004 }
11005 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11006 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11007 }
11008 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11010 }
11011 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11013 }
11014 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11015 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11016 }
11017 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11018 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11019 }
11020 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11021 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11022 }
11023 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11024 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11025 }
11026 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11027 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11028 }
11029 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
11030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11031 }
11032 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11033 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11034 }
11035 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11037 }
11038 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11039 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11040 }
11041 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11043 }
11044 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
11045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11046 }
11047 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11049 }
11050 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11052 }
11053 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11055 }
11056 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11057 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11058 }
11059 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11060 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11061 }
11062 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11063 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11064 }
11065 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11067 }
11068 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11069 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11070 }
11071 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11072 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11073 }
11074 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11075 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11076 }
11077 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11078 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11079 }
11080 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11081 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11082 }
11083 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11085 }
11086 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11087 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11088 }
11089 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11090 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11091 }
11092 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11094 }
11095 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11096 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11097 }
11098 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
11099 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11100 }
11101 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11102 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11103 }
11104 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11106 }
11107 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11109 }
11110 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11112 }
11113 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11114 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11115 }
11116 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11118 }
11119 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11121 }
11122 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11123 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11124 }
11125 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
11126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
11127 }
11128 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11129 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11130 }
11131 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11132 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11133 }
11134 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11136 }
11137 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11138 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11139 }
11140 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
11141 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11142 }
11143 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11145 }
11146 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11148 }
11149 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11151 }
11152 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11153 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11154 }
11155 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11156 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11157 }
11158 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11160 }
11161 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
11162 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
11163 }
11164 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
11165 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
11166 }
11167 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11168 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11169 }
11170 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11171 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11172 }
11173 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
11174 return (void *)((wxFrame *) ((wxTipWindow *) x));
11175 }
11176 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11177 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11178 }
11179 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11180 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11181 }
11182 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
11183 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
11184 }
11185 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11186 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11187 }
11188 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11189 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11190 }
11191 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11192 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11193 }
11194 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
11195 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
11196 }
11197 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
11198 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
11199 }
11200 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
11201 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
11202 }
11203 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
11204 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};
11205 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
11206 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
11207 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
11208 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
11209 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
11210 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
11211 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
11212 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
11213 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
11214 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
11215 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
11216 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
11217 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
11218 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
11219 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
11220 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
11221 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
11222 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
11223 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
11224 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
11225 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
11226 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
11227 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
11228 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
11229 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
11230 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
11231 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
11232 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
11233 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
11234 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
11235 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
11236 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
11237 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
11238 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
11239 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
11240 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
11241 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
11242 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
11243 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
11244 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
11245 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
11246 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
11247 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
11248 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
11249 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
11250 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
11251 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
11252 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
11253 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
11254 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
11255 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
11256 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
11257 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
11258 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
11259 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
11260 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
11261 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
11262 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
11263 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
11264 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
11265 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
11266 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
11267 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
11268 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
11269 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
11270 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
11271 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
11272 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
11273 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
11274 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
11275 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
11276 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
11277 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
11278 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
11279 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
11280 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
11281 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
11282 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
11283 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
11284 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
11285 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
11286 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
11287 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
11288 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
11289 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
11290 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
11291 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
11292 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
11293 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
11294 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
11295 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
11296 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
11297 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
11298 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
11299 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
11300 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
11301 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
11302 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
11303 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
11304 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
11305 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
11306 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
11307 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
11308 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
11309 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
11310 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
11311 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
11312 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
11313 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
11314 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
11315 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
11316 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
11317 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
11318 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
11319 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
11320 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
11321 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
11322 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
11323 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
11324 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
11325 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
11326 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
11327 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
11328 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
11329 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
11330 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
11331 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
11332 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
11333 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
11334 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
11335 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
11336 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
11337 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
11338 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
11339 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
11340 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
11341 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
11342 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
11343 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
11344 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
11345 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
11346 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
11347 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
11348 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
11349 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
11350 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
11351 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
11352 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
11353 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
11354 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
11355 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
11356 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
11357 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
11358 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
11359 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
11360 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
11361 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
11362 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
11363 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
11364 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
11365 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
11366 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
11367 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
11368 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
11369 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
11370
11371 static swig_type_info *swig_type_initial[] = {
11372 &_swigt__p_char,
11373 &_swigt__p_form_ops_t,
11374 &_swigt__p_int,
11375 &_swigt__p_unsigned_char,
11376 &_swigt__p_unsigned_int,
11377 &_swigt__p_unsigned_long,
11378 &_swigt__p_wxANIHandler,
11379 &_swigt__p_wxAcceleratorTable,
11380 &_swigt__p_wxActivateEvent,
11381 &_swigt__p_wxBMPHandler,
11382 &_swigt__p_wxBoxSizer,
11383 &_swigt__p_wxCURHandler,
11384 &_swigt__p_wxCalculateLayoutEvent,
11385 &_swigt__p_wxChildFocusEvent,
11386 &_swigt__p_wxClipboardTextEvent,
11387 &_swigt__p_wxCloseEvent,
11388 &_swigt__p_wxColor,
11389 &_swigt__p_wxColour,
11390 &_swigt__p_wxColourData,
11391 &_swigt__p_wxColourDialog,
11392 &_swigt__p_wxCommandEvent,
11393 &_swigt__p_wxContextMenuEvent,
11394 &_swigt__p_wxControl,
11395 &_swigt__p_wxControlWithItems,
11396 &_swigt__p_wxDC,
11397 &_swigt__p_wxDateEvent,
11398 &_swigt__p_wxDefaultDockArt,
11399 &_swigt__p_wxDialog,
11400 &_swigt__p_wxDirDialog,
11401 &_swigt__p_wxDisplayChangedEvent,
11402 &_swigt__p_wxDockArt,
11403 &_swigt__p_wxDockInfo,
11404 &_swigt__p_wxDockUIPart,
11405 &_swigt__p_wxDropFilesEvent,
11406 &_swigt__p_wxDuplexMode,
11407 &_swigt__p_wxEraseEvent,
11408 &_swigt__p_wxEvent,
11409 &_swigt__p_wxEvtHandler,
11410 &_swigt__p_wxFSFile,
11411 &_swigt__p_wxFileDialog,
11412 &_swigt__p_wxFileSystem,
11413 &_swigt__p_wxFindDialogEvent,
11414 &_swigt__p_wxFindReplaceData,
11415 &_swigt__p_wxFindReplaceDialog,
11416 &_swigt__p_wxFlexGridSizer,
11417 &_swigt__p_wxFloatingPane,
11418 &_swigt__p_wxFocusEvent,
11419 &_swigt__p_wxFont,
11420 &_swigt__p_wxFontData,
11421 &_swigt__p_wxFontDialog,
11422 &_swigt__p_wxFrame,
11423 &_swigt__p_wxFrameManager,
11424 &_swigt__p_wxFrameManagerEvent,
11425 &_swigt__p_wxGBSizerItem,
11426 &_swigt__p_wxGIFHandler,
11427 &_swigt__p_wxGridBagSizer,
11428 &_swigt__p_wxGridSizer,
11429 &_swigt__p_wxICOHandler,
11430 &_swigt__p_wxIconizeEvent,
11431 &_swigt__p_wxIdleEvent,
11432 &_swigt__p_wxImage,
11433 &_swigt__p_wxImageHandler,
11434 &_swigt__p_wxIndividualLayoutConstraint,
11435 &_swigt__p_wxInitDialogEvent,
11436 &_swigt__p_wxJPEGHandler,
11437 &_swigt__p_wxKeyEvent,
11438 &_swigt__p_wxLayoutAlgorithm,
11439 &_swigt__p_wxLayoutConstraints,
11440 &_swigt__p_wxMDIChildFrame,
11441 &_swigt__p_wxMDIClientWindow,
11442 &_swigt__p_wxMDIParentFrame,
11443 &_swigt__p_wxMaximizeEvent,
11444 &_swigt__p_wxMenu,
11445 &_swigt__p_wxMenuBar,
11446 &_swigt__p_wxMenuEvent,
11447 &_swigt__p_wxMenuItem,
11448 &_swigt__p_wxMessageDialog,
11449 &_swigt__p_wxMiniFrame,
11450 &_swigt__p_wxMouseCaptureChangedEvent,
11451 &_swigt__p_wxMouseEvent,
11452 &_swigt__p_wxMoveEvent,
11453 &_swigt__p_wxMultiChoiceDialog,
11454 &_swigt__p_wxNavigationKeyEvent,
11455 &_swigt__p_wxNcPaintEvent,
11456 &_swigt__p_wxNotifyEvent,
11457 &_swigt__p_wxNumberEntryDialog,
11458 &_swigt__p_wxObject,
11459 &_swigt__p_wxPCXHandler,
11460 &_swigt__p_wxPNGHandler,
11461 &_swigt__p_wxPNMHandler,
11462 &_swigt__p_wxPageSetupDialog,
11463 &_swigt__p_wxPageSetupDialogData,
11464 &_swigt__p_wxPaintEvent,
11465 &_swigt__p_wxPaletteChangedEvent,
11466 &_swigt__p_wxPaneButton,
11467 &_swigt__p_wxPaneButtonArray,
11468 &_swigt__p_wxPaneInfo,
11469 &_swigt__p_wxPaneInfoPtrArray,
11470 &_swigt__p_wxPanel,
11471 &_swigt__p_wxPaperSize,
11472 &_swigt__p_wxPasswordEntryDialog,
11473 &_swigt__p_wxPoint,
11474 &_swigt__p_wxPopupWindow,
11475 &_swigt__p_wxPreviewCanvas,
11476 &_swigt__p_wxPreviewControlBar,
11477 &_swigt__p_wxPreviewFrame,
11478 &_swigt__p_wxPrintData,
11479 &_swigt__p_wxPrintDialog,
11480 &_swigt__p_wxPrintDialogData,
11481 &_swigt__p_wxPrintPreview,
11482 &_swigt__p_wxPrinter,
11483 &_swigt__p_wxProgressDialog,
11484 &_swigt__p_wxPyApp,
11485 &_swigt__p_wxPyCommandEvent,
11486 &_swigt__p_wxPyDockArt,
11487 &_swigt__p_wxPyEvent,
11488 &_swigt__p_wxPyHtmlListBox,
11489 &_swigt__p_wxPyImageHandler,
11490 &_swigt__p_wxPyPanel,
11491 &_swigt__p_wxPyPopupTransientWindow,
11492 &_swigt__p_wxPyPreviewControlBar,
11493 &_swigt__p_wxPyPreviewFrame,
11494 &_swigt__p_wxPyPrintPreview,
11495 &_swigt__p_wxPyPrintout,
11496 &_swigt__p_wxPyScrolledWindow,
11497 &_swigt__p_wxPySizer,
11498 &_swigt__p_wxPyTaskBarIcon,
11499 &_swigt__p_wxPyVListBox,
11500 &_swigt__p_wxPyVScrolledWindow,
11501 &_swigt__p_wxPyValidator,
11502 &_swigt__p_wxPyWindow,
11503 &_swigt__p_wxQueryLayoutInfoEvent,
11504 &_swigt__p_wxQueryNewPaletteEvent,
11505 &_swigt__p_wxRect,
11506 &_swigt__p_wxSashEvent,
11507 &_swigt__p_wxSashLayoutWindow,
11508 &_swigt__p_wxSashWindow,
11509 &_swigt__p_wxScrollEvent,
11510 &_swigt__p_wxScrollWinEvent,
11511 &_swigt__p_wxScrolledWindow,
11512 &_swigt__p_wxSetCursorEvent,
11513 &_swigt__p_wxShowEvent,
11514 &_swigt__p_wxSingleChoiceDialog,
11515 &_swigt__p_wxSize,
11516 &_swigt__p_wxSizeEvent,
11517 &_swigt__p_wxSizer,
11518 &_swigt__p_wxSizerItem,
11519 &_swigt__p_wxSplashScreen,
11520 &_swigt__p_wxSplashScreenWindow,
11521 &_swigt__p_wxSplitterEvent,
11522 &_swigt__p_wxSplitterWindow,
11523 &_swigt__p_wxStaticBoxSizer,
11524 &_swigt__p_wxStatusBar,
11525 &_swigt__p_wxStdDialogButtonSizer,
11526 &_swigt__p_wxString,
11527 &_swigt__p_wxSysColourChangedEvent,
11528 &_swigt__p_wxTIFFHandler,
11529 &_swigt__p_wxTaskBarIconEvent,
11530 &_swigt__p_wxTextEntryDialog,
11531 &_swigt__p_wxTipWindow,
11532 &_swigt__p_wxTopLevelWindow,
11533 &_swigt__p_wxUpdateUIEvent,
11534 &_swigt__p_wxValidator,
11535 &_swigt__p_wxWindow,
11536 &_swigt__p_wxWindowCreateEvent,
11537 &_swigt__p_wxWindowDestroyEvent,
11538 &_swigt__p_wxXPMHandler,
11539 };
11540
11541 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11542 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11543 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11544 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11545 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11546 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11547 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
11548 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11549 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
11550 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}};
11551 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}};
11552 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
11553 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
11554 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11555 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11556 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11557 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11558 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11559 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11560 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11561 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11562 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11563 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11564 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11565 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11566 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11567 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11568 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11569 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11570 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11571 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11572 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11573 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11574 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11575 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11576 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11577 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
11578 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11579 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11580 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11581 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11582 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11583 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11584 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11585 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11586 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11587 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11588 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11589 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11590 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11591 static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11592 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11593 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11594 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11595 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11596 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11597 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11598 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}};
11599 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11600 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11601 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11602 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
11603 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11604 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11605 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11606 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11607 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11608 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11609 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
11610 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11611 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11612 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11613 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
11614 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
11615 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11616 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
11617 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
11618 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11619 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11620 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
11621 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
11622 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
11623 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
11624 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
11625 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11626 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11627 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11628 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
11629 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
11630 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
11631 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
11632 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
11633 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
11634 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
11635 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
11636 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11637 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11638 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
11639 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
11640 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
11641 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
11642 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
11643 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
11644 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
11645 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}};
11646 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
11647 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
11648 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}};
11649 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
11650 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
11651 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}};
11652 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
11653 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11654 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
11655 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11656 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11657 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
11658 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
11659 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
11660 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11661 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11662 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
11663 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
11664 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
11665 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
11666 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
11667 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
11668 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
11669 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
11670 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
11671 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
11672 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
11673 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
11674 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
11675 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
11676 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
11677 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
11678 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11679 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11680 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
11681 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
11682 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
11683 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
11684 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
11685 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
11686 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11687 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11688 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
11689 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
11690 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
11691 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
11692 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
11693 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}};
11694 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
11695 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
11696 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
11697 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
11698 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
11699 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
11700 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
11701 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
11702 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
11703 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}};
11704 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}};
11705 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
11706 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}};
11707 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}};
11708
11709 static swig_cast_info *swig_cast_initial[] = {
11710 _swigc__p_char,
11711 _swigc__p_form_ops_t,
11712 _swigc__p_int,
11713 _swigc__p_unsigned_char,
11714 _swigc__p_unsigned_int,
11715 _swigc__p_unsigned_long,
11716 _swigc__p_wxANIHandler,
11717 _swigc__p_wxAcceleratorTable,
11718 _swigc__p_wxActivateEvent,
11719 _swigc__p_wxBMPHandler,
11720 _swigc__p_wxBoxSizer,
11721 _swigc__p_wxCURHandler,
11722 _swigc__p_wxCalculateLayoutEvent,
11723 _swigc__p_wxChildFocusEvent,
11724 _swigc__p_wxClipboardTextEvent,
11725 _swigc__p_wxCloseEvent,
11726 _swigc__p_wxColor,
11727 _swigc__p_wxColour,
11728 _swigc__p_wxColourData,
11729 _swigc__p_wxColourDialog,
11730 _swigc__p_wxCommandEvent,
11731 _swigc__p_wxContextMenuEvent,
11732 _swigc__p_wxControl,
11733 _swigc__p_wxControlWithItems,
11734 _swigc__p_wxDC,
11735 _swigc__p_wxDateEvent,
11736 _swigc__p_wxDefaultDockArt,
11737 _swigc__p_wxDialog,
11738 _swigc__p_wxDirDialog,
11739 _swigc__p_wxDisplayChangedEvent,
11740 _swigc__p_wxDockArt,
11741 _swigc__p_wxDockInfo,
11742 _swigc__p_wxDockUIPart,
11743 _swigc__p_wxDropFilesEvent,
11744 _swigc__p_wxDuplexMode,
11745 _swigc__p_wxEraseEvent,
11746 _swigc__p_wxEvent,
11747 _swigc__p_wxEvtHandler,
11748 _swigc__p_wxFSFile,
11749 _swigc__p_wxFileDialog,
11750 _swigc__p_wxFileSystem,
11751 _swigc__p_wxFindDialogEvent,
11752 _swigc__p_wxFindReplaceData,
11753 _swigc__p_wxFindReplaceDialog,
11754 _swigc__p_wxFlexGridSizer,
11755 _swigc__p_wxFloatingPane,
11756 _swigc__p_wxFocusEvent,
11757 _swigc__p_wxFont,
11758 _swigc__p_wxFontData,
11759 _swigc__p_wxFontDialog,
11760 _swigc__p_wxFrame,
11761 _swigc__p_wxFrameManager,
11762 _swigc__p_wxFrameManagerEvent,
11763 _swigc__p_wxGBSizerItem,
11764 _swigc__p_wxGIFHandler,
11765 _swigc__p_wxGridBagSizer,
11766 _swigc__p_wxGridSizer,
11767 _swigc__p_wxICOHandler,
11768 _swigc__p_wxIconizeEvent,
11769 _swigc__p_wxIdleEvent,
11770 _swigc__p_wxImage,
11771 _swigc__p_wxImageHandler,
11772 _swigc__p_wxIndividualLayoutConstraint,
11773 _swigc__p_wxInitDialogEvent,
11774 _swigc__p_wxJPEGHandler,
11775 _swigc__p_wxKeyEvent,
11776 _swigc__p_wxLayoutAlgorithm,
11777 _swigc__p_wxLayoutConstraints,
11778 _swigc__p_wxMDIChildFrame,
11779 _swigc__p_wxMDIClientWindow,
11780 _swigc__p_wxMDIParentFrame,
11781 _swigc__p_wxMaximizeEvent,
11782 _swigc__p_wxMenu,
11783 _swigc__p_wxMenuBar,
11784 _swigc__p_wxMenuEvent,
11785 _swigc__p_wxMenuItem,
11786 _swigc__p_wxMessageDialog,
11787 _swigc__p_wxMiniFrame,
11788 _swigc__p_wxMouseCaptureChangedEvent,
11789 _swigc__p_wxMouseEvent,
11790 _swigc__p_wxMoveEvent,
11791 _swigc__p_wxMultiChoiceDialog,
11792 _swigc__p_wxNavigationKeyEvent,
11793 _swigc__p_wxNcPaintEvent,
11794 _swigc__p_wxNotifyEvent,
11795 _swigc__p_wxNumberEntryDialog,
11796 _swigc__p_wxObject,
11797 _swigc__p_wxPCXHandler,
11798 _swigc__p_wxPNGHandler,
11799 _swigc__p_wxPNMHandler,
11800 _swigc__p_wxPageSetupDialog,
11801 _swigc__p_wxPageSetupDialogData,
11802 _swigc__p_wxPaintEvent,
11803 _swigc__p_wxPaletteChangedEvent,
11804 _swigc__p_wxPaneButton,
11805 _swigc__p_wxPaneButtonArray,
11806 _swigc__p_wxPaneInfo,
11807 _swigc__p_wxPaneInfoPtrArray,
11808 _swigc__p_wxPanel,
11809 _swigc__p_wxPaperSize,
11810 _swigc__p_wxPasswordEntryDialog,
11811 _swigc__p_wxPoint,
11812 _swigc__p_wxPopupWindow,
11813 _swigc__p_wxPreviewCanvas,
11814 _swigc__p_wxPreviewControlBar,
11815 _swigc__p_wxPreviewFrame,
11816 _swigc__p_wxPrintData,
11817 _swigc__p_wxPrintDialog,
11818 _swigc__p_wxPrintDialogData,
11819 _swigc__p_wxPrintPreview,
11820 _swigc__p_wxPrinter,
11821 _swigc__p_wxProgressDialog,
11822 _swigc__p_wxPyApp,
11823 _swigc__p_wxPyCommandEvent,
11824 _swigc__p_wxPyDockArt,
11825 _swigc__p_wxPyEvent,
11826 _swigc__p_wxPyHtmlListBox,
11827 _swigc__p_wxPyImageHandler,
11828 _swigc__p_wxPyPanel,
11829 _swigc__p_wxPyPopupTransientWindow,
11830 _swigc__p_wxPyPreviewControlBar,
11831 _swigc__p_wxPyPreviewFrame,
11832 _swigc__p_wxPyPrintPreview,
11833 _swigc__p_wxPyPrintout,
11834 _swigc__p_wxPyScrolledWindow,
11835 _swigc__p_wxPySizer,
11836 _swigc__p_wxPyTaskBarIcon,
11837 _swigc__p_wxPyVListBox,
11838 _swigc__p_wxPyVScrolledWindow,
11839 _swigc__p_wxPyValidator,
11840 _swigc__p_wxPyWindow,
11841 _swigc__p_wxQueryLayoutInfoEvent,
11842 _swigc__p_wxQueryNewPaletteEvent,
11843 _swigc__p_wxRect,
11844 _swigc__p_wxSashEvent,
11845 _swigc__p_wxSashLayoutWindow,
11846 _swigc__p_wxSashWindow,
11847 _swigc__p_wxScrollEvent,
11848 _swigc__p_wxScrollWinEvent,
11849 _swigc__p_wxScrolledWindow,
11850 _swigc__p_wxSetCursorEvent,
11851 _swigc__p_wxShowEvent,
11852 _swigc__p_wxSingleChoiceDialog,
11853 _swigc__p_wxSize,
11854 _swigc__p_wxSizeEvent,
11855 _swigc__p_wxSizer,
11856 _swigc__p_wxSizerItem,
11857 _swigc__p_wxSplashScreen,
11858 _swigc__p_wxSplashScreenWindow,
11859 _swigc__p_wxSplitterEvent,
11860 _swigc__p_wxSplitterWindow,
11861 _swigc__p_wxStaticBoxSizer,
11862 _swigc__p_wxStatusBar,
11863 _swigc__p_wxStdDialogButtonSizer,
11864 _swigc__p_wxString,
11865 _swigc__p_wxSysColourChangedEvent,
11866 _swigc__p_wxTIFFHandler,
11867 _swigc__p_wxTaskBarIconEvent,
11868 _swigc__p_wxTextEntryDialog,
11869 _swigc__p_wxTipWindow,
11870 _swigc__p_wxTopLevelWindow,
11871 _swigc__p_wxUpdateUIEvent,
11872 _swigc__p_wxValidator,
11873 _swigc__p_wxWindow,
11874 _swigc__p_wxWindowCreateEvent,
11875 _swigc__p_wxWindowDestroyEvent,
11876 _swigc__p_wxXPMHandler,
11877 };
11878
11879
11880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11881
11882 static swig_const_info swig_const_table[] = {
11883 {0, 0, 0, 0.0, 0, 0}};
11884
11885 #ifdef __cplusplus
11886 }
11887 #endif
11888 /* -----------------------------------------------------------------------------
11889 * Type initialization:
11890 * This problem is tough by the requirement that no dynamic
11891 * memory is used. Also, since swig_type_info structures store pointers to
11892 * swig_cast_info structures and swig_cast_info structures store pointers back
11893 * to swig_type_info structures, we need some lookup code at initialization.
11894 * The idea is that swig generates all the structures that are needed.
11895 * The runtime then collects these partially filled structures.
11896 * The SWIG_InitializeModule function takes these initial arrays out of
11897 * swig_module, and does all the lookup, filling in the swig_module.types
11898 * array with the correct data and linking the correct swig_cast_info
11899 * structures together.
11900 *
11901 * The generated swig_type_info structures are assigned staticly to an initial
11902 * array. We just loop though that array, and handle each type individually.
11903 * First we lookup if this type has been already loaded, and if so, use the
11904 * loaded structure instead of the generated one. Then we have to fill in the
11905 * cast linked list. The cast data is initially stored in something like a
11906 * two-dimensional array. Each row corresponds to a type (there are the same
11907 * number of rows as there are in the swig_type_initial array). Each entry in
11908 * a column is one of the swig_cast_info structures for that type.
11909 * The cast_initial array is actually an array of arrays, because each row has
11910 * a variable number of columns. So to actually build the cast linked list,
11911 * we find the array of casts associated with the type, and loop through it
11912 * adding the casts to the list. The one last trick we need to do is making
11913 * sure the type pointer in the swig_cast_info struct is correct.
11914 *
11915 * First off, we lookup the cast->type name to see if it is already loaded.
11916 * There are three cases to handle:
11917 * 1) If the cast->type has already been loaded AND the type we are adding
11918 * casting info to has not been loaded (it is in this module), THEN we
11919 * replace the cast->type pointer with the type pointer that has already
11920 * been loaded.
11921 * 2) If BOTH types (the one we are adding casting info to, and the
11922 * cast->type) are loaded, THEN the cast info has already been loaded by
11923 * the previous module so we just ignore it.
11924 * 3) Finally, if cast->type has not already been loaded, then we add that
11925 * swig_cast_info to the linked list (because the cast->type) pointer will
11926 * be correct.
11927 * ----------------------------------------------------------------------------- */
11928
11929 #ifdef __cplusplus
11930 extern "C" {
11931 #if 0
11932 } /* c-mode */
11933 #endif
11934 #endif
11935
11936 #if 0
11937 #define SWIGRUNTIME_DEBUG
11938 #endif
11939
11940 SWIGRUNTIME void
11941 SWIG_InitializeModule(void *clientdata) {
11942 size_t i;
11943 swig_module_info *module_head;
11944 static int init_run = 0;
11945
11946 clientdata = clientdata;
11947
11948 if (init_run) return;
11949 init_run = 1;
11950
11951 /* Initialize the swig_module */
11952 swig_module.type_initial = swig_type_initial;
11953 swig_module.cast_initial = swig_cast_initial;
11954
11955 /* Try and load any already created modules */
11956 module_head = SWIG_GetModule(clientdata);
11957 if (module_head) {
11958 swig_module.next = module_head->next;
11959 module_head->next = &swig_module;
11960 } else {
11961 /* This is the first module loaded */
11962 swig_module.next = &swig_module;
11963 SWIG_SetModule(clientdata, &swig_module);
11964 }
11965
11966 /* Now work on filling in swig_module.types */
11967 #ifdef SWIGRUNTIME_DEBUG
11968 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
11969 #endif
11970 for (i = 0; i < swig_module.size; ++i) {
11971 swig_type_info *type = 0;
11972 swig_type_info *ret;
11973 swig_cast_info *cast;
11974
11975 #ifdef SWIGRUNTIME_DEBUG
11976 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
11977 #endif
11978
11979 /* if there is another module already loaded */
11980 if (swig_module.next != &swig_module) {
11981 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
11982 }
11983 if (type) {
11984 /* Overwrite clientdata field */
11985 #ifdef SWIGRUNTIME_DEBUG
11986 printf("SWIG_InitializeModule: found type %s\n", type->name);
11987 #endif
11988 if (swig_module.type_initial[i]->clientdata) {
11989 type->clientdata = swig_module.type_initial[i]->clientdata;
11990 #ifdef SWIGRUNTIME_DEBUG
11991 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
11992 #endif
11993 }
11994 } else {
11995 type = swig_module.type_initial[i];
11996 }
11997
11998 /* Insert casting types */
11999 cast = swig_module.cast_initial[i];
12000 while (cast->type) {
12001 /* Don't need to add information already in the list */
12002 ret = 0;
12003 #ifdef SWIGRUNTIME_DEBUG
12004 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
12005 #endif
12006 if (swig_module.next != &swig_module) {
12007 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
12008 #ifdef SWIGRUNTIME_DEBUG
12009 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
12010 #endif
12011 }
12012 if (ret) {
12013 if (type == swig_module.type_initial[i]) {
12014 #ifdef SWIGRUNTIME_DEBUG
12015 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
12016 #endif
12017 cast->type = ret;
12018 ret = 0;
12019 } else {
12020 /* Check for casting already in the list */
12021 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
12022 #ifdef SWIGRUNTIME_DEBUG
12023 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
12024 #endif
12025 if (!ocast) ret = 0;
12026 }
12027 }
12028
12029 if (!ret) {
12030 #ifdef SWIGRUNTIME_DEBUG
12031 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
12032 #endif
12033 if (type->cast) {
12034 type->cast->prev = cast;
12035 cast->next = type->cast;
12036 }
12037 type->cast = cast;
12038 }
12039 cast++;
12040 }
12041 /* Set entry in modules->types array equal to the type */
12042 swig_module.types[i] = type;
12043 }
12044 swig_module.types[i] = 0;
12045
12046 #ifdef SWIGRUNTIME_DEBUG
12047 printf("**** SWIG_InitializeModule: Cast List ******\n");
12048 for (i = 0; i < swig_module.size; ++i) {
12049 int j = 0;
12050 swig_cast_info *cast = swig_module.cast_initial[i];
12051 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
12052 while (cast->type) {
12053 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
12054 cast++;
12055 ++j;
12056 }
12057 printf("---- Total casts: %d\n",j);
12058 }
12059 printf("**** SWIG_InitializeModule: Cast List ******\n");
12060 #endif
12061 }
12062
12063 /* This function will propagate the clientdata field of type to
12064 * any new swig_type_info structures that have been added into the list
12065 * of equivalent types. It is like calling
12066 * SWIG_TypeClientData(type, clientdata) a second time.
12067 */
12068 SWIGRUNTIME void
12069 SWIG_PropagateClientData(void) {
12070 size_t i;
12071 swig_cast_info *equiv;
12072 static int init_run = 0;
12073
12074 if (init_run) return;
12075 init_run = 1;
12076
12077 for (i = 0; i < swig_module.size; i++) {
12078 if (swig_module.types[i]->clientdata) {
12079 equiv = swig_module.types[i]->cast;
12080 while (equiv) {
12081 if (!equiv->converter) {
12082 if (equiv->type && !equiv->type->clientdata)
12083 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
12084 }
12085 equiv = equiv->next;
12086 }
12087 }
12088 }
12089 }
12090
12091 #ifdef __cplusplus
12092 #if 0
12093 {
12094 /* c-mode */
12095 #endif
12096 }
12097 #endif
12098
12099
12100
12101 #ifdef __cplusplus
12102 extern "C" {
12103 #endif
12104
12105 /* Python-specific SWIG API */
12106 #define SWIG_newvarlink() SWIG_Python_newvarlink()
12107 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
12108 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
12109
12110 /* -----------------------------------------------------------------------------
12111 * global variable support code.
12112 * ----------------------------------------------------------------------------- */
12113
12114 typedef struct swig_globalvar {
12115 char *name; /* Name of global variable */
12116 PyObject *(*get_attr)(void); /* Return the current value */
12117 int (*set_attr)(PyObject *); /* Set the value */
12118 struct swig_globalvar *next;
12119 } swig_globalvar;
12120
12121 typedef struct swig_varlinkobject {
12122 PyObject_HEAD
12123 swig_globalvar *vars;
12124 } swig_varlinkobject;
12125
12126 SWIGINTERN PyObject *
12127 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
12128 return PyString_FromString("<Swig global variables>");
12129 }
12130
12131 SWIGINTERN PyObject *
12132 swig_varlink_str(swig_varlinkobject *v) {
12133 PyObject *str = PyString_FromString("(");
12134 swig_globalvar *var;
12135 for (var = v->vars; var; var=var->next) {
12136 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
12137 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
12138 }
12139 PyString_ConcatAndDel(&str,PyString_FromString(")"));
12140 return str;
12141 }
12142
12143 SWIGINTERN int
12144 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
12145 PyObject *str = swig_varlink_str(v);
12146 fprintf(fp,"Swig global variables ");
12147 fprintf(fp,"%s\n", PyString_AsString(str));
12148 Py_DECREF(str);
12149 return 0;
12150 }
12151
12152 SWIGINTERN void
12153 swig_varlink_dealloc(swig_varlinkobject *v) {
12154 swig_globalvar *var = v->vars;
12155 while (var) {
12156 swig_globalvar *n = var->next;
12157 free(var->name);
12158 free(var);
12159 var = n;
12160 }
12161 }
12162
12163 SWIGINTERN PyObject *
12164 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
12165 PyObject *res = NULL;
12166 swig_globalvar *var = v->vars;
12167 while (var) {
12168 if (strcmp(var->name,n) == 0) {
12169 res = (*var->get_attr)();
12170 break;
12171 }
12172 var = var->next;
12173 }
12174 if (res == NULL && !PyErr_Occurred()) {
12175 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12176 }
12177 return res;
12178 }
12179
12180 SWIGINTERN int
12181 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
12182 int res = 1;
12183 swig_globalvar *var = v->vars;
12184 while (var) {
12185 if (strcmp(var->name,n) == 0) {
12186 res = (*var->set_attr)(p);
12187 break;
12188 }
12189 var = var->next;
12190 }
12191 if (res == 1 && !PyErr_Occurred()) {
12192 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12193 }
12194 return res;
12195 }
12196
12197 SWIGINTERN PyTypeObject*
12198 swig_varlink_type(void) {
12199 static char varlink__doc__[] = "Swig var link object";
12200 static PyTypeObject varlink_type;
12201 static int type_init = 0;
12202 if (!type_init) {
12203 const PyTypeObject tmp
12204 = {
12205 PyObject_HEAD_INIT(NULL)
12206 0, /* Number of items in variable part (ob_size) */
12207 (char *)"swigvarlink", /* Type name (tp_name) */
12208 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
12209 0, /* Itemsize (tp_itemsize) */
12210 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
12211 (printfunc) swig_varlink_print, /* Print (tp_print) */
12212 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
12213 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
12214 0, /* tp_compare */
12215 (reprfunc) swig_varlink_repr, /* tp_repr */
12216 0, /* tp_as_number */
12217 0, /* tp_as_sequence */
12218 0, /* tp_as_mapping */
12219 0, /* tp_hash */
12220 0, /* tp_call */
12221 (reprfunc)swig_varlink_str, /* tp_str */
12222 0, /* tp_getattro */
12223 0, /* tp_setattro */
12224 0, /* tp_as_buffer */
12225 0, /* tp_flags */
12226 varlink__doc__, /* tp_doc */
12227 0, /* tp_traverse */
12228 0, /* tp_clear */
12229 0, /* tp_richcompare */
12230 0, /* tp_weaklistoffset */
12231 #if PY_VERSION_HEX >= 0x02020000
12232 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
12233 #endif
12234 #if PY_VERSION_HEX >= 0x02030000
12235 0, /* tp_del */
12236 #endif
12237 #ifdef COUNT_ALLOCS
12238 0,0,0,0 /* tp_alloc -> tp_next */
12239 #endif
12240 };
12241 varlink_type = tmp;
12242 varlink_type.ob_type = &PyType_Type;
12243 type_init = 1;
12244 }
12245 return &varlink_type;
12246 }
12247
12248 /* Create a variable linking object for use later */
12249 SWIGINTERN PyObject *
12250 SWIG_Python_newvarlink(void) {
12251 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
12252 if (result) {
12253 result->vars = 0;
12254 }
12255 return ((PyObject*) result);
12256 }
12257
12258 SWIGINTERN void
12259 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
12260 swig_varlinkobject *v = (swig_varlinkobject *) p;
12261 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
12262 if (gv) {
12263 size_t size = strlen(name)+1;
12264 gv->name = (char *)malloc(size);
12265 if (gv->name) {
12266 strncpy(gv->name,name,size);
12267 gv->get_attr = get_attr;
12268 gv->set_attr = set_attr;
12269 gv->next = v->vars;
12270 }
12271 }
12272 v->vars = gv;
12273 }
12274
12275 SWIGINTERN PyObject *
12276 SWIG_globals() {
12277 static PyObject *_SWIG_globals = 0;
12278 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
12279 return _SWIG_globals;
12280 }
12281
12282 /* -----------------------------------------------------------------------------
12283 * constants/methods manipulation
12284 * ----------------------------------------------------------------------------- */
12285
12286 /* Install Constants */
12287 SWIGINTERN void
12288 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
12289 PyObject *obj = 0;
12290 size_t i;
12291 for (i = 0; constants[i].type; ++i) {
12292 switch(constants[i].type) {
12293 case SWIG_PY_POINTER:
12294 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
12295 break;
12296 case SWIG_PY_BINARY:
12297 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
12298 break;
12299 default:
12300 obj = 0;
12301 break;
12302 }
12303 if (obj) {
12304 PyDict_SetItemString(d, constants[i].name, obj);
12305 Py_DECREF(obj);
12306 }
12307 }
12308 }
12309
12310 /* -----------------------------------------------------------------------------*/
12311 /* Fix SwigMethods to carry the callback ptrs when needed */
12312 /* -----------------------------------------------------------------------------*/
12313
12314 SWIGINTERN void
12315 SWIG_Python_FixMethods(PyMethodDef *methods,
12316 swig_const_info *const_table,
12317 swig_type_info **types,
12318 swig_type_info **types_initial) {
12319 size_t i;
12320 for (i = 0; methods[i].ml_name; ++i) {
12321 const char *c = methods[i].ml_doc;
12322 if (c && (c = strstr(c, "swig_ptr: "))) {
12323 int j;
12324 swig_const_info *ci = 0;
12325 const char *name = c + 10;
12326 for (j = 0; const_table[j].type; ++j) {
12327 if (strncmp(const_table[j].name, name,
12328 strlen(const_table[j].name)) == 0) {
12329 ci = &(const_table[j]);
12330 break;
12331 }
12332 }
12333 if (ci) {
12334 size_t shift = (ci->ptype) - types;
12335 swig_type_info *ty = types_initial[shift];
12336 size_t ldoc = (c - methods[i].ml_doc);
12337 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
12338 char *ndoc = (char*)malloc(ldoc + lptr + 10);
12339 if (ndoc) {
12340 char *buff = ndoc;
12341 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
12342 if (ptr) {
12343 strncpy(buff, methods[i].ml_doc, ldoc);
12344 buff += ldoc;
12345 strncpy(buff, "swig_ptr: ", 10);
12346 buff += 10;
12347 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
12348 methods[i].ml_doc = ndoc;
12349 }
12350 }
12351 }
12352 }
12353 }
12354 }
12355
12356 #ifdef __cplusplus
12357 }
12358 #endif
12359
12360 /* -----------------------------------------------------------------------------*
12361 * Partial Init method
12362 * -----------------------------------------------------------------------------*/
12363
12364 #ifdef __cplusplus
12365 extern "C"
12366 #endif
12367 SWIGEXPORT void SWIG_init(void) {
12368 PyObject *m, *d;
12369
12370 /* Fix SwigMethods to carry the callback ptrs when needed */
12371 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12372
12373 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12374 d = PyModule_GetDict(m);
12375
12376 SWIG_InitializeModule(0);
12377 SWIG_InstallConstants(d,swig_const_table);
12378
12379
12380 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
12381 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
12382 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
12383 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
12384 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
12385 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
12386 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
12387 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
12388 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
12389 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
12390 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
12391 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
12392 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
12393 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
12394 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
12395 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
12396 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
12397 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
12398 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
12399 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
12400 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
12401 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
12402 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
12403 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
12404 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
12405 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
12406 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
12407 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
12408 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
12409 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
12410 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
12411 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
12412 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
12413 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
12414 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
12415 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
12416 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
12417 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
12418 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
12419 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
12420 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
12421 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
12422 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
12423 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
12424 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
12425 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
12426 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
12427 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
12428 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
12429 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
12430 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
12431 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
12432 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
12433 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
12434 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
12435 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
12436 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
12437 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
12438 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
12439 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
12440 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
12441 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
12442 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
12443 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
12444 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
12445 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
12446 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
12447 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
12448 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
12449 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
12450 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
12451 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
12452 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
12453 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
12454 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
12455 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
12456 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
12457 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
12458 }
12459