]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/aui_wrap.cpp
Get/SetManagedWindow
[wxWidgets.git] / wxPython / src / msw / aui_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_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 wxWindow *arg2 = (wxWindow *) 0 ;
6726 void *argp1 = 0 ;
6727 int res1 = 0 ;
6728 void *argp2 = 0 ;
6729 int res2 = 0 ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 char * kwnames[] = {
6733 (char *) "self",(char *) "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_wxWindow, 0 | 0 );
6743 if (!SWIG_IsOK(res2)) {
6744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_SetFrame" "', expected argument " "2"" of type '" "wxWindow *""'");
6745 }
6746 arg2 = reinterpret_cast< wxWindow * >(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 wxWindow *result = 0 ;
6764 void *argp1 = 0 ;
6765 int res1 = 0 ;
6766 PyObject *swig_obj[1] ;
6767
6768 if (!args) SWIG_fail;
6769 swig_obj[0] = args;
6770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
6771 if (!SWIG_IsOK(res1)) {
6772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_GetFrame" "', expected argument " "1"" of type '" "wxFrameManager const *""'");
6773 }
6774 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxWindow *)((wxFrameManager const *)arg1)->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 *_wrap_FrameManager_OnRender(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj = 0;
7333 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7334 wxFrameManagerEvent *arg2 = 0 ;
7335 void *argp1 = 0 ;
7336 int res1 = 0 ;
7337 void *argp2 = 0 ;
7338 int res2 = 0 ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 char * kwnames[] = {
7342 (char *) "self",(char *) "evt", NULL
7343 };
7344
7345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnRender",kwnames,&obj0,&obj1)) SWIG_fail;
7346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7347 if (!SWIG_IsOK(res1)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnRender" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7349 }
7350 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7351 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7352 if (!SWIG_IsOK(res2)) {
7353 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7354 }
7355 if (!argp2) {
7356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnRender" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7357 }
7358 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->OnRender(*arg2);
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = SWIG_Py_Void();
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 SWIGINTERN PyObject *_wrap_FrameManager_OnPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj = 0;
7374 wxFrameManager *arg1 = (wxFrameManager *) 0 ;
7375 wxFrameManagerEvent *arg2 = 0 ;
7376 void *argp1 = 0 ;
7377 int res1 = 0 ;
7378 void *argp2 = 0 ;
7379 int res2 = 0 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char * kwnames[] = {
7383 (char *) "self",(char *) "evt", NULL
7384 };
7385
7386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManager_OnPaneButton",kwnames,&obj0,&obj1)) SWIG_fail;
7387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManager, 0 | 0 );
7388 if (!SWIG_IsOK(res1)) {
7389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManager_OnPaneButton" "', expected argument " "1"" of type '" "wxFrameManager *""'");
7390 }
7391 arg1 = reinterpret_cast< wxFrameManager * >(argp1);
7392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFrameManagerEvent, 0 );
7393 if (!SWIG_IsOK(res2)) {
7394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7395 }
7396 if (!argp2) {
7397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FrameManager_OnPaneButton" "', expected argument " "2"" of type '" "wxFrameManagerEvent &""'");
7398 }
7399 arg2 = reinterpret_cast< wxFrameManagerEvent * >(argp2);
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 (arg1)->OnPaneButton(*arg2);
7403 wxPyEndAllowThreads(__tstate);
7404 if (PyErr_Occurred()) SWIG_fail;
7405 }
7406 resultobj = SWIG_Py_Void();
7407 return resultobj;
7408 fail:
7409 return NULL;
7410 }
7411
7412
7413 SWIGINTERN PyObject *FrameManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7414 PyObject *obj;
7415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7416 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManager, SWIG_NewClientData(obj));
7417 return SWIG_Py_Void();
7418 }
7419
7420 SWIGINTERN PyObject *FrameManager_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7421 return SWIG_Python_InitShadowInstance(args);
7422 }
7423
7424 SWIGINTERN PyObject *_wrap_new_FrameManagerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj = 0;
7426 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
7427 wxFrameManagerEvent *result = 0 ;
7428 int val1 ;
7429 int ecode1 = 0 ;
7430 PyObject * obj0 = 0 ;
7431 char * kwnames[] = {
7432 (char *) "type", NULL
7433 };
7434
7435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FrameManagerEvent",kwnames,&obj0)) SWIG_fail;
7436 if (obj0) {
7437 ecode1 = SWIG_AsVal_int(obj0, &val1);
7438 if (!SWIG_IsOK(ecode1)) {
7439 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FrameManagerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
7440 }
7441 arg1 = static_cast< wxEventType >(val1);
7442 }
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (wxFrameManagerEvent *)new wxFrameManagerEvent(arg1);
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrameManagerEvent, SWIG_POINTER_NEW | 0 );
7450 return resultobj;
7451 fail:
7452 return NULL;
7453 }
7454
7455
7456 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7457 PyObject *resultobj = 0;
7458 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7459 wxEvent *result = 0 ;
7460 void *argp1 = 0 ;
7461 int res1 = 0 ;
7462 PyObject *swig_obj[1] ;
7463
7464 if (!args) SWIG_fail;
7465 swig_obj[0] = args;
7466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7467 if (!SWIG_IsOK(res1)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Clone" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7469 }
7470 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 result = (wxEvent *)((wxFrameManagerEvent const *)arg1)->Clone();
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEvent, 0 | 0 );
7478 return resultobj;
7479 fail:
7480 return NULL;
7481 }
7482
7483
7484 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj = 0;
7486 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7487 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7488 void *argp1 = 0 ;
7489 int res1 = 0 ;
7490 void *argp2 = 0 ;
7491 int res2 = 0 ;
7492 PyObject * obj0 = 0 ;
7493 PyObject * obj1 = 0 ;
7494 char * kwnames[] = {
7495 (char *) "self",(char *) "p", NULL
7496 };
7497
7498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetPane",kwnames,&obj0,&obj1)) SWIG_fail;
7499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7500 if (!SWIG_IsOK(res1)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7502 }
7503 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7505 if (!SWIG_IsOK(res2)) {
7506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetPane" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7507 }
7508 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7509 {
7510 PyThreadState* __tstate = wxPyBeginAllowThreads();
7511 (arg1)->SetPane(arg2);
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_Py_Void();
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj = 0;
7524 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7525 int arg2 ;
7526 void *argp1 = 0 ;
7527 int res1 = 0 ;
7528 int val2 ;
7529 int ecode2 = 0 ;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 char * kwnames[] = {
7533 (char *) "self",(char *) "b", NULL
7534 };
7535
7536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetButton",kwnames,&obj0,&obj1)) SWIG_fail;
7537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7538 if (!SWIG_IsOK(res1)) {
7539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7540 }
7541 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7542 ecode2 = SWIG_AsVal_int(obj1, &val2);
7543 if (!SWIG_IsOK(ecode2)) {
7544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetButton" "', expected argument " "2"" of type '" "int""'");
7545 }
7546 arg2 = static_cast< int >(val2);
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 (arg1)->SetButton(arg2);
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 resultobj = SWIG_Py_Void();
7554 return resultobj;
7555 fail:
7556 return NULL;
7557 }
7558
7559
7560 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj = 0;
7562 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7563 wxDC *arg2 = (wxDC *) 0 ;
7564 void *argp1 = 0 ;
7565 int res1 = 0 ;
7566 void *argp2 = 0 ;
7567 int res2 = 0 ;
7568 PyObject * obj0 = 0 ;
7569 PyObject * obj1 = 0 ;
7570 char * kwnames[] = {
7571 (char *) "self",(char *) "pdc", NULL
7572 };
7573
7574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
7575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7576 if (!SWIG_IsOK(res1)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7578 }
7579 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
7581 if (!SWIG_IsOK(res2)) {
7582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
7583 }
7584 arg2 = reinterpret_cast< wxDC * >(argp2);
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 (arg1)->SetDC(arg2);
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 resultobj = SWIG_Py_Void();
7592 return resultobj;
7593 fail:
7594 return NULL;
7595 }
7596
7597
7598 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7599 PyObject *resultobj = 0;
7600 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7601 wxPaneInfo *result = 0 ;
7602 void *argp1 = 0 ;
7603 int res1 = 0 ;
7604 PyObject *swig_obj[1] ;
7605
7606 if (!args) SWIG_fail;
7607 swig_obj[0] = args;
7608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7609 if (!SWIG_IsOK(res1)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetPane" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7611 }
7612 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7613 {
7614 PyThreadState* __tstate = wxPyBeginAllowThreads();
7615 result = (wxPaneInfo *)(arg1)->GetPane();
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7627 PyObject *resultobj = 0;
7628 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7629 int result;
7630 void *argp1 = 0 ;
7631 int res1 = 0 ;
7632 PyObject *swig_obj[1] ;
7633
7634 if (!args) SWIG_fail;
7635 swig_obj[0] = args;
7636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetButton" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7639 }
7640 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (int)(arg1)->GetButton();
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_From_int(static_cast< int >(result));
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7655 PyObject *resultobj = 0;
7656 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7657 wxDC *result = 0 ;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 PyObject *swig_obj[1] ;
7661
7662 if (!args) SWIG_fail;
7663 swig_obj[0] = args;
7664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7665 if (!SWIG_IsOK(res1)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetDC" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7667 }
7668 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (wxDC *)(arg1)->GetDC();
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 {
7676 resultobj = wxPyMake_wxObject(result, (bool)0);
7677 }
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 SWIGINTERN PyObject *_wrap_FrameManagerEvent_Veto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj = 0;
7686 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7687 bool arg2 = (bool) true ;
7688 void *argp1 = 0 ;
7689 int res1 = 0 ;
7690 bool val2 ;
7691 int ecode2 = 0 ;
7692 PyObject * obj0 = 0 ;
7693 PyObject * obj1 = 0 ;
7694 char * kwnames[] = {
7695 (char *) "self",(char *) "veto", NULL
7696 };
7697
7698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FrameManagerEvent_Veto",kwnames,&obj0,&obj1)) SWIG_fail;
7699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7700 if (!SWIG_IsOK(res1)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_Veto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7702 }
7703 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7704 if (obj1) {
7705 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7706 if (!SWIG_IsOK(ecode2)) {
7707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
7708 }
7709 arg2 = static_cast< bool >(val2);
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 (arg1)->Veto(arg2);
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_Py_Void();
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 SWIGINTERN PyObject *_wrap_FrameManagerEvent_GetVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7725 PyObject *resultobj = 0;
7726 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7727 bool result;
7728 void *argp1 = 0 ;
7729 int res1 = 0 ;
7730 PyObject *swig_obj[1] ;
7731
7732 if (!args) SWIG_fail;
7733 swig_obj[0] = args;
7734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7735 if (!SWIG_IsOK(res1)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_GetVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7737 }
7738 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (bool)((wxFrameManagerEvent const *)arg1)->GetVeto();
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 {
7746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7747 }
7748 return resultobj;
7749 fail:
7750 return NULL;
7751 }
7752
7753
7754 SWIGINTERN PyObject *_wrap_FrameManagerEvent_SetCanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj = 0;
7756 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7757 bool arg2 ;
7758 void *argp1 = 0 ;
7759 int res1 = 0 ;
7760 bool val2 ;
7761 int ecode2 = 0 ;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char * kwnames[] = {
7765 (char *) "self",(char *) "can_veto", NULL
7766 };
7767
7768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FrameManagerEvent_SetCanVeto",kwnames,&obj0,&obj1)) SWIG_fail;
7769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7770 if (!SWIG_IsOK(res1)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7772 }
7773 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7774 ecode2 = SWIG_AsVal_bool(obj1, &val2);
7775 if (!SWIG_IsOK(ecode2)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
7777 }
7778 arg2 = static_cast< bool >(val2);
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 (arg1)->SetCanVeto(arg2);
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 resultobj = SWIG_Py_Void();
7786 return resultobj;
7787 fail:
7788 return NULL;
7789 }
7790
7791
7792 SWIGINTERN PyObject *_wrap_FrameManagerEvent_CanVeto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7793 PyObject *resultobj = 0;
7794 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7795 bool result;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 PyObject *swig_obj[1] ;
7799
7800 if (!args) SWIG_fail;
7801 swig_obj[0] = args;
7802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7803 if (!SWIG_IsOK(res1)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_CanVeto" "', expected argument " "1"" of type '" "wxFrameManagerEvent const *""'");
7805 }
7806 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 result = (bool)((wxFrameManagerEvent const *)arg1)->CanVeto();
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 {
7814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7815 }
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7823 PyObject *resultobj = 0;
7824 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7825 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 void *argp2 = 0 ;
7829 int res2 = 0 ;
7830 PyObject *swig_obj[2] ;
7831
7832 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_pane_set",2,2,swig_obj)) SWIG_fail;
7833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7834 if (!SWIG_IsOK(res1)) {
7835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7836 }
7837 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7838 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
7839 if (!SWIG_IsOK(res2)) {
7840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
7841 }
7842 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
7843 if (arg1) (arg1)->pane = arg2;
7844
7845 resultobj = SWIG_Py_Void();
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 SWIGINTERN PyObject *_wrap_FrameManagerEvent_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7853 PyObject *resultobj = 0;
7854 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7855 wxPaneInfo *result = 0 ;
7856 void *argp1 = 0 ;
7857 int res1 = 0 ;
7858 PyObject *swig_obj[1] ;
7859
7860 if (!args) SWIG_fail;
7861 swig_obj[0] = args;
7862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7863 if (!SWIG_IsOK(res1)) {
7864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_pane_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7865 }
7866 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7867 result = (wxPaneInfo *) ((arg1)->pane);
7868 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
7869 return resultobj;
7870 fail:
7871 return NULL;
7872 }
7873
7874
7875 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7876 PyObject *resultobj = 0;
7877 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7878 int arg2 ;
7879 void *argp1 = 0 ;
7880 int res1 = 0 ;
7881 int val2 ;
7882 int ecode2 = 0 ;
7883 PyObject *swig_obj[2] ;
7884
7885 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_button_set",2,2,swig_obj)) SWIG_fail;
7886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7887 if (!SWIG_IsOK(res1)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7889 }
7890 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7891 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
7892 if (!SWIG_IsOK(ecode2)) {
7893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_button_set" "', expected argument " "2"" of type '" "int""'");
7894 }
7895 arg2 = static_cast< int >(val2);
7896 if (arg1) (arg1)->button = arg2;
7897
7898 resultobj = SWIG_Py_Void();
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 SWIGINTERN PyObject *_wrap_FrameManagerEvent_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7906 PyObject *resultobj = 0;
7907 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7908 int result;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 PyObject *swig_obj[1] ;
7912
7913 if (!args) SWIG_fail;
7914 swig_obj[0] = args;
7915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7916 if (!SWIG_IsOK(res1)) {
7917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_button_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7918 }
7919 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7920 result = (int) ((arg1)->button);
7921 resultobj = SWIG_From_int(static_cast< int >(result));
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7929 PyObject *resultobj = 0;
7930 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7931 bool arg2 ;
7932 void *argp1 = 0 ;
7933 int res1 = 0 ;
7934 bool val2 ;
7935 int ecode2 = 0 ;
7936 PyObject *swig_obj[2] ;
7937
7938 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_veto_flag_set",2,2,swig_obj)) SWIG_fail;
7939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7940 if (!SWIG_IsOK(res1)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7942 }
7943 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7944 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
7945 if (!SWIG_IsOK(ecode2)) {
7946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_veto_flag_set" "', expected argument " "2"" of type '" "bool""'");
7947 }
7948 arg2 = static_cast< bool >(val2);
7949 if (arg1) (arg1)->veto_flag = arg2;
7950
7951 resultobj = SWIG_Py_Void();
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 SWIGINTERN PyObject *_wrap_FrameManagerEvent_veto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7959 PyObject *resultobj = 0;
7960 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7961 bool result;
7962 void *argp1 = 0 ;
7963 int res1 = 0 ;
7964 PyObject *swig_obj[1] ;
7965
7966 if (!args) SWIG_fail;
7967 swig_obj[0] = args;
7968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7969 if (!SWIG_IsOK(res1)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_veto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7971 }
7972 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7973 result = (bool) ((arg1)->veto_flag);
7974 {
7975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7976 }
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7984 PyObject *resultobj = 0;
7985 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
7986 bool arg2 ;
7987 void *argp1 = 0 ;
7988 int res1 = 0 ;
7989 bool val2 ;
7990 int ecode2 = 0 ;
7991 PyObject *swig_obj[2] ;
7992
7993 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_canveto_flag_set",2,2,swig_obj)) SWIG_fail;
7994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
7995 if (!SWIG_IsOK(res1)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
7997 }
7998 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
7999 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8000 if (!SWIG_IsOK(ecode2)) {
8001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FrameManagerEvent_canveto_flag_set" "', expected argument " "2"" of type '" "bool""'");
8002 }
8003 arg2 = static_cast< bool >(val2);
8004 if (arg1) (arg1)->canveto_flag = arg2;
8005
8006 resultobj = SWIG_Py_Void();
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 SWIGINTERN PyObject *_wrap_FrameManagerEvent_canveto_flag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8014 PyObject *resultobj = 0;
8015 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8016 bool result;
8017 void *argp1 = 0 ;
8018 int res1 = 0 ;
8019 PyObject *swig_obj[1] ;
8020
8021 if (!args) SWIG_fail;
8022 swig_obj[0] = args;
8023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8024 if (!SWIG_IsOK(res1)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_canveto_flag_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8026 }
8027 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8028 result = (bool) ((arg1)->canveto_flag);
8029 {
8030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8031 }
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8039 PyObject *resultobj = 0;
8040 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8041 wxDC *arg2 = (wxDC *) 0 ;
8042 void *argp1 = 0 ;
8043 int res1 = 0 ;
8044 void *argp2 = 0 ;
8045 int res2 = 0 ;
8046 PyObject *swig_obj[2] ;
8047
8048 if (!SWIG_Python_UnpackTuple(args,"FrameManagerEvent_dc_set",2,2,swig_obj)) SWIG_fail;
8049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8050 if (!SWIG_IsOK(res1)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8052 }
8053 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8054 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDC, SWIG_POINTER_DISOWN | 0 );
8055 if (!SWIG_IsOK(res2)) {
8056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FrameManagerEvent_dc_set" "', expected argument " "2"" of type '" "wxDC *""'");
8057 }
8058 arg2 = reinterpret_cast< wxDC * >(argp2);
8059 if (arg1) (arg1)->dc = arg2;
8060
8061 resultobj = SWIG_Py_Void();
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 SWIGINTERN PyObject *_wrap_FrameManagerEvent_dc_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8069 PyObject *resultobj = 0;
8070 wxFrameManagerEvent *arg1 = (wxFrameManagerEvent *) 0 ;
8071 wxDC *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 PyObject *swig_obj[1] ;
8075
8076 if (!args) SWIG_fail;
8077 swig_obj[0] = args;
8078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrameManagerEvent, 0 | 0 );
8079 if (!SWIG_IsOK(res1)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FrameManagerEvent_dc_get" "', expected argument " "1"" of type '" "wxFrameManagerEvent *""'");
8081 }
8082 arg1 = reinterpret_cast< wxFrameManagerEvent * >(argp1);
8083 result = (wxDC *) ((arg1)->dc);
8084 {
8085 resultobj = wxPyMake_wxObject(result, (bool)0);
8086 }
8087 return resultobj;
8088 fail:
8089 return NULL;
8090 }
8091
8092
8093 SWIGINTERN PyObject *FrameManagerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8094 PyObject *obj;
8095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8096 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrameManagerEvent, SWIG_NewClientData(obj));
8097 return SWIG_Py_Void();
8098 }
8099
8100 SWIGINTERN PyObject *FrameManagerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8101 return SWIG_Python_InitShadowInstance(args);
8102 }
8103
8104 SWIGINTERN PyObject *_wrap_new_DockInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8105 PyObject *resultobj = 0;
8106 wxDockInfo *result = 0 ;
8107
8108 if (!SWIG_Python_UnpackTuple(args,"new_DockInfo",0,0,0)) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (wxDockInfo *)new wxDockInfo();
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, SWIG_POINTER_NEW | 0 );
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 SWIGINTERN PyObject *_wrap_DockInfo_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8123 PyObject *resultobj = 0;
8124 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8125 bool result;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 PyObject *swig_obj[1] ;
8129
8130 if (!args) SWIG_fail;
8131 swig_obj[0] = args;
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_IsOk" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8135 }
8136 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (bool)((wxDockInfo const *)arg1)->IsOk();
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 {
8144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8145 }
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 SWIGINTERN PyObject *_wrap_DockInfo_IsHorizontal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8153 PyObject *resultobj = 0;
8154 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8155 bool result;
8156 void *argp1 = 0 ;
8157 int res1 = 0 ;
8158 PyObject *swig_obj[1] ;
8159
8160 if (!args) SWIG_fail;
8161 swig_obj[0] = args;
8162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8163 if (!SWIG_IsOK(res1)) {
8164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsHorizontal" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8165 }
8166 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (bool)((wxDockInfo const *)arg1)->IsHorizontal();
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 {
8174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8175 }
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 SWIGINTERN PyObject *_wrap_DockInfo_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8183 PyObject *resultobj = 0;
8184 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8185 bool result;
8186 void *argp1 = 0 ;
8187 int res1 = 0 ;
8188 PyObject *swig_obj[1] ;
8189
8190 if (!args) SWIG_fail;
8191 swig_obj[0] = args;
8192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8193 if (!SWIG_IsOK(res1)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_IsVertical" "', expected argument " "1"" of type '" "wxDockInfo const *""'");
8195 }
8196 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (bool)((wxDockInfo const *)arg1)->IsVertical();
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 {
8204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8205 }
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 SWIGINTERN PyObject *_wrap_DockInfo_panes_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8213 PyObject *resultobj = 0;
8214 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8215 wxPaneInfoPtrArray arg2 ;
8216 void *argp1 = 0 ;
8217 int res1 = 0 ;
8218 void *argp2 ;
8219 int res2 = 0 ;
8220 PyObject *swig_obj[2] ;
8221
8222 if (!SWIG_Python_UnpackTuple(args,"DockInfo_panes_set",2,2,swig_obj)) SWIG_fail;
8223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8224 if (!SWIG_IsOK(res1)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8226 }
8227 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8228 {
8229 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_wxPaneInfoPtrArray, 0 | 0);
8230 if (!SWIG_IsOK(res2)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8232 }
8233 if (!argp2) {
8234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockInfo_panes_set" "', expected argument " "2"" of type '" "wxPaneInfoPtrArray""'");
8235 } else {
8236 wxPaneInfoPtrArray * temp = reinterpret_cast< wxPaneInfoPtrArray * >(argp2);
8237 arg2 = *temp;
8238 if (SWIG_IsNewObj(res2)) delete temp;
8239 }
8240 }
8241 if (arg1) (arg1)->panes = arg2;
8242
8243 resultobj = SWIG_Py_Void();
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 SWIGINTERN PyObject *_wrap_DockInfo_panes_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8251 PyObject *resultobj = 0;
8252 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8253 wxPaneInfoPtrArray result;
8254 void *argp1 = 0 ;
8255 int res1 = 0 ;
8256 PyObject *swig_obj[1] ;
8257
8258 if (!args) SWIG_fail;
8259 swig_obj[0] = args;
8260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8261 if (!SWIG_IsOK(res1)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_panes_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8263 }
8264 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8265 result = ((arg1)->panes);
8266 resultobj = SWIG_NewPointerObj((new wxPaneInfoPtrArray(static_cast< const wxPaneInfoPtrArray& >(result))), SWIGTYPE_p_wxPaneInfoPtrArray, SWIG_POINTER_OWN | 0 );
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 SWIGINTERN PyObject *_wrap_DockInfo_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8274 PyObject *resultobj = 0;
8275 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8276 wxRect *arg2 = (wxRect *) 0 ;
8277 void *argp1 = 0 ;
8278 int res1 = 0 ;
8279 void *argp2 = 0 ;
8280 int res2 = 0 ;
8281 PyObject *swig_obj[2] ;
8282
8283 if (!SWIG_Python_UnpackTuple(args,"DockInfo_rect_set",2,2,swig_obj)) SWIG_fail;
8284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8285 if (!SWIG_IsOK(res1)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8287 }
8288 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8289 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
8290 if (!SWIG_IsOK(res2)) {
8291 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockInfo_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
8292 }
8293 arg2 = reinterpret_cast< wxRect * >(argp2);
8294 if (arg1) (arg1)->rect = *arg2;
8295
8296 resultobj = SWIG_Py_Void();
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 SWIGINTERN PyObject *_wrap_DockInfo_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8304 PyObject *resultobj = 0;
8305 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8306 wxRect *result = 0 ;
8307 void *argp1 = 0 ;
8308 int res1 = 0 ;
8309 PyObject *swig_obj[1] ;
8310
8311 if (!args) SWIG_fail;
8312 swig_obj[0] = args;
8313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8314 if (!SWIG_IsOK(res1)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_rect_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8316 }
8317 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8318 result = (wxRect *)& ((arg1)->rect);
8319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8327 PyObject *resultobj = 0;
8328 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8329 int arg2 ;
8330 void *argp1 = 0 ;
8331 int res1 = 0 ;
8332 int val2 ;
8333 int ecode2 = 0 ;
8334 PyObject *swig_obj[2] ;
8335
8336 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_direction_set",2,2,swig_obj)) SWIG_fail;
8337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8338 if (!SWIG_IsOK(res1)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8340 }
8341 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8342 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8343 if (!SWIG_IsOK(ecode2)) {
8344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_direction_set" "', expected argument " "2"" of type '" "int""'");
8345 }
8346 arg2 = static_cast< int >(val2);
8347 if (arg1) (arg1)->dock_direction = arg2;
8348
8349 resultobj = SWIG_Py_Void();
8350 return resultobj;
8351 fail:
8352 return NULL;
8353 }
8354
8355
8356 SWIGINTERN PyObject *_wrap_DockInfo_dock_direction_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8357 PyObject *resultobj = 0;
8358 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8359 int result;
8360 void *argp1 = 0 ;
8361 int res1 = 0 ;
8362 PyObject *swig_obj[1] ;
8363
8364 if (!args) SWIG_fail;
8365 swig_obj[0] = args;
8366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8367 if (!SWIG_IsOK(res1)) {
8368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_direction_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8369 }
8370 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8371 result = (int) ((arg1)->dock_direction);
8372 resultobj = SWIG_From_int(static_cast< int >(result));
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8380 PyObject *resultobj = 0;
8381 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8382 int arg2 ;
8383 void *argp1 = 0 ;
8384 int res1 = 0 ;
8385 int val2 ;
8386 int ecode2 = 0 ;
8387 PyObject *swig_obj[2] ;
8388
8389 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_layer_set",2,2,swig_obj)) SWIG_fail;
8390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8391 if (!SWIG_IsOK(res1)) {
8392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8393 }
8394 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8395 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8396 if (!SWIG_IsOK(ecode2)) {
8397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_layer_set" "', expected argument " "2"" of type '" "int""'");
8398 }
8399 arg2 = static_cast< int >(val2);
8400 if (arg1) (arg1)->dock_layer = arg2;
8401
8402 resultobj = SWIG_Py_Void();
8403 return resultobj;
8404 fail:
8405 return NULL;
8406 }
8407
8408
8409 SWIGINTERN PyObject *_wrap_DockInfo_dock_layer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8410 PyObject *resultobj = 0;
8411 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8412 int result;
8413 void *argp1 = 0 ;
8414 int res1 = 0 ;
8415 PyObject *swig_obj[1] ;
8416
8417 if (!args) SWIG_fail;
8418 swig_obj[0] = args;
8419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8420 if (!SWIG_IsOK(res1)) {
8421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_layer_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8422 }
8423 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8424 result = (int) ((arg1)->dock_layer);
8425 resultobj = SWIG_From_int(static_cast< int >(result));
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8433 PyObject *resultobj = 0;
8434 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8435 int arg2 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 PyObject *swig_obj[2] ;
8441
8442 if (!SWIG_Python_UnpackTuple(args,"DockInfo_dock_row_set",2,2,swig_obj)) SWIG_fail;
8443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8444 if (!SWIG_IsOK(res1)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8446 }
8447 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8448 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8449 if (!SWIG_IsOK(ecode2)) {
8450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_dock_row_set" "', expected argument " "2"" of type '" "int""'");
8451 }
8452 arg2 = static_cast< int >(val2);
8453 if (arg1) (arg1)->dock_row = arg2;
8454
8455 resultobj = SWIG_Py_Void();
8456 return resultobj;
8457 fail:
8458 return NULL;
8459 }
8460
8461
8462 SWIGINTERN PyObject *_wrap_DockInfo_dock_row_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8463 PyObject *resultobj = 0;
8464 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8465 int result;
8466 void *argp1 = 0 ;
8467 int res1 = 0 ;
8468 PyObject *swig_obj[1] ;
8469
8470 if (!args) SWIG_fail;
8471 swig_obj[0] = args;
8472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8473 if (!SWIG_IsOK(res1)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_dock_row_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8475 }
8476 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8477 result = (int) ((arg1)->dock_row);
8478 resultobj = SWIG_From_int(static_cast< int >(result));
8479 return resultobj;
8480 fail:
8481 return NULL;
8482 }
8483
8484
8485 SWIGINTERN PyObject *_wrap_DockInfo_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8486 PyObject *resultobj = 0;
8487 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8488 int arg2 ;
8489 void *argp1 = 0 ;
8490 int res1 = 0 ;
8491 int val2 ;
8492 int ecode2 = 0 ;
8493 PyObject *swig_obj[2] ;
8494
8495 if (!SWIG_Python_UnpackTuple(args,"DockInfo_size_set",2,2,swig_obj)) SWIG_fail;
8496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8497 if (!SWIG_IsOK(res1)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8499 }
8500 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8501 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8502 if (!SWIG_IsOK(ecode2)) {
8503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_size_set" "', expected argument " "2"" of type '" "int""'");
8504 }
8505 arg2 = static_cast< int >(val2);
8506 if (arg1) (arg1)->size = arg2;
8507
8508 resultobj = SWIG_Py_Void();
8509 return resultobj;
8510 fail:
8511 return NULL;
8512 }
8513
8514
8515 SWIGINTERN PyObject *_wrap_DockInfo_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8516 PyObject *resultobj = 0;
8517 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8518 int result;
8519 void *argp1 = 0 ;
8520 int res1 = 0 ;
8521 PyObject *swig_obj[1] ;
8522
8523 if (!args) SWIG_fail;
8524 swig_obj[0] = args;
8525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8526 if (!SWIG_IsOK(res1)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8528 }
8529 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8530 result = (int) ((arg1)->size);
8531 resultobj = SWIG_From_int(static_cast< int >(result));
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 SWIGINTERN PyObject *_wrap_DockInfo_min_size_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8539 PyObject *resultobj = 0;
8540 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8541 int arg2 ;
8542 void *argp1 = 0 ;
8543 int res1 = 0 ;
8544 int val2 ;
8545 int ecode2 = 0 ;
8546 PyObject *swig_obj[2] ;
8547
8548 if (!SWIG_Python_UnpackTuple(args,"DockInfo_min_size_set",2,2,swig_obj)) SWIG_fail;
8549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8550 if (!SWIG_IsOK(res1)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8552 }
8553 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8554 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8555 if (!SWIG_IsOK(ecode2)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_min_size_set" "', expected argument " "2"" of type '" "int""'");
8557 }
8558 arg2 = static_cast< int >(val2);
8559 if (arg1) (arg1)->min_size = arg2;
8560
8561 resultobj = SWIG_Py_Void();
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 SWIGINTERN PyObject *_wrap_DockInfo_min_size_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8569 PyObject *resultobj = 0;
8570 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8571 int result;
8572 void *argp1 = 0 ;
8573 int res1 = 0 ;
8574 PyObject *swig_obj[1] ;
8575
8576 if (!args) SWIG_fail;
8577 swig_obj[0] = args;
8578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8579 if (!SWIG_IsOK(res1)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_min_size_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8581 }
8582 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8583 result = (int) ((arg1)->min_size);
8584 resultobj = SWIG_From_int(static_cast< int >(result));
8585 return resultobj;
8586 fail:
8587 return NULL;
8588 }
8589
8590
8591 SWIGINTERN PyObject *_wrap_DockInfo_resizable_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8592 PyObject *resultobj = 0;
8593 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8594 bool arg2 ;
8595 void *argp1 = 0 ;
8596 int res1 = 0 ;
8597 bool val2 ;
8598 int ecode2 = 0 ;
8599 PyObject *swig_obj[2] ;
8600
8601 if (!SWIG_Python_UnpackTuple(args,"DockInfo_resizable_set",2,2,swig_obj)) SWIG_fail;
8602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8603 if (!SWIG_IsOK(res1)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8605 }
8606 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8607 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8608 if (!SWIG_IsOK(ecode2)) {
8609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_resizable_set" "', expected argument " "2"" of type '" "bool""'");
8610 }
8611 arg2 = static_cast< bool >(val2);
8612 if (arg1) (arg1)->resizable = arg2;
8613
8614 resultobj = SWIG_Py_Void();
8615 return resultobj;
8616 fail:
8617 return NULL;
8618 }
8619
8620
8621 SWIGINTERN PyObject *_wrap_DockInfo_resizable_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8622 PyObject *resultobj = 0;
8623 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8624 bool result;
8625 void *argp1 = 0 ;
8626 int res1 = 0 ;
8627 PyObject *swig_obj[1] ;
8628
8629 if (!args) SWIG_fail;
8630 swig_obj[0] = args;
8631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8632 if (!SWIG_IsOK(res1)) {
8633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_resizable_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8634 }
8635 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8636 result = (bool) ((arg1)->resizable);
8637 {
8638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8639 }
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8647 PyObject *resultobj = 0;
8648 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8649 bool arg2 ;
8650 void *argp1 = 0 ;
8651 int res1 = 0 ;
8652 bool val2 ;
8653 int ecode2 = 0 ;
8654 PyObject *swig_obj[2] ;
8655
8656 if (!SWIG_Python_UnpackTuple(args,"DockInfo_toolbar_set",2,2,swig_obj)) SWIG_fail;
8657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8658 if (!SWIG_IsOK(res1)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8660 }
8661 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8662 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8663 if (!SWIG_IsOK(ecode2)) {
8664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_toolbar_set" "', expected argument " "2"" of type '" "bool""'");
8665 }
8666 arg2 = static_cast< bool >(val2);
8667 if (arg1) (arg1)->toolbar = arg2;
8668
8669 resultobj = SWIG_Py_Void();
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 SWIGINTERN PyObject *_wrap_DockInfo_toolbar_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8677 PyObject *resultobj = 0;
8678 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8679 bool result;
8680 void *argp1 = 0 ;
8681 int res1 = 0 ;
8682 PyObject *swig_obj[1] ;
8683
8684 if (!args) SWIG_fail;
8685 swig_obj[0] = args;
8686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8687 if (!SWIG_IsOK(res1)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_toolbar_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8689 }
8690 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8691 result = (bool) ((arg1)->toolbar);
8692 {
8693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8694 }
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 SWIGINTERN PyObject *_wrap_DockInfo_fixed_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8702 PyObject *resultobj = 0;
8703 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8704 bool arg2 ;
8705 void *argp1 = 0 ;
8706 int res1 = 0 ;
8707 bool val2 ;
8708 int ecode2 = 0 ;
8709 PyObject *swig_obj[2] ;
8710
8711 if (!SWIG_Python_UnpackTuple(args,"DockInfo_fixed_set",2,2,swig_obj)) SWIG_fail;
8712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8713 if (!SWIG_IsOK(res1)) {
8714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_set" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8715 }
8716 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8717 ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2);
8718 if (!SWIG_IsOK(ecode2)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockInfo_fixed_set" "', expected argument " "2"" of type '" "bool""'");
8720 }
8721 arg2 = static_cast< bool >(val2);
8722 if (arg1) (arg1)->fixed = arg2;
8723
8724 resultobj = SWIG_Py_Void();
8725 return resultobj;
8726 fail:
8727 return NULL;
8728 }
8729
8730
8731 SWIGINTERN PyObject *_wrap_DockInfo_fixed_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8732 PyObject *resultobj = 0;
8733 wxDockInfo *arg1 = (wxDockInfo *) 0 ;
8734 bool result;
8735 void *argp1 = 0 ;
8736 int res1 = 0 ;
8737 PyObject *swig_obj[1] ;
8738
8739 if (!args) SWIG_fail;
8740 swig_obj[0] = args;
8741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockInfo, 0 | 0 );
8742 if (!SWIG_IsOK(res1)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockInfo_fixed_get" "', expected argument " "1"" of type '" "wxDockInfo *""'");
8744 }
8745 arg1 = reinterpret_cast< wxDockInfo * >(argp1);
8746 result = (bool) ((arg1)->fixed);
8747 {
8748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8749 }
8750 return resultobj;
8751 fail:
8752 return NULL;
8753 }
8754
8755
8756 SWIGINTERN PyObject *DockInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8757 PyObject *obj;
8758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8759 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockInfo, SWIG_NewClientData(obj));
8760 return SWIG_Py_Void();
8761 }
8762
8763 SWIGINTERN PyObject *DockInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8764 return SWIG_Python_InitShadowInstance(args);
8765 }
8766
8767 SWIGINTERN PyObject *_wrap_DockUIPart_type_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8768 PyObject *resultobj = 0;
8769 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8770 int arg2 ;
8771 void *argp1 = 0 ;
8772 int res1 = 0 ;
8773 int val2 ;
8774 int ecode2 = 0 ;
8775 PyObject *swig_obj[2] ;
8776
8777 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_type_set",2,2,swig_obj)) SWIG_fail;
8778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8779 if (!SWIG_IsOK(res1)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8781 }
8782 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8783 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8784 if (!SWIG_IsOK(ecode2)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_type_set" "', expected argument " "2"" of type '" "int""'");
8786 }
8787 arg2 = static_cast< int >(val2);
8788 if (arg1) (arg1)->type = arg2;
8789
8790 resultobj = SWIG_Py_Void();
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 SWIGINTERN PyObject *_wrap_DockUIPart_type_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8798 PyObject *resultobj = 0;
8799 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8800 int result;
8801 void *argp1 = 0 ;
8802 int res1 = 0 ;
8803 PyObject *swig_obj[1] ;
8804
8805 if (!args) SWIG_fail;
8806 swig_obj[0] = args;
8807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8808 if (!SWIG_IsOK(res1)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_type_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8810 }
8811 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8812 result = (int) ((arg1)->type);
8813 resultobj = SWIG_From_int(static_cast< int >(result));
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8821 PyObject *resultobj = 0;
8822 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8823 int arg2 ;
8824 void *argp1 = 0 ;
8825 int res1 = 0 ;
8826 int val2 ;
8827 int ecode2 = 0 ;
8828 PyObject *swig_obj[2] ;
8829
8830 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_orientation_set",2,2,swig_obj)) SWIG_fail;
8831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8832 if (!SWIG_IsOK(res1)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8834 }
8835 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
8837 if (!SWIG_IsOK(ecode2)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockUIPart_orientation_set" "', expected argument " "2"" of type '" "int""'");
8839 }
8840 arg2 = static_cast< int >(val2);
8841 if (arg1) (arg1)->orientation = arg2;
8842
8843 resultobj = SWIG_Py_Void();
8844 return resultobj;
8845 fail:
8846 return NULL;
8847 }
8848
8849
8850 SWIGINTERN PyObject *_wrap_DockUIPart_orientation_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8851 PyObject *resultobj = 0;
8852 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8853 int result;
8854 void *argp1 = 0 ;
8855 int res1 = 0 ;
8856 PyObject *swig_obj[1] ;
8857
8858 if (!args) SWIG_fail;
8859 swig_obj[0] = args;
8860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8861 if (!SWIG_IsOK(res1)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_orientation_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8863 }
8864 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8865 result = (int) ((arg1)->orientation);
8866 resultobj = SWIG_From_int(static_cast< int >(result));
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 SWIGINTERN PyObject *_wrap_DockUIPart_dock_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8874 PyObject *resultobj = 0;
8875 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8876 wxDockInfo *arg2 = (wxDockInfo *) 0 ;
8877 void *argp1 = 0 ;
8878 int res1 = 0 ;
8879 void *argp2 = 0 ;
8880 int res2 = 0 ;
8881 PyObject *swig_obj[2] ;
8882
8883 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_dock_set",2,2,swig_obj)) SWIG_fail;
8884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8885 if (!SWIG_IsOK(res1)) {
8886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8887 }
8888 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8889 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxDockInfo, SWIG_POINTER_DISOWN | 0 );
8890 if (!SWIG_IsOK(res2)) {
8891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_dock_set" "', expected argument " "2"" of type '" "wxDockInfo *""'");
8892 }
8893 arg2 = reinterpret_cast< wxDockInfo * >(argp2);
8894 if (arg1) (arg1)->dock = arg2;
8895
8896 resultobj = SWIG_Py_Void();
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 SWIGINTERN PyObject *_wrap_DockUIPart_dock_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8904 PyObject *resultobj = 0;
8905 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8906 wxDockInfo *result = 0 ;
8907 void *argp1 = 0 ;
8908 int res1 = 0 ;
8909 PyObject *swig_obj[1] ;
8910
8911 if (!args) SWIG_fail;
8912 swig_obj[0] = args;
8913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8914 if (!SWIG_IsOK(res1)) {
8915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_dock_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8916 }
8917 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8918 result = (wxDockInfo *) ((arg1)->dock);
8919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDockInfo, 0 | 0 );
8920 return resultobj;
8921 fail:
8922 return NULL;
8923 }
8924
8925
8926 SWIGINTERN PyObject *_wrap_DockUIPart_pane_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8927 PyObject *resultobj = 0;
8928 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8929 wxPaneInfo *arg2 = (wxPaneInfo *) 0 ;
8930 void *argp1 = 0 ;
8931 int res1 = 0 ;
8932 void *argp2 = 0 ;
8933 int res2 = 0 ;
8934 PyObject *swig_obj[2] ;
8935
8936 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_pane_set",2,2,swig_obj)) SWIG_fail;
8937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8938 if (!SWIG_IsOK(res1)) {
8939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8940 }
8941 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8942 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneInfo, SWIG_POINTER_DISOWN | 0 );
8943 if (!SWIG_IsOK(res2)) {
8944 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_pane_set" "', expected argument " "2"" of type '" "wxPaneInfo *""'");
8945 }
8946 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
8947 if (arg1) (arg1)->pane = arg2;
8948
8949 resultobj = SWIG_Py_Void();
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 SWIGINTERN PyObject *_wrap_DockUIPart_pane_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8957 PyObject *resultobj = 0;
8958 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8959 wxPaneInfo *result = 0 ;
8960 void *argp1 = 0 ;
8961 int res1 = 0 ;
8962 PyObject *swig_obj[1] ;
8963
8964 if (!args) SWIG_fail;
8965 swig_obj[0] = args;
8966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8967 if (!SWIG_IsOK(res1)) {
8968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_pane_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8969 }
8970 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8971 result = (wxPaneInfo *) ((arg1)->pane);
8972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneInfo, 0 | 0 );
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 SWIGINTERN PyObject *_wrap_DockUIPart_button_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8980 PyObject *resultobj = 0;
8981 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
8982 wxPaneButton *arg2 = (wxPaneButton *) 0 ;
8983 void *argp1 = 0 ;
8984 int res1 = 0 ;
8985 void *argp2 = 0 ;
8986 int res2 = 0 ;
8987 PyObject *swig_obj[2] ;
8988
8989 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_button_set",2,2,swig_obj)) SWIG_fail;
8990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
8991 if (!SWIG_IsOK(res1)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
8993 }
8994 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
8995 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPaneButton, SWIG_POINTER_DISOWN | 0 );
8996 if (!SWIG_IsOK(res2)) {
8997 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_button_set" "', expected argument " "2"" of type '" "wxPaneButton *""'");
8998 }
8999 arg2 = reinterpret_cast< wxPaneButton * >(argp2);
9000 if (arg1) (arg1)->button = arg2;
9001
9002 resultobj = SWIG_Py_Void();
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 SWIGINTERN PyObject *_wrap_DockUIPart_button_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9010 PyObject *resultobj = 0;
9011 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9012 wxPaneButton *result = 0 ;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 PyObject *swig_obj[1] ;
9016
9017 if (!args) SWIG_fail;
9018 swig_obj[0] = args;
9019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9020 if (!SWIG_IsOK(res1)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_button_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9022 }
9023 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9024 result = (wxPaneButton *) ((arg1)->button);
9025 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPaneButton, 0 | 0 );
9026 return resultobj;
9027 fail:
9028 return NULL;
9029 }
9030
9031
9032 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9033 PyObject *resultobj = 0;
9034 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9035 wxSizer *arg2 = (wxSizer *) 0 ;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 void *argp2 = 0 ;
9039 int res2 = 0 ;
9040 PyObject *swig_obj[2] ;
9041
9042 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_cont_sizer_set",2,2,swig_obj)) SWIG_fail;
9043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9044 if (!SWIG_IsOK(res1)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9046 }
9047 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9048 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizer, SWIG_POINTER_DISOWN | 0 );
9049 if (!SWIG_IsOK(res2)) {
9050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_cont_sizer_set" "', expected argument " "2"" of type '" "wxSizer *""'");
9051 }
9052 arg2 = reinterpret_cast< wxSizer * >(argp2);
9053 if (arg1) (arg1)->cont_sizer = arg2;
9054
9055 resultobj = SWIG_Py_Void();
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 SWIGINTERN PyObject *_wrap_DockUIPart_cont_sizer_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9063 PyObject *resultobj = 0;
9064 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9065 wxSizer *result = 0 ;
9066 void *argp1 = 0 ;
9067 int res1 = 0 ;
9068 PyObject *swig_obj[1] ;
9069
9070 if (!args) SWIG_fail;
9071 swig_obj[0] = args;
9072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9073 if (!SWIG_IsOK(res1)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_cont_sizer_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9075 }
9076 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9077 result = (wxSizer *) ((arg1)->cont_sizer);
9078 {
9079 resultobj = wxPyMake_wxObject(result, (bool)0);
9080 }
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9088 PyObject *resultobj = 0;
9089 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9090 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
9091 void *argp1 = 0 ;
9092 int res1 = 0 ;
9093 void *argp2 = 0 ;
9094 int res2 = 0 ;
9095 PyObject *swig_obj[2] ;
9096
9097 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_sizer_item_set",2,2,swig_obj)) SWIG_fail;
9098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9099 if (!SWIG_IsOK(res1)) {
9100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9101 }
9102 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9103 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxSizerItem, SWIG_POINTER_DISOWN | 0 );
9104 if (!SWIG_IsOK(res2)) {
9105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_sizer_item_set" "', expected argument " "2"" of type '" "wxSizerItem *""'");
9106 }
9107 arg2 = reinterpret_cast< wxSizerItem * >(argp2);
9108 if (arg1) (arg1)->sizer_item = arg2;
9109
9110 resultobj = SWIG_Py_Void();
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 SWIGINTERN PyObject *_wrap_DockUIPart_sizer_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9118 PyObject *resultobj = 0;
9119 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9120 wxSizerItem *result = 0 ;
9121 void *argp1 = 0 ;
9122 int res1 = 0 ;
9123 PyObject *swig_obj[1] ;
9124
9125 if (!args) SWIG_fail;
9126 swig_obj[0] = args;
9127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9128 if (!SWIG_IsOK(res1)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_sizer_item_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9130 }
9131 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9132 result = (wxSizerItem *) ((arg1)->sizer_item);
9133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSizerItem, 0 | 0 );
9134 return resultobj;
9135 fail:
9136 return NULL;
9137 }
9138
9139
9140 SWIGINTERN PyObject *_wrap_DockUIPart_rect_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9141 PyObject *resultobj = 0;
9142 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9143 wxRect *arg2 = (wxRect *) 0 ;
9144 void *argp1 = 0 ;
9145 int res1 = 0 ;
9146 void *argp2 = 0 ;
9147 int res2 = 0 ;
9148 PyObject *swig_obj[2] ;
9149
9150 if (!SWIG_Python_UnpackTuple(args,"DockUIPart_rect_set",2,2,swig_obj)) SWIG_fail;
9151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9152 if (!SWIG_IsOK(res1)) {
9153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_set" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9154 }
9155 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9156 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxRect, 0 | 0 );
9157 if (!SWIG_IsOK(res2)) {
9158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockUIPart_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
9159 }
9160 arg2 = reinterpret_cast< wxRect * >(argp2);
9161 if (arg1) (arg1)->rect = *arg2;
9162
9163 resultobj = SWIG_Py_Void();
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 SWIGINTERN PyObject *_wrap_DockUIPart_rect_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9171 PyObject *resultobj = 0;
9172 wxDockUIPart *arg1 = (wxDockUIPart *) 0 ;
9173 wxRect *result = 0 ;
9174 void *argp1 = 0 ;
9175 int res1 = 0 ;
9176 PyObject *swig_obj[1] ;
9177
9178 if (!args) SWIG_fail;
9179 swig_obj[0] = args;
9180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockUIPart, 0 | 0 );
9181 if (!SWIG_IsOK(res1)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockUIPart_rect_get" "', expected argument " "1"" of type '" "wxDockUIPart *""'");
9183 }
9184 arg1 = reinterpret_cast< wxDockUIPart * >(argp1);
9185 result = (wxRect *)& ((arg1)->rect);
9186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRect, 0 | 0 );
9187 return resultobj;
9188 fail:
9189 return NULL;
9190 }
9191
9192
9193 SWIGINTERN PyObject *DockUIPart_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9194 PyObject *obj;
9195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9196 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockUIPart, SWIG_NewClientData(obj));
9197 return SWIG_Py_Void();
9198 }
9199
9200 SWIGINTERN PyObject *_wrap_PaneButton_button_id_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9201 PyObject *resultobj = 0;
9202 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9203 int arg2 ;
9204 void *argp1 = 0 ;
9205 int res1 = 0 ;
9206 int val2 ;
9207 int ecode2 = 0 ;
9208 PyObject *swig_obj[2] ;
9209
9210 if (!SWIG_Python_UnpackTuple(args,"PaneButton_button_id_set",2,2,swig_obj)) SWIG_fail;
9211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9212 if (!SWIG_IsOK(res1)) {
9213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_set" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9214 }
9215 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9216 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
9217 if (!SWIG_IsOK(ecode2)) {
9218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PaneButton_button_id_set" "', expected argument " "2"" of type '" "int""'");
9219 }
9220 arg2 = static_cast< int >(val2);
9221 if (arg1) (arg1)->button_id = arg2;
9222
9223 resultobj = SWIG_Py_Void();
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 SWIGINTERN PyObject *_wrap_PaneButton_button_id_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9231 PyObject *resultobj = 0;
9232 wxPaneButton *arg1 = (wxPaneButton *) 0 ;
9233 int result;
9234 void *argp1 = 0 ;
9235 int res1 = 0 ;
9236 PyObject *swig_obj[1] ;
9237
9238 if (!args) SWIG_fail;
9239 swig_obj[0] = args;
9240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPaneButton, 0 | 0 );
9241 if (!SWIG_IsOK(res1)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PaneButton_button_id_get" "', expected argument " "1"" of type '" "wxPaneButton *""'");
9243 }
9244 arg1 = reinterpret_cast< wxPaneButton * >(argp1);
9245 result = (int) ((arg1)->button_id);
9246 resultobj = SWIG_From_int(static_cast< int >(result));
9247 return resultobj;
9248 fail:
9249 return NULL;
9250 }
9251
9252
9253 SWIGINTERN PyObject *PaneButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9254 PyObject *obj;
9255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaneButton, SWIG_NewClientData(obj));
9257 return SWIG_Py_Void();
9258 }
9259
9260 SWIGINTERN PyObject *_wrap_delete_DockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9261 PyObject *resultobj = 0;
9262 wxDockArt *arg1 = (wxDockArt *) 0 ;
9263 void *argp1 = 0 ;
9264 int res1 = 0 ;
9265 PyObject *swig_obj[1] ;
9266
9267 if (!args) SWIG_fail;
9268 swig_obj[0] = args;
9269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDockArt, SWIG_POINTER_DISOWN | 0 );
9270 if (!SWIG_IsOK(res1)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DockArt" "', expected argument " "1"" of type '" "wxDockArt *""'");
9272 }
9273 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 delete arg1;
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 resultobj = SWIG_Py_Void();
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 SWIGINTERN PyObject *_wrap_DockArt_GetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj = 0;
9290 wxDockArt *arg1 = (wxDockArt *) 0 ;
9291 int arg2 ;
9292 int result;
9293 void *argp1 = 0 ;
9294 int res1 = 0 ;
9295 int val2 ;
9296 int ecode2 = 0 ;
9297 PyObject * obj0 = 0 ;
9298 PyObject * obj1 = 0 ;
9299 char * kwnames[] = {
9300 (char *) "self",(char *) "id", NULL
9301 };
9302
9303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetMetric",kwnames,&obj0,&obj1)) SWIG_fail;
9304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9305 if (!SWIG_IsOK(res1)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9307 }
9308 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9309 ecode2 = SWIG_AsVal_int(obj1, &val2);
9310 if (!SWIG_IsOK(ecode2)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetMetric" "', expected argument " "2"" of type '" "int""'");
9312 }
9313 arg2 = static_cast< int >(val2);
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (int)(arg1)->GetMetric(arg2);
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_From_int(static_cast< int >(result));
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 SWIGINTERN PyObject *_wrap_DockArt_SetMetric(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj = 0;
9329 wxDockArt *arg1 = (wxDockArt *) 0 ;
9330 int arg2 ;
9331 int arg3 ;
9332 void *argp1 = 0 ;
9333 int res1 = 0 ;
9334 int val2 ;
9335 int ecode2 = 0 ;
9336 int val3 ;
9337 int ecode3 = 0 ;
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj1 = 0 ;
9340 PyObject * obj2 = 0 ;
9341 char * kwnames[] = {
9342 (char *) "self",(char *) "id",(char *) "new_val", NULL
9343 };
9344
9345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetMetric",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9347 if (!SWIG_IsOK(res1)) {
9348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetMetric" "', expected argument " "1"" of type '" "wxDockArt *""'");
9349 }
9350 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9351 ecode2 = SWIG_AsVal_int(obj1, &val2);
9352 if (!SWIG_IsOK(ecode2)) {
9353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetMetric" "', expected argument " "2"" of type '" "int""'");
9354 }
9355 arg2 = static_cast< int >(val2);
9356 ecode3 = SWIG_AsVal_int(obj2, &val3);
9357 if (!SWIG_IsOK(ecode3)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_SetMetric" "', expected argument " "3"" of type '" "int""'");
9359 }
9360 arg3 = static_cast< int >(val3);
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->SetMetric(arg2,arg3);
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 resultobj = SWIG_Py_Void();
9368 return resultobj;
9369 fail:
9370 return NULL;
9371 }
9372
9373
9374 SWIGINTERN PyObject *_wrap_DockArt_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj = 0;
9376 wxDockArt *arg1 = (wxDockArt *) 0 ;
9377 int arg2 ;
9378 wxFont *arg3 = 0 ;
9379 void *argp1 = 0 ;
9380 int res1 = 0 ;
9381 int val2 ;
9382 int ecode2 = 0 ;
9383 void *argp3 = 0 ;
9384 int res3 = 0 ;
9385 PyObject * obj0 = 0 ;
9386 PyObject * obj1 = 0 ;
9387 PyObject * obj2 = 0 ;
9388 char * kwnames[] = {
9389 (char *) "self",(char *) "id",(char *) "font", NULL
9390 };
9391
9392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9396 }
9397 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9398 ecode2 = SWIG_AsVal_int(obj1, &val2);
9399 if (!SWIG_IsOK(ecode2)) {
9400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetFont" "', expected argument " "2"" of type '" "int""'");
9401 }
9402 arg2 = static_cast< int >(val2);
9403 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9404 if (!SWIG_IsOK(res3)) {
9405 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9406 }
9407 if (!argp3) {
9408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9409 }
9410 arg3 = reinterpret_cast< wxFont * >(argp3);
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 (arg1)->SetFont(arg2,(wxFont const &)*arg3);
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 resultobj = SWIG_Py_Void();
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 SWIGINTERN PyObject *_wrap_DockArt_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj = 0;
9426 wxDockArt *arg1 = (wxDockArt *) 0 ;
9427 int arg2 ;
9428 wxFont result;
9429 void *argp1 = 0 ;
9430 int res1 = 0 ;
9431 int val2 ;
9432 int ecode2 = 0 ;
9433 PyObject * obj0 = 0 ;
9434 PyObject * obj1 = 0 ;
9435 char * kwnames[] = {
9436 (char *) "self",(char *) "id", NULL
9437 };
9438
9439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetFont",kwnames,&obj0,&obj1)) SWIG_fail;
9440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9441 if (!SWIG_IsOK(res1)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetFont" "', expected argument " "1"" of type '" "wxDockArt *""'");
9443 }
9444 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9445 ecode2 = SWIG_AsVal_int(obj1, &val2);
9446 if (!SWIG_IsOK(ecode2)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetFont" "', expected argument " "2"" of type '" "int""'");
9448 }
9449 arg2 = static_cast< int >(val2);
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (arg1)->GetFont(arg2);
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 SWIGINTERN PyObject *_wrap_DockArt_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj = 0;
9465 wxDockArt *arg1 = (wxDockArt *) 0 ;
9466 int arg2 ;
9467 wxColour result;
9468 void *argp1 = 0 ;
9469 int res1 = 0 ;
9470 int val2 ;
9471 int ecode2 = 0 ;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 char * kwnames[] = {
9475 (char *) "self",(char *) "id", NULL
9476 };
9477
9478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColour",kwnames,&obj0,&obj1)) SWIG_fail;
9479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9482 }
9483 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9484 ecode2 = SWIG_AsVal_int(obj1, &val2);
9485 if (!SWIG_IsOK(ecode2)) {
9486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColour" "', expected argument " "2"" of type '" "int""'");
9487 }
9488 arg2 = static_cast< int >(val2);
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (arg1)->GetColour(arg2);
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 SWIGINTERN PyObject *_wrap_DockArt_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj = 0;
9504 wxDockArt *arg1 = (wxDockArt *) 0 ;
9505 int arg2 ;
9506 wxColor *arg3 = 0 ;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 int val2 ;
9510 int ecode2 = 0 ;
9511 void *argp3 = 0 ;
9512 int res3 = 0 ;
9513 PyObject * obj0 = 0 ;
9514 PyObject * obj1 = 0 ;
9515 PyObject * obj2 = 0 ;
9516 char * kwnames[] = {
9517 (char *) "self",(char *) "id",(char *) "colour", NULL
9518 };
9519
9520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9522 if (!SWIG_IsOK(res1)) {
9523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColour" "', expected argument " "1"" of type '" "wxDockArt *""'");
9524 }
9525 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9526 ecode2 = SWIG_AsVal_int(obj1, &val2);
9527 if (!SWIG_IsOK(ecode2)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColour" "', expected argument " "2"" of type '" "int""'");
9529 }
9530 arg2 = static_cast< int >(val2);
9531 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxColor, 0 | 0);
9532 if (!SWIG_IsOK(res3)) {
9533 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9534 }
9535 if (!argp3) {
9536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_SetColour" "', expected argument " "3"" of type '" "wxColor const &""'");
9537 }
9538 arg3 = reinterpret_cast< wxColor * >(argp3);
9539 {
9540 PyThreadState* __tstate = wxPyBeginAllowThreads();
9541 (arg1)->SetColour(arg2,(wxColor const &)*arg3);
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 resultobj = SWIG_Py_Void();
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 SWIGINTERN PyObject *_wrap_DockArt_GetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj = 0;
9554 wxDockArt *arg1 = (wxDockArt *) 0 ;
9555 int arg2 ;
9556 wxColour result;
9557 void *argp1 = 0 ;
9558 int res1 = 0 ;
9559 int val2 ;
9560 int ecode2 = 0 ;
9561 PyObject * obj0 = 0 ;
9562 PyObject * obj1 = 0 ;
9563 char * kwnames[] = {
9564 (char *) "self",(char *) "id", NULL
9565 };
9566
9567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DockArt_GetColor",kwnames,&obj0,&obj1)) SWIG_fail;
9568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9569 if (!SWIG_IsOK(res1)) {
9570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_GetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9571 }
9572 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9573 ecode2 = SWIG_AsVal_int(obj1, &val2);
9574 if (!SWIG_IsOK(ecode2)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_GetColor" "', expected argument " "2"" of type '" "int""'");
9576 }
9577 arg2 = static_cast< int >(val2);
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (arg1)->GetColor(arg2);
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
9585 return resultobj;
9586 fail:
9587 return NULL;
9588 }
9589
9590
9591 SWIGINTERN PyObject *_wrap_DockArt_SetColor(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj = 0;
9593 wxDockArt *arg1 = (wxDockArt *) 0 ;
9594 int arg2 ;
9595 wxColour *arg3 = 0 ;
9596 void *argp1 = 0 ;
9597 int res1 = 0 ;
9598 int val2 ;
9599 int ecode2 = 0 ;
9600 wxColour temp3 ;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 PyObject * obj2 = 0 ;
9604 char * kwnames[] = {
9605 (char *) "self",(char *) "id",(char *) "color", NULL
9606 };
9607
9608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DockArt_SetColor",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9610 if (!SWIG_IsOK(res1)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_SetColor" "', expected argument " "1"" of type '" "wxDockArt *""'");
9612 }
9613 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9614 ecode2 = SWIG_AsVal_int(obj1, &val2);
9615 if (!SWIG_IsOK(ecode2)) {
9616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DockArt_SetColor" "', expected argument " "2"" of type '" "int""'");
9617 }
9618 arg2 = static_cast< int >(val2);
9619 {
9620 arg3 = &temp3;
9621 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 (arg1)->SetColor(arg2,(wxColour const &)*arg3);
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_Py_Void();
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 SWIGINTERN PyObject *_wrap_DockArt_DrawSash(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj = 0;
9638 wxDockArt *arg1 = (wxDockArt *) 0 ;
9639 wxDC *arg2 = 0 ;
9640 int arg3 ;
9641 wxRect *arg4 = 0 ;
9642 void *argp1 = 0 ;
9643 int res1 = 0 ;
9644 void *argp2 = 0 ;
9645 int res2 = 0 ;
9646 int val3 ;
9647 int ecode3 = 0 ;
9648 wxRect temp4 ;
9649 PyObject * obj0 = 0 ;
9650 PyObject * obj1 = 0 ;
9651 PyObject * obj2 = 0 ;
9652 PyObject * obj3 = 0 ;
9653 char * kwnames[] = {
9654 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9655 };
9656
9657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawSash",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawSash" "', expected argument " "1"" of type '" "wxDockArt *""'");
9661 }
9662 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9663 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9664 if (!SWIG_IsOK(res2)) {
9665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9666 }
9667 if (!argp2) {
9668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawSash" "', expected argument " "2"" of type '" "wxDC &""'");
9669 }
9670 arg2 = reinterpret_cast< wxDC * >(argp2);
9671 ecode3 = SWIG_AsVal_int(obj2, &val3);
9672 if (!SWIG_IsOK(ecode3)) {
9673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawSash" "', expected argument " "3"" of type '" "int""'");
9674 }
9675 arg3 = static_cast< int >(val3);
9676 {
9677 arg4 = &temp4;
9678 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9679 }
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 (arg1)->DrawSash(*arg2,arg3,(wxRect const &)*arg4);
9683 wxPyEndAllowThreads(__tstate);
9684 if (PyErr_Occurred()) SWIG_fail;
9685 }
9686 resultobj = SWIG_Py_Void();
9687 return resultobj;
9688 fail:
9689 return NULL;
9690 }
9691
9692
9693 SWIGINTERN PyObject *_wrap_DockArt_DrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj = 0;
9695 wxDockArt *arg1 = (wxDockArt *) 0 ;
9696 wxDC *arg2 = 0 ;
9697 int arg3 ;
9698 wxRect *arg4 = 0 ;
9699 void *argp1 = 0 ;
9700 int res1 = 0 ;
9701 void *argp2 = 0 ;
9702 int res2 = 0 ;
9703 int val3 ;
9704 int ecode3 = 0 ;
9705 wxRect temp4 ;
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 PyObject * obj2 = 0 ;
9709 PyObject * obj3 = 0 ;
9710 char * kwnames[] = {
9711 (char *) "self",(char *) "dc",(char *) "orientation",(char *) "rect", NULL
9712 };
9713
9714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9716 if (!SWIG_IsOK(res1)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBackground" "', expected argument " "1"" of type '" "wxDockArt *""'");
9718 }
9719 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9720 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9721 if (!SWIG_IsOK(res2)) {
9722 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9723 }
9724 if (!argp2) {
9725 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
9726 }
9727 arg2 = reinterpret_cast< wxDC * >(argp2);
9728 ecode3 = SWIG_AsVal_int(obj2, &val3);
9729 if (!SWIG_IsOK(ecode3)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawBackground" "', expected argument " "3"" of type '" "int""'");
9731 }
9732 arg3 = static_cast< int >(val3);
9733 {
9734 arg4 = &temp4;
9735 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9736 }
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 (arg1)->DrawBackground(*arg2,arg3,(wxRect const &)*arg4);
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 resultobj = SWIG_Py_Void();
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 SWIGINTERN PyObject *_wrap_DockArt_DrawCaption(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj = 0;
9752 wxDockArt *arg1 = (wxDockArt *) 0 ;
9753 wxDC *arg2 = 0 ;
9754 wxString *arg3 = 0 ;
9755 wxRect *arg4 = 0 ;
9756 wxPaneInfo *arg5 = 0 ;
9757 void *argp1 = 0 ;
9758 int res1 = 0 ;
9759 void *argp2 = 0 ;
9760 int res2 = 0 ;
9761 bool temp3 = false ;
9762 wxRect temp4 ;
9763 void *argp5 = 0 ;
9764 int res5 = 0 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 PyObject * obj2 = 0 ;
9768 PyObject * obj3 = 0 ;
9769 PyObject * obj4 = 0 ;
9770 char * kwnames[] = {
9771 (char *) "self",(char *) "dc",(char *) "text",(char *) "rect",(char *) "pane", NULL
9772 };
9773
9774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DockArt_DrawCaption",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9776 if (!SWIG_IsOK(res1)) {
9777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawCaption" "', expected argument " "1"" of type '" "wxDockArt *""'");
9778 }
9779 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9780 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9781 if (!SWIG_IsOK(res2)) {
9782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9783 }
9784 if (!argp2) {
9785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "2"" of type '" "wxDC &""'");
9786 }
9787 arg2 = reinterpret_cast< wxDC * >(argp2);
9788 {
9789 arg3 = wxString_in_helper(obj2);
9790 if (arg3 == NULL) SWIG_fail;
9791 temp3 = true;
9792 }
9793 {
9794 arg4 = &temp4;
9795 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
9796 }
9797 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxPaneInfo, 0 );
9798 if (!SWIG_IsOK(res5)) {
9799 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9800 }
9801 if (!argp5) {
9802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawCaption" "', expected argument " "5"" of type '" "wxPaneInfo &""'");
9803 }
9804 arg5 = reinterpret_cast< wxPaneInfo * >(argp5);
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 (arg1)->DrawCaption(*arg2,(wxString const &)*arg3,(wxRect const &)*arg4,*arg5);
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = SWIG_Py_Void();
9812 {
9813 if (temp3)
9814 delete arg3;
9815 }
9816 return resultobj;
9817 fail:
9818 {
9819 if (temp3)
9820 delete arg3;
9821 }
9822 return NULL;
9823 }
9824
9825
9826 SWIGINTERN PyObject *_wrap_DockArt_DrawGripper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj = 0;
9828 wxDockArt *arg1 = (wxDockArt *) 0 ;
9829 wxDC *arg2 = 0 ;
9830 wxRect *arg3 = 0 ;
9831 wxPaneInfo *arg4 = 0 ;
9832 void *argp1 = 0 ;
9833 int res1 = 0 ;
9834 void *argp2 = 0 ;
9835 int res2 = 0 ;
9836 wxRect temp3 ;
9837 void *argp4 = 0 ;
9838 int res4 = 0 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 PyObject * obj2 = 0 ;
9842 PyObject * obj3 = 0 ;
9843 char * kwnames[] = {
9844 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
9845 };
9846
9847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawGripper",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9849 if (!SWIG_IsOK(res1)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawGripper" "', expected argument " "1"" of type '" "wxDockArt *""'");
9851 }
9852 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9853 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9854 if (!SWIG_IsOK(res2)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
9856 }
9857 if (!argp2) {
9858 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "2"" of type '" "wxDC &""'");
9859 }
9860 arg2 = reinterpret_cast< wxDC * >(argp2);
9861 {
9862 arg3 = &temp3;
9863 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
9864 }
9865 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
9866 if (!SWIG_IsOK(res4)) {
9867 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9868 }
9869 if (!argp4) {
9870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawGripper" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9871 }
9872 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 (arg1)->DrawGripper(*arg2,(wxRect const &)*arg3,*arg4);
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 resultobj = SWIG_Py_Void();
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 SWIGINTERN PyObject *_wrap_DockArt_DrawBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj = 0;
9888 wxDockArt *arg1 = (wxDockArt *) 0 ;
9889 wxDC *arg2 = 0 ;
9890 wxRect *arg3 = 0 ;
9891 wxPaneInfo *arg4 = 0 ;
9892 void *argp1 = 0 ;
9893 int res1 = 0 ;
9894 void *argp2 = 0 ;
9895 int res2 = 0 ;
9896 wxRect temp3 ;
9897 void *argp4 = 0 ;
9898 int res4 = 0 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 PyObject * obj2 = 0 ;
9902 PyObject * obj3 = 0 ;
9903 char * kwnames[] = {
9904 (char *) "self",(char *) "dc",(char *) "rect",(char *) "pane", NULL
9905 };
9906
9907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DockArt_DrawBorder",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9909 if (!SWIG_IsOK(res1)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawBorder" "', expected argument " "1"" of type '" "wxDockArt *""'");
9911 }
9912 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9914 if (!SWIG_IsOK(res2)) {
9915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
9916 }
9917 if (!argp2) {
9918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "2"" of type '" "wxDC &""'");
9919 }
9920 arg2 = reinterpret_cast< wxDC * >(argp2);
9921 {
9922 arg3 = &temp3;
9923 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
9924 }
9925 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxPaneInfo, 0 );
9926 if (!SWIG_IsOK(res4)) {
9927 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9928 }
9929 if (!argp4) {
9930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawBorder" "', expected argument " "4"" of type '" "wxPaneInfo &""'");
9931 }
9932 arg4 = reinterpret_cast< wxPaneInfo * >(argp4);
9933 {
9934 PyThreadState* __tstate = wxPyBeginAllowThreads();
9935 (arg1)->DrawBorder(*arg2,(wxRect const &)*arg3,*arg4);
9936 wxPyEndAllowThreads(__tstate);
9937 if (PyErr_Occurred()) SWIG_fail;
9938 }
9939 resultobj = SWIG_Py_Void();
9940 return resultobj;
9941 fail:
9942 return NULL;
9943 }
9944
9945
9946 SWIGINTERN PyObject *_wrap_DockArt_DrawPaneButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9947 PyObject *resultobj = 0;
9948 wxDockArt *arg1 = (wxDockArt *) 0 ;
9949 wxDC *arg2 = 0 ;
9950 int arg3 ;
9951 int arg4 ;
9952 wxRect *arg5 = 0 ;
9953 wxPaneInfo *arg6 = 0 ;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 void *argp2 = 0 ;
9957 int res2 = 0 ;
9958 int val3 ;
9959 int ecode3 = 0 ;
9960 int val4 ;
9961 int ecode4 = 0 ;
9962 wxRect temp5 ;
9963 void *argp6 = 0 ;
9964 int res6 = 0 ;
9965 PyObject * obj0 = 0 ;
9966 PyObject * obj1 = 0 ;
9967 PyObject * obj2 = 0 ;
9968 PyObject * obj3 = 0 ;
9969 PyObject * obj4 = 0 ;
9970 PyObject * obj5 = 0 ;
9971 char * kwnames[] = {
9972 (char *) "self",(char *) "dc",(char *) "button",(char *) "button_state",(char *) "rect",(char *) "pane", NULL
9973 };
9974
9975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:DockArt_DrawPaneButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDockArt, 0 | 0 );
9977 if (!SWIG_IsOK(res1)) {
9978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DockArt_DrawPaneButton" "', expected argument " "1"" of type '" "wxDockArt *""'");
9979 }
9980 arg1 = reinterpret_cast< wxDockArt * >(argp1);
9981 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
9982 if (!SWIG_IsOK(res2)) {
9983 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
9984 }
9985 if (!argp2) {
9986 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "2"" of type '" "wxDC &""'");
9987 }
9988 arg2 = reinterpret_cast< wxDC * >(argp2);
9989 ecode3 = SWIG_AsVal_int(obj2, &val3);
9990 if (!SWIG_IsOK(ecode3)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DockArt_DrawPaneButton" "', expected argument " "3"" of type '" "int""'");
9992 }
9993 arg3 = static_cast< int >(val3);
9994 ecode4 = SWIG_AsVal_int(obj3, &val4);
9995 if (!SWIG_IsOK(ecode4)) {
9996 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DockArt_DrawPaneButton" "', expected argument " "4"" of type '" "int""'");
9997 }
9998 arg4 = static_cast< int >(val4);
9999 {
10000 arg5 = &temp5;
10001 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
10002 }
10003 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxPaneInfo, 0 );
10004 if (!SWIG_IsOK(res6)) {
10005 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10006 }
10007 if (!argp6) {
10008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DockArt_DrawPaneButton" "', expected argument " "6"" of type '" "wxPaneInfo &""'");
10009 }
10010 arg6 = reinterpret_cast< wxPaneInfo * >(argp6);
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 (arg1)->DrawPaneButton(*arg2,arg3,arg4,(wxRect const &)*arg5,*arg6);
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = SWIG_Py_Void();
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 SWIGINTERN PyObject *DockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10025 PyObject *obj;
10026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10027 SWIG_TypeNewClientData(SWIGTYPE_p_wxDockArt, SWIG_NewClientData(obj));
10028 return SWIG_Py_Void();
10029 }
10030
10031 SWIGINTERN PyObject *_wrap_new_DefaultDockArt(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10032 PyObject *resultobj = 0;
10033 wxDefaultDockArt *result = 0 ;
10034
10035 if (!SWIG_Python_UnpackTuple(args,"new_DefaultDockArt",0,0,0)) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (wxDefaultDockArt *)new wxDefaultDockArt();
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDefaultDockArt, SWIG_POINTER_NEW | 0 );
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 SWIGINTERN PyObject *DefaultDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10050 PyObject *obj;
10051 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10052 SWIG_TypeNewClientData(SWIGTYPE_p_wxDefaultDockArt, SWIG_NewClientData(obj));
10053 return SWIG_Py_Void();
10054 }
10055
10056 SWIGINTERN PyObject *DefaultDockArt_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10057 return SWIG_Python_InitShadowInstance(args);
10058 }
10059
10060 SWIGINTERN PyObject *_wrap_new_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj = 0;
10062 wxWindow *arg1 = (wxWindow *) 0 ;
10063 wxFrameManager *arg2 = (wxFrameManager *) 0 ;
10064 wxPaneInfo *arg3 = 0 ;
10065 int arg4 = (int) wxID_ANY ;
10066 wxFloatingPane *result = 0 ;
10067 void *argp1 = 0 ;
10068 int res1 = 0 ;
10069 void *argp2 = 0 ;
10070 int res2 = 0 ;
10071 void *argp3 = 0 ;
10072 int res3 = 0 ;
10073 int val4 ;
10074 int ecode4 = 0 ;
10075 PyObject * obj0 = 0 ;
10076 PyObject * obj1 = 0 ;
10077 PyObject * obj2 = 0 ;
10078 PyObject * obj3 = 0 ;
10079 char * kwnames[] = {
10080 (char *) "parent",(char *) "owner_mgr",(char *) "pane",(char *) "id", NULL
10081 };
10082
10083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FloatingPane",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10085 if (!SWIG_IsOK(res1)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FloatingPane" "', expected argument " "1"" of type '" "wxWindow *""'");
10087 }
10088 arg1 = reinterpret_cast< wxWindow * >(argp1);
10089 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrameManager, 0 | 0 );
10090 if (!SWIG_IsOK(res2)) {
10091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FloatingPane" "', expected argument " "2"" of type '" "wxFrameManager *""'");
10092 }
10093 arg2 = reinterpret_cast< wxFrameManager * >(argp2);
10094 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10095 if (!SWIG_IsOK(res3)) {
10096 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10097 }
10098 if (!argp3) {
10099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FloatingPane" "', expected argument " "3"" of type '" "wxPaneInfo const &""'");
10100 }
10101 arg3 = reinterpret_cast< wxPaneInfo * >(argp3);
10102 if (obj3) {
10103 ecode4 = SWIG_AsVal_int(obj3, &val4);
10104 if (!SWIG_IsOK(ecode4)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FloatingPane" "', expected argument " "4"" of type '" "int""'");
10106 }
10107 arg4 = static_cast< int >(val4);
10108 }
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (wxFloatingPane *)new wxFloatingPane(arg1,arg2,(wxPaneInfo const &)*arg3,arg4);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_NEW | 0 );
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 SWIGINTERN PyObject *_wrap_delete_FloatingPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10123 PyObject *resultobj = 0;
10124 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 PyObject *swig_obj[1] ;
10128
10129 if (!args) SWIG_fail;
10130 swig_obj[0] = args;
10131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFloatingPane, SWIG_POINTER_DISOWN | 0 );
10132 if (!SWIG_IsOK(res1)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FloatingPane" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10134 }
10135 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 delete arg1;
10139
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_Py_Void();
10144 return resultobj;
10145 fail:
10146 return NULL;
10147 }
10148
10149
10150 SWIGINTERN PyObject *_wrap_FloatingPane_SetPaneWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxFloatingPane *arg1 = (wxFloatingPane *) 0 ;
10153 wxPaneInfo *arg2 = 0 ;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 void *argp2 = 0 ;
10157 int res2 = 0 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 char * kwnames[] = {
10161 (char *) "self",(char *) "pane", NULL
10162 };
10163
10164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FloatingPane_SetPaneWindow",kwnames,&obj0,&obj1)) SWIG_fail;
10165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFloatingPane, 0 | 0 );
10166 if (!SWIG_IsOK(res1)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "1"" of type '" "wxFloatingPane *""'");
10168 }
10169 arg1 = reinterpret_cast< wxFloatingPane * >(argp1);
10170 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPaneInfo, 0 | 0);
10171 if (!SWIG_IsOK(res2)) {
10172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10173 }
10174 if (!argp2) {
10175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FloatingPane_SetPaneWindow" "', expected argument " "2"" of type '" "wxPaneInfo const &""'");
10176 }
10177 arg2 = reinterpret_cast< wxPaneInfo * >(argp2);
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 (arg1)->SetPaneWindow((wxPaneInfo const &)*arg2);
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_Py_Void();
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 SWIGINTERN PyObject *FloatingPane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10192 PyObject *obj;
10193 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10194 SWIG_TypeNewClientData(SWIGTYPE_p_wxFloatingPane, SWIG_NewClientData(obj));
10195 return SWIG_Py_Void();
10196 }
10197
10198 SWIGINTERN PyObject *FloatingPane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10199 return SWIG_Python_InitShadowInstance(args);
10200 }
10201
10202 SWIGINTERN PyObject *PyDockArt_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10203 PyObject *obj;
10204 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10205 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDockArt, SWIG_NewClientData(obj));
10206 return SWIG_Py_Void();
10207 }
10208
10209 static PyMethodDef SwigMethods[] = {
10210 { (char *)"new_PaneInfo", (PyCFunction)_wrap_new_PaneInfo, METH_NOARGS, NULL},
10211 { (char *)"delete_PaneInfo", (PyCFunction)_wrap_delete_PaneInfo, METH_O, NULL},
10212 { (char *)"PaneInfo_IsOk", (PyCFunction)_wrap_PaneInfo_IsOk, METH_O, NULL},
10213 { (char *)"PaneInfo_IsFixed", (PyCFunction)_wrap_PaneInfo_IsFixed, METH_O, NULL},
10214 { (char *)"PaneInfo_IsResizable", (PyCFunction)_wrap_PaneInfo_IsResizable, METH_O, NULL},
10215 { (char *)"PaneInfo_IsShown", (PyCFunction)_wrap_PaneInfo_IsShown, METH_O, NULL},
10216 { (char *)"PaneInfo_IsFloating", (PyCFunction)_wrap_PaneInfo_IsFloating, METH_O, NULL},
10217 { (char *)"PaneInfo_IsDocked", (PyCFunction)_wrap_PaneInfo_IsDocked, METH_O, NULL},
10218 { (char *)"PaneInfo_IsToolbar", (PyCFunction)_wrap_PaneInfo_IsToolbar, METH_O, NULL},
10219 { (char *)"PaneInfo_IsTopDockable", (PyCFunction)_wrap_PaneInfo_IsTopDockable, METH_O, NULL},
10220 { (char *)"PaneInfo_IsBottomDockable", (PyCFunction)_wrap_PaneInfo_IsBottomDockable, METH_O, NULL},
10221 { (char *)"PaneInfo_IsLeftDockable", (PyCFunction)_wrap_PaneInfo_IsLeftDockable, METH_O, NULL},
10222 { (char *)"PaneInfo_IsRightDockable", (PyCFunction)_wrap_PaneInfo_IsRightDockable, METH_O, NULL},
10223 { (char *)"PaneInfo_IsFloatable", (PyCFunction)_wrap_PaneInfo_IsFloatable, METH_O, NULL},
10224 { (char *)"PaneInfo_IsMovable", (PyCFunction)_wrap_PaneInfo_IsMovable, METH_O, NULL},
10225 { (char *)"PaneInfo_HasCaption", (PyCFunction)_wrap_PaneInfo_HasCaption, METH_O, NULL},
10226 { (char *)"PaneInfo_HasGripper", (PyCFunction)_wrap_PaneInfo_HasGripper, METH_O, NULL},
10227 { (char *)"PaneInfo_HasBorder", (PyCFunction)_wrap_PaneInfo_HasBorder, METH_O, NULL},
10228 { (char *)"PaneInfo_HasCloseButton", (PyCFunction)_wrap_PaneInfo_HasCloseButton, METH_O, NULL},
10229 { (char *)"PaneInfo_HasMaximizeButton", (PyCFunction)_wrap_PaneInfo_HasMaximizeButton, METH_O, NULL},
10230 { (char *)"PaneInfo_HasMinimizeButton", (PyCFunction)_wrap_PaneInfo_HasMinimizeButton, METH_O, NULL},
10231 { (char *)"PaneInfo_HasPinButton", (PyCFunction)_wrap_PaneInfo_HasPinButton, METH_O, NULL},
10232 { (char *)"PaneInfo_HasGripperTop", (PyCFunction)_wrap_PaneInfo_HasGripperTop, METH_O, NULL},
10233 { (char *)"PaneInfo_Window", (PyCFunction) _wrap_PaneInfo_Window, METH_VARARGS | METH_KEYWORDS, NULL},
10234 { (char *)"PaneInfo_Name", (PyCFunction) _wrap_PaneInfo_Name, METH_VARARGS | METH_KEYWORDS, NULL},
10235 { (char *)"PaneInfo_Caption", (PyCFunction) _wrap_PaneInfo_Caption, METH_VARARGS | METH_KEYWORDS, NULL},
10236 { (char *)"PaneInfo_Left", (PyCFunction)_wrap_PaneInfo_Left, METH_O, NULL},
10237 { (char *)"PaneInfo_Right", (PyCFunction)_wrap_PaneInfo_Right, METH_O, NULL},
10238 { (char *)"PaneInfo_Top", (PyCFunction)_wrap_PaneInfo_Top, METH_O, NULL},
10239 { (char *)"PaneInfo_Bottom", (PyCFunction)_wrap_PaneInfo_Bottom, METH_O, NULL},
10240 { (char *)"PaneInfo_Center", (PyCFunction)_wrap_PaneInfo_Center, METH_O, NULL},
10241 { (char *)"PaneInfo_Centre", (PyCFunction)_wrap_PaneInfo_Centre, METH_O, NULL},
10242 { (char *)"PaneInfo_Direction", (PyCFunction) _wrap_PaneInfo_Direction, METH_VARARGS | METH_KEYWORDS, NULL},
10243 { (char *)"PaneInfo_Layer", (PyCFunction) _wrap_PaneInfo_Layer, METH_VARARGS | METH_KEYWORDS, NULL},
10244 { (char *)"PaneInfo_Row", (PyCFunction) _wrap_PaneInfo_Row, METH_VARARGS | METH_KEYWORDS, NULL},
10245 { (char *)"PaneInfo_Position", (PyCFunction) _wrap_PaneInfo_Position, METH_VARARGS | METH_KEYWORDS, NULL},
10246 { (char *)"PaneInfo_BestSize", (PyCFunction) _wrap_PaneInfo_BestSize, METH_VARARGS | METH_KEYWORDS, NULL},
10247 { (char *)"PaneInfo_MinSize", (PyCFunction) _wrap_PaneInfo_MinSize, METH_VARARGS | METH_KEYWORDS, NULL},
10248 { (char *)"PaneInfo_MaxSize", (PyCFunction) _wrap_PaneInfo_MaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
10249 { (char *)"PaneInfo_FloatingPosition", (PyCFunction) _wrap_PaneInfo_FloatingPosition, METH_VARARGS | METH_KEYWORDS, NULL},
10250 { (char *)"PaneInfo_FloatingSize", (PyCFunction) _wrap_PaneInfo_FloatingSize, METH_VARARGS | METH_KEYWORDS, NULL},
10251 { (char *)"PaneInfo_Fixed", (PyCFunction)_wrap_PaneInfo_Fixed, METH_O, NULL},
10252 { (char *)"PaneInfo_Resizable", (PyCFunction) _wrap_PaneInfo_Resizable, METH_VARARGS | METH_KEYWORDS, NULL},
10253 { (char *)"PaneInfo_Dock", (PyCFunction)_wrap_PaneInfo_Dock, METH_O, NULL},
10254 { (char *)"PaneInfo_Float", (PyCFunction)_wrap_PaneInfo_Float, METH_O, NULL},
10255 { (char *)"PaneInfo_Hide", (PyCFunction)_wrap_PaneInfo_Hide, METH_O, NULL},
10256 { (char *)"PaneInfo_Show", (PyCFunction) _wrap_PaneInfo_Show, METH_VARARGS | METH_KEYWORDS, NULL},
10257 { (char *)"PaneInfo_CaptionVisible", (PyCFunction) _wrap_PaneInfo_CaptionVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10258 { (char *)"PaneInfo_PaneBorder", (PyCFunction) _wrap_PaneInfo_PaneBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10259 { (char *)"PaneInfo_Gripper", (PyCFunction) _wrap_PaneInfo_Gripper, METH_VARARGS | METH_KEYWORDS, NULL},
10260 { (char *)"PaneInfo_GripperTop", (PyCFunction) _wrap_PaneInfo_GripperTop, METH_VARARGS | METH_KEYWORDS, NULL},
10261 { (char *)"PaneInfo_CloseButton", (PyCFunction) _wrap_PaneInfo_CloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
10262 { (char *)"PaneInfo_MaximizeButton", (PyCFunction) _wrap_PaneInfo_MaximizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10263 { (char *)"PaneInfo_MinimizeButton", (PyCFunction) _wrap_PaneInfo_MinimizeButton, METH_VARARGS | METH_KEYWORDS, NULL},
10264 { (char *)"PaneInfo_PinButton", (PyCFunction) _wrap_PaneInfo_PinButton, METH_VARARGS | METH_KEYWORDS, NULL},
10265 { (char *)"PaneInfo_DestroyOnClose", (PyCFunction) _wrap_PaneInfo_DestroyOnClose, METH_VARARGS | METH_KEYWORDS, NULL},
10266 { (char *)"PaneInfo_TopDockable", (PyCFunction) _wrap_PaneInfo_TopDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10267 { (char *)"PaneInfo_BottomDockable", (PyCFunction) _wrap_PaneInfo_BottomDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10268 { (char *)"PaneInfo_LeftDockable", (PyCFunction) _wrap_PaneInfo_LeftDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10269 { (char *)"PaneInfo_RightDockable", (PyCFunction) _wrap_PaneInfo_RightDockable, METH_VARARGS | METH_KEYWORDS, NULL},
10270 { (char *)"PaneInfo_Floatable", (PyCFunction) _wrap_PaneInfo_Floatable, METH_VARARGS | METH_KEYWORDS, NULL},
10271 { (char *)"PaneInfo_Movable", (PyCFunction) _wrap_PaneInfo_Movable, METH_VARARGS | METH_KEYWORDS, NULL},
10272 { (char *)"PaneInfo_Dockable", (PyCFunction) _wrap_PaneInfo_Dockable, METH_VARARGS | METH_KEYWORDS, NULL},
10273 { (char *)"PaneInfo_DefaultPane", (PyCFunction)_wrap_PaneInfo_DefaultPane, METH_O, NULL},
10274 { (char *)"PaneInfo_CentrePane", (PyCFunction)_wrap_PaneInfo_CentrePane, METH_O, NULL},
10275 { (char *)"PaneInfo_CenterPane", (PyCFunction)_wrap_PaneInfo_CenterPane, METH_O, NULL},
10276 { (char *)"PaneInfo_ToolbarPane", (PyCFunction)_wrap_PaneInfo_ToolbarPane, METH_O, NULL},
10277 { (char *)"PaneInfo_SetFlag", (PyCFunction) _wrap_PaneInfo_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10278 { (char *)"PaneInfo_HasFlag", (PyCFunction) _wrap_PaneInfo_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
10279 { (char *)"PaneInfo_name_set", _wrap_PaneInfo_name_set, METH_VARARGS, NULL},
10280 { (char *)"PaneInfo_name_get", (PyCFunction)_wrap_PaneInfo_name_get, METH_O, NULL},
10281 { (char *)"PaneInfo_caption_set", _wrap_PaneInfo_caption_set, METH_VARARGS, NULL},
10282 { (char *)"PaneInfo_caption_get", (PyCFunction)_wrap_PaneInfo_caption_get, METH_O, NULL},
10283 { (char *)"PaneInfo_window_set", _wrap_PaneInfo_window_set, METH_VARARGS, NULL},
10284 { (char *)"PaneInfo_window_get", (PyCFunction)_wrap_PaneInfo_window_get, METH_O, NULL},
10285 { (char *)"PaneInfo_frame_set", _wrap_PaneInfo_frame_set, METH_VARARGS, NULL},
10286 { (char *)"PaneInfo_frame_get", (PyCFunction)_wrap_PaneInfo_frame_get, METH_O, NULL},
10287 { (char *)"PaneInfo_state_set", _wrap_PaneInfo_state_set, METH_VARARGS, NULL},
10288 { (char *)"PaneInfo_state_get", (PyCFunction)_wrap_PaneInfo_state_get, METH_O, NULL},
10289 { (char *)"PaneInfo_dock_direction_set", _wrap_PaneInfo_dock_direction_set, METH_VARARGS, NULL},
10290 { (char *)"PaneInfo_dock_direction_get", (PyCFunction)_wrap_PaneInfo_dock_direction_get, METH_O, NULL},
10291 { (char *)"PaneInfo_dock_layer_set", _wrap_PaneInfo_dock_layer_set, METH_VARARGS, NULL},
10292 { (char *)"PaneInfo_dock_layer_get", (PyCFunction)_wrap_PaneInfo_dock_layer_get, METH_O, NULL},
10293 { (char *)"PaneInfo_dock_row_set", _wrap_PaneInfo_dock_row_set, METH_VARARGS, NULL},
10294 { (char *)"PaneInfo_dock_row_get", (PyCFunction)_wrap_PaneInfo_dock_row_get, METH_O, NULL},
10295 { (char *)"PaneInfo_dock_pos_set", _wrap_PaneInfo_dock_pos_set, METH_VARARGS, NULL},
10296 { (char *)"PaneInfo_dock_pos_get", (PyCFunction)_wrap_PaneInfo_dock_pos_get, METH_O, NULL},
10297 { (char *)"PaneInfo_best_size_set", _wrap_PaneInfo_best_size_set, METH_VARARGS, NULL},
10298 { (char *)"PaneInfo_best_size_get", (PyCFunction)_wrap_PaneInfo_best_size_get, METH_O, NULL},
10299 { (char *)"PaneInfo_min_size_set", _wrap_PaneInfo_min_size_set, METH_VARARGS, NULL},
10300 { (char *)"PaneInfo_min_size_get", (PyCFunction)_wrap_PaneInfo_min_size_get, METH_O, NULL},
10301 { (char *)"PaneInfo_max_size_set", _wrap_PaneInfo_max_size_set, METH_VARARGS, NULL},
10302 { (char *)"PaneInfo_max_size_get", (PyCFunction)_wrap_PaneInfo_max_size_get, METH_O, NULL},
10303 { (char *)"PaneInfo_floating_pos_set", _wrap_PaneInfo_floating_pos_set, METH_VARARGS, NULL},
10304 { (char *)"PaneInfo_floating_pos_get", (PyCFunction)_wrap_PaneInfo_floating_pos_get, METH_O, NULL},
10305 { (char *)"PaneInfo_floating_size_set", _wrap_PaneInfo_floating_size_set, METH_VARARGS, NULL},
10306 { (char *)"PaneInfo_floating_size_get", (PyCFunction)_wrap_PaneInfo_floating_size_get, METH_O, NULL},
10307 { (char *)"PaneInfo_dock_proportion_set", _wrap_PaneInfo_dock_proportion_set, METH_VARARGS, NULL},
10308 { (char *)"PaneInfo_dock_proportion_get", (PyCFunction)_wrap_PaneInfo_dock_proportion_get, METH_O, NULL},
10309 { (char *)"PaneInfo_buttons_set", _wrap_PaneInfo_buttons_set, METH_VARARGS, NULL},
10310 { (char *)"PaneInfo_buttons_get", (PyCFunction)_wrap_PaneInfo_buttons_get, METH_O, NULL},
10311 { (char *)"PaneInfo_rect_set", _wrap_PaneInfo_rect_set, METH_VARARGS, NULL},
10312 { (char *)"PaneInfo_rect_get", (PyCFunction)_wrap_PaneInfo_rect_get, METH_O, NULL},
10313 { (char *)"PaneInfo_swigregister", PaneInfo_swigregister, METH_VARARGS, NULL},
10314 { (char *)"PaneInfo_swiginit", PaneInfo_swiginit, METH_VARARGS, NULL},
10315 { (char *)"new_FrameManager", (PyCFunction) _wrap_new_FrameManager, METH_VARARGS | METH_KEYWORDS, NULL},
10316 { (char *)"delete_FrameManager", (PyCFunction)_wrap_delete_FrameManager, METH_O, NULL},
10317 { (char *)"FrameManager_UnInit", (PyCFunction)_wrap_FrameManager_UnInit, METH_O, NULL},
10318 { (char *)"FrameManager_SetFlags", (PyCFunction) _wrap_FrameManager_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
10319 { (char *)"FrameManager_GetFlags", (PyCFunction)_wrap_FrameManager_GetFlags, METH_O, NULL},
10320 { (char *)"FrameManager_SetFrame", (PyCFunction) _wrap_FrameManager_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
10321 { (char *)"FrameManager_GetFrame", (PyCFunction)_wrap_FrameManager_GetFrame, METH_O, NULL},
10322 { (char *)"FrameManager_SetArtProvider", (PyCFunction) _wrap_FrameManager_SetArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
10323 { (char *)"FrameManager_GetArtProvider", (PyCFunction)_wrap_FrameManager_GetArtProvider, METH_O, NULL},
10324 { (char *)"FrameManager__GetPaneByWidget", (PyCFunction) _wrap_FrameManager__GetPaneByWidget, METH_VARARGS | METH_KEYWORDS, NULL},
10325 { (char *)"FrameManager__GetPaneByName", (PyCFunction) _wrap_FrameManager__GetPaneByName, METH_VARARGS | METH_KEYWORDS, NULL},
10326 { (char *)"FrameManager_GetAllPanes", (PyCFunction)_wrap_FrameManager_GetAllPanes, METH_O, NULL},
10327 { (char *)"FrameManager__AddPane1", (PyCFunction) _wrap_FrameManager__AddPane1, METH_VARARGS | METH_KEYWORDS, NULL},
10328 { (char *)"FrameManager__AddPane2", (PyCFunction) _wrap_FrameManager__AddPane2, METH_VARARGS | METH_KEYWORDS, NULL},
10329 { (char *)"FrameManager_InsertPane", (PyCFunction) _wrap_FrameManager_InsertPane, METH_VARARGS | METH_KEYWORDS, NULL},
10330 { (char *)"FrameManager_DetachPane", (PyCFunction) _wrap_FrameManager_DetachPane, METH_VARARGS | METH_KEYWORDS, NULL},
10331 { (char *)"FrameManager_SavePerspective", (PyCFunction)_wrap_FrameManager_SavePerspective, METH_O, NULL},
10332 { (char *)"FrameManager_LoadPerspective", (PyCFunction) _wrap_FrameManager_LoadPerspective, METH_VARARGS | METH_KEYWORDS, NULL},
10333 { (char *)"FrameManager_Update", (PyCFunction)_wrap_FrameManager_Update, METH_O, NULL},
10334 { (char *)"FrameManager_OnRender", (PyCFunction) _wrap_FrameManager_OnRender, METH_VARARGS | METH_KEYWORDS, NULL},
10335 { (char *)"FrameManager_OnPaneButton", (PyCFunction) _wrap_FrameManager_OnPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
10336 { (char *)"FrameManager_swigregister", FrameManager_swigregister, METH_VARARGS, NULL},
10337 { (char *)"FrameManager_swiginit", FrameManager_swiginit, METH_VARARGS, NULL},
10338 { (char *)"new_FrameManagerEvent", (PyCFunction) _wrap_new_FrameManagerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10339 { (char *)"FrameManagerEvent_Clone", (PyCFunction)_wrap_FrameManagerEvent_Clone, METH_O, NULL},
10340 { (char *)"FrameManagerEvent_SetPane", (PyCFunction) _wrap_FrameManagerEvent_SetPane, METH_VARARGS | METH_KEYWORDS, NULL},
10341 { (char *)"FrameManagerEvent_SetButton", (PyCFunction) _wrap_FrameManagerEvent_SetButton, METH_VARARGS | METH_KEYWORDS, NULL},
10342 { (char *)"FrameManagerEvent_SetDC", (PyCFunction) _wrap_FrameManagerEvent_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
10343 { (char *)"FrameManagerEvent_GetPane", (PyCFunction)_wrap_FrameManagerEvent_GetPane, METH_O, NULL},
10344 { (char *)"FrameManagerEvent_GetButton", (PyCFunction)_wrap_FrameManagerEvent_GetButton, METH_O, NULL},
10345 { (char *)"FrameManagerEvent_GetDC", (PyCFunction)_wrap_FrameManagerEvent_GetDC, METH_O, NULL},
10346 { (char *)"FrameManagerEvent_Veto", (PyCFunction) _wrap_FrameManagerEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL},
10347 { (char *)"FrameManagerEvent_GetVeto", (PyCFunction)_wrap_FrameManagerEvent_GetVeto, METH_O, NULL},
10348 { (char *)"FrameManagerEvent_SetCanVeto", (PyCFunction) _wrap_FrameManagerEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL},
10349 { (char *)"FrameManagerEvent_CanVeto", (PyCFunction)_wrap_FrameManagerEvent_CanVeto, METH_O, NULL},
10350 { (char *)"FrameManagerEvent_pane_set", _wrap_FrameManagerEvent_pane_set, METH_VARARGS, NULL},
10351 { (char *)"FrameManagerEvent_pane_get", (PyCFunction)_wrap_FrameManagerEvent_pane_get, METH_O, NULL},
10352 { (char *)"FrameManagerEvent_button_set", _wrap_FrameManagerEvent_button_set, METH_VARARGS, NULL},
10353 { (char *)"FrameManagerEvent_button_get", (PyCFunction)_wrap_FrameManagerEvent_button_get, METH_O, NULL},
10354 { (char *)"FrameManagerEvent_veto_flag_set", _wrap_FrameManagerEvent_veto_flag_set, METH_VARARGS, NULL},
10355 { (char *)"FrameManagerEvent_veto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_veto_flag_get, METH_O, NULL},
10356 { (char *)"FrameManagerEvent_canveto_flag_set", _wrap_FrameManagerEvent_canveto_flag_set, METH_VARARGS, NULL},
10357 { (char *)"FrameManagerEvent_canveto_flag_get", (PyCFunction)_wrap_FrameManagerEvent_canveto_flag_get, METH_O, NULL},
10358 { (char *)"FrameManagerEvent_dc_set", _wrap_FrameManagerEvent_dc_set, METH_VARARGS, NULL},
10359 { (char *)"FrameManagerEvent_dc_get", (PyCFunction)_wrap_FrameManagerEvent_dc_get, METH_O, NULL},
10360 { (char *)"FrameManagerEvent_swigregister", FrameManagerEvent_swigregister, METH_VARARGS, NULL},
10361 { (char *)"FrameManagerEvent_swiginit", FrameManagerEvent_swiginit, METH_VARARGS, NULL},
10362 { (char *)"new_DockInfo", (PyCFunction)_wrap_new_DockInfo, METH_NOARGS, NULL},
10363 { (char *)"DockInfo_IsOk", (PyCFunction)_wrap_DockInfo_IsOk, METH_O, NULL},
10364 { (char *)"DockInfo_IsHorizontal", (PyCFunction)_wrap_DockInfo_IsHorizontal, METH_O, NULL},
10365 { (char *)"DockInfo_IsVertical", (PyCFunction)_wrap_DockInfo_IsVertical, METH_O, NULL},
10366 { (char *)"DockInfo_panes_set", _wrap_DockInfo_panes_set, METH_VARARGS, NULL},
10367 { (char *)"DockInfo_panes_get", (PyCFunction)_wrap_DockInfo_panes_get, METH_O, NULL},
10368 { (char *)"DockInfo_rect_set", _wrap_DockInfo_rect_set, METH_VARARGS, NULL},
10369 { (char *)"DockInfo_rect_get", (PyCFunction)_wrap_DockInfo_rect_get, METH_O, NULL},
10370 { (char *)"DockInfo_dock_direction_set", _wrap_DockInfo_dock_direction_set, METH_VARARGS, NULL},
10371 { (char *)"DockInfo_dock_direction_get", (PyCFunction)_wrap_DockInfo_dock_direction_get, METH_O, NULL},
10372 { (char *)"DockInfo_dock_layer_set", _wrap_DockInfo_dock_layer_set, METH_VARARGS, NULL},
10373 { (char *)"DockInfo_dock_layer_get", (PyCFunction)_wrap_DockInfo_dock_layer_get, METH_O, NULL},
10374 { (char *)"DockInfo_dock_row_set", _wrap_DockInfo_dock_row_set, METH_VARARGS, NULL},
10375 { (char *)"DockInfo_dock_row_get", (PyCFunction)_wrap_DockInfo_dock_row_get, METH_O, NULL},
10376 { (char *)"DockInfo_size_set", _wrap_DockInfo_size_set, METH_VARARGS, NULL},
10377 { (char *)"DockInfo_size_get", (PyCFunction)_wrap_DockInfo_size_get, METH_O, NULL},
10378 { (char *)"DockInfo_min_size_set", _wrap_DockInfo_min_size_set, METH_VARARGS, NULL},
10379 { (char *)"DockInfo_min_size_get", (PyCFunction)_wrap_DockInfo_min_size_get, METH_O, NULL},
10380 { (char *)"DockInfo_resizable_set", _wrap_DockInfo_resizable_set, METH_VARARGS, NULL},
10381 { (char *)"DockInfo_resizable_get", (PyCFunction)_wrap_DockInfo_resizable_get, METH_O, NULL},
10382 { (char *)"DockInfo_toolbar_set", _wrap_DockInfo_toolbar_set, METH_VARARGS, NULL},
10383 { (char *)"DockInfo_toolbar_get", (PyCFunction)_wrap_DockInfo_toolbar_get, METH_O, NULL},
10384 { (char *)"DockInfo_fixed_set", _wrap_DockInfo_fixed_set, METH_VARARGS, NULL},
10385 { (char *)"DockInfo_fixed_get", (PyCFunction)_wrap_DockInfo_fixed_get, METH_O, NULL},
10386 { (char *)"DockInfo_swigregister", DockInfo_swigregister, METH_VARARGS, NULL},
10387 { (char *)"DockInfo_swiginit", DockInfo_swiginit, METH_VARARGS, NULL},
10388 { (char *)"DockUIPart_type_set", _wrap_DockUIPart_type_set, METH_VARARGS, NULL},
10389 { (char *)"DockUIPart_type_get", (PyCFunction)_wrap_DockUIPart_type_get, METH_O, NULL},
10390 { (char *)"DockUIPart_orientation_set", _wrap_DockUIPart_orientation_set, METH_VARARGS, NULL},
10391 { (char *)"DockUIPart_orientation_get", (PyCFunction)_wrap_DockUIPart_orientation_get, METH_O, NULL},
10392 { (char *)"DockUIPart_dock_set", _wrap_DockUIPart_dock_set, METH_VARARGS, NULL},
10393 { (char *)"DockUIPart_dock_get", (PyCFunction)_wrap_DockUIPart_dock_get, METH_O, NULL},
10394 { (char *)"DockUIPart_pane_set", _wrap_DockUIPart_pane_set, METH_VARARGS, NULL},
10395 { (char *)"DockUIPart_pane_get", (PyCFunction)_wrap_DockUIPart_pane_get, METH_O, NULL},
10396 { (char *)"DockUIPart_button_set", _wrap_DockUIPart_button_set, METH_VARARGS, NULL},
10397 { (char *)"DockUIPart_button_get", (PyCFunction)_wrap_DockUIPart_button_get, METH_O, NULL},
10398 { (char *)"DockUIPart_cont_sizer_set", _wrap_DockUIPart_cont_sizer_set, METH_VARARGS, NULL},
10399 { (char *)"DockUIPart_cont_sizer_get", (PyCFunction)_wrap_DockUIPart_cont_sizer_get, METH_O, NULL},
10400 { (char *)"DockUIPart_sizer_item_set", _wrap_DockUIPart_sizer_item_set, METH_VARARGS, NULL},
10401 { (char *)"DockUIPart_sizer_item_get", (PyCFunction)_wrap_DockUIPart_sizer_item_get, METH_O, NULL},
10402 { (char *)"DockUIPart_rect_set", _wrap_DockUIPart_rect_set, METH_VARARGS, NULL},
10403 { (char *)"DockUIPart_rect_get", (PyCFunction)_wrap_DockUIPart_rect_get, METH_O, NULL},
10404 { (char *)"DockUIPart_swigregister", DockUIPart_swigregister, METH_VARARGS, NULL},
10405 { (char *)"PaneButton_button_id_set", _wrap_PaneButton_button_id_set, METH_VARARGS, NULL},
10406 { (char *)"PaneButton_button_id_get", (PyCFunction)_wrap_PaneButton_button_id_get, METH_O, NULL},
10407 { (char *)"PaneButton_swigregister", PaneButton_swigregister, METH_VARARGS, NULL},
10408 { (char *)"delete_DockArt", (PyCFunction)_wrap_delete_DockArt, METH_O, NULL},
10409 { (char *)"DockArt_GetMetric", (PyCFunction) _wrap_DockArt_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10410 { (char *)"DockArt_SetMetric", (PyCFunction) _wrap_DockArt_SetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
10411 { (char *)"DockArt_SetFont", (PyCFunction) _wrap_DockArt_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10412 { (char *)"DockArt_GetFont", (PyCFunction) _wrap_DockArt_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
10413 { (char *)"DockArt_GetColour", (PyCFunction) _wrap_DockArt_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10414 { (char *)"DockArt_SetColour", (PyCFunction) _wrap_DockArt_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
10415 { (char *)"DockArt_GetColor", (PyCFunction) _wrap_DockArt_GetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10416 { (char *)"DockArt_SetColor", (PyCFunction) _wrap_DockArt_SetColor, METH_VARARGS | METH_KEYWORDS, NULL},
10417 { (char *)"DockArt_DrawSash", (PyCFunction) _wrap_DockArt_DrawSash, METH_VARARGS | METH_KEYWORDS, NULL},
10418 { (char *)"DockArt_DrawBackground", (PyCFunction) _wrap_DockArt_DrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
10419 { (char *)"DockArt_DrawCaption", (PyCFunction) _wrap_DockArt_DrawCaption, METH_VARARGS | METH_KEYWORDS, NULL},
10420 { (char *)"DockArt_DrawGripper", (PyCFunction) _wrap_DockArt_DrawGripper, METH_VARARGS | METH_KEYWORDS, NULL},
10421 { (char *)"DockArt_DrawBorder", (PyCFunction) _wrap_DockArt_DrawBorder, METH_VARARGS | METH_KEYWORDS, NULL},
10422 { (char *)"DockArt_DrawPaneButton", (PyCFunction) _wrap_DockArt_DrawPaneButton, METH_VARARGS | METH_KEYWORDS, NULL},
10423 { (char *)"DockArt_swigregister", DockArt_swigregister, METH_VARARGS, NULL},
10424 { (char *)"new_DefaultDockArt", (PyCFunction)_wrap_new_DefaultDockArt, METH_NOARGS, NULL},
10425 { (char *)"DefaultDockArt_swigregister", DefaultDockArt_swigregister, METH_VARARGS, NULL},
10426 { (char *)"DefaultDockArt_swiginit", DefaultDockArt_swiginit, METH_VARARGS, NULL},
10427 { (char *)"new_FloatingPane", (PyCFunction) _wrap_new_FloatingPane, METH_VARARGS | METH_KEYWORDS, NULL},
10428 { (char *)"delete_FloatingPane", (PyCFunction)_wrap_delete_FloatingPane, METH_O, NULL},
10429 { (char *)"FloatingPane_SetPaneWindow", (PyCFunction) _wrap_FloatingPane_SetPaneWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10430 { (char *)"FloatingPane_swigregister", FloatingPane_swigregister, METH_VARARGS, NULL},
10431 { (char *)"FloatingPane_swiginit", FloatingPane_swiginit, METH_VARARGS, NULL},
10432 { (char *)"PyDockArt_swigregister", PyDockArt_swigregister, METH_VARARGS, NULL},
10433 { NULL, NULL, 0, NULL }
10434 };
10435
10436
10437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
10438
10439 static void *_p_wxFloatingPaneTo_p_wxMiniFrame(void *x) {
10440 return (void *)((wxMiniFrame *) ((wxFloatingPane *) x));
10441 }
10442 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
10443 return (void *)((wxSizer *) ((wxBoxSizer *) x));
10444 }
10445 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
10446 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
10447 }
10448 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
10449 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
10450 }
10451 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
10452 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10453 }
10454 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
10455 return (void *)((wxSizer *) ((wxGridSizer *) x));
10456 }
10457 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
10458 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
10459 }
10460 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
10461 return (void *)((wxSizer *) ((wxPySizer *) x));
10462 }
10463 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
10464 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
10465 }
10466 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
10467 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
10468 }
10469 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
10470 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
10471 }
10472 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
10473 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
10474 }
10475 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
10476 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
10477 }
10478 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
10479 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
10480 }
10481 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
10482 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
10483 }
10484 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
10485 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
10486 }
10487 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
10488 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
10489 }
10490 static void *_p_wxFloatingPaneTo_p_wxTopLevelWindow(void *x) {
10491 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10492 }
10493 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
10494 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
10495 }
10496 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
10497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
10498 }
10499 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
10500 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10501 }
10502 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
10503 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
10504 }
10505 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10506 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
10507 }
10508 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
10509 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
10510 }
10511 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
10512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
10513 }
10514 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
10515 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
10516 }
10517 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
10518 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
10519 }
10520 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10521 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
10522 }
10523 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
10524 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10525 }
10526 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
10527 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10528 }
10529 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
10530 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10531 }
10532 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
10533 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
10534 }
10535 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
10536 return (void *)((wxWindow *) ((wxMenuBar *) x));
10537 }
10538 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
10539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10540 }
10541 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
10542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10543 }
10544 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
10545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10546 }
10547 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
10548 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
10549 }
10550 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
10551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10552 }
10553 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
10554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10555 }
10556 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
10557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10558 }
10559 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
10560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10561 }
10562 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
10563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10564 }
10565 static void *_p_wxPanelTo_p_wxWindow(void *x) {
10566 return (void *)((wxWindow *) ((wxPanel *) x));
10567 }
10568 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
10569 return (void *)((wxWindow *) ((wxStatusBar *) x));
10570 }
10571 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
10572 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
10573 }
10574 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
10575 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10576 }
10577 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
10578 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10579 }
10580 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
10581 return (void *)((wxWindow *) ((wxPopupWindow *) x));
10582 }
10583 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
10584 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
10585 }
10586 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
10587 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
10588 }
10589 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
10590 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
10591 }
10592 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
10593 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
10594 }
10595 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
10596 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
10597 }
10598 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
10599 return (void *)((wxWindow *) ((wxSashWindow *) x));
10600 }
10601 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
10602 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
10603 }
10604 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
10605 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10606 }
10607 static void *_p_wxControlTo_p_wxWindow(void *x) {
10608 return (void *)((wxWindow *) ((wxControl *) x));
10609 }
10610 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
10611 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10612 }
10613 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
10614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10615 }
10616 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
10617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10618 }
10619 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
10620 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
10621 }
10622 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
10623 return (void *)((wxWindow *) ((wxPyWindow *) x));
10624 }
10625 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
10626 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10627 }
10628 static void *_p_wxFloatingPaneTo_p_wxWindow(void *x) {
10629 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
10630 }
10631 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
10632 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10633 }
10634 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
10635 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10636 }
10637 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
10638 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
10639 }
10640 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
10641 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10642 }
10643 static void *_p_wxFrameTo_p_wxWindow(void *x) {
10644 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
10645 }
10646 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
10647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10648 }
10649 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
10650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10651 }
10652 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
10653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10654 }
10655 static void *_p_wxDialogTo_p_wxWindow(void *x) {
10656 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
10657 }
10658 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
10659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10660 }
10661 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
10662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
10663 }
10664 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
10665 return (void *)((wxEvent *) ((wxMenuEvent *) x));
10666 }
10667 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
10668 return (void *)((wxEvent *) ((wxCloseEvent *) x));
10669 }
10670 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
10671 return (void *)((wxEvent *) ((wxMouseEvent *) x));
10672 }
10673 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
10674 return (void *)((wxEvent *) ((wxEraseEvent *) x));
10675 }
10676 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
10677 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
10678 }
10679 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
10680 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10681 }
10682 static void *_p_wxFrameManagerEventTo_p_wxEvent(void *x) {
10683 return (void *)((wxEvent *) ((wxFrameManagerEvent *) x));
10684 }
10685 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
10686 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
10687 }
10688 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
10689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
10690 }
10691 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
10692 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
10693 }
10694 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
10695 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
10696 }
10697 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
10698 return (void *)((wxEvent *) ((wxPyEvent *) x));
10699 }
10700 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
10701 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
10702 }
10703 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
10704 return (void *)((wxEvent *) ((wxIdleEvent *) x));
10705 }
10706 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
10707 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
10708 }
10709 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
10710 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
10711 }
10712 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
10713 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
10714 }
10715 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
10716 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
10717 }
10718 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
10719 return (void *)((wxEvent *) ((wxActivateEvent *) x));
10720 }
10721 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
10722 return (void *)((wxEvent *) ((wxSizeEvent *) x));
10723 }
10724 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
10725 return (void *)((wxEvent *) ((wxMoveEvent *) x));
10726 }
10727 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
10728 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
10729 }
10730 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
10731 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
10732 }
10733 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
10734 return (void *)((wxEvent *) ((wxPaintEvent *) x));
10735 }
10736 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
10737 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
10738 }
10739 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
10740 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
10741 }
10742 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
10743 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
10744 }
10745 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
10746 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
10747 }
10748 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
10749 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10750 }
10751 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
10752 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
10753 }
10754 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
10755 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
10756 }
10757 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
10758 return (void *)((wxEvent *) ((wxFocusEvent *) x));
10759 }
10760 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
10761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
10762 }
10763 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
10764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
10765 }
10766 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
10767 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10768 }
10769 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
10770 return (void *)((wxEvent *) ((wxShowEvent *) x));
10771 }
10772 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
10773 return (void *)((wxEvent *) ((wxCommandEvent *) x));
10774 }
10775 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
10776 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
10777 }
10778 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
10779 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10780 }
10781 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
10782 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
10783 }
10784 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
10785 return (void *)((wxEvent *) ((wxKeyEvent *) x));
10786 }
10787 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
10788 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
10789 }
10790 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
10791 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
10792 }
10793 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
10794 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
10795 }
10796 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
10797 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
10798 }
10799 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
10800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10801 }
10802 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
10803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10804 }
10805 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
10806 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
10807 }
10808 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
10809 return (void *)((wxObject *) ((wxSizerItem *) x));
10810 }
10811 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
10812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
10813 }
10814 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
10815 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
10816 }
10817 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
10818 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
10819 }
10820 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
10821 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
10822 }
10823 static void *_p_wxSizerTo_p_wxObject(void *x) {
10824 return (void *)((wxObject *) ((wxSizer *) x));
10825 }
10826 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
10827 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
10828 }
10829 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
10830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
10831 }
10832 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
10833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10834 }
10835 static void *_p_wxEventTo_p_wxObject(void *x) {
10836 return (void *)((wxObject *) ((wxEvent *) x));
10837 }
10838 static void *_p_wxFontDataTo_p_wxObject(void *x) {
10839 return (void *)((wxObject *) ((wxFontData *) x));
10840 }
10841 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
10842 return (void *)((wxObject *) ((wxPrintData *) x));
10843 }
10844 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
10845 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
10846 }
10847 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
10848 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
10849 }
10850 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
10851 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
10852 }
10853 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
10854 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
10855 }
10856 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
10857 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10858 }
10859 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
10860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
10861 }
10862 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
10863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
10864 }
10865 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
10866 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
10867 }
10868 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
10869 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
10870 }
10871 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
10872 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
10873 }
10874 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
10875 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
10876 }
10877 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
10878 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
10879 }
10880 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
10881 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
10882 }
10883 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
10884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10885 }
10886 static void *_p_wxControlTo_p_wxObject(void *x) {
10887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
10888 }
10889 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
10890 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
10891 }
10892 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
10893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
10894 }
10895 static void *_p_wxFrameManagerEventTo_p_wxObject(void *x) {
10896 return (void *)((wxObject *) (wxEvent *) ((wxFrameManagerEvent *) x));
10897 }
10898 static void *_p_wxFSFileTo_p_wxObject(void *x) {
10899 return (void *)((wxObject *) ((wxFSFile *) x));
10900 }
10901 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
10902 return (void *)((wxObject *) ((wxFindReplaceData *) x));
10903 }
10904 static void *_p_wxPySizerTo_p_wxObject(void *x) {
10905 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
10906 }
10907 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
10908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10909 }
10910 static void *_p_wxColourDataTo_p_wxObject(void *x) {
10911 return (void *)((wxObject *) ((wxColourData *) x));
10912 }
10913 static void *_p_wxPyEventTo_p_wxObject(void *x) {
10914 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
10915 }
10916 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
10917 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
10918 }
10919 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
10920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
10921 }
10922 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
10923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10924 }
10925 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
10926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10927 }
10928 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
10929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10930 }
10931 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
10932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10933 }
10934 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
10935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10936 }
10937 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
10938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10939 }
10940 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
10941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
10942 }
10943 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
10944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10945 }
10946 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
10947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10948 }
10949 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
10950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10951 }
10952 static void *_p_wxShowEventTo_p_wxObject(void *x) {
10953 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
10954 }
10955 static void *_p_wxPrinterTo_p_wxObject(void *x) {
10956 return (void *)((wxObject *) ((wxPrinter *) x));
10957 }
10958 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
10959 return (void *)((wxObject *) ((wxMenuItem *) x));
10960 }
10961 static void *_p_wxDateEventTo_p_wxObject(void *x) {
10962 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
10963 }
10964 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
10965 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
10966 }
10967 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
10968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
10969 }
10970 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
10971 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
10972 }
10973 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
10974 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
10975 }
10976 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
10977 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
10978 }
10979 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
10980 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
10981 }
10982 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
10983 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
10984 }
10985 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
10986 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
10987 }
10988 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
10989 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
10990 }
10991 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
10992 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
10993 }
10994 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
10995 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
10996 }
10997 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
10998 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
10999 }
11000 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11001 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11002 }
11003 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11004 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11005 }
11006 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11007 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11008 }
11009 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11010 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11011 }
11012 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11013 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11014 }
11015 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
11016 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
11017 }
11018 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11019 return (void *)((wxObject *) ((wxImageHandler *) x));
11020 }
11021 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11022 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11023 }
11024 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11025 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11026 }
11027 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11028 return (void *)((wxObject *) ((wxEvtHandler *) x));
11029 }
11030 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11031 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11032 }
11033 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11035 }
11036 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11038 }
11039 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11040 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11041 }
11042 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11043 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11044 }
11045 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11047 }
11048 static void *_p_wxImageTo_p_wxObject(void *x) {
11049 return (void *)((wxObject *) ((wxImage *) x));
11050 }
11051 static void *_p_wxFrameTo_p_wxObject(void *x) {
11052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11053 }
11054 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11055 return (void *)((wxObject *) ((wxPyPrintout *) x));
11056 }
11057 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11058 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11059 }
11060 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
11061 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
11062 }
11063 static void *_p_wxFloatingPaneTo_p_wxObject(void *x) {
11064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
11065 }
11066 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
11067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
11068 }
11069 static void *_p_wxFrameManagerTo_p_wxObject(void *x) {
11070 return (void *)((wxObject *) (wxEvtHandler *) ((wxFrameManager *) x));
11071 }
11072 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
11073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11074 }
11075 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11077 }
11078 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11079 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11080 }
11081 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11082 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11083 }
11084 static void *_p_wxWindowTo_p_wxObject(void *x) {
11085 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11086 }
11087 static void *_p_wxMenuTo_p_wxObject(void *x) {
11088 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11089 }
11090 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11092 }
11093 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
11094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11095 }
11096 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
11097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
11098 }
11099 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
11100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
11101 }
11102 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
11103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
11104 }
11105 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
11106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
11107 }
11108 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
11109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11110 }
11111 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
11112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
11113 }
11114 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
11115 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11116 }
11117 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
11118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11119 }
11120 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
11121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11122 }
11123 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
11124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
11125 }
11126 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
11127 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11128 }
11129 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11130 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11131 }
11132 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11133 return (void *)((wxObject *) ((wxPrintPreview *) x));
11134 }
11135 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11136 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11137 }
11138 static void *_p_wxPanelTo_p_wxObject(void *x) {
11139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
11140 }
11141 static void *_p_wxDialogTo_p_wxObject(void *x) {
11142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11143 }
11144 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11146 }
11147 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11149 }
11150 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11152 }
11153 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11154 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
11155 }
11156 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11157 return (void *)((wxObject *) ((wxPrintDialog *) x));
11158 }
11159 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11160 return (void *)((wxObject *) ((wxFileSystem *) x));
11161 }
11162 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11164 }
11165 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11166 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11167 }
11168 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11169 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11170 }
11171 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11172 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11173 }
11174 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11175 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11176 }
11177 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11178 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11179 }
11180 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11181 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11182 }
11183 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11184 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11185 }
11186 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11188 }
11189 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11191 }
11192 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11193 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11194 }
11195 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11196 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11197 }
11198 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11200 }
11201 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11203 }
11204 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11205 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11206 }
11207 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11208 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11209 }
11210 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11211 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11212 }
11213 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11214 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11215 }
11216 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
11217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11218 }
11219 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
11220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11221 }
11222 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
11223 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11224 }
11225 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11227 }
11228 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11229 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11230 }
11231 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11232 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11233 }
11234 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11235 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11236 }
11237 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
11238 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11239 }
11240 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
11241 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11242 }
11243 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
11244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11245 }
11246 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
11247 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11248 }
11249 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
11250 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11251 }
11252 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
11253 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11254 }
11255 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
11256 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11257 }
11258 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
11259 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11260 }
11261 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
11262 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11263 }
11264 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
11265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
11266 }
11267 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
11268 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
11269 }
11270 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
11271 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
11272 }
11273 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
11274 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11275 }
11276 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
11277 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11278 }
11279 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
11280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
11281 }
11282 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
11283 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
11284 }
11285 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
11286 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
11287 }
11288 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
11289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
11290 }
11291 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
11292 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
11293 }
11294 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11295 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11296 }
11297 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
11298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
11299 }
11300 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
11301 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
11302 }
11303 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
11304 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
11305 }
11306 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
11307 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11308 }
11309 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11310 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11311 }
11312 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
11313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11314 }
11315 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
11316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11317 }
11318 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
11319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11320 }
11321 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11322 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11323 }
11324 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11326 }
11327 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
11328 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
11329 }
11330 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
11331 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11332 }
11333 static void *_p_wxFloatingPaneTo_p_wxEvtHandler(void *x) {
11334 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxMiniFrame *) ((wxFloatingPane *) x));
11335 }
11336 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
11337 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11338 }
11339 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
11340 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11341 }
11342 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
11343 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11344 }
11345 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
11346 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11347 }
11348 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
11349 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11350 }
11351 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
11352 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11353 }
11354 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
11355 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11356 }
11357 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
11358 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11359 }
11360 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
11361 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11362 }
11363 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
11364 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11365 }
11366 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
11367 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11368 }
11369 static void *_p_wxFrameManagerTo_p_wxEvtHandler(void *x) {
11370 return (void *)((wxEvtHandler *) ((wxFrameManager *) x));
11371 }
11372 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
11373 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
11374 }
11375 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
11376 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
11377 }
11378 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
11379 return (void *)((wxFrame *) ((wxProgressDialog *) x));
11380 }
11381 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
11382 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
11383 }
11384 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
11385 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11386 }
11387 static void *_p_wxFloatingPaneTo_p_wxFrame(void *x) {
11388 return (void *)((wxFrame *) (wxMiniFrame *) ((wxFloatingPane *) x));
11389 }
11390 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
11391 return (void *)((wxFrame *) ((wxMiniFrame *) x));
11392 }
11393 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
11394 return (void *)((wxFrame *) ((wxSplashScreen *) x));
11395 }
11396 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
11397 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
11398 }
11399 static void *_p_wxDefaultDockArtTo_p_wxDockArt(void *x) {
11400 return (void *)((wxDockArt *) ((wxDefaultDockArt *) x));
11401 }
11402 static void *_p_wxPyDockArtTo_p_wxDockArt(void *x) {
11403 return (void *)((wxDockArt *) (wxDefaultDockArt *) ((wxPyDockArt *) x));
11404 }
11405 static void *_p_wxPyDockArtTo_p_wxDefaultDockArt(void *x) {
11406 return (void *)((wxDefaultDockArt *) ((wxPyDockArt *) x));
11407 }
11408 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
11409 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};
11410 static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
11411 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
11412 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
11413 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
11414 static swig_type_info _swigt__p_wxColor = {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
11415 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
11416 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
11417 static swig_type_info _swigt__p_wxDefaultDockArt = {"_p_wxDefaultDockArt", "wxDefaultDockArt *", 0, 0, (void*)0, 0};
11418 static swig_type_info _swigt__p_wxDockArt = {"_p_wxDockArt", "wxDockArt *", 0, 0, (void*)0, 0};
11419 static swig_type_info _swigt__p_wxDockInfo = {"_p_wxDockInfo", "wxDockInfo *", 0, 0, (void*)0, 0};
11420 static swig_type_info _swigt__p_wxDockUIPart = {"_p_wxDockUIPart", "wxDockUIPart *", 0, 0, (void*)0, 0};
11421 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
11422 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
11423 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
11424 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
11425 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
11426 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
11427 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
11428 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
11429 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
11430 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
11431 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
11432 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
11433 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
11434 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
11435 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
11436 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
11437 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
11438 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
11439 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
11440 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
11441 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
11442 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
11443 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
11444 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
11445 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
11446 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
11447 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
11448 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
11449 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
11450 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
11451 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
11452 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
11453 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
11454 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
11455 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
11456 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
11457 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
11458 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
11459 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
11460 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
11461 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
11462 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
11463 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
11464 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
11465 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
11466 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
11467 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
11468 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
11469 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
11470 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
11471 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
11472 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
11473 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
11474 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
11475 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
11476 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
11477 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
11478 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
11479 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
11480 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
11481 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", 0, 0, 0, 0, 0};
11482 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
11483 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
11484 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", 0, 0, 0, 0, 0};
11485 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
11486 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
11487 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", 0, 0, 0, 0, 0};
11488 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
11489 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
11490 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
11491 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
11492 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
11493 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
11494 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
11495 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
11496 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
11497 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
11498 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
11499 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
11500 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
11501 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
11502 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
11503 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
11504 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
11505 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
11506 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
11507 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
11508 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
11509 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
11510 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
11511 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
11512 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
11513 static swig_type_info _swigt__p_wxFloatingPane = {"_p_wxFloatingPane", "wxFloatingPane *", 0, 0, (void*)0, 0};
11514 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
11515 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
11516 static swig_type_info _swigt__p_wxFrameManager = {"_p_wxFrameManager", "wxFrameManager *", 0, 0, (void*)0, 0};
11517 static swig_type_info _swigt__p_wxFrameManagerEvent = {"_p_wxFrameManagerEvent", "wxFrameManagerEvent *", 0, 0, (void*)0, 0};
11518 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
11519 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
11520 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
11521 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
11522 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
11523 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
11524 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
11525 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
11526 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
11527 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
11528 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
11529 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
11530 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
11531 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
11532 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
11533 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
11534 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
11535 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
11536 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
11537 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
11538 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
11539 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
11540 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
11541 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
11542 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
11543 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
11544 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
11545 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
11546 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
11547 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
11548 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
11549 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
11550 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
11551 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
11552 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
11553 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
11554 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
11555 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
11556 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
11557 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
11558 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
11559 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
11560 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
11561 static swig_type_info _swigt__p_wxPaneButton = {"_p_wxPaneButton", "wxPaneButton *", 0, 0, (void*)0, 0};
11562 static swig_type_info _swigt__p_wxPaneButtonArray = {"_p_wxPaneButtonArray", "wxPaneButtonArray *", 0, 0, (void*)0, 0};
11563 static swig_type_info _swigt__p_wxPaneInfo = {"_p_wxPaneInfo", "wxPaneInfo *", 0, 0, (void*)0, 0};
11564 static swig_type_info _swigt__p_wxPaneInfoPtrArray = {"_p_wxPaneInfoPtrArray", "wxPaneInfoPtrArray *", 0, 0, (void*)0, 0};
11565 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
11566 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
11567 static swig_type_info _swigt__p_wxPyDockArt = {"_p_wxPyDockArt", "wxPyDockArt *", 0, 0, (void*)0, 0};
11568 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
11569 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
11570 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
11571 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
11572 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
11573 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
11574 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
11575
11576 static swig_type_info *swig_type_initial[] = {
11577 &_swigt__p_char,
11578 &_swigt__p_form_ops_t,
11579 &_swigt__p_int,
11580 &_swigt__p_unsigned_char,
11581 &_swigt__p_unsigned_int,
11582 &_swigt__p_unsigned_long,
11583 &_swigt__p_wxANIHandler,
11584 &_swigt__p_wxAcceleratorTable,
11585 &_swigt__p_wxActivateEvent,
11586 &_swigt__p_wxBMPHandler,
11587 &_swigt__p_wxBoxSizer,
11588 &_swigt__p_wxCURHandler,
11589 &_swigt__p_wxCalculateLayoutEvent,
11590 &_swigt__p_wxChildFocusEvent,
11591 &_swigt__p_wxClipboardTextEvent,
11592 &_swigt__p_wxCloseEvent,
11593 &_swigt__p_wxColor,
11594 &_swigt__p_wxColour,
11595 &_swigt__p_wxColourData,
11596 &_swigt__p_wxColourDialog,
11597 &_swigt__p_wxCommandEvent,
11598 &_swigt__p_wxContextMenuEvent,
11599 &_swigt__p_wxControl,
11600 &_swigt__p_wxControlWithItems,
11601 &_swigt__p_wxDC,
11602 &_swigt__p_wxDateEvent,
11603 &_swigt__p_wxDefaultDockArt,
11604 &_swigt__p_wxDialog,
11605 &_swigt__p_wxDirDialog,
11606 &_swigt__p_wxDisplayChangedEvent,
11607 &_swigt__p_wxDockArt,
11608 &_swigt__p_wxDockInfo,
11609 &_swigt__p_wxDockUIPart,
11610 &_swigt__p_wxDropFilesEvent,
11611 &_swigt__p_wxDuplexMode,
11612 &_swigt__p_wxEraseEvent,
11613 &_swigt__p_wxEvent,
11614 &_swigt__p_wxEvtHandler,
11615 &_swigt__p_wxFSFile,
11616 &_swigt__p_wxFileDialog,
11617 &_swigt__p_wxFileSystem,
11618 &_swigt__p_wxFindDialogEvent,
11619 &_swigt__p_wxFindReplaceData,
11620 &_swigt__p_wxFindReplaceDialog,
11621 &_swigt__p_wxFlexGridSizer,
11622 &_swigt__p_wxFloatingPane,
11623 &_swigt__p_wxFocusEvent,
11624 &_swigt__p_wxFont,
11625 &_swigt__p_wxFontData,
11626 &_swigt__p_wxFontDialog,
11627 &_swigt__p_wxFrame,
11628 &_swigt__p_wxFrameManager,
11629 &_swigt__p_wxFrameManagerEvent,
11630 &_swigt__p_wxGBSizerItem,
11631 &_swigt__p_wxGIFHandler,
11632 &_swigt__p_wxGridBagSizer,
11633 &_swigt__p_wxGridSizer,
11634 &_swigt__p_wxICOHandler,
11635 &_swigt__p_wxIconizeEvent,
11636 &_swigt__p_wxIdleEvent,
11637 &_swigt__p_wxImage,
11638 &_swigt__p_wxImageHandler,
11639 &_swigt__p_wxIndividualLayoutConstraint,
11640 &_swigt__p_wxInitDialogEvent,
11641 &_swigt__p_wxJPEGHandler,
11642 &_swigt__p_wxKeyEvent,
11643 &_swigt__p_wxLayoutAlgorithm,
11644 &_swigt__p_wxLayoutConstraints,
11645 &_swigt__p_wxMDIChildFrame,
11646 &_swigt__p_wxMDIClientWindow,
11647 &_swigt__p_wxMDIParentFrame,
11648 &_swigt__p_wxMaximizeEvent,
11649 &_swigt__p_wxMenu,
11650 &_swigt__p_wxMenuBar,
11651 &_swigt__p_wxMenuEvent,
11652 &_swigt__p_wxMenuItem,
11653 &_swigt__p_wxMessageDialog,
11654 &_swigt__p_wxMiniFrame,
11655 &_swigt__p_wxMouseCaptureChangedEvent,
11656 &_swigt__p_wxMouseEvent,
11657 &_swigt__p_wxMoveEvent,
11658 &_swigt__p_wxMultiChoiceDialog,
11659 &_swigt__p_wxNavigationKeyEvent,
11660 &_swigt__p_wxNcPaintEvent,
11661 &_swigt__p_wxNotifyEvent,
11662 &_swigt__p_wxNumberEntryDialog,
11663 &_swigt__p_wxObject,
11664 &_swigt__p_wxPCXHandler,
11665 &_swigt__p_wxPNGHandler,
11666 &_swigt__p_wxPNMHandler,
11667 &_swigt__p_wxPageSetupDialog,
11668 &_swigt__p_wxPageSetupDialogData,
11669 &_swigt__p_wxPaintEvent,
11670 &_swigt__p_wxPaletteChangedEvent,
11671 &_swigt__p_wxPaneButton,
11672 &_swigt__p_wxPaneButtonArray,
11673 &_swigt__p_wxPaneInfo,
11674 &_swigt__p_wxPaneInfoPtrArray,
11675 &_swigt__p_wxPanel,
11676 &_swigt__p_wxPaperSize,
11677 &_swigt__p_wxPasswordEntryDialog,
11678 &_swigt__p_wxPoint,
11679 &_swigt__p_wxPopupWindow,
11680 &_swigt__p_wxPreviewCanvas,
11681 &_swigt__p_wxPreviewControlBar,
11682 &_swigt__p_wxPreviewFrame,
11683 &_swigt__p_wxPrintData,
11684 &_swigt__p_wxPrintDialog,
11685 &_swigt__p_wxPrintDialogData,
11686 &_swigt__p_wxPrintPreview,
11687 &_swigt__p_wxPrinter,
11688 &_swigt__p_wxProgressDialog,
11689 &_swigt__p_wxPyApp,
11690 &_swigt__p_wxPyCommandEvent,
11691 &_swigt__p_wxPyDockArt,
11692 &_swigt__p_wxPyEvent,
11693 &_swigt__p_wxPyHtmlListBox,
11694 &_swigt__p_wxPyImageHandler,
11695 &_swigt__p_wxPyPanel,
11696 &_swigt__p_wxPyPopupTransientWindow,
11697 &_swigt__p_wxPyPreviewControlBar,
11698 &_swigt__p_wxPyPreviewFrame,
11699 &_swigt__p_wxPyPrintPreview,
11700 &_swigt__p_wxPyPrintout,
11701 &_swigt__p_wxPyScrolledWindow,
11702 &_swigt__p_wxPySizer,
11703 &_swigt__p_wxPyTaskBarIcon,
11704 &_swigt__p_wxPyVListBox,
11705 &_swigt__p_wxPyVScrolledWindow,
11706 &_swigt__p_wxPyValidator,
11707 &_swigt__p_wxPyWindow,
11708 &_swigt__p_wxQueryLayoutInfoEvent,
11709 &_swigt__p_wxQueryNewPaletteEvent,
11710 &_swigt__p_wxRect,
11711 &_swigt__p_wxSashEvent,
11712 &_swigt__p_wxSashLayoutWindow,
11713 &_swigt__p_wxSashWindow,
11714 &_swigt__p_wxScrollEvent,
11715 &_swigt__p_wxScrollWinEvent,
11716 &_swigt__p_wxScrolledWindow,
11717 &_swigt__p_wxSetCursorEvent,
11718 &_swigt__p_wxShowEvent,
11719 &_swigt__p_wxSingleChoiceDialog,
11720 &_swigt__p_wxSize,
11721 &_swigt__p_wxSizeEvent,
11722 &_swigt__p_wxSizer,
11723 &_swigt__p_wxSizerItem,
11724 &_swigt__p_wxSplashScreen,
11725 &_swigt__p_wxSplashScreenWindow,
11726 &_swigt__p_wxSplitterEvent,
11727 &_swigt__p_wxSplitterWindow,
11728 &_swigt__p_wxStaticBoxSizer,
11729 &_swigt__p_wxStatusBar,
11730 &_swigt__p_wxStdDialogButtonSizer,
11731 &_swigt__p_wxString,
11732 &_swigt__p_wxSysColourChangedEvent,
11733 &_swigt__p_wxTIFFHandler,
11734 &_swigt__p_wxTaskBarIconEvent,
11735 &_swigt__p_wxTextEntryDialog,
11736 &_swigt__p_wxTipWindow,
11737 &_swigt__p_wxTopLevelWindow,
11738 &_swigt__p_wxUpdateUIEvent,
11739 &_swigt__p_wxValidator,
11740 &_swigt__p_wxWindow,
11741 &_swigt__p_wxWindowCreateEvent,
11742 &_swigt__p_wxWindowDestroyEvent,
11743 &_swigt__p_wxXPMHandler,
11744 };
11745
11746 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
11747 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
11748 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
11749 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
11750 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
11751 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
11752 static swig_cast_info _swigc__p_wxColor[] = { {&_swigt__p_wxColor, 0, 0, 0},{0, 0, 0, 0}};
11753 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
11754 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
11755 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}};
11756 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}};
11757 static swig_cast_info _swigc__p_wxDockInfo[] = { {&_swigt__p_wxDockInfo, 0, 0, 0},{0, 0, 0, 0}};
11758 static swig_cast_info _swigc__p_wxDockUIPart[] = { {&_swigt__p_wxDockUIPart, 0, 0, 0},{0, 0, 0, 0}};
11759 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
11760 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11761 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
11762 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
11763 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
11764 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
11765 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
11766 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
11767 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11768 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
11769 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
11770 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
11771 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
11772 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
11773 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
11774 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
11775 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
11776 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11777 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11778 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
11779 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
11780 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
11781 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
11782 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
11783 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11784 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
11785 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
11786 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11787 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11788 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11789 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
11790 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
11791 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11792 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
11793 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
11794 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
11795 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
11796 static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11797 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
11798 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
11799 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11800 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
11801 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
11802 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
11803 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}};
11804 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
11805 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
11806 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
11807 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
11808 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
11809 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11810 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
11811 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11812 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
11813 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
11814 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
11815 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11816 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
11817 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
11818 static swig_cast_info _swigc__p_wxPanel[] = {{&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}};
11819 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
11820 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
11821 static swig_cast_info _swigc__p_wxScrolledWindow[] = {{&_swigt__p_wxScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11822 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
11823 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11824 static swig_cast_info _swigc__p_wxSplitterWindow[] = {{&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
11825 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
11826 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
11827 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
11828 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
11829 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
11830 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
11831 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11832 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
11833 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
11834 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
11835 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
11836 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
11837 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
11838 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
11839 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
11840 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
11841 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11842 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
11843 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
11844 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
11845 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
11846 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
11847 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
11848 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
11849 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
11850 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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}};
11851 static swig_cast_info _swigc__p_wxFloatingPane[] = { {&_swigt__p_wxFloatingPane, 0, 0, 0},{0, 0, 0, 0}};
11852 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
11853 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
11854 static swig_cast_info _swigc__p_wxFrameManager[] = { {&_swigt__p_wxFrameManager, 0, 0, 0},{0, 0, 0, 0}};
11855 static swig_cast_info _swigc__p_wxFrameManagerEvent[] = { {&_swigt__p_wxFrameManagerEvent, 0, 0, 0},{0, 0, 0, 0}};
11856 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}};
11857 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
11858 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
11859 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
11860 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11861 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
11862 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
11863 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
11864 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
11865 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11866 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
11867 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
11868 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
11869 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
11870 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
11871 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
11872 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
11873 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
11874 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
11875 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
11876 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
11877 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
11878 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
11879 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
11880 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
11881 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
11882 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
11883 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11884 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
11885 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
11886 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
11887 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
11888 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
11889 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
11890 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
11891 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11892 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
11893 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
11894 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
11895 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
11896 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
11897 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
11898 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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
11899 static swig_cast_info _swigc__p_wxPaneButton[] = { {&_swigt__p_wxPaneButton, 0, 0, 0},{0, 0, 0, 0}};
11900 static swig_cast_info _swigc__p_wxPaneButtonArray[] = { {&_swigt__p_wxPaneButtonArray, 0, 0, 0},{0, 0, 0, 0}};
11901 static swig_cast_info _swigc__p_wxPaneInfo[] = { {&_swigt__p_wxPaneInfo, 0, 0, 0},{0, 0, 0, 0}};
11902 static swig_cast_info _swigc__p_wxPaneInfoPtrArray[] = { {&_swigt__p_wxPaneInfoPtrArray, 0, 0, 0},{0, 0, 0, 0}};
11903 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
11904 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
11905 static swig_cast_info _swigc__p_wxPyDockArt[] = { {&_swigt__p_wxPyDockArt, 0, 0, 0},{0, 0, 0, 0}};
11906 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
11907 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
11908 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}};
11909 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}};
11910 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
11911 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
11912 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFloatingPane, _p_wxFloatingPaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_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}};
11913
11914 static swig_cast_info *swig_cast_initial[] = {
11915 _swigc__p_char,
11916 _swigc__p_form_ops_t,
11917 _swigc__p_int,
11918 _swigc__p_unsigned_char,
11919 _swigc__p_unsigned_int,
11920 _swigc__p_unsigned_long,
11921 _swigc__p_wxANIHandler,
11922 _swigc__p_wxAcceleratorTable,
11923 _swigc__p_wxActivateEvent,
11924 _swigc__p_wxBMPHandler,
11925 _swigc__p_wxBoxSizer,
11926 _swigc__p_wxCURHandler,
11927 _swigc__p_wxCalculateLayoutEvent,
11928 _swigc__p_wxChildFocusEvent,
11929 _swigc__p_wxClipboardTextEvent,
11930 _swigc__p_wxCloseEvent,
11931 _swigc__p_wxColor,
11932 _swigc__p_wxColour,
11933 _swigc__p_wxColourData,
11934 _swigc__p_wxColourDialog,
11935 _swigc__p_wxCommandEvent,
11936 _swigc__p_wxContextMenuEvent,
11937 _swigc__p_wxControl,
11938 _swigc__p_wxControlWithItems,
11939 _swigc__p_wxDC,
11940 _swigc__p_wxDateEvent,
11941 _swigc__p_wxDefaultDockArt,
11942 _swigc__p_wxDialog,
11943 _swigc__p_wxDirDialog,
11944 _swigc__p_wxDisplayChangedEvent,
11945 _swigc__p_wxDockArt,
11946 _swigc__p_wxDockInfo,
11947 _swigc__p_wxDockUIPart,
11948 _swigc__p_wxDropFilesEvent,
11949 _swigc__p_wxDuplexMode,
11950 _swigc__p_wxEraseEvent,
11951 _swigc__p_wxEvent,
11952 _swigc__p_wxEvtHandler,
11953 _swigc__p_wxFSFile,
11954 _swigc__p_wxFileDialog,
11955 _swigc__p_wxFileSystem,
11956 _swigc__p_wxFindDialogEvent,
11957 _swigc__p_wxFindReplaceData,
11958 _swigc__p_wxFindReplaceDialog,
11959 _swigc__p_wxFlexGridSizer,
11960 _swigc__p_wxFloatingPane,
11961 _swigc__p_wxFocusEvent,
11962 _swigc__p_wxFont,
11963 _swigc__p_wxFontData,
11964 _swigc__p_wxFontDialog,
11965 _swigc__p_wxFrame,
11966 _swigc__p_wxFrameManager,
11967 _swigc__p_wxFrameManagerEvent,
11968 _swigc__p_wxGBSizerItem,
11969 _swigc__p_wxGIFHandler,
11970 _swigc__p_wxGridBagSizer,
11971 _swigc__p_wxGridSizer,
11972 _swigc__p_wxICOHandler,
11973 _swigc__p_wxIconizeEvent,
11974 _swigc__p_wxIdleEvent,
11975 _swigc__p_wxImage,
11976 _swigc__p_wxImageHandler,
11977 _swigc__p_wxIndividualLayoutConstraint,
11978 _swigc__p_wxInitDialogEvent,
11979 _swigc__p_wxJPEGHandler,
11980 _swigc__p_wxKeyEvent,
11981 _swigc__p_wxLayoutAlgorithm,
11982 _swigc__p_wxLayoutConstraints,
11983 _swigc__p_wxMDIChildFrame,
11984 _swigc__p_wxMDIClientWindow,
11985 _swigc__p_wxMDIParentFrame,
11986 _swigc__p_wxMaximizeEvent,
11987 _swigc__p_wxMenu,
11988 _swigc__p_wxMenuBar,
11989 _swigc__p_wxMenuEvent,
11990 _swigc__p_wxMenuItem,
11991 _swigc__p_wxMessageDialog,
11992 _swigc__p_wxMiniFrame,
11993 _swigc__p_wxMouseCaptureChangedEvent,
11994 _swigc__p_wxMouseEvent,
11995 _swigc__p_wxMoveEvent,
11996 _swigc__p_wxMultiChoiceDialog,
11997 _swigc__p_wxNavigationKeyEvent,
11998 _swigc__p_wxNcPaintEvent,
11999 _swigc__p_wxNotifyEvent,
12000 _swigc__p_wxNumberEntryDialog,
12001 _swigc__p_wxObject,
12002 _swigc__p_wxPCXHandler,
12003 _swigc__p_wxPNGHandler,
12004 _swigc__p_wxPNMHandler,
12005 _swigc__p_wxPageSetupDialog,
12006 _swigc__p_wxPageSetupDialogData,
12007 _swigc__p_wxPaintEvent,
12008 _swigc__p_wxPaletteChangedEvent,
12009 _swigc__p_wxPaneButton,
12010 _swigc__p_wxPaneButtonArray,
12011 _swigc__p_wxPaneInfo,
12012 _swigc__p_wxPaneInfoPtrArray,
12013 _swigc__p_wxPanel,
12014 _swigc__p_wxPaperSize,
12015 _swigc__p_wxPasswordEntryDialog,
12016 _swigc__p_wxPoint,
12017 _swigc__p_wxPopupWindow,
12018 _swigc__p_wxPreviewCanvas,
12019 _swigc__p_wxPreviewControlBar,
12020 _swigc__p_wxPreviewFrame,
12021 _swigc__p_wxPrintData,
12022 _swigc__p_wxPrintDialog,
12023 _swigc__p_wxPrintDialogData,
12024 _swigc__p_wxPrintPreview,
12025 _swigc__p_wxPrinter,
12026 _swigc__p_wxProgressDialog,
12027 _swigc__p_wxPyApp,
12028 _swigc__p_wxPyCommandEvent,
12029 _swigc__p_wxPyDockArt,
12030 _swigc__p_wxPyEvent,
12031 _swigc__p_wxPyHtmlListBox,
12032 _swigc__p_wxPyImageHandler,
12033 _swigc__p_wxPyPanel,
12034 _swigc__p_wxPyPopupTransientWindow,
12035 _swigc__p_wxPyPreviewControlBar,
12036 _swigc__p_wxPyPreviewFrame,
12037 _swigc__p_wxPyPrintPreview,
12038 _swigc__p_wxPyPrintout,
12039 _swigc__p_wxPyScrolledWindow,
12040 _swigc__p_wxPySizer,
12041 _swigc__p_wxPyTaskBarIcon,
12042 _swigc__p_wxPyVListBox,
12043 _swigc__p_wxPyVScrolledWindow,
12044 _swigc__p_wxPyValidator,
12045 _swigc__p_wxPyWindow,
12046 _swigc__p_wxQueryLayoutInfoEvent,
12047 _swigc__p_wxQueryNewPaletteEvent,
12048 _swigc__p_wxRect,
12049 _swigc__p_wxSashEvent,
12050 _swigc__p_wxSashLayoutWindow,
12051 _swigc__p_wxSashWindow,
12052 _swigc__p_wxScrollEvent,
12053 _swigc__p_wxScrollWinEvent,
12054 _swigc__p_wxScrolledWindow,
12055 _swigc__p_wxSetCursorEvent,
12056 _swigc__p_wxShowEvent,
12057 _swigc__p_wxSingleChoiceDialog,
12058 _swigc__p_wxSize,
12059 _swigc__p_wxSizeEvent,
12060 _swigc__p_wxSizer,
12061 _swigc__p_wxSizerItem,
12062 _swigc__p_wxSplashScreen,
12063 _swigc__p_wxSplashScreenWindow,
12064 _swigc__p_wxSplitterEvent,
12065 _swigc__p_wxSplitterWindow,
12066 _swigc__p_wxStaticBoxSizer,
12067 _swigc__p_wxStatusBar,
12068 _swigc__p_wxStdDialogButtonSizer,
12069 _swigc__p_wxString,
12070 _swigc__p_wxSysColourChangedEvent,
12071 _swigc__p_wxTIFFHandler,
12072 _swigc__p_wxTaskBarIconEvent,
12073 _swigc__p_wxTextEntryDialog,
12074 _swigc__p_wxTipWindow,
12075 _swigc__p_wxTopLevelWindow,
12076 _swigc__p_wxUpdateUIEvent,
12077 _swigc__p_wxValidator,
12078 _swigc__p_wxWindow,
12079 _swigc__p_wxWindowCreateEvent,
12080 _swigc__p_wxWindowDestroyEvent,
12081 _swigc__p_wxXPMHandler,
12082 };
12083
12084
12085 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
12086
12087 static swig_const_info swig_const_table[] = {
12088 {0, 0, 0, 0.0, 0, 0}};
12089
12090 #ifdef __cplusplus
12091 }
12092 #endif
12093 /* -----------------------------------------------------------------------------
12094 * Type initialization:
12095 * This problem is tough by the requirement that no dynamic
12096 * memory is used. Also, since swig_type_info structures store pointers to
12097 * swig_cast_info structures and swig_cast_info structures store pointers back
12098 * to swig_type_info structures, we need some lookup code at initialization.
12099 * The idea is that swig generates all the structures that are needed.
12100 * The runtime then collects these partially filled structures.
12101 * The SWIG_InitializeModule function takes these initial arrays out of
12102 * swig_module, and does all the lookup, filling in the swig_module.types
12103 * array with the correct data and linking the correct swig_cast_info
12104 * structures together.
12105 *
12106 * The generated swig_type_info structures are assigned staticly to an initial
12107 * array. We just loop though that array, and handle each type individually.
12108 * First we lookup if this type has been already loaded, and if so, use the
12109 * loaded structure instead of the generated one. Then we have to fill in the
12110 * cast linked list. The cast data is initially stored in something like a
12111 * two-dimensional array. Each row corresponds to a type (there are the same
12112 * number of rows as there are in the swig_type_initial array). Each entry in
12113 * a column is one of the swig_cast_info structures for that type.
12114 * The cast_initial array is actually an array of arrays, because each row has
12115 * a variable number of columns. So to actually build the cast linked list,
12116 * we find the array of casts associated with the type, and loop through it
12117 * adding the casts to the list. The one last trick we need to do is making
12118 * sure the type pointer in the swig_cast_info struct is correct.
12119 *
12120 * First off, we lookup the cast->type name to see if it is already loaded.
12121 * There are three cases to handle:
12122 * 1) If the cast->type has already been loaded AND the type we are adding
12123 * casting info to has not been loaded (it is in this module), THEN we
12124 * replace the cast->type pointer with the type pointer that has already
12125 * been loaded.
12126 * 2) If BOTH types (the one we are adding casting info to, and the
12127 * cast->type) are loaded, THEN the cast info has already been loaded by
12128 * the previous module so we just ignore it.
12129 * 3) Finally, if cast->type has not already been loaded, then we add that
12130 * swig_cast_info to the linked list (because the cast->type) pointer will
12131 * be correct.
12132 * ----------------------------------------------------------------------------- */
12133
12134 #ifdef __cplusplus
12135 extern "C" {
12136 #if 0
12137 } /* c-mode */
12138 #endif
12139 #endif
12140
12141 #if 0
12142 #define SWIGRUNTIME_DEBUG
12143 #endif
12144
12145 SWIGRUNTIME void
12146 SWIG_InitializeModule(void *clientdata) {
12147 size_t i;
12148 swig_module_info *module_head;
12149 static int init_run = 0;
12150
12151 clientdata = clientdata;
12152
12153 if (init_run) return;
12154 init_run = 1;
12155
12156 /* Initialize the swig_module */
12157 swig_module.type_initial = swig_type_initial;
12158 swig_module.cast_initial = swig_cast_initial;
12159
12160 /* Try and load any already created modules */
12161 module_head = SWIG_GetModule(clientdata);
12162 if (module_head) {
12163 swig_module.next = module_head->next;
12164 module_head->next = &swig_module;
12165 } else {
12166 /* This is the first module loaded */
12167 swig_module.next = &swig_module;
12168 SWIG_SetModule(clientdata, &swig_module);
12169 }
12170
12171 /* Now work on filling in swig_module.types */
12172 #ifdef SWIGRUNTIME_DEBUG
12173 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
12174 #endif
12175 for (i = 0; i < swig_module.size; ++i) {
12176 swig_type_info *type = 0;
12177 swig_type_info *ret;
12178 swig_cast_info *cast;
12179
12180 #ifdef SWIGRUNTIME_DEBUG
12181 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
12182 #endif
12183
12184 /* if there is another module already loaded */
12185 if (swig_module.next != &swig_module) {
12186 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
12187 }
12188 if (type) {
12189 /* Overwrite clientdata field */
12190 #ifdef SWIGRUNTIME_DEBUG
12191 printf("SWIG_InitializeModule: found type %s\n", type->name);
12192 #endif
12193 if (swig_module.type_initial[i]->clientdata) {
12194 type->clientdata = swig_module.type_initial[i]->clientdata;
12195 #ifdef SWIGRUNTIME_DEBUG
12196 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
12197 #endif
12198 }
12199 } else {
12200 type = swig_module.type_initial[i];
12201 }
12202
12203 /* Insert casting types */
12204 cast = swig_module.cast_initial[i];
12205 while (cast->type) {
12206 /* Don't need to add information already in the list */
12207 ret = 0;
12208 #ifdef SWIGRUNTIME_DEBUG
12209 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
12210 #endif
12211 if (swig_module.next != &swig_module) {
12212 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
12213 #ifdef SWIGRUNTIME_DEBUG
12214 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
12215 #endif
12216 }
12217 if (ret) {
12218 if (type == swig_module.type_initial[i]) {
12219 #ifdef SWIGRUNTIME_DEBUG
12220 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
12221 #endif
12222 cast->type = ret;
12223 ret = 0;
12224 } else {
12225 /* Check for casting already in the list */
12226 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
12227 #ifdef SWIGRUNTIME_DEBUG
12228 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
12229 #endif
12230 if (!ocast) ret = 0;
12231 }
12232 }
12233
12234 if (!ret) {
12235 #ifdef SWIGRUNTIME_DEBUG
12236 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
12237 #endif
12238 if (type->cast) {
12239 type->cast->prev = cast;
12240 cast->next = type->cast;
12241 }
12242 type->cast = cast;
12243 }
12244 cast++;
12245 }
12246 /* Set entry in modules->types array equal to the type */
12247 swig_module.types[i] = type;
12248 }
12249 swig_module.types[i] = 0;
12250
12251 #ifdef SWIGRUNTIME_DEBUG
12252 printf("**** SWIG_InitializeModule: Cast List ******\n");
12253 for (i = 0; i < swig_module.size; ++i) {
12254 int j = 0;
12255 swig_cast_info *cast = swig_module.cast_initial[i];
12256 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
12257 while (cast->type) {
12258 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
12259 cast++;
12260 ++j;
12261 }
12262 printf("---- Total casts: %d\n",j);
12263 }
12264 printf("**** SWIG_InitializeModule: Cast List ******\n");
12265 #endif
12266 }
12267
12268 /* This function will propagate the clientdata field of type to
12269 * any new swig_type_info structures that have been added into the list
12270 * of equivalent types. It is like calling
12271 * SWIG_TypeClientData(type, clientdata) a second time.
12272 */
12273 SWIGRUNTIME void
12274 SWIG_PropagateClientData(void) {
12275 size_t i;
12276 swig_cast_info *equiv;
12277 static int init_run = 0;
12278
12279 if (init_run) return;
12280 init_run = 1;
12281
12282 for (i = 0; i < swig_module.size; i++) {
12283 if (swig_module.types[i]->clientdata) {
12284 equiv = swig_module.types[i]->cast;
12285 while (equiv) {
12286 if (!equiv->converter) {
12287 if (equiv->type && !equiv->type->clientdata)
12288 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
12289 }
12290 equiv = equiv->next;
12291 }
12292 }
12293 }
12294 }
12295
12296 #ifdef __cplusplus
12297 #if 0
12298 {
12299 /* c-mode */
12300 #endif
12301 }
12302 #endif
12303
12304
12305
12306 #ifdef __cplusplus
12307 extern "C" {
12308 #endif
12309
12310 /* Python-specific SWIG API */
12311 #define SWIG_newvarlink() SWIG_Python_newvarlink()
12312 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
12313 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
12314
12315 /* -----------------------------------------------------------------------------
12316 * global variable support code.
12317 * ----------------------------------------------------------------------------- */
12318
12319 typedef struct swig_globalvar {
12320 char *name; /* Name of global variable */
12321 PyObject *(*get_attr)(void); /* Return the current value */
12322 int (*set_attr)(PyObject *); /* Set the value */
12323 struct swig_globalvar *next;
12324 } swig_globalvar;
12325
12326 typedef struct swig_varlinkobject {
12327 PyObject_HEAD
12328 swig_globalvar *vars;
12329 } swig_varlinkobject;
12330
12331 SWIGINTERN PyObject *
12332 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
12333 return PyString_FromString("<Swig global variables>");
12334 }
12335
12336 SWIGINTERN PyObject *
12337 swig_varlink_str(swig_varlinkobject *v) {
12338 PyObject *str = PyString_FromString("(");
12339 swig_globalvar *var;
12340 for (var = v->vars; var; var=var->next) {
12341 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
12342 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
12343 }
12344 PyString_ConcatAndDel(&str,PyString_FromString(")"));
12345 return str;
12346 }
12347
12348 SWIGINTERN int
12349 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
12350 PyObject *str = swig_varlink_str(v);
12351 fprintf(fp,"Swig global variables ");
12352 fprintf(fp,"%s\n", PyString_AsString(str));
12353 Py_DECREF(str);
12354 return 0;
12355 }
12356
12357 SWIGINTERN void
12358 swig_varlink_dealloc(swig_varlinkobject *v) {
12359 swig_globalvar *var = v->vars;
12360 while (var) {
12361 swig_globalvar *n = var->next;
12362 free(var->name);
12363 free(var);
12364 var = n;
12365 }
12366 }
12367
12368 SWIGINTERN PyObject *
12369 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
12370 PyObject *res = NULL;
12371 swig_globalvar *var = v->vars;
12372 while (var) {
12373 if (strcmp(var->name,n) == 0) {
12374 res = (*var->get_attr)();
12375 break;
12376 }
12377 var = var->next;
12378 }
12379 if (res == NULL && !PyErr_Occurred()) {
12380 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12381 }
12382 return res;
12383 }
12384
12385 SWIGINTERN int
12386 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
12387 int res = 1;
12388 swig_globalvar *var = v->vars;
12389 while (var) {
12390 if (strcmp(var->name,n) == 0) {
12391 res = (*var->set_attr)(p);
12392 break;
12393 }
12394 var = var->next;
12395 }
12396 if (res == 1 && !PyErr_Occurred()) {
12397 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
12398 }
12399 return res;
12400 }
12401
12402 SWIGINTERN PyTypeObject*
12403 swig_varlink_type(void) {
12404 static char varlink__doc__[] = "Swig var link object";
12405 static PyTypeObject varlink_type;
12406 static int type_init = 0;
12407 if (!type_init) {
12408 const PyTypeObject tmp
12409 = {
12410 PyObject_HEAD_INIT(NULL)
12411 0, /* Number of items in variable part (ob_size) */
12412 (char *)"swigvarlink", /* Type name (tp_name) */
12413 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
12414 0, /* Itemsize (tp_itemsize) */
12415 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
12416 (printfunc) swig_varlink_print, /* Print (tp_print) */
12417 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
12418 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
12419 0, /* tp_compare */
12420 (reprfunc) swig_varlink_repr, /* tp_repr */
12421 0, /* tp_as_number */
12422 0, /* tp_as_sequence */
12423 0, /* tp_as_mapping */
12424 0, /* tp_hash */
12425 0, /* tp_call */
12426 (reprfunc)swig_varlink_str, /* tp_str */
12427 0, /* tp_getattro */
12428 0, /* tp_setattro */
12429 0, /* tp_as_buffer */
12430 0, /* tp_flags */
12431 varlink__doc__, /* tp_doc */
12432 0, /* tp_traverse */
12433 0, /* tp_clear */
12434 0, /* tp_richcompare */
12435 0, /* tp_weaklistoffset */
12436 #if PY_VERSION_HEX >= 0x02020000
12437 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
12438 #endif
12439 #if PY_VERSION_HEX >= 0x02030000
12440 0, /* tp_del */
12441 #endif
12442 #ifdef COUNT_ALLOCS
12443 0,0,0,0 /* tp_alloc -> tp_next */
12444 #endif
12445 };
12446 varlink_type = tmp;
12447 varlink_type.ob_type = &PyType_Type;
12448 type_init = 1;
12449 }
12450 return &varlink_type;
12451 }
12452
12453 /* Create a variable linking object for use later */
12454 SWIGINTERN PyObject *
12455 SWIG_Python_newvarlink(void) {
12456 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
12457 if (result) {
12458 result->vars = 0;
12459 }
12460 return ((PyObject*) result);
12461 }
12462
12463 SWIGINTERN void
12464 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
12465 swig_varlinkobject *v = (swig_varlinkobject *) p;
12466 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
12467 if (gv) {
12468 size_t size = strlen(name)+1;
12469 gv->name = (char *)malloc(size);
12470 if (gv->name) {
12471 strncpy(gv->name,name,size);
12472 gv->get_attr = get_attr;
12473 gv->set_attr = set_attr;
12474 gv->next = v->vars;
12475 }
12476 }
12477 v->vars = gv;
12478 }
12479
12480 SWIGINTERN PyObject *
12481 SWIG_globals() {
12482 static PyObject *_SWIG_globals = 0;
12483 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
12484 return _SWIG_globals;
12485 }
12486
12487 /* -----------------------------------------------------------------------------
12488 * constants/methods manipulation
12489 * ----------------------------------------------------------------------------- */
12490
12491 /* Install Constants */
12492 SWIGINTERN void
12493 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
12494 PyObject *obj = 0;
12495 size_t i;
12496 for (i = 0; constants[i].type; ++i) {
12497 switch(constants[i].type) {
12498 case SWIG_PY_POINTER:
12499 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
12500 break;
12501 case SWIG_PY_BINARY:
12502 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
12503 break;
12504 default:
12505 obj = 0;
12506 break;
12507 }
12508 if (obj) {
12509 PyDict_SetItemString(d, constants[i].name, obj);
12510 Py_DECREF(obj);
12511 }
12512 }
12513 }
12514
12515 /* -----------------------------------------------------------------------------*/
12516 /* Fix SwigMethods to carry the callback ptrs when needed */
12517 /* -----------------------------------------------------------------------------*/
12518
12519 SWIGINTERN void
12520 SWIG_Python_FixMethods(PyMethodDef *methods,
12521 swig_const_info *const_table,
12522 swig_type_info **types,
12523 swig_type_info **types_initial) {
12524 size_t i;
12525 for (i = 0; methods[i].ml_name; ++i) {
12526 const char *c = methods[i].ml_doc;
12527 if (c && (c = strstr(c, "swig_ptr: "))) {
12528 int j;
12529 swig_const_info *ci = 0;
12530 const char *name = c + 10;
12531 for (j = 0; const_table[j].type; ++j) {
12532 if (strncmp(const_table[j].name, name,
12533 strlen(const_table[j].name)) == 0) {
12534 ci = &(const_table[j]);
12535 break;
12536 }
12537 }
12538 if (ci) {
12539 size_t shift = (ci->ptype) - types;
12540 swig_type_info *ty = types_initial[shift];
12541 size_t ldoc = (c - methods[i].ml_doc);
12542 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
12543 char *ndoc = (char*)malloc(ldoc + lptr + 10);
12544 if (ndoc) {
12545 char *buff = ndoc;
12546 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
12547 if (ptr) {
12548 strncpy(buff, methods[i].ml_doc, ldoc);
12549 buff += ldoc;
12550 strncpy(buff, "swig_ptr: ", 10);
12551 buff += 10;
12552 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
12553 methods[i].ml_doc = ndoc;
12554 }
12555 }
12556 }
12557 }
12558 }
12559 }
12560
12561 #ifdef __cplusplus
12562 }
12563 #endif
12564
12565 /* -----------------------------------------------------------------------------*
12566 * Partial Init method
12567 * -----------------------------------------------------------------------------*/
12568
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 SWIGEXPORT void SWIG_init(void) {
12573 PyObject *m, *d;
12574
12575 /* Fix SwigMethods to carry the callback ptrs when needed */
12576 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
12577
12578 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12579 d = PyModule_GetDict(m);
12580
12581 SWIG_InitializeModule(0);
12582 SWIG_InstallConstants(d,swig_const_table);
12583
12584
12585 SWIG_Python_SetConstant(d, "USE_AUI",SWIG_From_int(static_cast< int >(1)));
12586 SWIG_Python_SetConstant(d, "AUI_DOCK_NONE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_NONE)));
12587 SWIG_Python_SetConstant(d, "AUI_DOCK_TOP",SWIG_From_int(static_cast< int >(wxAUI_DOCK_TOP)));
12588 SWIG_Python_SetConstant(d, "AUI_DOCK_RIGHT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_RIGHT)));
12589 SWIG_Python_SetConstant(d, "AUI_DOCK_BOTTOM",SWIG_From_int(static_cast< int >(wxAUI_DOCK_BOTTOM)));
12590 SWIG_Python_SetConstant(d, "AUI_DOCK_LEFT",SWIG_From_int(static_cast< int >(wxAUI_DOCK_LEFT)));
12591 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTER",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTER)));
12592 SWIG_Python_SetConstant(d, "AUI_DOCK_CENTRE",SWIG_From_int(static_cast< int >(wxAUI_DOCK_CENTRE)));
12593 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_FLOATING",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_FLOATING)));
12594 SWIG_Python_SetConstant(d, "AUI_MGR_ALLOW_ACTIVE_PANE",SWIG_From_int(static_cast< int >(wxAUI_MGR_ALLOW_ACTIVE_PANE)));
12595 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_DRAG",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_DRAG)));
12596 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT)));
12597 SWIG_Python_SetConstant(d, "AUI_MGR_TRANSPARENT_HINT_FADE",SWIG_From_int(static_cast< int >(wxAUI_MGR_TRANSPARENT_HINT_FADE)));
12598 SWIG_Python_SetConstant(d, "AUI_MGR_DEFAULT",SWIG_From_int(static_cast< int >(wxAUI_MGR_DEFAULT)));
12599 SWIG_Python_SetConstant(d, "AUI_ART_SASH_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_SIZE)));
12600 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_SIZE)));
12601 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_SIZE)));
12602 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BORDER_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BORDER_SIZE)));
12603 SWIG_Python_SetConstant(d, "AUI_ART_PANE_BUTTON_SIZE",SWIG_From_int(static_cast< int >(wxAUI_ART_PANE_BUTTON_SIZE)));
12604 SWIG_Python_SetConstant(d, "AUI_ART_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BACKGROUND_COLOUR)));
12605 SWIG_Python_SetConstant(d, "AUI_ART_SASH_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_SASH_COLOUR)));
12606 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_COLOUR)));
12607 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_GRADIENT_COLOUR)));
12608 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_COLOUR)));
12609 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_GRADIENT_COLOUR)));
12610 SWIG_Python_SetConstant(d, "AUI_ART_ACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_ACTIVE_CAPTION_TEXT_COLOUR)));
12611 SWIG_Python_SetConstant(d, "AUI_ART_INACTIVE_CAPTION_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_INACTIVE_CAPTION_TEXT_COLOUR)));
12612 SWIG_Python_SetConstant(d, "AUI_ART_BORDER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_BORDER_COLOUR)));
12613 SWIG_Python_SetConstant(d, "AUI_ART_GRIPPER_COLOUR",SWIG_From_int(static_cast< int >(wxAUI_ART_GRIPPER_COLOUR)));
12614 SWIG_Python_SetConstant(d, "AUI_ART_CAPTION_FONT",SWIG_From_int(static_cast< int >(wxAUI_ART_CAPTION_FONT)));
12615 SWIG_Python_SetConstant(d, "AUI_ART_GRADIENT_TYPE",SWIG_From_int(static_cast< int >(wxAUI_ART_GRADIENT_TYPE)));
12616 SWIG_Python_SetConstant(d, "AUI_GRADIENT_NONE",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_NONE)));
12617 SWIG_Python_SetConstant(d, "AUI_GRADIENT_VERTICAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_VERTICAL)));
12618 SWIG_Python_SetConstant(d, "AUI_GRADIENT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxAUI_GRADIENT_HORIZONTAL)));
12619 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_NORMAL",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_NORMAL)));
12620 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_HOVER",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_HOVER)));
12621 SWIG_Python_SetConstant(d, "AUI_BUTTON_STATE_PRESSED",SWIG_From_int(static_cast< int >(wxAUI_BUTTON_STATE_PRESSED)));
12622 SWIG_Python_SetConstant(d, "AUI_INSERT_PANE",SWIG_From_int(static_cast< int >(wxAUI_INSERT_PANE)));
12623 SWIG_Python_SetConstant(d, "AUI_INSERT_ROW",SWIG_From_int(static_cast< int >(wxAUI_INSERT_ROW)));
12624 SWIG_Python_SetConstant(d, "AUI_INSERT_DOCK",SWIG_From_int(static_cast< int >(wxAUI_INSERT_DOCK)));
12625 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
12626 SWIG_addvarlink(SWIG_globals(),(char*)"NullDockInfo",NullDockInfo_get, NullDockInfo_set);
12627 SWIG_addvarlink(SWIG_globals(),(char*)"NullPaneInfo",NullPaneInfo_get, NullPaneInfo_set);
12628 SWIG_Python_SetConstant(d, "PaneInfo_optionFloating",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloating)));
12629 SWIG_Python_SetConstant(d, "PaneInfo_optionHidden",SWIG_From_int(static_cast< int >(wxPaneInfo::optionHidden)));
12630 SWIG_Python_SetConstant(d, "PaneInfo_optionLeftDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionLeftDockable)));
12631 SWIG_Python_SetConstant(d, "PaneInfo_optionRightDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionRightDockable)));
12632 SWIG_Python_SetConstant(d, "PaneInfo_optionTopDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionTopDockable)));
12633 SWIG_Python_SetConstant(d, "PaneInfo_optionBottomDockable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionBottomDockable)));
12634 SWIG_Python_SetConstant(d, "PaneInfo_optionFloatable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionFloatable)));
12635 SWIG_Python_SetConstant(d, "PaneInfo_optionMovable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionMovable)));
12636 SWIG_Python_SetConstant(d, "PaneInfo_optionResizable",SWIG_From_int(static_cast< int >(wxPaneInfo::optionResizable)));
12637 SWIG_Python_SetConstant(d, "PaneInfo_optionPaneBorder",SWIG_From_int(static_cast< int >(wxPaneInfo::optionPaneBorder)));
12638 SWIG_Python_SetConstant(d, "PaneInfo_optionCaption",SWIG_From_int(static_cast< int >(wxPaneInfo::optionCaption)));
12639 SWIG_Python_SetConstant(d, "PaneInfo_optionGripper",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripper)));
12640 SWIG_Python_SetConstant(d, "PaneInfo_optionDestroyOnClose",SWIG_From_int(static_cast< int >(wxPaneInfo::optionDestroyOnClose)));
12641 SWIG_Python_SetConstant(d, "PaneInfo_optionToolbar",SWIG_From_int(static_cast< int >(wxPaneInfo::optionToolbar)));
12642 SWIG_Python_SetConstant(d, "PaneInfo_optionActive",SWIG_From_int(static_cast< int >(wxPaneInfo::optionActive)));
12643 SWIG_Python_SetConstant(d, "PaneInfo_optionGripperTop",SWIG_From_int(static_cast< int >(wxPaneInfo::optionGripperTop)));
12644 SWIG_Python_SetConstant(d, "PaneInfo_buttonClose",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonClose)));
12645 SWIG_Python_SetConstant(d, "PaneInfo_buttonMaximize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMaximize)));
12646 SWIG_Python_SetConstant(d, "PaneInfo_buttonMinimize",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonMinimize)));
12647 SWIG_Python_SetConstant(d, "PaneInfo_buttonPin",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonPin)));
12648 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom1",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom1)));
12649 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom2",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom2)));
12650 SWIG_Python_SetConstant(d, "PaneInfo_buttonCustom3",SWIG_From_int(static_cast< int >(wxPaneInfo::buttonCustom3)));
12651 SWIG_Python_SetConstant(d, "PaneInfo_actionPane",SWIG_From_int(static_cast< int >(wxPaneInfo::actionPane)));
12652 SWIG_Python_SetConstant(d, "DockUIPart_typeCaption",SWIG_From_int(static_cast< int >(wxDockUIPart::typeCaption)));
12653 SWIG_Python_SetConstant(d, "DockUIPart_typeGripper",SWIG_From_int(static_cast< int >(wxDockUIPart::typeGripper)));
12654 SWIG_Python_SetConstant(d, "DockUIPart_typeDock",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDock)));
12655 SWIG_Python_SetConstant(d, "DockUIPart_typeDockSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typeDockSizer)));
12656 SWIG_Python_SetConstant(d, "DockUIPart_typePane",SWIG_From_int(static_cast< int >(wxDockUIPart::typePane)));
12657 SWIG_Python_SetConstant(d, "DockUIPart_typePaneSizer",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneSizer)));
12658 SWIG_Python_SetConstant(d, "DockUIPart_typeBackground",SWIG_From_int(static_cast< int >(wxDockUIPart::typeBackground)));
12659 SWIG_Python_SetConstant(d, "DockUIPart_typePaneBorder",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneBorder)));
12660 SWIG_Python_SetConstant(d, "DockUIPart_typePaneButton",SWIG_From_int(static_cast< int >(wxDockUIPart::typePaneButton)));
12661 PyDict_SetItemString(d, "wxEVT_AUI_PANEBUTTON", PyInt_FromLong(wxEVT_AUI_PANEBUTTON));
12662 PyDict_SetItemString(d, "wxEVT_AUI_PANECLOSE", PyInt_FromLong(wxEVT_AUI_PANECLOSE));
12663 PyDict_SetItemString(d, "wxEVT_AUI_RENDER", PyInt_FromLong(wxEVT_AUI_RENDER));
12664 }
12665